text
stringlengths
8.5k
48.7k
"use strict"; var Class = require("abitbol"); var _ = require("lodash"); var Astar = require("./Astar.js"); var Channel = require("./Channel.js"); var BABYLON = require("babylonjs"); /** * This component generates screenshots of 3D models, in order to preview them when they are rendered. * * @class Focus3D * @co...
// A dummy import script for geographical indication data // Will import data provided in a CSV into a rough format expected by specialist publisher. It will then output a single csv containing the data that would be imported into specialist publisher // Usage: node import-register.js <input.csv> <output.csv> const CSV...
import * as THREE from 'three'; // import * as BufferGeometryUtils from 'three/examples/jsm/utils/BufferGeometryUtils.js'; // import easing from './easing.js'; import metaversefile from 'metaversefile'; // import {chunkWorldSize} from '../../procgen/map-gen'; const {useApp, useLocalPlayer, useProcGen, useGeometries, us...
#!/usr/bin/env /usr/local/bin/node // <bitbar.title>Toggl status</bitbar.title> // <bitbar.version>v1.1</bitbar.version> // <bitbar.author><NAME></bitbar.author> // <bitbar.author.github>SCdF</bitbar.author.github> // <bitbar.desc>Shows hours completed today, hours completed this week.</bitbar.desc> // <bitbar.image>h...
/*var PROVIDER_LIST = "https://stage.sofiadigital.fi/dvb/dvb-i-reference-application/backend/servicelist_registry.php";*/ var PROVIDER_LIST = "http://localhost/servicelist_registry.php"; function parseServiceList(data,dvbChannels,supportedDrmSystems) { var serviceList = {} var list = []; serviceList.servic...
var canvas; var ctx; var block_size = 30; var blocks_x = 10; var blocks_y = 20; var grid_width = 2; var world = {"width": blocks_x * block_size + grid_width, "height": blocks_y * block_size + grid_width}; var tetrii = {"I": [[0, -2], [0, -1], [0, 0], [0, 1]], "T": [[0, 0], [-1, 0], [1, 0], [0, -1]], ...
// $(document).ready(function() { // CONSTANT variables ------------------------------ // copy static #other-title job role input field const otherJobRoleInput = $('#other-title')[0]; // remove static #other-title job role input $('#other-title').remove('*'); // disable html's built in form Validation $...
/* PCB rendering code */ var redrawOnDrag = true; var boardRotation = 0; var renderPads = true; var renderReferences = true; var renderValues = true; var renderDnpOutline = false; function deg2rad(deg) { return deg * Math.PI / 180; } function calcFontPoint(linepoint, text, offsetx, offsety, tilt) { var point = [...
/** @file This file the information about the video player. */ /** Global reference to the video player * @global */ var oVP; /** * Creates a video player pointing to files specified by the url * @constructor */ function JSVideo() { var frame_rate = 10; var fname_folder = main_media.GetFileInfo().GetIma...
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; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
// While most of the IDB behaviors match between implementations a // lot of the names still differ. This section tries to normalize the // different objects & methods. window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB; window.IDBCursor = window.IDBCursor || window.webkitIDBCur...
const fs = require('fs') const path = require('path') const format = require('string-format') const { DocsWriter } = require('../docswriter') const { TLObject, Usability } = require('../parsers') const { snakeToCamelCase } = require('../utils') const CORE_TYPES = new Set([ 'int', 'long', 'int128', 'int...
var timelineScale = 0; function addFrame(){ if(usingTutorial){ confirm("Now change some diemsions, colors, or positions, add a keyframe, then press play."); animateArrow(75,15,250,60) } keyFrames.push( { //default settings for keyframe //collects all of the c...
export let countries = [ "AFG", "ALB", "DZA", "AGO", "ATA", "ARG", "ARM", "AU1", "AUT", "AZE", "BHS", "BGD", "BLR", "BEL", "BLZ", "BEN", "KAS", "BTN", "BOL", "BIH", "BWA", "BRA", "BRN", "BGR", "BFA", "BDI", "KHM", "CMR", "CAN", "CAF", "TCD", "CHL", "CH1"...
'use strict'; const Node = require('./Node'); const Edge = require('./Edge'); const ROOT_NODE_ID = 0; const ROOT_NODE_OBJECT_ADDRESS = 1; // 从 v8 里面抠出来的信息,如果 v8 更新掉就呵呵了 const GCRootInfo = { /** * GC root of unknown type, or a type not matching any of the other declared types */ UNKNOWN: 1, /** * Class ...
// Plugin to HomeBridge optimized for work with Itead Sonoff POW hardware with firmware // Sonoff-Tasmota via MQTT with log data to file. // Partially emulate Elgato Eve Energy. Measure used power and write data to log text files. // <NAME> @MacWyznawca 'use strict'; var inherits = require('util').inherits; var sche...
// declaration of global vars var productsContainer, productsList, shoppingCartContainer, shoppingCartTotal, cartButton, cartButtonQty, currentCat, clearButton, checkoutButton, popupContainer, popupInterface, couponCodeField; var timer; // class with constructor fo...
require('babel-polyfill'); const d3 = require('d3'); const SYMBOLS = [ { value: 'aapl', cap: 'Apple' }, { value: 'googl', cap: 'Google' }, { value: 'msft', cap: 'Microsoft' }, ]; const PERIODS = [ { title: '1 день', value: '1d', cap: '1Д' }, { title: '1 месяц', value: '1m', cap: '1М' }, { title: '3 месяца'...
/* Gopi's Unicode Converters Version 3.2 Copyright (C) 2011 Gopalakrishnan (Gopi) http://www.higopi.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Licens...
const VoiceLineSemantics = { MELODY: 0, INNER: 1, BASS: 2, DOUBLED: 3 }; // Chord types const ChordType = { TRIAD: 0, SEVENTH: 1, SUS2: 2, SUS4: 3, SUS2_SEVENTH: 4, SUS4_SEVENTH: 5, NINTH: 6, CUSTOM: 7, toString: function(type) { switch (type) { ...
var router = require('express').Router(); var mongoose = require('mongoose'); //var MDataModel = mongoose.model('SDataModel'); var passport = require('passport'); var User = mongoose.model('User'); var MProject = mongoose.model('Project'); var auth = require('../auth'); var passportConfig = require('../../config/passpo...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var postcss = require('postcss'); var postcss__default = _interopDefault(postcss); var path = _interopDefault(require('path')); var resolve = _interopDefault(require('@csstools/sass-import-...
/** * Copyright 2016 PT Inovação e Sistemas SA * Copyright 2016 INESC-ID * Copyright 2016 QUOBIS NETWORKS SL * Copyright 2016 FRAUNHOFER-GESELLSCHAFT ZUR FOERDERUNG DER ANGEWANDTEN FORSCHUNG E.V * Copyright 2016 ORANGE SA * Copyright 2016 Deutsche Telekom AG * Copyright 2016 Apizee * Copyright 2016 TECHNISCHE UNIVERSIT...
/* global config, require, attachMediaStream, getUserMedia */ var logger = require("jitsi-meet-logger").getLogger(__filename); //var RTCBrowserType = require("./RTCBrowserType"); var Resolutions = require("../../service/RTC/Resolutions"); var RTCEvents = require("../../service/RTC/RTCEvents"); //var AdapterJS = require...
// js native equivalent of jQuery $(document).ready(function {..}); document.addEventListener("DOMContentLoaded", function (event) { try { doRequest("api.php?getlist", null, true, function (data) { var list = JSON.parse(data); var elem = document.querySelector('#listfaculty'); ...
function isChrome() { var isChromium = window.chrome, winNav = window.navigator, vendorName = winNav.vendor, isOpera = winNav.userAgent.indexOf("OPR") > -1, isIEedge = winNav.userAgent.indexOf("Edge") > -1, isIOSChrome = winNav.userAgent.match("CriOS"); if(isIOSChrome){ return true; } els...
/** * Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. * * 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...
// BEGIN modal and hash code // thank you page after supporter form submission // (needs to be ahead of the "loading" screen) $(function(){ if(window.location.hash) { var hash= window.location.hash.substring(1); //Puts hash in variable, and removes the # character if (hash == 'thankyou'){ $("#load...
import fetch from 'cross-fetch' import ProxyFactoryDef from '@origin/contracts/build/contracts/ProxyFactory_solc' import IdentityProxyDef from '@origin/contracts/build/contracts/IdentityProxy_solc' import pubsub from '../utils/pubsub' import mineBlock from '../utils/mineBlock' import contracts from '../contracts' impor...
/// LICENCE ----------------------------------------------------------------------------- // // Copyright 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 restricti...
const {CompositeDisposable} = require('atom'); const nodePath = require('path'); const map = require('./map'); const domBuilder = require('./dom-builder'); const { buildBlock, buildHeader, buildInput, buildButton, buildLabel } = require('./common'); const octicons = require('./json/octicons.json'); const devicons = r...
/* eslint-env browser */ // ==UserScript== // @name [dmzj]record // @description 自动更新浏览记录,获取书签 // @include https://manhua.dmzj.com/* // @include https://i.dmzj.com/subscribe // @version 1.0.102 // @modified 2019-8-27 15:27:09 // @author dodying // @namespace https://github.com/dodying/UserJ...
/* * Copyright (c) 2013-2019 <NAME> <<EMAIL>> * Copyright (c) 2016 <NAME> <<EMAIL>> * Copyright (c) 2014 <NAME> <<EMAIL>> * Copyright (c) 2015 Spikes, Inc. * Portions based on websock.js by <NAME> * Copyright (C) 2012 <NAME> * * Licensed under MPL 2.0 * * xpra wire protocol with worker support * * requires:...
// JavaScript source code 'use strict'; /** * This code sample demonstrates an implementation of the Lex Code Hook Interface * in order to serve a bot which manages dentist appointments. * Bot, Intent, and Slot models which are compatible with this sample can be found in the Lex Console * as part of the '...
/** * @fileoverview ESLint helpers to analyze and find nodes on tree * @author <NAME>. */ 'use strict'; const colors = require('colors/safe'); const ignoreKeys = ['parent']; const nodes = [{}]; const DEBUG = process.env.DEBUG || global.DEBUG || Infinity; const DEBUG_STACK = process.env.DEBUG_STACK && process.env....
'use strict'; /////////////////////////////////////////////////////////////////////////////////////////////// // avalon /////////////////////////////////////////////////////////////////////////////////////////////// //改变模板标签 avalon.config({ interpolate: ["{[{", "}]}"] }); // 过滤markdown标签 avalon.filters....
function actionSkfb() { // initialize if (!window.Sketchfab) { console.log('no Sketchfab library'); } var client = new window.Sketchfab(version, iframe); var error = function error() { console.error('Sketchfab API error'); }; var success = function success(api) { api.start(...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BEMDOM = void 0; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && ty...
import React from 'react'; import PropTypes from 'prop-types'; import hoistNonReactStatics from 'hoist-non-react-statics'; import { isStorageAvailable } from "./localStorage"; import Samples from "./Samples"; import Slider from '@material-ui/core/Slider'; import Tooltip from '@material-ui/core/Tooltip'; let SHOULD_LOG...
if(typeof SiteTreeHandlers == 'undefined') SiteTreeHandlers = {}; SiteTreeHandlers.parentChanged_url = 'admin/ajaxupdateparent'; SiteTreeHandlers.orderChanged_url = 'admin/ajaxupdatesort'; SiteTreeHandlers.loadPage_url = 'admin/getitem'; SiteTreeHandlers.loadTree_url = 'admin/getsubtree'; _NEW_PAGES = new Array(); /*...
const moment = require('moment'); const Sequelize = require('sequelize'); const hash = require('object-hash'); const _ = require('lodash'); const { diff } = require('deep-diff'); const beautify = require('js-beautify').js_beautify; const fs = require('fs'); const path = require('path'); const { log } = console; cons...
/* * == BSD2 LICENSE == * Copyright (c) 2017, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program ...
/* * *********************************************************************************************** * * I usually don't write code this sloppy but I just wanted to get it done. * Maybe one day when i get really really bored I'll clean this up. * * *****************************************************************...
/* ALL */ const VERSION = '0.0.1'; const https=require("https"), http=require("http"), url=require("url"), os=require("os"), redux=require("redux"), lodash=require("lodash"), fs=require("fs"), xml2js = require('xml-parser'), stream = require('stream'), zlib = require('zlib'), cryptojs=require("cryptojs"), nodemailer...
/* * Original code from Finite State Machine Designer by <NAME> (http://madebyevan.com/fsm/). * Edited by <NAME>. */ var greekLetterNames = ['Alpha', 'Beta', 'Gamma', 'Delta', 'Epsilon', 'Zeta', 'Eta', 'Theta', 'Iota', 'Kappa', 'Lambda', 'Mu', 'Nu', 'Xi', 'Omicron', 'Pi', 'Rho', 'Sigma', 'Tau', 'Upsilon', 'Phi', 'C...
#!/usr/bin/env node 'use strict'; // aegluetable // TO DO: [exported] glue tables currently store command parameters as unordered {name:code,...} object, but should use [{name,code},...] just in case ordering ever becomes significant // note: The default `ascrgsdf` handler is buggy in apps that don't include a nati...
import {ShaderProgram} from './shaders' import {MeshLoader} from './io' import {Textures} from './textures' import {MeshZipper, Mutex} from './util' import {mat4, vec3, quat, mat3} from 'gl-matrix' import * as math_ex from './math' import { PrimitiveLoader } from './primitives' const NEAR_CLIP = 0.1; const FAR_CLIP =...
'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]; } } }...
/* * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicabl...
import {observable, action, flow, computed} from "mobx"; import FrameAccurateVideo, {FrameRateDenominator, FrameRateNumerator, FrameRates} from "../utils/FrameAccurateVideo"; import UrlJoin from "url-join"; import URI from "urijs"; import HLS from "hls.js"; import {DownloadFromUrl} from "../utils/Utils"; class VideoSt...
/** # authorize-jwt&nbsp;&nbsp;&nbsp;[![Build Status](https://travis-ci.org/davedoesdev/authorize-jwt.png)](https://travis-ci.org/davedoesdev/authorize-jwt) [![Coverage Status](https://coveralls.io/repos/davedoesdev/authorize-jwt/badge.png?branch=master)](https://coveralls.io/r/davedoesdev/authorize-jwt?branch=master) ...
import {Mark} from "prosemirror-model" import {NodeSelection} from "prosemirror-state" import {scrollRectIntoView, posAtCoords, coordsAtPos, endOfTextblock, storeScrollPos, resetScrollPos} from "./domcoords" import {docViewDesc} from "./viewdesc" import {initInput, destroyInput, dispatchEvent, ensureListeners} from "....
/* ================================================================================ Phoenix LiveView Javascript Client ================================================================================ ## Usage Instantiate a single LiveSocket instances to enable LiveView client/server interaction, for example: im...
'use strict' const FindMyWay = require('find-my-way') const avvio = require('avvio') const http = require('http') const https = require('https') const Middie = require('middie') const lightMyRequest = require('light-my-request') const abstractLogging = require('abstract-logging') const proxyAddr = require('proxy-addr'...
var icms = icms || {}; $(document).ready(function(){ for(var module in icms){ if ( typeof(icms[module].onDocumentReady) === 'function' ) { icms[module].onDocumentReady(); } } renderHtmlAvatar(); $('.widget_tabbed').each(function(){ $('.tabs .tab a', $(this)).click...
import Mediator from './mediator'; import layoutManager from './layoutManager'; import { hasClass, addClass, removeClass, getParent } from './utils'; import { domDropHandler } from './dropHandlers'; import { defaultGroupName, wrapperClass, animationClass, stretcherElementClass, stretcherElementInstance, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.simplify_trig = exports.simplify = exports.simplifyForCodeGeneration = exports.Eval_simplify = void 0; const alloc_1 = require("../runtime/alloc"); const count_1 = require("../runtime/count"); const defs_1 = require("../runtime/defs");...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var events = _interopDefault(require('events')); var path = _interopDefault(require('path')); var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? ...
var data = { "defaults" : { "scale" : "1", "boxheight" : "100", "boxwidth" : "600", "leftmargin" : "20", "topmargin" : "40", "boxspacing": "25" }, "title": "Top 5", "type": "TOPX", "mode": "single", "parameters" : [ {"rankingproperty" : "Product"}, {"rankingmeasure" : "Sales"} ], "base": { "d...
/** * @name html-crush * @fileoverview Minifies HTML/CSS: valid or broken, pure or mixed with other languages * @version 4.1.10 * @author <NAME>, Codsen Ltd * @license MIT * {@link https://codsen.com/os/html-crush/} */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _slicedToA...
/* InstantClick 3.1.0 | (C) 2014-2017 <NAME> | http://instantclick.io/license */ var instantclick , InstantClick = instantclick = function(document, location, $userAgent) { // Internal variables var $currentLocationWithoutHash , $urlToPreload , $preloadTimer , $lastTouchTimestamp , $hasBeenInitia...
export * from './123'; export * from './3DMaterials'; export * from './ABC'; export * from './AEMScreens'; export * from './Actions'; export * from './AdDisplay'; export * from './AdPrint'; export * from './Add'; export * from './AddCircle'; export * from './AddTo'; export * from './AddToSelection'; export * from './Ai...
// require('dotenv').config({ path: '../../../../.env' }) const { initialOrderbook, finalOrderbook, wsEvent, ResultOneWsEventReplayed, wsQue } = require('../../__mocks__/binance') const {redis, publisher} = require('arb-redis') // const coinBal = require('../../../modules/binance/coinBal') const config = require('../.....
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.withEditorPropsNoRedux = exports.connectToEditor = exports.exportSequenceToFile = exports.importSequenceFromFile = exports.updateCircular = exports.handleInverse = exports.handleSave = undefined; var _regenerator = require("babel-r...
var OutilPricipale = document.querySelectorAll('.out-pr'); var OutilPr = document.querySelectorAll('.out-pr'); var BLdetaile = document.querySelectorAll('.Bl-outil-detail'); var zoneDeTravail = document.querySelector('.zone-de-travail'); var BLzoneEditable = document.querySelector('.bl-zone-editable'); ...
function annotation_source(id, type, name, url) { this.id = id; this.type = type; this.name = name; this.url = url; this.annotations = []; } function annotation(id, type, sheet_number, cell_range, content, date_created) { this.id = id; this.type = type; this.sheetNumber = sheet_number; ...
/* eslint no-eval: 0 */ /** * Header Bidding Plugin Brightcove module. */ // CONSTANTS var _prebidGlobal = require('./PrebidGlobal.js'); var _vastManager = require('./VastManager.js'); var _adListManager = require('./AdListManager.js'); var _prebidCommunicator = require('./PrebidCommunicator.js'); var _logger = req...
// Copyright (c) 2016, ESS LLP and contributors // For license information, please see license.txt frappe.provide('erpnext.queries'); frappe.ui.form.on('Patient Appointment', { setup: function(frm) { frm.custom_make_buttons = { 'Vital Signs': 'Vital Signs', 'Patient Encounter': 'Patient Encounter' }; }, o...
let _jString = java.lang.String; let _jExecutors = java.util.concurrent.Executors; let _jThread = java.lang.Thread; let _jLock = java.util.concurrent.locks.ReentrantLock; let _jByteOrder = java.nio.ByteOrder; let _jByteType = java.lang.Byte.TYPE; let _jFloatType = java.lang.Float.TYPE; let _jFile = java....
import { gameOptions } from './config'; const POLE_SUCCESSFUL = 0; const POLE_TOO_SHORT = 1; const POLE_TOO_LONG = 2; // idle state: the ninja is moving due to latest player action const IDLE = 0; // waiting for input start state: the game is waiting for player input const WAITING_FOR_INPUT_START = 1; // waiting fo...
import * as d3 from 'd3'; import $ from 'jquery'; import ContextMenu from '@/components/ContextMenu/ContextMenu'; const EXEC_STATUS = [{ code: -1, title: '未运行', color: '#1b6d85' }, { code: 1, title: '提交', color: '#30abdc' }, { code: 2, title: '等待', color: '#eead2e' }, { code: 3, title: '执行', c...
// // multiple sequence alignment analysis and visualization library // relies on jQuery, d3 and external css 'seqlib.css' // written and maintained by <NAME> at Memorial Sloan Kettering Cancer Center, 2012 // let nl = '\n'; function isset(a) { return typeof a !== 'undefined'; } // yay php // prettier-ig...
var heronames = new Array( new Array("Abaddon","Alchemist","Ancient Apparition","Anti-Mage","Arc Warden","Axe","Bane","Batrider"), new Array("Beastmaster","Bloodseeker","Bounty Hunter","Brewmaster","Bristleback","Broodmother","Centaur Warrunner","Chaos Knight"), new Array("Chen","Clinkz","Clockwerk","Crystal Maiden"...
import React, { Component } from 'react'; import prettyBytes from 'pretty-bytes'; import TagsInput from 'react-tagsinput'; import { Spinner } from '../Spinner'; import { AutoTaggingProcessLabel, BackIcon, Button, ErrorParagraph, ErrorWrapper, FileWrapper, GoBack, InfoIcon, Input, InputsBlock, Prop...
window.onload = function () { if(performance.navigation.type == 2){ location.reload(true); } //const urlBase = "http://localhost:8080" const botaoEdit = document.getElementById("info_change"); botaoEdit.addEventListener("click", editar); display_notification(); const name = document.getE...
/** * 区域看板 */ var taskNo=""; var area=""; var itemNo=""; var index =1; var action = true; var interval_do = null;// 定时器-工单轮播 var taskNo_action=true; var interval_taskNo = null;// 定时器-更新工单 var time1=0,time2=0; $(function() { doData() var cycle=parseFloat(Rotime.data[0].REFRESHTIME)//-刷新获取所有工单 var cycle1=pars...
//声明图片集合对象,为全局变量 var piclist; //声明用户关注对象对象,为全局变量,而且是数组对象,后面会用到数组对象的indexOf()方法 var watchList=new Array(); /** * 获取用户中心的下拉列表 */ $(".userImgCenter").click(function(){ $(".centerList").toggleClass("hidden"); }); /** * 举报的异步提交 */ $("#report_submit_btn").click(function(){ //不为空再提交数据 if($("#desct...
/* * contact-js uses pointer events, which combine touch and mouse events (and more) * for readability, "touch" is used in comments */ /* * At the time the user touches the surface it is not known which gesture he will perform. He can also add or remove touches. * The contact phenomenon starts when the user initially ...
// Copyright (c) Jupyter-Contrib Team. // Distributed under the terms of the Modified BSD License. // Author: <NAME> //var config_toolbar_present = false; var listOfLangsInNotebook = []; var log_prefix = '[nbTranslate] '; var nbTranslate_toolbarNotYetDisplayed = true; var langs = { 'auto': 'Automatic', 'af...
/**************************************************************************** Copyright (c) 2017-2018 <NAME> Co., Ltd. http://www.cocos2d-x.org 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 Softw...
import { serialize as encode, deserialize as decode } from '../common/pickler'; import * as pg from './periodic'; import { rationalLinearAlgebraModular } from '../arithmetic/types'; import { coordinateChangesQ as ops } from '../geometry/types'; import * as part from '../common/unionFind'; import * as comb from '.....
var searchjson = { 'after': 0, 'before': 0, 'owner': 0, 'type': 0, 'position': [], 'keywords': 0, 'uid': 0, 'fid': [], 'flag': [], 'flagval':[] }; //判断搜索条件是否为空 function ishascondition() { for (var o in searchjson) { if (searchjson[o] != false) { $('#empty...
export const INVALID_RECORDS = { message: 'records must be an object with tournamentId keys', code: 'ERR_INVALID_TOURNAMENTS', }; export const MISSING_TOURNAMENT_RECORDS = { message: 'Missing tournamentRecords', code: 'ERR_MISSING_TOURNAMENTS', }; export const MISSING_TOURNAMENT_RECORD = { message: 'Missing t...
//KPI Chart Widget //<NAME> //Copyright <NAME> 2014 /*****************************************************************/ /*** PUBLIC INTERFACE ***/ /*****************************************************************/ //Constructor function chartKPI(containerID, chartID, params)...
if (typeof define !== 'function') { var define = require('amdefine')(module) } // ^ allow node to load this as a node module. /** Copyright (c) 2011-2012 <NAME>, Mozilla. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
/* Constants */ const attribution = ' INIDETAM-SEMAR | CONACYT '; /* Main map */ var mapStage = new L.Map('mapStage', { layers: [ new L.TileLayer( 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: attribution } ) ], crs: L...
"use strict"; console.log("< Colorbot >"); const fs = require("fs"); const Discord = require("discord.js"); const prefix = /^!cb */i; const spaces = / +/g; const underscores = /_/g; const colorTest = /^#?(?:([\da-f])([\da-f])([\da-f])|([\da-f]{6}))$/i; const properColorTest = /^#[\da-f]{6}$/; const italicize = str => `...
import { getPointName, FormatParamInputs, dent } from "./FlowOrder"; function getStateName(key, flowpoints, states, init_states) { if (init_states.includes(key)) { return 'self.' + getPointName(flowpoints, key) + '_state' } return states[key] } function getOutputTargetName(key, flowpoints) { return getP...
$(document).ready(function() { //登陆弹窗 var loginboxlayer,login_flag = false; function showLoginboxDiv(){ // kgj add 判断二级域名 var subdomain = $("#subdomain").val(); if(subdomain!=null&&subdomain!='') { resetLoginUrl(); } else { loginboxlayer = $.layer({ closeBtn : [0 , false], ...
var vertices = [] var edges = [] var settings = {} var forceWeightText = false var fixed = 3 // common math functions/constants, that I want to use without Math prefix 'sin,cos,atan2,sqrt,PI,abs,min,max,pow'.split(',').forEach(func => { window[func] = Math[func]; }) function readHTMLArgs(){ try { var allArgs = w...
/* global Colors */ var TileDefaultConfig = { tileDeferred: 0, size: "medium", cover: "", coverPosition: "center", effect: "", effectInterval: 3000, effectDuration: 500, target: null, canTransform: true, onClick: () => {}, onTileCreate: () => {}, }; var METRO_THROWS = true; ...
var GlobalScore = 0; //Variable que contiene el Score general de juego var bmd, map, layer, marker, currentTile; var score; var scoreTextValue, nBlackTextValue, textStyle_Key, textStyle_Value; var cursors; var player; var vidas = 3,vidasTextValue; var egg, eggs, eggsCount = 0, eggsTextValue; var playerGolpe; var jumpB...
var drugsmaster =[ {name:"Pirenzepine",receptors: [8.2,6.5,6.9,7.4,7.2]}, {name:"Methotramine",receptors: [6.7,7.7,6.0,7.0,6.3]}, {name:"Darifenacin",receptors: [7.8,7.0,8.8,7.7,8.0]}, {name:"MT-3",receptors:[6.7,5.9,6.0,8.1,6.0]}, {name:"S-Secoverine",receptors:[8.0,7.9,7.7,7.7,6.5]}, {name:"So...
// bostonparks object var bp = { // array with currently visible map features (parks, facilites) overlays: [], // map configurations // TODO: document options mapconf: {}, // paginaton threshold listlimit: 10, // There should be only one sharedinfowindow: new google.maps.InfoWindow({ maxWid...
import * as d3 from 'd3'; import setupPageExtensionData from './pageExtensionData'; import './extendD3WithLasso'; import { getThresholdClasses, thresholds } from './thresholds'; function setupPaint({ $, qlik }) { const pageExtensionData = setupPageExtensionData({ $ }); return function ($element, layout) { // ...
'use strict'; var editor = void 0, session = void 0, sessionDoc = void 0; var socket = void 0, room = void 0; var userEdit = true; var filename = void 0; $(document).ready(function () { room = document.querySelector('#room-id').innerHTML; if (Number.parseInt(room) == -1) { document.querySelector(...
import React, { useState, useEffect, useRef }from 'react'; import { useForm } from 'react-hook-form'; import { useStaticQuery, graphql, Link } from 'gatsby'; import Img from 'gatsby-image'; import ImageUploader from "react-images-upload"; //helpers/utils import { check } from '../../../utils/helpers'; import axios from...
let loadedMessage; initListeners(); function initListeners() { // Listen to messages from the payload.js script and write to popout.html chrome.runtime.onMessage.addListener(function (rawDocketData) { let parsedData; switch (rawDocketData.domain) { // VT COURTS ONLINE case 'secure.vermont.gov'...
// object to control Loading/initialization of lessons and included functionality // dependancies to URL_UTILS, VIEWPORT_MGR // // sample initialization to use LESSON_MGR('#lesson-content', '@ViewBag.region','@ViewBag.caseStudy','@ViewBag.subStudy','@ViewBag.sectionID') var LESSON_MGR = { // #region Properties...
crawl_target_url = "http://163.23.175.5/LIB/LibList.aspx?year=103&semi=1"; var DEBUG = { use_local_file: true, limit_one: false }; // 使用方法說明 // https://docs.google.com/document/d/19L9VSWMbowvhe2cF8Lg4cNIlDh2aondT0gMLoGnjOF8/pub // [JS_URL] = https://pulipulichen.github.io/console-webpage-crawler/config/databas...