text
stringlengths
5.97k
41.2k
'use strict'; var fs = require('fs'); var path = require('path'); var util = require('util'); var _ = require('lodash'); var async = require('async'); var byline = require('byline'); var temp = require('temp'); var rimraf = require('rimraf'); var through = require('through2'); var fsSrc = require('vinyl-fs')....
import PropTypes from 'prop-types'; import moment from 'moment'; import React from 'react'; import DaysView from './views/DaysView'; import MonthsView from './views/MonthsView'; import YearsView from './views/YearsView'; import TimeView from './views/TimeView'; import onClickOutside from 'react-onclickoutside'; import ...
import config from '../../config'; import Msgs from './Msgs'; import transactions from './transactions'; import {wrapSplits} from "persistencejs/build/transaction/splits/wrap"; import {unwrapsplits} from "persistencejs/build/transaction/splits/unwrap"; import {issueIdentity} from "persistencejs/build/transaction/identi...
// @ts-check const { restoreCache, saveCache } = require('@actions/cache') const core = require('@actions/core') const exec = require('@actions/exec') const io = require('@actions/io') const { Octokit } = require('@octokit/core') const hasha = require('hasha') const fs = require('fs') const os = require('os') const pat...
var d3Edge = {}; //________________________________________________________________________________________________ // Table //________________________________________________________________________________________________ d3Edge.table = function module() { var table, tbody, thead; function exports(_selection...
"use strict"; const jsonServer = require("json-server"); const bodyParser = require("body-parser"); const pluralize = require("pluralize"); const _uniqueId = require("lodash/uniqueId"); module.exports = { getJSONServer: getJSONServer, initializeServer: initializeServer, deepReplaceProperty: deepReplaceProperty }; ...
"use strict"; /** * @license * Copyright 2018 Google LLC * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * ============================================================================= */ var __assign = (this &&...
"use strict"; // VERSION info var VERSION = "0.6.1"; // typical [[1,2,3], [6,7,8]] to [[1, 6], [2, 7], [3, 8]] converter var transpose = m => m[0].map((x, i) => m.map(x => x[i])); // single items -> Array with item with length == 1 var listify = obj => ((obj instanceof Array) ? obj : [obj]); // mk - added sorting f...
/** * Created by Targus on 21.03.2016. * @author <NAME> (targus) <<EMAIL>> */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; ...
var powergraph = require('./powergraph'); var symmetricDiffLinkLengths = require('./linklengths').symmetricDiffLinkLengths; var jaccardLinkLengths = require('./linklengths').jaccardLinkLengths; var generateDirectedEdgeConstraints = require('./linklengths').generateDirectedEdgeConstraints; var vpsc = require('./vpsc'); ...
//path to the web worker var workerPath = 'node_modules/sass.js/dist/sass.worker.js'; //path to the base of where files are available from libsass var base = '../../../'; var sass; var editor; var currentSections = []; var currentUpdates = 0; var modifyVariable = _.debounce(_modifyVariable, 2000, {leading: true, trai...
// Copyright (C) 2013 Google Inc. 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 conditions ...
/******************************************************************************* * Copyright 2015-2018 <NAME> and contributors * * 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 * * ...
import SendBird from 'sendbird'; import SendBirdDesk from 'sendbird-desk'; import { simplify } from './simplify.js'; import { parseDom } from './domparser.js'; import Broadcast from './broadcast.js'; import Dialog from './component/dialog.js'; import Spinner from './component/spinner.js'; import TicketElement from '....
class Question { constructor(id, question, snippet, choices) { this.id = id; this.question = question; this.snippet = snippet; this.choices = choices; }; display(callback) { callback(); }; } class QuestionFactory { constructor() { this.createQuest...
//standard react location imports import * as React from 'react'; import { useState, useEffect } from 'react'; import { Text, View, TouchableOpacity, Modal, Image, TextInput } from 'react-native'; import { BlurView } from "@react-native-community/blur"; import styles from '../../styles/stylesheet.js'; //location/geofen...
import React from 'react'; import Graph from 'vis-react'; import { compose } from 'recompose'; import withAuthorization from '../Session/withAuthorization'; import { withFirebase } from '../Firebase'; import { Slider, Rail, Handles, Tracks, Ticks } from "react-compound-slider"; import { SliderRail, Handle, Track, Tick ...
let loggedIn = false; let balance = 0; let curr_bal = 0; let profitcheck = 0; let duco_price = 0.0065; let daily_average = 0.0; let oldb = 0; let success_once = false; let alreadyreset = false; let totalHashes = 0; let sending = false; let start = Date.now(); let awaiting_login = false; let awaiting_data = false; let a...
/** * SCRU128: Sortable, Clock and Random number-based Unique identifier * * @example * ```javascript * import { scru128, scru128String } from "scru128"; * // or on browsers: * // import { scru128, scru128String } from "https://unpkg.com/scru128@^2"; * * // generate a new identifier object * const x = scru128...
const execFunctions = require('./lib/execFunctions'); function replay(testConfig, tags) { let testTabs = {}; // { id: string, nodes: [] } const testTabMapping = new Map(); // WB tabName => newTabName const testDfIdMapping = new Map(); // WB df_id => new df_id const testTabDfMapping = new Map(); // tabN...
load("fcfbc86708bc3a4062c2091a062e13b6.js"); load("2a038e91f6e5f6c7add968f0a7889dbd.js"); load("e4cce4d527d806f2da0b524a99b7d8f6.js"); // |reftest| skip-if(!this.hasOwnProperty("SIMD")) /* * Any copyright is dedicated to the Public Domain. * https://creativecommons.org/publicdomain/zero/1.0/ */ var Float32x4 = SIM...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); var _asyncToGenerator2 = _interopRequireDefault(req...
/* *** *** *** *** *** DECLARATIONS *** *** *** *** *** */ /* *** *** *** *** constants *** *** *** *** */ const START_X = 202; // X Start-Position of the player, const START_Y = 404; // Y Start-Position of the player, /* *** *** *** *** DOM elements *** *** *** *** */ const lives = document.querySelector("#lives"); ...
// Images const pc = new Image(); pc.src = "images/pc.png"; const pc_centerCoords = { x: 33, // coords of center of main hexagon from Affinity Designer y: 55 } // Get refs to HTML elements const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); const pauseBtn = document.getElementBy...
'use strict'; const LIST_DROPOUT_DELAY = 375; const textMeasureCtx = document.createElement('canvas').getContext('2d'); const sweeperImgs = {}; const snipTemplates = {}; const snipEvents = {}; const appTemplates = {}; const appEvents = {}; const appMenuTasks = {}; const appStates = new Map(); const taskBtnLink = new M...
const sessions = {}; let currentSession; const inConference = false; let currentAtxfer; let countDown; let timerId; // Custom welcome message const setGreeter = async () => { const user = await Wazo.getApiClient().confd.getUser( Wazo.Auth.getSession().uuid, ); const name = user.firstName; $('.greeter').ht...
const Cube = require('cubejs'); const normalize = require('cube-notation-normalizer'); const _ = require('lodash'); export const TimerState = { stop: 0, holding: 1, ready: 2, updating: 3, }; export const WAIT_THRESHOLD_MILISEC = 1000; // 1手の回転と、それが完了したUnixtimestamp (ミリ秒) // export const MoveOps = (no...
var extend = require("extend"); var path = require('path'); var _ = require('underscore'); var natural = require('../libs/natural/index.js'); var Tagger = natural.BrillPOSTagger; var logger = require('winston'); var KeywordExtractor2 = (function () { var STR_UNDEFINED = 'undefined'; var _this, s = {}, //stemmer, ...
import { get_current_component, current_component, set_current_component } from '../../svelte/internal.js'; /** * Emulates forthcoming HMR hooks in Svelte. * * All references to private component state ($$) are now isolated in this * module. */ const captureState = cmp => { // sanity check: propper behaviour h...
"use strict"; var mongoose = require("mongoose"), model = require("../models/model"), mq = require("../../core/controllers/rabbitmq"), Joborder = mongoose.model("Joborder"), Tvdscustomer = mongoose.model("Tvdscustomer"), errorHandler = require("../../core/controllers/errors.server.controller"), _ = require(...
/** internal * class Context * * `Context` provides helper methods to all [[Template]] processors. * They are typically accessed by EJS templates. You can mix in custom * helpers by injecting them into [[Environment#ContextClass]]. Do not * mix them into `Context` directly. * * environment.registerHel...
/** * |------------------------------------------------------------------| * | ------------------------- VERSION: 1.0 ------------------------- | * | -----------Licensed To: <NAME> { New Delhi, INDIA}----------- | * | --------Developer GitHub: HTTPS://GITHUB.COM/SHANURAJ715-------- | * | -------GitHub Re...
// ==UserScript== // @name RedditAnalyze // @namespace redalyze // @description Analyze A Discussion // @include https://www.reddit.com/* // @include /^https?//www\.reddit\.com/.*/comments/.*$/ // @version 0.1 // @grant GM_addStyle // @require https://code.jquery.com/jquery-3.2.1.slim.min.js ...
"use strict"; /** * Created by <NAME> * GitHub: https://github.com/dcmox/moxy-orm * **/ var __spreadArrays = (this && this.__spreadArrays) || function () { for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a...
var UniteAdminRev = new function(){ var t = this; var errorMessageID = null; var successMessageID = null; var ajaxLoaderID = null; var ajaxHideButtonID = null; /** * debug html on the top of the page (from the master view) */ t.debug = function(html){ jQuery("#div_debug").show().html(html); } /*...
var d3 = require('d3'), dl = require('datalib'), df = require('vega-dataflow'), log = require('vega-logging'), Node = df.Node, // jshint ignore:line Deps = df.Dependencies, Aggregate = require('../transforms/Aggregate'); var Properties = { width: 1, height: 1 }; var Types = { LINEAR: 'li...
var dataCache= new Meteor.Collection('Cache'); var dataCacheMeta= new Meteor.Collection('CacheMeta'); var sessionData= new Meteor.Collection('SessionData') // userId to be used for any user (data that should not be cached for every user separately) var anyUserId= 'any'; var Future; Meteor.startup(function() { F...
/** * * quilt.js * <P>Java Script for Quilt programming language.</P> * <P>Requires base64.js, kompari.js, lifya.js, jxon.js, and funpl.js (funpl_wrap.js)</P> * <P>A numtseng module <A HREF="https://numtseng.com/modules/quilt.js">https://numtseng.com/modules/quilt.js</A> * * Copyright (c) 2021 by <NAME>. <br> * All ri...
/* -------------------------------------------------------- */ /* ---------- Natural Non Fungible Tokens ----------------- */ /* ---------- MIT License -------------------------------- */ /* -------------------------------------------------------- */ var MPNG=""; var TXTCID={}; var NNAME=""; window.CNW=CNWT; var...
var siteUrl= require('../config').siteUrl; //models var uploader = require('../helper/fileuploader'); var ProductModel = require('../models/product'); var MaterialModel = require('../models/material'); var ProducttypeModel = require('../models/producttype'); var ParameterModel = require('../models/parameter'); ...
import React from "react"; import {connect} from "react-redux"; import "./logs.scss"; import {Link} from "react-router"; import AjaxAction from "../../actions/AjaxAction"; import actions from "../../actions"; import {Button, Cascader, Col, Icon, Input, Layout, message, Row, Spin, Switch, Tooltip} from "antd"; import Se...
var postcss = require('postcss'); // Default properties for all layouts. var defaults = {}; defaults.container = { "box-sizing": "border-box", "margin-left": "0", "margin-right": "0", "text-align": "initial", "font-size": "initial" } defaults.item = { "box-sizing": "border-box", "display": "initial", ...
// here will be the global player for any music and playlists and favorites var NodeID3 = require('node-id3'); // infos var song_name = $('.infos-options .infos .song-infos .song-name'); var artist = $('.infos-options .infos .song-infos .song-artist'); var songCover = $(".infos-options .infos .song-cover"); var ...
export const SAUTI_PRODUCT_CATEGORIES = [ "Animal Products", "Beans", "Cereals - Maize", "Cereals - Other", "Cereals - Rice", "Fruits", "Other", "Peas", "Roots & Tubers", "Seeds & Nuts", "Vegetables", ]; export const SAUTI_PRODUCT_SUBCATEGORIES = [ { category: "Animal Products", subcategory: "Animal Product...
// --------------------------------------------------------------------------------------------------------------------------- // // OBJS // // --------------------------------------------------------------------------------------------------------------------------- // ------------------------...
import Vector from 'phaser/src/physics/matter-js/lib/geometry/Vector'; import Vertices from 'phaser/src/physics/matter-js/lib/geometry/Vertices'; const projectionPool = [ { min: Number.MAX_VALUE, max: Number.MIN_VALUE }, { min: Number.MAX_VALUE, max: Number.MIN_VALUE } ]; const SAT = { /** * Detect collision bet...
'use strict' const EventEmitter = require('events') const assert = require('assert') const lp = require('pull-length-prefixed') const pull = require('pull-stream') const CID = require('cids') const { eachLimit, series } = require('async') const log = require('./utils/logger') const { getTopic } = require('./utils/dht...
import Polyfill from 'classlist-polyfill'; import Icons from './components/icons'; import Module from './components/module'; import PlayerSlider from './components/player-slider'; import IconButton from './components/icon-button'; import SpeedControl from './components/speed-control'; imp...
//==================================== // !USER FUNCTIONS //==================================== /* function loginGoogle(authResult) { growl(JSON.stringify(authResult)); } // Work on user object function user(id) { this.id = id; this.accountSize = 0; this.passwordReset = function() { var...
const path = require('path') const config = require(path.join(__dirname, 'config', 'default.json')) const Strings = require(path.join(__dirname, 'config', 'strings.json')) const express = require('express') const app = express() const server = require('http').createServer(app) const io = require('socket.io')(server, {...
/* eslint-disable no-undef,no-unreachable */ import * as asn1js from "asn1js"; import { arrayBufferToString, stringToArrayBuffer, toBase64, fromBase64 } from "pvutils"; import { getCrypto, getAlgorithmParameters, setEngine } from "../../src/common.js"; import { formatPEM } from "../../examples/examples_common.js"; impo...
let myWorker = new Worker('worker.js'); let reader = null; spray = null; // nested arrays used to hold the sprayed heap contents let onprogress_cnt = 0; // number of times onprogress was called in a round let try_cnt = 0; // number of rounds we tried let last = 0, lastlast = 0; // last two ...
// (c) 2012 <NAME> @ University of Maryland // Human-Computer Interaction Lab // http://www.cs.umd.edu/~bederson // See BSD License: http://www.cs.umd.edu/~bederson/LICENSE.txt var ME = "Finin"; var svg; var svg_w; var svg_h; var bars_h = 300; var xAxis; var min_year = 9999; var max_year = 0; var fill = d3.scale.cate...
import React, { Component } from "react"; import { View, StyleSheet, Platform } from "react-native"; import { WebView } from "react-native-webview"; import { Asset, FileSystem } from "react-native-unimodules"; import * as MediaLibrary from "expo-media-library"; import { askAsync, MEDIA_LIBRARY_WRITE_ONLY, NOTIFIC...
import DataSeries from './data_series'; import CanvasJSObject from './canvasjs'; import TextBlock from './text_block'; import RenderHelper from '../helpers/render'; import {extend, getFontHeightInPixels} from '../helpers/utils'; function Legend(chart, options, theme) { Legend.base.constructor.call(this, "Le...
var jsTree_Search_Result = ""; // Used by the search plugin to filter on notes having an ID as // returned by the ajax search task function jsTree_ajax_search(str, node) { return $.inArray(node.id, jsTree_Search_Result) >= 0; } /** * Initialize the treeview * * @param {type} $data JSON returned by * index....
$(document).on("ready",inicio); function inicio(){ buscar_direccion_asociadototal(); } function numberFormat(numero){ // Variable que contendra el resultado final var resultado = ""; // Si el numero empieza por el valor "-" (numero negativo) if(numero[0]=="-") { ...
const webgl_replace = { ACTIVE_ATTRIBUTES: 35721, ACTIVE_ATTRIBUTE_MAX_LENGTH: 35722, ACTIVE_TEXTURE: 34016, ACTIVE_UNIFORMS: 35718, ACTIVE_UNIFORM_MAX_LENGTH: 35719, ALIASED_LINE_WIDTH_RANGE: 33902, ALIASED_POINT_SIZE_RANGE: 33901, ALPHA: 6406, ALPHA_BITS: 3413, ALWAYS: 519, ARRAY_BUFF...
/* global moment:false */ import isDate from 'lodash.isdate' import isArray from 'lodash.isarray' import assign from 'lodash.assign' import { addEvent, removeEvent, fireEvent, hasEventListeners } from './lib/events' import { addClass, removeClass, hasClass } from './lib/classutils' import { isWeekend, getDaysInMonth...
/** * Generated by `createservice acquiring.RegisterMultiPaymentService` */ const { getById } = require('@core/keystone/schema') const { GQLCustomSchema } = require('@core/keystone/schema') const access = require('@condo/domains/acquiring/access/RegisterMultiPaymentService') const { DEFAULT_MULTIPAYMENT_SERVICE_CAT...
"use strict"; var framework; (function (framework) { var FileParser = /** @class */ (function () { function FileParser(filename, content) { this.filename = filename; this.content = []; for (var _i = 0, _a = content.split('\n'); _i < _a.length; _i++) { var ...
const Discord = require('discord.js'); const leveling = require('../../constants/Simulator/Functions/leveling.js'); const playerStats = require('../../constants/Simulator/Functions/playerStats.js'); const slayerLevel = require('../../constants/Simulator/Functions/slayerLevel.js'); const catalvl = require('../../constan...
import React, {Component} from 'react'; import './App.css'; import './Theme.css'; import './fonts/technology-icons-gh-pages/styles/technology-icons.css'; import './fonts/glyphter/css/Glyphter.css'; import {ContentWrapper, Loading, Login, Menu, Message, Overlay, Paper, RequestBar, Settings} from './components'; im...
// This captures the click on the icon in the toolbar browser.browserAction.onClicked.addListener(function(tab) { // We want to check if an Athlete Number has been provided, // if so lets display their results page browser.storage.local.get({ athlete_number: '', home_parkrun_info: {} }).then...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatLayer = formatLayer; exports.converter = void 0; var _merge = _interopRequireDefault(require("lodash/merge")); var _react = _interopRequireDefault(require("react")); var _defer = require("../core/defer"); var _propTypes = ...
/* * Author: <NAME> * Homepage: www.petry-christian.de * * License: MIT * Copyright (c) 2014 <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 wit...
/* ASSIGNMENT RULES - All the answers must be written in JavaScript - The solution must be pushed to the repository and be available for the tutors by the end of the day - You can ask for help, reach the Teaching Assistants if needed - You can google / use StackOverflow BUT we suggest you to use jus...
// @ts-check import { check, fail } from "k6"; import http from "k6/http"; import { default as config, options as configOptions } from "./config.js"; const { apiGatewayPrefix, surveyId, calendarStartDay, calendarEndDay, targetDay, edit, cancel, verbose } = config; const baseUrl = `https://${apiGatewayPrefix}.execute-...
function World(canvas) { // Constants this.transfer_rate_k = 0.25; // Variables and setup this.cells = []; // Array of this.canvas = canvas; this.ctx = this.canvas.getContext('2d'); this.cam = new Camera(canvas); this._lastTick = (new Date()).getTime(); // for timer this.frameSpacing; // for timer t...
// Copyright (C) 2013-2014, 2018 BrandsEye (PTY) 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, /...
import _extends from "@babel/runtime/helpers/extends"; import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; import _createClass from "@babel/runtime/helpers/createClass"; import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn"; import _getPrototypeOf from "@babel/runtim...
"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 (Object.protot...
/** Enhanced functionality for the Firebase library * @constructor Pyro * * @param {object} PyroData Object containing identifying information for creating a Pyro instance. * @param {string} PyroData.url Firebase url `Required` * @param {string} PyroData.dbName Database Name `Required` * @param {...
import React, { useState, useEffect } from "react"; import Form from "react-bootstrap/Form"; import FormAlert from "./FormAlert"; import FormField from "./FormField"; import Button from "react-bootstrap/Button"; import Spinner from "react-bootstrap/Spinner"; import { useAuth } from "./../util/auth.js"; import { useForm...
/* * * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * * in FIPS PUB 180-1 * * Version 2.1 Copyright <NAME> 2000 - 2002. * * Other contributors: <NAME>, <NAME>, Ydnar, Lostinet * * Distributed under the BSD License * * See http://pajhome.org.uk/crypt/md5 for deta...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var react_1 = tslib_1.__importDefault(require("react")); var Scoped_1 = require("../Scoped"); var factory_1 = require("../factory"); var service_1 = require("../store/service"); var tpl_1 = require("../utils/tpl...
"use strict"; /*jshint eqnull:true */ /*jshint globalstrict:true */ /*jshint node:true */ /*eslint-disable no-console */ var qacInit = {}; var fs = require('fs-promise'); var Path = require('path'); var qaControl = require('./qa-control.js'); var multilang = require('multilang'); var semver = require("sem...
/* jshint node: true, esversion: 6 */ const csv = require('csvtojson'); const fs = require('fs'); var path = require('path'); var zonesjson = require('../../../zones/brabantwater.json'); var dirPath = path.resolve(__dirname, '../reports/brabantwater'); // initialize var total = []; var zones = {}; function processValu...
const GameConstants = require('../shared_files/game-constants.json'); const {AiConnectingState} = require("./user/ai-connecting-state.js") const logger = require("../logger.js"); class GlobalFuncs { constructor(){} //a quick function to add some structure to the messages going across websockets sendJsonEvent(socke...
/** * HAL 9000 Neural Network Beta v.01 * Written By: <NAME> * Email: <EMAIL> * Released under MIT License * * This is the brain for HAL. It contains the logic to create the neural network */ //creates NN obj var NeuralNetwork = function(name) { this.name = name || "NN"; this.layers = { "input...
import $ from 'jquery'; import React, { Component } from 'react'; import { FormattedMessage, FormattedHTMLMessage } from 'react-intl'; import { connect } from 'react-redux'; import braintreeClient from 'braintree-web/client'; import dataCollector from 'braintree-web/data-collector'; import { isEmpty } from 'lodash'; im...
var CONTAINER_TAG = 'div'; var CONTAINER_ID = 'Chat'; function Timeline(container, skin) { var self = this; this.container = container; this.skin = skin; $(window).keypress(function(e) { guard(function () { var key = String.fromCharCode(e.which); var delta; if (key.toLowerCa...
const duration = { seconds: function (val) { return val; }, minutes: function (val) { return val * this.seconds(60); }, hours: function (val) { return val * this.minutes(60); }, days: function (val) { return val * this.hours(24); }, weeks: function (val) { return val * this.days(7); }, years: function (val)...
import { Meteor } from 'meteor/meteor'; import { Accounts } from 'meteor/accounts-base'; import { property_type } from '../imports/collections.js'; import { land_type } from '../imports/collections.js'; import { mission } from '../imports/collections.js'; import { matches } from '../imports/collections.js'; import './...
/** * Copyright (c) 2018-2021 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> */ var _a, _b; import { ColorMap } from '../../../../mol-util/color'; export var SaccharideColors = ColorMap({ Blue: 0x0090bc, Green: 0x00a6...
const expect = require('chai').expect; const bulletTrain = require('bullet-train-nodejs'); const email = '<EMAIL>'; const password = '<PASSWORD>'; const url = `http://localhost:${process.env.PORT || 8080}`; const helpers = require('./helpers'); const byId = helpers.byTestID; const setSegmentRule = helpers.setSegmentR...
/* * Nexmo Client SDK * Application Object Model * * Copyright (c) Nexmo Inc. */ const WildEmitter = require('wildemitter'); const getLogger = require('loglevel').getLogger; const User = require('./user'); const Conversation = require('./conversation'); const NXMCall = require('./modules/nxmCall'); const SipEvent...
//////////////////////////////////////////////////////////////////////////////////// // // app.js // main code for Froggeresque // works with: engine.js, resources.js // //////////////////////////////////////////////////////////////////////////////////// 'use strict'; // Global variable to hold onto global variabl...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Variables add by server: // - urlWebsocket // - urlRoom //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// let CODE_INFO = 0;...
//global.$ = window.$ = window.jQuery = global.jQuery = require('jquery'); global.$ = global.jQuery = window.$ = window.jQuery; global.document = document; //require('bootstrap'); var os = require('os'); var path = require('path'); var statusBar = require('status-bar'); var interpreterFinderLib = require('./lib/interp...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function DebugProtocol() { const data = _interopRequireWildcard(require("vscode-debugprotocol")); DebugProtocol = function () { return data; }; return data; } function _VsAdapterSpawner() { const ...
/*************************** routes.js One public function for each available URL / = index(req,res) -- Home page /submit = submit(req,res) -- POST handler for faucet submission /captcha = captcha(req,res) -- Javascript based captcha /dashboard = dashboard(req,res) -- Control Panel (single page) - the pat...
var deptRolesHandleType; var systemDeptRoleData; function deptTreeShow(data){ systemDeptRoleData = data; var bodydivs = $("#bodydivs"); var rightmouse = $("<div id='deptrMenu' class='rMenu'><ul><li data-method='setTop' id='addDeptWindow'" + " >增加节点</li>" + "<li data-method='setTop' id='updateDeptWindow'>修改节点</...
import debounce from 'debounce'; import * as searchFormActionCreators from '../actions/searchForm'; import * as savedSearchActionCreators from '../actions/savedSearch'; import { selectSignals } from '../actions/selectSignals'; import { populateSearchFields, clearSearchFields } from '../actions/savedSearchFields'; impor...
/* * Copyright 2009, Google Inc. * 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 conditio...
/* eslint-disable */ // TODO: remove once refactored const d3 = Object.assign( {}, require('d3-array'), require('d3-interpolate'), require('d3-selection'), ); const moment = require('moment'); const grib = require('../../helpers/grib'); class SolarLayer { constructor(selectorId, map) { this.lastDraw = n...
"use strict"; /** * @license * Copyright 2020 Google LLC. 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unles...
initialise(); function initialise(){ // stringProto(); s_bar(); let pathName = htmlChecker(); if (pathName.indexOf('index') !== -1){ let sKEY = 'SBAR'; removeInfo(sKEY); readExcel('MAIN',pathName) } else if (pathName.indexOf('information_page') !== -1){ let KEY = 'INDEX'; let index; ...
'use strict'; // 'v1.0' require('dotenv').config(); const fs = require('fs'); const request = require('node-fetch'); const requestURL = require('request'); const readline = require('readline'); const bodyParser = require('body-parser'); let scanLocation = 'downloads/' // let ended = process.env.ENDED || scanLocation ...
'use strict'; /* object-assign (c) <NAME> @license MIT */ /* eslint-disable no-unused-vars */ var getOwnPropertySymbols = Object.getOwnPropertySymbols; var hasOwnProperty = Object.prototype.hasOwnProperty; var propIsEnumerable = Object.prototype.propertyIsEnumerable; function toObject(val) { if (val === null || val ...