text
stringlengths
5.97k
41.2k
var g_aqilevel = new Array('优', '良', '轻度污染', '中度污染', '重度污染', '严重污染'); var g_aqicolor = new Array('#0CF11E', '#BAE410', '#E4A310', '#DC8552', '#F57272', '#C32F2F'); var g_day = new Array('今天', '明天', '后天', ' ', ' ', ' '); //Set Skin Class var CheckSkin = { curtSkin: undefined, imgBackground: un...
// TODO: This file was created by bulk-decaffeinate. // Sanity-check the conversion and remove this comment. /* * decaffeinate suggestions: * DS001: Remove Babel/TypeScript constructor workaround * DS102: Remove unnecessary code created because of implicit returns * DS103: Rewrite code to no longer use __guard__ *...
var simulationMode = false; var debugMode = false; var spriteWidth = 400; var spriteHeight = 300; var canvasWidth = 1000; var canvasHeight = 300; var repeatTime = 5; var version2 = true; //even though idon't want to render content, 2.0 is different from 1.0 (think of dialog that triggers) var curSessionGlobalVar; var ...
/** * Bitwig Controller Script for the Behringer BCF2000. * * Author: <NAME> - https://github.com/justlep/bitwig * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ loadAPI(6); load('lep-framework/complete.js'); host.defineController('Behringer', 'BCF2000', '2.3', 'd26515a4-571b-11e5-885d-feff...
import { VideoBuffer, Colors } from './Video'; const { pxlColors, cssColors } = Colors; // 0x0000, 0x8000, 0x0080, 0x8080 const bitplaneLookup = {0: 0, 32768: 1, 128: 2, 32896: 3}; export class PPU { constructor(nes) { this.bus = nes; this.vblank = false; ...
'use strict'; import vSelect from 'vue-select' import VueSlider from 'vue-slider-component' import 'vue-slider-component/theme/antd.css' import page from 'page' import simuladorSeguro from './simuladorSeguro.html' import './simuladorSeguro.css' import Contratacao from '../contratacao/contratacao' import ContratacaoAbe...
import {createElement} from './util/index' import {defineJQueryPlugin} from 'bootstrap/js/src/util' import {Modal} from "bootstrap" // import EventHandler from 'bootstrap/js/src/dom/event-handler' import DialogButton from './button' class Dialog /*extends Modal*/ { constructor(options) { // super(element,...
/** * Copyright 2017 IBM All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ // This is an end-to-end test that focuses on exercising all parts of the fabric APIs // in a happy-path scenario 'use strict'; const FabricCAServices = require('../../../fabric-ca-client'); const {Utils:utils} = require('fabr...
let bDebugging = false; const locStorageKey = "BrewerySearchInfo"; const locStorageZipKey = "BrewerySearchZip"; let aBreweries = []; let sLastZipSearched = ""; let sLastBreweryType = ""; mapboxgl.accessToken = '<KEY>'; var map = new mapboxgl.Map({ container: 'map', style: 'mapbox://styles/mapbox/streets-v1...
var MSG= new MsgsProcessing(); var util=new CateringServiceUtil(); var PAGE_TABLE="resultTable"; var row = 30; //每頁筆數 var crnPage = 1;//當前頁數 $(function() { $( "#start_date" ).datepicker({ dateFormat: "yy/mm/dd" }); $( "#end_date" ).datepicker({ dateFormat: "yy/mm/dd" }); }); function defaultYearMonth(){...
/** * Wechat for Bot. and for human who can talk with bot/robot * * Interface for puppet * * Licenst: ISC * https://github.com/zixia/wechaty * */ const fs = require('fs') const co = require('co') const path = require('path') const util = require('util') const EventEmitte...
/* CyKIT model_epoc_plus.js - 2018.Dec.26 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ Written by Warren [EPOC+] Headset Model ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ */ function verify_script() { return "epoc_plus"; } // Epoc+ // ¯¯¯¯¯¯¯ // Battery Information for EPOC+. // ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ // ...
const parseGedcom = require('parse-gedcom'); const Utils = require('./utils'); const EMPTY = ""; const TAG_HEAD = "HEAD", TAG_ENCODING = "CHAR", TAG_FORMAT = "FORM", TAG_INDIVIDUAL = "INDI", TAG_FAMILY = "FAM", TAG_CHILD = "CHIL", TAG_HUSBAND = "HUSB", TAG_WIFE = "WIFE", TAG_NAME = "NAME", TAG_GIVEN_NAME = "GIVN"...
import { fromJS, Map } from 'immutable'; import { SYNC_MAILBOX_LABEL_REQUEST, SYNC_MAILBOX_LABEL_SUCCESS, SYNC_MAILBOX_LABEL_FAILURE, GET_MAILBOX_LABEL_INFO_REQUEST, GET_MAILBOX_LABEL_INFO_SUCCESS, GET_MAILBOX_LABEL_INFO_FAILURE, PARTIAL_SYNC_MAILBOX_REQUEST, PARTIAL_SYNC_MAILBOX_SUCCESS, PARTIAL_SYNC...
'use strict'; // Globals const players = []; var game; // Global Selectors const gameBoardElement = document.querySelector('#board-area ul'); const holdAreaElement = document.querySelector('#dice-hold-area ul'); const roundScoreElement = document.querySelector('#round-score'); const player1area = document.querySelecto...
// Serialization stubs var op = {}; module.exports.op = op; var reprs = require('./reprs.js'); var sixmodel = require('./sixmodel.js'); var SerializationContext = require('./serialization-context'); var __6MODEL_CORE__ = require('./bootstrap.js').core; var Hash = require('./hash.js'); var Int64 = require('node-int64')...
import React, { Component } from "react"; import "./App.css"; import Box from "3box"; import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; import "bootstrap/dist/css/bootstrap.min.css"; import { Container } from "react-bootstrap"; import Nav from "./components/Nav"; import history from "./utils/h...
import React, { Component } from "react"; import { observer, inject } from 'mobx-react'; import { NavLink, NavItem } from 'react-router-dom'; import { MDBContainer, MDBJumbotron, MDBBtn, MDBCol, MDBRow, MDBCardTitle, MDBIcon, MDBNav, MDBNavItem, MDBNavLink, MDBAnimation } fro...
'use strict'; /*----------------------------------------------------------------*/ /* Gulp Tasks /*----------------------------------------------------------------*/ var utils = require('./utils'); var display = utils.display(); var gulp = require('gulp'...
import '../colors/colors.js'; import './list-item-generic-layout.js'; import './list-item-placement-marker.js'; import '../tooltip/tooltip.js'; import { css, html } from 'lit-element/lit-element.js'; import { findComposedAncestor, getComposedParent } from '../../helpers/dom.js'; import { classMap } from 'lit-html/direc...
import React, { Component } from 'react'; import './css/App.css'; import './font-awesome-4.7.0/css/font-awesome.min.css'; import io from 'socket.io-client'; import axios from 'axios'; import { ChromePicker } from 'react-color'; const url = process.env.REACT_APP_URL || 'http://localhost:3001'; const socket = io(url); ...
const Command = require("../base/slashCommand"); // const {inspect} = require('util'); class GuildSearch extends Command { constructor(Bot) { super(Bot, { name: "guildsearch", guildOnly: false, category: "SWGoH", aliases: ["search", "gs"], descrip...
// UI elements. const deviceNameLabel = document.getElementById('device-name'); const connectButton = document.getElementById('connect'); const disconnectButton = document.getElementById('disconnect'); const terminalContainer = document.getElementById('terminal'); const sendForm = document.getElementById('send-form'); ...
moment.locale('uk'); // number of weeks to cut from the end of dataset var weeksToFollow = 15; //default // starting date on charts var startDate = '2016-12-16'; var getJSON = function(url, callback) { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.responseType = 'json'; xhr.onload = ...
'use strict'; /* TTN decoder for KLAX LoRaWAN electricity meter sensors © <NAME> 2020 (<EMAIL>) (licensed under CC BY-NC-SA 4.0) */ // Dump raw regsiter contents without decoding var REGISTER_RAW = false; // Enable debug console.log // var DEBUG = false; // Use legacy output format, enables old output format for ...
'use strict'; const winston = require.main.require('winston'); const async = require.main.require('async'); const nconf = require.main.require('nconf'); const url = require.main.require('url'); const db = require.main.require('./src/database'); const batch = require.main.require('./src/batch'); const user = require.ma...
/* A spot for the app to put stuff globally */ var baw = window.baw = baw || window.baw || {}; baw.exports = {}; /** * Helper function to add a bunch of common routes for a page * @param resourceName * @param singularResourceName * @param id * @param controllerMany * @param controllerOne * @return {*|Object} *...
/** * * Scheduler * @module Local scheduler */ import uuid from 'uuid/v1'; import API from './api'; import ws from './ws'; import nluProcess from './ws/nlu'; /** * * Update interval for flushing and printing * @type {Number} */ const interval = 60; /** * * Central schedule * @type {Array} */ let schedule ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ //var globalJsonVar; $(document).ready(function () { $(document).on('keydown', '.salesinvoicedetails-qty,.salesinvoicedetails...
// Load modules const expect = require('chai').expect; const rewire = require('rewire'); const spy = require('sinon').spy; const type = require('type-detect'); const isExplicitObject = require('../../lib/util/isExplicitObject'); const isType = require('../../lib/util/isType'); const transform = rewire('../../lib/util...
"use strict"; /** * Imports external files as scripts in the current document. */ var importer = { importedCount : 1, importDone : null, decrementImportedCount : function() { this.importedCount--; if (this.importDone != null && this.importedCount == 0) this.importDone(); }, onImportDone : fu...
import ResourceManager from './ResourceManager'; import Renderer from './Renderer'; import Label from './Label'; import Gamepad from './Gamepad'; import Utilities from './Utilities'; class Jest { constructor() { // State info this.states = []; this.currentState = {}; // Render stuf...
function animateBG(banner) { $('.' + banner).addClass('animate-bg'); if (banner == 'one') { $('.one video')[0].play(); } } function resetAllanimateBG() { $('.one').stop().animate({ backgroundSize: "100%" }, 500); $('.two').stop().animate({ backgroundSize:...
// Copyright © 2012 rainjs // // All rights reserved // // Redistribution and use in source and binary forms, with or without modification, are permitted // provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the ...
import { createElement } from 'react'; import dynamic from 'dva/dynamic'; import pathToRegexp from 'path-to-regexp'; import { getMenuData } from './menu'; let routerDataCache; const modelNotExisted = (app, model) => ( // eslint-disable-next-line !app._models.some(({ namespace }) => { return namespace === mode...
"use strict"; 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.hasOwnPrope...
class E3D_timing { constructor(run, interval, onTick) { this.onTick = onTick; this.delta = interval / 1000; this.tickInterval = interval; this.timer; this.start = Date.now(); this.lastTick = this.start; this.active = run; this.usage = 0; ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (controller) { controller.hears([_constants.utterances.startsWithPing], 'direct_message', function (bot, message) { var botToken = bot.config.token; bot = _index.bots[botToken]; var SlackUserId = message...
let sleep = ms => new Promise(resolve => setTimeout(resolve, ms)); let m_bBlockLevelAnimation = false; let m_bIsPageFocused = true; setInterval(() => { if(document.hasFocus()) { if(!m_bIsPageFocused) { onPageFocused(); m_bIsPageFocused = true; } } else { ...
const mapColours = ['#ffffff', '#d73027','#f46d43','#fdae61','#fee08b','#ffffbf','#d9ef8b','#a6d96a','#66bd63','#1a9850'] const legend = { VK: ["large regression", "regression", "possible regression", "no development", "possible progression", "progression", "large progression"], K: ["Very insufficient", "largely i...
// function handleError(error) { // if (error.name === 'ConstraintNotSatisfiedError') { // let v = constraints.video; // webrtcdev.error(`The resolution ${v.width.exact}x${v.height.exact} px is not supported by your device.`); // } else if (error.name === 'PermissionDeniedError') { // webrtcdev.err...
import { isObject } from "./is"; import { uid } from "./string"; import { assign } from "./object"; import get from "./get"; import inject from "./inject"; import hasOwn from "./has-own"; import filterMut from "./filter-mut"; import matchType from "./match-type"; const IGNORE_MAP = { uid: true, root: true, extensio...
// const { color: { red, yellow, green, blue, cyan, close } } = require('ansi-styles'); const bodyParser = require('body-parser'); // const mongoose = require('mongoose'); const express = require('express'); // const morgan = require('morgan'); // const config = require('config'); const chalk = require('chalk'); const ...
var productsArray = []; function vProductModoCajero() { this.service = 'GetProductsByHotelServicio'; this.ctrlActions = new ControlActions(); this.InitModoCajero = function (modoCajeroId) { document.querySelector('#' + modoCajeroId).addEventListener('click', this.showEmpty); } this.show...
function writeWord(word, withLine) { var result = ""; if (word[0] == "d") { result += "\\"; } var nextItalic = false; for(var j=0; j < word.length; j++) { if (nextItalic) { result += "<i>" + word[j] + "</i>"; nextItalic = false; } else { result += word[j]; } if (word[j] == "A" || word[j...
//公共js,主要做表单验证,以及基本方法封装 var app=getApp() const utils = { isNullOrEmpty: function(value) { //是否为空 return (value === null || value === '' || value === undefined) ? true : false; }, trim: function(value) { //去空格 return value.replace(/(^\s*)|(\s*$)/g, ""); }, isMobile: function(value) { //是否为手...
/* Copyright 2016 Streampunk Media 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 by applicable law or agreed to in wri...
/** * Created by <NAME> on 2018.12.31 * Copyright (c) 2018 <NAME> * * 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, ...
import getResizeObserver from "./polyfillLoaders/ResizeObserver.js"; export const scrollerRef = Symbol("scrollerRef"); /** * Provides virtual scrolling boilerplate. * * Extensions of this class must set container, layout, and scrollTarget. * * Extensions of this class must also override VirtualRepeater's DOM * ma...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } ...
import React from "react"; import { View } from "react-native"; import { Svg, G, Text, Rect } from "react-native-svg"; import _ from "lodash"; import AbstractChart from "../abstract-chart"; import { DAYS_IN_WEEK, MILLISECONDS_IN_ONE_DAY, MONTH_LABELS } from "./constants"; import { shiftDate, getBeginningTimeF...
import React, { useEffect, useState, useRef, useContext } from "react"; import BodyContainer from "../BodyContainer/index.js"; import { GlobalContext } from "../../context/GlobalState.js"; import AlertBox from "../AlertBox/index.js"; import { Stage, Layer, Rect, Circle, Transformer, Group, Text, } from "r...
// console.log(mood); // couple of constants var POS_X = 1800; // Initial camera pos x var POS_Y = 500; // Cam pos y var POS_Z = 1800; // Cam pos z var DISTANCE = 10000; // Camera distance from globe var WIDTH = window.innerWidth; // Canvas width...
// wwtlib.Color import {Util} from './Util'; export class Color { constructor() { this.a = 255; this.b = 255; this.g = 255; this.r = 255; this.name = ''; } static fromArgb(a, r, g, b) { const temp = new Color(); temp.a = a; temp.r = r; temp.g = g; temp.b = b; return ...
/** * _____ ___ ___ ___ _____ _____ _____ _ _____ __ __ _____ _____ _____ _ _ _ _____ _____ * / ___/ / |/ | / | | _ \ |_ _| / ___| | | |_ _| \ \ / / / ___/ | ____| | _ \ | | / / | | / ___| | ____| * | |___ / /| /| | / /| | | |_...
import {minutesToHHmm, minutesToHH} from '../common.js'; import {addSourceAndLayers, removeSourceAndLayers, pointToPaddedBounds, featureInSources, getBoundsForCoordArray, iconDivFromSprite} from '../map-util.js'; const ROAD_MODEL_SOURCE = 'Road Network Model'; const POINT_SELECTION_SOURCES = ['Traffic Detectors']; ...
var CALENDAR_START = 480 // 8:00 AM in minutes var CALENDAR_END = 1320 // 10:00 PM in minutes var CALENDAR_RANGE = CALENDAR_END - CALENDAR_START var DAYS_ENUM = Object.freeze({'M': 0, 'T': 1, 'W': 2, 'R': 3, 'F': 4}) /** * Converts times into military time minutes; for use with course addition. * * @param {*} time...
//restrict character size for the button loadAll(true); //Get and create new category $('#add_but').click(function(){ var category = $('input').val(); var inp_cat = category.replace(/ /g, "_"); if(inp_cat != 0 && isValid(category)){ chrome.storage.sync.get(['indexHash','checkList'],function(result){ //Stor...
import Vue from 'vue'; import Vuex from 'vuex'; import VueI18n from 'vue-i18n'; import PincodeInput from 'vue-pincode-input'; import VueClipboard from 'vue-clipboard2'; import moment from 'moment-timezone'; import Framework7 from 'framework7/framework7-lite.esm.js'; import Framework7Dialog from 'framework7/component...
const async = require('async'); const path = require('path'); const fs = require('fs-extra'); const util = require('util'); const wrap = require('word-wrap'); const utils = require('./utils'); const LIMITS = require('./limits'); const NICE_ERRORS = require('./nice_errors'); let globalCounter = 0; function runWidgets...
// Copyright 2014 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
//初始化地图 t = L.latLngBounds([0, 0], [-66.5, 90]); var map = L.map("map", { //crs: L.CRS.Simple, center: [-35, 45], zoomDelta: 0.5, zoomSnap: 0.5, maxZoom: 7, minZoom: 4, zoom: 4, maxBounds: t, attributionControl: false, zoomControl: false, }); L.control .attribution({ prefix: "<a href='ht...
import React, { useState, useRef } from "react" import Picker from "./picker/Chrome" import PropTypes from "prop-types" import Popover from "@material-ui/core/Popover" import Button from "@material-ui/core/Button" import Animate from "react-pose" import { motion } from "framer-motion" import arrayMove from "array-move"...
var echarts = require('echarts'); require('echarts-wordcloud'); var chart = echarts.init(document.getElementById('main')); // var uploadedDataURL = "/asset/get/s/data-1519984012199-HyEqTcUdz.png"; // var uploadedDataURL = "/asset/get/s/data-1519983907959-SkhmTc8_f.png"; var keywords = { ...
const Kittens = (function () { // const __cache = {} function fetchCache (url) { if (__cache[url] === undefined) { __cache[url] = window .fetch(url, {mode: 'no-cors', credentials: 'omit'}) .then(function (resp) { if (!resp.ok) { throw new Error(resp) } ...
/* * Amaze UI Tree * * via: https://github.com/ExactTarget/fuelux * * Copyright (c) 2014 ExactTarget * Licensed under the BSD New license. */ 'use strict'; var $ = require('jquery'); var old = $.fn.tree; // TREE CONSTRUCTOR AND PROTOTYPE var Tree = function Tree(element, options) { this.$element = $(eleme...
// ================================================ // PHP image browser - iBrowser // ================================================ // iBrowser - wysiwyg editor interface (IE & Gecko) // for tinyMCE, FCKeditor, SPAW, Xinha, and HTMLarea // ================================================ // Developed: net4visions....
// Get rid of small loading animation [...document.querySelectorAll(".input-location-dependant")].forEach(element => element.classList.toggle("d-none") ); // Function to set multiple attributes at once const setAttributes = (el, attrs) => { for (var key in attrs) { el.setAttribute(key, attrs[k...
"use strict"; /*global require*/ var URI = require("urijs"); var defined = require("terriajs-cesium/Source/Core/defined").default; var Color = require("terriajs-cesium/Source/Core/Color").default; const HeightReference = require("terriajs-cesium/Source/Scene/HeightReference") .default; const Cartesian2 = require("...
const bodyParser = require("body-parser"); const express = require("express"); const path = require("path"); const cors = require("cors"); // const Parser = require("rss-parser"); const { parse } = require('rss-to-json'); const axios = require("axios"); const cheerio =require ('cheerio'); const puppeteer = require("pu...
const path = require('path') const assert = require('assert') const { By, Key, until } = require('selenium-webdriver') const { delay, createModifiedTestBuild, setupBrowserAndExtension, verboseReportOnFailure } = require('./func') describe('Metamask popup page', function () { const browser = process.env.SELENIUM_BROW...
//*============================================================================== //* ** DO NOT REMOVE OR MODIFY THIS COPYRIGHT MESSAGE ** //* //* Helpware Search 1.1 //* Copyright (c) 2004-2011 The Helpware Group //* http://helpware.net/FAR/ //* Requires a Modern Browser that supports JavaScript ...
var pako = require('pako'); var blessed = require('blessed') , contrib = require('../') , screen = blessed.screen() , colors = require('colors/safe'); var grid = new contrib.grid({rows: 12, cols: 6, screen: screen}) var page_size = 6; var cur_page_book = 0; var books = []; for (var i=0; i<page_size; ++i) { v...
const Cast = require('../util/cast'); const Clone = require('../util/clone'); const RenderedTarget = require('../sprites/rendered-target'); const uid = require('../util/uid'); const StageLayering = require('../engine/stage-layering'); /** * @typedef {object} BubbleState - the bubble state associated with a particular...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import _ from 'lodash'; import semver from 'semver'; import numeral from '@el...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.makeMessagesRecvSocket = void 0; const Types_1 = require("../Types"); const Utils_1 = require("../Utils"); const WABinary_1 = require("../WABinary"); const WAProto_1 = require("../../WAProto"); const Defaults_1 = require("../Def...
var fileIndex = 0; var allFiles = []; var uploading = false; var uploadCompleted = false; var uploadRequest; var uploadSamples = []; var transitioningModes = false; var TRANSITION_DURATION = 200; var IMAGE_EXTENSIONS = ["png", "jpeg", "gif"]; var fh, pb, container; function transitionToText(callback) { contai...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
/** * Created by <NAME> on 5/17/14. */ /** Forked from https://gist.github.com/DGuidi/1716010 **/ var MVTFeature = require('./MVTFeature'); var Util = require('./MVTUtil'); module.exports = L.TileLayer.Canvas.extend({ options: { debug: false, isHiddenLayer: false, getIDForLayerFeature: function() {}, ...
'use strict' var strtok = require('strtok2') var parser = require('./id3v2_frames') var common = require('./common') module.exports = function (stream, callback, done, readDuration, fileSize) { var frameCount = 0 var audioFrameHeader var bitrates = [] strtok.parse(stream, function (v, cb) { if (v === unde...
var media = arguments[0].media; // everything about the media var closeCallback = arguments[0].closeCallback; // the callback to execute when we are closing this window var isMoving = false; // This lock helps us animate more smoothly var XHR = require("/xhr"); var Animator = require("/Animator"); var animation = requ...
// Copyright IBM Corp. 2015,2016. All Rights Reserved. // Node module: strong-globalize // This file is licensed under the Artistic License 2.0. // License text available at https://opensource.org/licenses/Artistic-2.0 'use strict'; var _ = require('lodash'); var assert = require('assert'); var debug = require('debug...
/*! * performance-report Javascript Library 1.0.0 * https://github.com/wangweianger/web-report-sdk * Date : 2018-04-18 * auther :zane */ if (typeof require === 'function' && typeof exports === "object" && typeof module === "object") { module.exports = Performance } else { window.Performance = Performance }...
// Copyright (C) 2011 Tri Tech Computers Ltd. // // 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'; const Atom = require('./atom.js'); const EventEmitter = require('events'); class Eye extends EventEmitter { constructor(client, id) { super(); this.client = client; this.id = id; this.planes = new Map(); this.atoms = new Set(); this.last_planes = new WeakMap(); if(client.eyes[id]) throw...
'use strict'; let settings; if (process.env.botuseenv) { settings = { 'worldopoleHost': process.env.worldopoleHost, 'apiPath': process.env.apiPath, 'commonPokemonList': JSON.parse(process.env.commonPokemonList), 'uncommonPokemonList': JSON.parse(process.env.uncommonPokemonList), ...
/**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. https://www.cocos.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
/** * Node-ibm_db Installer file. */ var fs = require('fs'); var url = require('url'); var os = require('os'); var path = require('path'); var exec = require('child_process').exec; var execSync = require('child_process').execSync; var request = require('request'); //IBM provided URL for downloading clidriver. var i...
var _litespeed_meta ; var _litespeed_shell_interval = 3 ;// seconds var _litespeed_shell_interval_range = [3, 60] ; var _litespeed_shell_handle ; var _litespeed_shell_display_handle ; var _litespeed_crawler_url ; var _litespeed_dots ; (function ($) { 'use strict' ; /** * All of the code for your public-facing Jav...
/*var pageInitSubsidiary = null; var pageInitAltname = null;*/ var pageInitFirstname = null; var pageInitLastname = null; /*var pageInitComments = null; var pageInitPhone = null; var pageInitSucursal = null; var pageInitCanalDeOrigen = null; var pageInitMedios = null; var pageInitPaises = null; var pageInitEs...
/* MIT License http://www.opensource.org/licenses/mit-license.php */ "use strict"; const { constants } = require("buffer"); const createHash = require("../util/createHash"); const { dirname, join, mkdirp } = require("../util/fs"); const memoize = require("../util/memoize"); const SerializerMiddleware = require("./Se...
/// <amd-dependency path="esri/core/tsSupport/declareExtendsHelper" name="__extends" /> /// <amd-dependency path="esri/core/tsSupport/decorateHelper" name="__decorate" /> var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Arr...
/** * Customer.js * * @author: <NAME> <<EMAIL>> * @copyright Copyright (c) 2018, <NAME>. * @license See LICENSE */ 'use strict'; const path = require('path'); const qs = require('querystring'); const g = require('loopback/lib/globalize'); const app = require('../../server/server'); const assert = require('assert'...
import React, {Component} from 'react'; import { Accordion, Table, Icon, Button, Segment, Label, Checkbox, Message, Confirm, Modal} from 'semantic-ui-react' import Patient from './Patient'; import Allergies from './Allergies'; import Medications from './Medications'; import Providers from './Providers'; import { ...
'use strict'; var _promise = require('babel-runtime/core-js/promise'); var _promise2 = _interopRequireDefault(_promise); var _regenerator = require('babel-runtime/regenerator'); var _regenerator2 = _interopRequireDefault(_regenerator); var _stringify = require('babel-runtime/core-js/json/stringify'); var _stringi...
/* jslint browser: true */ /* global THREE, $:false, _:false, Stats, console */ 'use strict'; var THREE = require('./three'); var Stats = require('exports?Stats!threejs-stats/Stats'); var utils = require('./utils'); var Robot = require('./robot'); var physics = require('./physics'); var controller = require('./control...
// Copyright (c) 2012 Sven "FuzzYspo0N" Bergström, // 2013 <NAME> // written by : http://underscorediscovery.com // written for : http://buildnewgames.com/real-time-multiplayer/ // modified for collective behavior experiments on Amazon Mechanical Turk // MIT Licensed. // A window...
var rdParentPopupPanel; // Variable to hold the parent PopUp object. Used in case of a Calendar and AddBookmark. function ShowOrHideCustomButtons(sParentId, bShow) { if (sParentId) { var allButons = document.querySelectorAll('#' + sParentId + ' .highcharts-button'); for (var i = 0; i < allButons...
'use strict' const Debug = require('debug') const logdebug = Debug('net:peergroup') const logerror = Debug('net:peergroup:error'); const dns = require('dns') const EventEmitter = require('events') let net try { net = require('net') } catch (err) {} const wsstream = require('websocket-stream') //const http = require('...
import UI from 'utils/ui'; import Events from 'utils/backbone.events'; import { createElement, emptyElement, prependChild, nextSibling, previousSibling } from 'utils/dom'; import button from 'view/controls/components/button'; import { cloneIcon } from 'view/controls/icons'; import { RadioMenuIt...