text
stringlengths
5.97k
41.2k
var running = true; var started = [false, false, false]; var floatnum; var savagery = 1; var jellyfloaters = []; var hardmode; // var sounds = []; // function preload() { // sounds[0] = loadSound('media/FIRED.wav'); // } function setup () { createCanvas (600, 600); floatnum = prompt("Floaters present:") for(var c...
/** * ChessBuddy - Play chess with Go, HTML5, WebSockets and random strangers * * Copyright (c) 2012 by <NAME> <<EMAIL>> * All rights reserved. Distributed under the Simplified BSD License. */ var P = 1; var N = 2; var B = 3; var R = 4; var Q = 5; var K = 6; var WHITE = 8; var BLACK = 16; var PIECE_MASK = 7; va...
// Main file for Kindred development. // // Builds Kindred, watches for changes, and launches dev server. // // To use, run `$ node dev.js` // // - <NAME> // I know... I'm sorry. Ascii art (*sigh*) courtesy of http://patorjk.com. var title = " \n"+ "// ooo...
import '../scss/app.scss'; /* Your JS Code goes here */ import { data } from "./data.js" const quiz = document.querySelector(".js-quiz") let questionSet = document.querySelector(".js-set-current") let questionSetAll = document.querySelector(".js-set-all") const setName = document.querySelector(".js-question") const r...
// Main XSN-based compiler functions 'use strict'; const { resolveModule, resolveModuleSync } = require('../utils/moduleResolve'); const parseLanguage = require('../language/antlrParser'); const parseCsn = require('../json/from-csn'); const assertConsistency = require('./assert-consistency'); const moduleLayers = re...
var oDiv = document.getElementById('text_ul'); var oRess = document.getElementById('ress'); var oCreat = document.getElementById('creat'); var oiFam = document.getElementById('ifam'); var aDiv = oiFam.getElementsByTagName('iframe')[0]; //根据后台的json创建一级菜单 for(var i=0; i<json.length; i++)...
var debugmode = false; var sounds = false; var dialogOpened = true; var states = Object.freeze({ SplashScreen: 0, GameScreen: 1, ScoreScreen: 2 }); var currentstate; var gravity = 0.25; var velocity = 0; var position = 180; var rotation = 0; var jump = -4.6; var score = 0; var highscore = 0; var pipes = ...
import PropTypes from 'vc-util/es/vue-types' import { initDefaultProps } from 'vc-util/es/propsutil' import Mixins from 'vc-util/es/BaseMixin' import TweenOne, { ticker } from 'vc-tween-one' import { findChildInChildrenByKey, mergeChildren, transformArguments, getChildrenFromProps } from './utils' import AnimTy...
function imageInit() { if ($(".image_area").length && $(".bigimg_box").length) { $(".image_area").carousel({ imgType:"thumb" }); var thumbImg = $(".image_area").find("img"); thumbImg.each(function (i) { $(this).bind("click", function () { ...
/* PAINT */ // TODO --- this object kind of sucks???? function DrawingId(type,id) { // TODO: is this the right name? var self = this; this.type = type; this.id = id; var imageSource = null; this.getFrameData = function(frameIndex) { if (imageSource === null || imageSource === undefined) { self.reloadImag...
/* Std Library tools */ Number.prototype.padZero= function(len){ var s= String(this), c= '0'; len= len || 2; while(s.length < len) s= c + s; return s; } /* Startup */ $(function() { app = new tapsApp(); }); function tapsApp () { var data = new tapsDataStore(); var chart = new tapsChart($('...
import React, { Component } from 'react'; import * as d3 from "d3"; import './App.css'; import Leaderboard from './components/Leaderboard.js'; import Podium from './components/Podium.js'; import Buttons from './components/Buttons.js'; import StockData from './components/StockData.js'; import Slider from './components/S...
/* The MIT License (MIT) Copyright (c) 2018 <NAME>, <EMAIL> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
'use strict'; /////////////////////// // Dependencies // ///////////////////// // DOTENV (Read the env variables) require('dotenv').config(); // Express Framework const express = require('express'); // CORS (Cross Origin Resource Sharing) const cors = require('cors'); // Superagent const superagent = require...
/** * Component for root cause dimensions algorithm table * @module components/rootcause-dimensions-algorithm * @property {Array} entities - library of currently loaded RCA entities (contains metric properties we depend on) * @property {String} metricUrn - URN of currently loaded metric * @property {String} metric...
// This file has all of the code that the commands themselves run. This is where you can put your commands // The function name should be whatever you set it to in commands/database.js // A copy of this file (with the name changed) is example.js, and that's where I'd personally recommend you to put your commands. cons...
/* * Edit Gallery */ //additionam method for file max size $.validator.addMethod('filesize', function (value, element, param) { return this.optional(element) || (element.files[0].size <= param); }, 'File size must be less than {0}'); // open modal with news data $(".modal-trigger-edit-gallery").click(f...
/**************************************************************************** ** @license ** This demo file is part of yFiles for HTML 2.2. ** Copyright (c) 2000-2019 by yWorks GmbH, Vor dem Kreuzberg 28, ** 72070 Tuebingen, Germany. All rights reserved. ** ** yFiles demo files exhibit yFiles for HTML functionali...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { AuthenticationError, ExchangeError, PermissionDenied, InvalidOrder, OrderNotFound, DDoSProtection, NotSupported, ExchangeNotAvailable, InsufficientFunds } = require ('./b...
/**! * node-hbase-client - lib/hregion_info.js * * Copyright(c) Alibaba Group Holding Limited. * MIT Licensed * * Authors: * 苏千 <<EMAIL>> (http://fengmk2.github.com) */ 'use strict'; /** * Module dependencies. */ var Long = require('long'); var IOException = require('./errors').IOException; var md5 = req...
import React from 'react' import ReactGA from "react-ga"; import Code from '../components/Code'; import Editor from '../util/Editor'; import Section from "../components/Section"; import SubSection from "../components/SubSection"; import DesignNote from "../components/DesignNote"; import Warning from "../components/War...
/* global addToHome Applab Blockly */ import $ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import {getStore} from '../redux'; import { setAppLoadStarted, setAppLoaded } from '@cdo/apps/code-studio/headerRedux'; import {files} from '@cdo/apps/clientApi'; var renderAbusive = require('....
// carbondream - Copyright 2021 Zeroarc Software, LLC // Top level container component 'use strict'; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(...
var app = getApp() var Data = require("../../utils/data.js"); var time = require('../../utils/util.js'); Page({ /** * 页面的初始数据 */ data: { date_string: '', start_string:'', days:[], alltime: [], length:'', id:"" }, /** * 生命周期函数--监听页面加载 */ //==================加载数据===========...
//URLS - use for redirect calls (consistent with constants file) HOME_URLS = { "HOME": "/", "LOGIN": "/login", "ACTIVITIES_DATA": "/get_activities", "BOOKMARKS_DATA": "/get_bookmarks", } SOCIALIZING_URLS = { "USERPROFILE": "/users/", "USERPROFI...
"use strict" const assert = require("assert") const getOption = require("./options.js").get const MagicString = require("./magic-string.js") const utils = require("./utils.js") const Visitor = require("./visitor.js") const codeOfCR = "\r".charCodeAt(0) class ImportExportVisitor extends Visitor { finalizeHoisting()...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _cropperjs = _interopRequireDefault(require("cropperjs")); function _interopRequire...
import React, { useState, useEffect, useRef, useCallback } from 'react'; import { WebGLRenderer } from 'three/src/renderers/WebGLRenderer'; import { LinearFilter } from 'three/src/constants'; import { OrthographicCamera } from 'three/src/cameras/OrthographicCamera'; import { Scene } from 'three/src/scenes/Scene'; impor...
function selectByLimit(){ $("#page").val("1"); queryList(); } var addAbout = '<p><span style="background-color: rgb(255, 255, 255);"><font color="#ff0000">如需退订、退款,请联系客服电话:4000 6911 11进行受理;也可以在官网的“我的订单”里面主动发起退订。</font></span></p><ul><span style="font-size: 24px;">★</span>购票流程:1、选择游玩日期 2、选择数量 3、预(点击查看详细购取票流程)<li><span ...
const waterfall = require('async/waterfall'); const axios = require('axios'); const Emitter = require('../modules/emitter'); const Event = require('../components/event'); const User = require('../components/user'); /** This is the root {@link Chat} class that represents a chat room @param {String} [channel=new Da...
// RESEARCH STATUS // 5 - pending (at URC) // 6 - pending (at CRC) // 7 - pending (at VPRC) // 25 - returned from URC to Teacher // 56 - returned from CRC to URC // 67 - returned from VPRC to CRC function Research(type, opts){ console.log('RESEARCH INIT'); let dt; let tr; let data = opts.data; let...
"use strict"; function createMazeProperties(mazeChangeCallback) { var p = new Properties(); var gp = p.addCategory("general", "General Options"); var mazeTypeEnum = gp.addEnum("mazeType", "Maze Type", null, 0); var methodA = new Object(); methodA.displayName = "Straight"; methodA.value =...
/* If you see this code, just beware: Don't do it like me. Don't do any of this like me unless there really no other way to go about executing this entire concept of creating a bell schedule checker. This is sloppy, unprofessional, and most likely very unoptimized. Be careful. ---------------...
import m from 'mithril'; import * as d3 from "d3"; import * as common from '../../../common/common'; import $ from 'jquery'; // This shuffle is biased towards elements at the start of the color scheme. But that's just fine, the first colors are better export let nodeColors = d3.scaleOrdinal(d3.schemeCategory10.sort((...
var median = require('median') var once = require('once') var Readable = require('readable-stream').Readable var xtend = require('xtend') var inherits = require('inherits') var EventEmitter = require('events').EventEmitter var overlappingBox = require('bounding-box-overlap-test') var builtinTypes = require('comparable-...
//! BEGIN_MODULE() //! REPLACE_BY("// Copyright 2015-2018 <NAME>, licensed under Apache License version 2.0\n", true) // doodad-js - Object-oriented programming framework // File: Tools_Locale_Make.js - Make extension // Project home: https://github.com/doodadjs/ // Author: <NAME>, Quebec city // Contact: doodadj...
import Vue from 'vue'; import App from './App'; import store from './store'; import dayjs from 'dayjs'; import "dayjs/locale/zh-cn"; import Tools from './utils/Tools.js'; // 引入预置全局页面组件 import BusinessView from "@/pages/business-view/business-view.vue"; Vue.component('business-view', BusinessView); // console.log(dayjs...
/** * Copyright JS Foundation and other contributors, http://js.foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
import { scaleLinear, scalePow, scaleThreshold } from "d3-scale"; import { select, selectAll } from "d3-selection"; import { geoPath, geoAlbersUsa } from "d3-geo"; import { extent } from "d3-array"; let stateDict = require("../data/fullNameStateDict.json"); let abbvStateDict = require("../data/statesDict.json"); let p...
/* jslint node: true */ 'use strict'; const Config = require('./config.js').get; const Address = require('./ftn_address.js'); const FNV1a = require('./fnv1a.js'); const getCleanEnigmaVersion = require('./misc_util.js').getCleanEnigmaVersion; const _ = r...
import React, { Component } from 'react'; import moment from 'moment'; import _ from 'lodash'; import Header from '../components/Header'; import SearchInput from '../components/SearchInput'; import CategorySearchInput from '../components/CategorySearchInput'; import HelplineIcon from '../components/HelplineIcon'; impo...
const t = require('babel-types'); const generate = require('babel-generator').default; const template = require('babel-template'); const path = require('path'); const queue = require('../queue'); const utils = require('../utils'); const fs = require('fs-extra'); const deps = []; const config = require('../config'); con...
// Downloaded from: https://github.com/xFFFFF/Gekko-Strategies var convnetjs = require('convnetjs') var z = require('zero-fill') var stats = require('stats-lite') var n = require('numbro') var math = require('mathjs') const cluster = require('cluster'); const numCPUs = require('os').cpus().length; var _ = require('lod...
var fnObj = {}; var ACTIONS = axboot.actionExtend(fnObj, { PAGE_SEARCH: function (caller, act, data) { return false; }, TOGGLE_ASIDE: function (caller, act, data) { caller.frameView.toggleAside(); }, MENU_OPEN: function (caller, act, data) { caller.tabView.open(data); },...
import React, {memo, useState, useEffect, useCallback} from 'react'; import PropTypes from 'prop-types'; import { StyleSheet, Text, View, LayoutAnimation, Platform, UIManager, TextPropTypes, } from 'react-native'; import {getTextByChildren, insertAt, linesToCharacters} from './helper'; if (Platform.OS ==...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function _child_process() { const data = _interopRequireDefault(require("child_process")); _child_process = function () { return data; }; return data; } function _fs() { const data = _interopRequi...
/** * Copyright 2014, 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
var extend = function( child , f ){ for( var p in f ) child.prototype[ p ] = f[ p ]; if( !child.prototype.superDad ) child.prototype.superDad = f; }; /* this stand for a model for the UI */ AbstractLeafletItem = function(){}; extend( AbstractLeafletItem , AbstractStyleHolder.prototype ); extend( AbstractLeafl...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._extractLibDefsFromNpmPkgDir = extractLibDefsFromNpmPkgDir; exports._parsePkgNameVer = parsePkgNameVer; exports._validateVersionNumPart = validateVersionNumPart; exports._validateVersionPart = validateVersionPart; exports.findNpmLib...
const fs = require('fs'); const data = require("./_data/simple-icons.json"); const { htmlFriendlyToTitle } = require("./scripts/utils.js"); const svgPath = require("svgpath"); const { svgPathBbox } = require("svg-path-bbox"); const titleRegexp = /(.+) icon$/; const svgRegexp = /^<svg( [^\s]*=".*"){3}><title>.*<\/titl...
function formatRupiah(angka, prefix) { var number_string = angka.replace(/[^,\d]/g, '').toString(), split = number_string.split(','), sisa = split[0].length % 3, rupiah = split[0].substr(0, sisa), ribuan = split[0].substr(sisa).match(/\d{3}/gi) if (ribuan) { separator = ...
function searchWithoutKey (term, singleSearchParam = null) { if (singleSearchParam === 'host_filter') { return { [singleSearchParam]: `${encodeURIComponent(term)}` }; } else if (singleSearchParam) { return { [singleSearchParam]: `search=${encodeURIComponent(term)}` }; } return { search: ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* * Copyright © 2017-2018 <NAME>, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
function openConf(t) { $("#ms-configurator").animate({ right: "0px" }, 400), $(".ms-configurator-btn").animate({ right: "-60px" }, 200) } function closeConf() { $("#ms-configurator").animate({ right: "-310px" }, 200), $(".ms-configurator-btn").animate({ right: "20px" }, 400) } fu...
import crypto from 'crypto'; // Unique ID creation requires a high quality random # generator. In node.js // this is pretty straight-forward - we use the crypto API. var rng = function nodeRNG() { return crypto.randomBytes(16); }; /** * Convert array of 16 byte values to UUID string format of the form: * XXXX...
/** * @file This is the main file where hyperbolic and euclidean visualization is done with the class d3Hyperbolic. */ /** * Reads the graph from graphviz dot format string and returns it. * @param {string} dotfile The dot format string to read from. * @returns {Graph} - A graph object. */ let readDot = dotfil...
// Global variables var table, members, map_options, map, markers, geocoder, api_key = "<KEY>"; $(document).ready(function() { initTable(); initMap(); if (typeof teamLocations !== 'undefined' && typeof source !== 'undefined') { extractDataFromTeam(source, teamLocations); } }); function initTable() { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isElement = isElement; exports.uuid = uuid; exports.documentHeight = documentHeight; exports.isNumber = isNumber; exports.isFloat = isFloat; exports.prefixed = prefixed; exports.defaults = defaults; exports.extend = extend; exports.i...
import React from 'react'; import { connect} from 'react-redux' import { Grid, Row, Column, Button , ComposedModal, ModalHeader, ModalBody, ModalFooter, InlineLoading, TextInput, Form, Select, SelectItem, InlineNotification } from 'carbon-components-react'; import {LogoGithub32 as GitHub, LogoSlack32 as ...
/** * Copyright 2015 The AMP HTML Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
let DEV_MODE = false; if (DEV_MODE){ module.exports = [getDistance,getAzimuth,getVariance, getDistancesForPoint,filterDistances, getDistanceMapForDataset, getVariogramForPoints, chunkDataAndGetResults, reduceResults, preparePlotData, variogramByMapReduce, getSampleVarianceForDataset]; } function getSampleV...
/* eslint-disable semi, space-before-function-paren, space-before-blocks*/ import React from 'react'; import { Text, View, StyleSheet, Image, Dimensions, Animated, TouchableHighlight, ScrollView, Platform } from 'react-native'; var STORE = require('../Utilities/Store'); var playoffStats = []; class ...
var url = require('url'); var fs = require('fs'); var path = require("path"); var http = require("http"); var net = require("net"); var sys = require("sys"); var fastcgi = require("fastcgi"); var NODEPHP_STATIC = 'static'; var NODEPHP_FCGI = 'fcgi'; var params; var FCGI_RESPONDER = fastcgi.c...
var teams; var task = {}; preventParentProgressUpdate = true; $(document).ready(function(){ /** * In case the last child task of a certain parent has sub tasks and is open, then the new task will have to placed after the tree of this last task * This is why a position will have to be searched for recursiv...
// Original Version https://github.com/1Computer1/kaado/blob/master/src/commands/games/poker.js const Command = require("../base/Command.js"); const { isNaN, isObject } = require("lodash"); const moment = require("moment"); require("moment-timer"); class Uno extends Command { constructor(client) { super(client, ...
export const colorChannels = ['red', 'green', 'blue', 'alpha'] export const colorsNammed = { black: '#000000', silver: '#c0c0c0', gray: '#808080', white: '#ffffff', maroon: '#800000', red: '#ff0000', purple: '#800080', fuchsia: '#ff00ff', green: '#008000', lime: '#00ff00', o...
/* ~ Copyright 2017 Ripple Foundation C.I.C. Ltd ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ Unless required ...
// Initialize legConfig var legConfig = {"BL":{"hip":0,"knee":0,"x":0,"y":0},"BR":{"hip":0,"knee":0,"x":0,"y":0},"FL":{"hip":0,"knee":0,"x":0,"y":0},"FR":{"hip":0,"knee":0,"x":0,"y":0}}; var customPose = [] // Los angulos se conforman como sigue: FL - FR - BL - BR customPose.push({cmd:'po...
// Global Variables: // User Selectable Variables: let diameter = 180; let rw = 45; let rh = 50; let seats = 12; let roundSeatGap = 30; let gap = 100; let oszlop = 5; let sor = 6; let rxGap = gap; let ryGap = roundSeatGap; let hw = 3000; let hl = 2000; let hPos = 180; let vPos = 180; // Internal Variables: let scale...
const packageJSON = require("../package.json"), path = require('path'), web = require('./web.js'), axios = require('axios'), qs = require('querystring'), $ = require('./helpers.js'); let Service, Characteristic, CustomTypes; class DailySocket { constructor(log, config, api, owne...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var React = require('react'); var React__default = _interopDefault(React); var invariant = _interopDefault(require('tiny-invariant')); var types = require('@web3-react/types'); var warning ...
import React, { Component, Fragment } from 'react' import { Prompt, withRouter } from 'react-router-dom' import { compose } from 'recompose' import { connect } from 'react-redux' import styled from 'styled-components' import PropTypes from 'prop-types' import _ from 'lodash' import AccountsFetcher from '../omg-account...
'use strict'; var _ = require('underscore'); // reference http://www.postgresql.org/docs/9.3/static/errcodes-appendix.html // Used `^([A-Z0-9]*)\s(.*)` -> `"$1": "$2"` to create the JS object var codeToCondition = { // Class 00 — Successful Completion '00000': 'successful_completion', // Class 01 — Warning ...
// const path = require('path'); const util = require('util'); const fs = require('fs/promises'); const url = require('url'); const path = require('path'); const globfs = require('globfs'); const mime = require('mime'); const cheerio = require('cheerio'); const xmldom = require('xmldom'); const metadata = require('....
"use strict" const Fs = require("fs") const Path = require('path') const URL = require('url') const LevelUp = require("levelup") const Request = require('request') const Crypto = require('crypto'); const ImgSize = require("./imgsize") const File = require("./file") const Listener = require("./listene...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
const babylon = require('babylon') const traverse = require('@babel/traverse').default const t = require('@babel/types') const generate = require('@babel/generator').default const WXML_event = require('./WXML') const prettifyXml = require('prettify-xml') const registeTpl = require('./tag') const { transformSync: transf...
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =...
/** * @module ol/renderer/canvas/VectorTileLayer */ import {getUid} from '../../util.js'; import LayerType from '../../LayerType.js'; import TileState from '../../TileState.js'; import {createCanvasContext2D} from '../../dom.js'; import {listen, unlisten} from '../../events.js'; import EventType from '../../events/Ev...
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/** * Feature flag for custom instruments. * Custom instruments allow sound effects to be used as instruments. * This enables more songs, but it costs about 100 bytes. * @const {boolean} */ const CUSTOM_INSTRUMENTS_ENABLED = true; /** * Feature flag for sound effect caching. * This is a performance enhancement,...
import Formatter from '../core/Formatter'; import Tokenizer from '../core/Tokenizer'; /* Reserved keywords in Exasol database SELECT * FROM EXA_SQL_KEYWORDS; */ const reservedWords = [ 'ABS', 'ABSOLUTE', 'ACCESS', 'ACOS', 'ACTION', 'ADAPTER', 'ADD', 'ADD_DAYS', 'ADD_HOURS',...
/********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. ...
import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import { Layout, Icon, message ,Form,Modal,Card,Input,Select ,Button,Row,Col} from 'antd'; import {Field} from 'components/Charts'; import DocumentTitle from 'react-document-title'; import { connect } from 'dva'; import { Route, Redirect...
// Copyright 2009 FriendFeed // // Licensed under the Apache License, Version 2.0 (the "License"); you may // not use this file except in compliance with the License. You may obtain // a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
var app = angular.module('app', [ 'filters', 'ngRoute', 'ui.sortable', 'metrilyx.mast', 'timeframe', 'adhoc', 'graphing', 'pageLayout', 'metrilyxHelperFactories', 'metrilyxControllers', 'metrilyxServices', 'metrilyxAnnotations' ]); /* * Bootstrap the app with the config fetched via http */ (function() {...
var bgPage = chrome.extension.getBackgroundPage(); function main() { bgPage.fetchShowTabShot(); bgPage.fetchMaxPopupLength(); //Header var headerDiv = $('<div>') .addClass('headerDiv') .attr('id', 'headerDiv') .appendTo('body'); createHeader(); //rctList var rctListDiv = $...
var exec = require('child_process').execSync; var fs = require('fs'); var path = require('path'); var ProgressBar = require('progress'); var webpack = require('webpack'); var glob = require('glob'); var toposort = require('toposort'); var assign = require('object-assign'); var dts = require('./dts'); var mkdirp = requi...
const { ipcMain, app, BrowserWindow, Menu, Tray, Notification, dialog, shell } = require('electron') const path = require('path') const fs = require('fs') const child_process = require('child_process'); const log = require('electron-log'); const sudoPrompt = require('sudo-prompt'); const isDev = require('electron-is-de...
"use strict"; var _a; var Protocol; (function (Protocol) { Protocol[Protocol["I2C"] = 0] = "I2C"; Protocol[Protocol["SPI"] = 1] = "SPI"; })(Protocol || (Protocol = {})); var TransferType; (function (TransferType) { TransferType[TransferType["Command"] = 0] = "Command"; TransferType[TransferType["Data"] ...
const { expect } = require("chai"); const { waffle } = require("hardhat"); const { loadFixture } = waffle; const { expectRevert, expectEvent, BN } = require("@openzeppelin/test-helpers"); const { getSUSD, getRBTC, getWRBTC, getBZRX, getPriceFeeds, getSovryn, } = require("../Utils/initializer.js"...
// // // DATATABLE //sja.. function tonnyTestDisable(settings,disable){ //console.info(settings) var rowReorderObject = $('#users-table').dataTable.settings[0].rowreorder; if (rowReorderObject === undefined){ rowReorderObject = settings.oInit.rowReorder; } else{ rowReorderObject =...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(...
/***************************************************************************** * File: store-locator-map.js * * Handle map creation, looking up location data, and displaying the store * store list. * *****************************************************************************/ /********************************...
/* var countryCharts = []; var CountrySettings = { selIndicators: [], selIndicatorMapLayerField: [], selIndicatorMappedField: [], selIndicatorChartType: [], selIndicatorRESTurl: [], selIndicatorRESTFields: [], selIndicatorRESTFieldLabels: [], selIndicatorChartProc: [], selIndicatorXaxis: [], selIndicatorYaxi...
import React, { useState } from "react" import { useStaticQuery, Link, graphql } from "gatsby" import { createGlobalStyle } from "styled-components" import "@fontsource/exo" import "@fontsource/oswald" import "@fontsource/lato" import Toggle from "react-toggle" import { faSun, faMoon } from "@fortawesome/free-solid-svg...
import Vue from 'vue' import App from './App.vue' import "babel-polyfill" import localforage from 'localforage' import _ from 'lodash' const defaultVisibleCharts = ['walltime', 'user', 'uid', 'launchdate', 'executable', 'hostname', 'clustername', 'systime', 'cputime', 'fom' ] const isContainer = window.ENV?.machine ==...
// mp3-parser test suite: ID3v2.3 tag / ISO-8859-1 encoded frames. // Tests run against id3v2.3-iso-8859-1.mp3 // (maintained with [Kid3 ID3 Tagger](http://kid3.sourceforge.net/), version 3.0.2) // https://github.com/biril/mp3-parser // Licensed and freely distributed under the MIT License // C...
const MACRONAME = "Enlarge_Reduce_0.7.js" console.log(MACRONAME) /***************************************************************************************** * Implement Enlarge/Reduce and allow a choice for the target to accept the effect or * attempt a saving throw. * * DAE Macro.ItemMacro Execute, Effect Value =...