text
stringlengths
8.5k
48.7k
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prot...
/* ----------------------------------------------------------------------------------------------- Namespace --------------------------------------------------------------------------------------------------- */ var twentytwenty = twentytwenty || {}; // polyfill closest // https://developer.mozilla.org/en-US/docs/We...
// @flow const net = require('net') const https = require('https') const fs = require('fs') const sni = require('sni') const httpHeaders = require('http-headers') const socketIO = require('socket.io') const { isFQDN, isIP, isIPRange } = require('validator') const CIDRMatcher = require('cidr-matcher') const socketIoStr...
/* ✨ (\. \ ,/) \( |\ )/ //\ | \ /\\ (/ /\_#oo#_/\ \) \/\ #### /\/ \`##' 🧙‍♂️ Presenting 🧙‍♀️ Handsfree.js 8.5.1 Docs: https://handsfree.js.org Repo: https://g...
//Eternity Challenges function canUnlockEC(idx, cost, study, study2) { study2 = (study2 !== undefined) ? study2 : 0; if (player.eternityChallUnlocked !== 0) return false if (!player.timestudy.studies.includes(study) && (player.study2 == 0 || !player.timestudy.studies.includes(study2))) return false if (player.times...
// ==UserScript== // @name music.163.com utils // @namespace NetCharm // @description music.163.com cover image & other utils // @include http://music.163.com/* // @include https://music.163.com/* // @include // @include // @exclude %exclude% // @version 1.2.4.33 // @run-at document-end /...
const {BrowserWindow, ipcMain, session} = require('electron'); const request = require('request'); const helpers = require("./helper.core.js") const Base = require("./base.js") const Dao = require('./dao.js') const transfer_bulk_size = 999; var file_list_db = new Dao({'type':'list', 'name':'file_list', 'fields':[{name...
/* ========================================================================= * Identifying different DOM elements * ========================================================================= */ // identifying the button inputs for selecting the difficulty bt ID // specifically since its the most important question va...
// Processing works with a canvas and the DOM, fake it. // This is enough of the DOM to allow the parser work. var __empty_func__ = function () {}; var __elem_func__ = function() { return elem }; var navigator = { useragent: true }; // generic HTML element var createElement = function(tag) { return { localName...
var controller = require( 'ext.discussionTools.init' ).controller, modifier = require( 'ext.discussionTools.init' ).modifier, utils = require( 'ext.discussionTools.init' ).utils, logger = require( 'ext.discussionTools.init' ).logger, ModeTabSelectWidget = require( './ModeTabSelectWidget.js' ), ModeTabOptionWidget ...
import Phaser from "phaser"; import { getUserSessionData } from "../../utils/session.js"; import { API_URL } from "../../utils/server.js"; //creation d'une constante pour pouvoir maintenir plus facilement le code const POULET = "poulet"; const CHAT = "chat"; const POULETCHASSE = "poulerChasse"; const CHATCHASSEUR = "c...
// MODULES // import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { withTranslation } from 'react-i18next'; import Button from 'react-bootstrap/Button'; import ButtonGroup from 'react-bootstrap/ButtonGroup'; import Container from 'react-bootstrap/Container'; import Col from 'react-boot...
"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...
/* eslint-disable no-unused-vars */ import Ember from 'ember'; import layout from './template'; import config from 'ember-get-config'; import moment from 'moment'; import Analytics from '../../mixins/analytics'; import hostAppName from '../../mixins/host-app-name'; import { getUniqueList, getSplitParams, encodeParams ...
import { jsPDF } from 'jspdf' const WALKER_ASYNC_PROCESS_COUNT = 100 const SHRINK_ASYNC_PROCESS_COUNT = 100 let pageMarginTop let pageHeader let pageFooter let pageMarginBottom const pagerize = async () => { const contentContainer = document.getElementsByClassName('chohyo-content')[0] wrapOriginalElements(c...
'use strict'; var regPathInstructions = /([MmLlHhVvCcSsQqTtAaZz])\s*/, regPathData = /[\-+]?\d*\.?\d+([eE][\-+]?\d+)?/g, regValue = /[+-]?\d+(?:e[+-]?\d+)?|[+-]?\d*\.\d+(?:e[+-]?\d+)?/i, transform2js = require('./_transforms').transform2js, transformsMultiply = require('./_transforms').transformsMultip...
//* Global VAR *// var g_dic; var g_={}; var g_dateList = [];//一ヶ月のニュースの日付 var g_articleContents = {};//一ヶ月のニュースの内容 var helpTxt = ""; helpTxt +='<dl class="dict"><dt>'; helpTxt += '<span><ruby>次<rt>つぎ</rt></ruby>のことばに<ruby>色<rt>いろ</rt></ruby>がつきます。</span>'; helpTxt += '</dt>'; helpTxt +='<dd><ruby>国<rt>くに</rt></ru...
"use strict"; // // securemq: Secure Message Queue. // // Version: 0.0.9 // Author: <NAME> (mark [at] kurunt [dot] com) // License: MIT or Apache 2.0. // // Copyright (c) 2015 <NAME>. // Copyright (c) 2015 Fluidecho. // var util = require('util'); var events = require('events'); var amp = require('amp'); var Message ...
// ReSharper disable UseOfImplicitGlobalInFunctionScope // -------------------------------- // Platform Code // -------------------------------- function GameLoop(timeStamp) { Emotion.webHost.invokeMethod("RunLoop", gMousePos[0], gMousePos[1]); window.requestAnimationFrame(GameLoop); } function onResize() {...
'use strict' const Path = require('path') const Str = require('../dist') const { promises: Fs } = require('fs') describe('Strings', () => { it('get', () => { expect(Str('supercharge').get()).toEqual('supercharge') }) it('after', () => { expect(Str('marcus').after('mar').get()).toEqual('cus') expect...
'use strict'; ///////////////////////////////////// ////////////// BMW ///////////////// //// Written by Quantum Explorer //// ////////// Dash Foundation ////////// /// Released under the MIT License // ///////////////////////////////////// var o = require('./op'); var h = require('./helper'); // var V_INIT = [ // ...
/** * @fileoverview Floating layer for writing new schedules * @author NHN FE Development Lab <<EMAIL>> */ 'use strict'; var View = require('../../view/view'); var FloatingLayer = require('../../common/floatingLayer'); var util = require('tui-code-snippet'); var DatePicker = require('tui-date-picker'); var timezone...
/** * Provides Moonstone-themed scrollable components and behaviors. * * @module moonstone/Scrollable * @exports Scrollable * @private */ import classNames from 'classnames'; import {constants, ScrollableBase as UiScrollableBase} from '@enact/ui/Scrollable'; import {getDirection} from '@enact/spotlight'; import ...
var geometry = /* color: #98ff00 */ /* shown: false */ /* displayProperties: [ { "type": "rectangle" } ] */ ee.Geometry.Polygon( [[[-118.94599005090573, 47.00518711786543], [-118.94599005090573, 46.9332630543377], [-118.86599584924558, 46.9...
/** * Licence * Copyright University of Warwick 2016 * * Use of this source code is governed by an MIT-style licence that can be * found in the MIT-LICENSE file at https://github.com/rtalbot89/ref-game * The source code also depends on two other licences, canvas-game-bootstrap_licence * and codeman38_lice...
(function () { var $tableName = $('#table-name'); var $tableDescription = $('#table-description'); var $afterTable = $('#after-table'); var $tableSummary = $('#table-summary'); $tableDescription.add($tableSummary).on('click', 'a[tid]', function () { var tid = $(this).attr('tid'); ap...
// @ts-check import { map, filter, choose, iterateSpace, randomSplitChooser, binaryDivide, binaryReduce, chooseSubRect, } from 'cdom/procgen'; /// TODO move worthwhile parts into cdom/procgen /** @typedef { import("cdom/tiles").Point } Point */ /** @typedef { import("cdom/tiles").Size } Size */ /** @t...
/** * 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 action: false page: false subtypes: false theme: false user: false */ import { runService, runLogic, showRuntimePanel } from "./automation.js"; import { call, configureNamespace, copyToClipboard, editors, moveHistory, notify, openPanel, showInstancePanel, userIsActive, showConfirmationPan...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
'use strict' const db = require('../server/db') const {User, Product, Order} = require('../server/db/models') const Order_Detail = require('../server/db/models/order-detail') async function seed() { await db.sync({force: true}) console.log('db synced!') const users = await Promise.all([ User.create({ ...
import React,{useState,useContext,useEffect} from "react"; import {UserContext} from '../components/userContext.js' // reactstrap components import { Line, Bar } from "react-chartjs-2"; import classNames from 'classnames' import AccountBalanceWalletIcon from '@material-ui/icons/AccountBalanceWallet' // reactstrap compo...
// Copyright [2015] [Banana.ch SA - Lugano Switzerland] // // 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 ap...
/* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns * DS203: Remove `|| {}` from converted for-own loops * DS207: Consider shorter variations of null checks * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ "use strict"; l...
const helpers = require("./helper.core.js") const Base = require("./base.js") const Dao = require('./dao.js') const path = require('path'); const fs = require('fs'); const service = require('./service.js'); var app_cfg_db = null; // new Dao({'type':'list', 'name':'app_cfg', // 'fields':[{name:"id", type:'VARCHAR', len...
/* * Copyright 2019 <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, modify, merge, * publish, dist...
'use strict'; var $ = function(id) { return document.getElementById(id); }; var crc32 = (function() { var c, k; var n = 0; var crcTable = []; for ( ; n < 256; ++n ) { for ( c = n, k = 0; k < 8; ++k ) { c = c & 1 ? 0xedb88320 ^ c >>> 1 : c >>> 1; } crcTable[n] = c; } return function(s) { var i = 0...
'use strict'; const SearchUrl = 'https://api.twitch.tv/'; const DefaultEndpoint = 'helix'; const GameEndpoint = 'kraken/search'; const maxResults = 100; const defaultMinResults = 10; const clientID = '8yu0vcvvsjluvob2ekbeym4ij5ztns'; const MAX_ids = 100; let gameList = {}; let currSearch = ''; let currContent = '';...
export const D3DRENDERSTATETYPE = { D3DRS_ZENABLE : 7, /* D3DZBUFFERTYPE (or TRUE/FALSE for legacy) */ D3DRS_FILLMODE : 8, /* D3DFILLMODE */ D3DRS_SHADEMODE : 9, /* D3DSHADEMODE */ D3DRS_ZWRITEENABLE : 14, /* TRUE to enable z writes */...
var storageCache = {}; loadStorageCacheBackend(); try { chrome.storage.onChanged.addListener(function(changes, namespace) { for (var key in changes) { storageCache[key] = changes[key].newValue; try { applyContextMenuButtons(); } catch (e) {} } }); } catch (e) {} var regions = [ ["BE", "🇧🇪...
// const start const EPS = 1e-5 const screenMargin = 10 const snakeLength = 1 const snakeBodyDelay = 10 const snakeSpeed = 1 const snakeFullSpeed = 3 const snakeExplodeSpeed = 5 const popupLifetimeMax = 120 // const end class Snake { constructor(canvas, position) { this.canvas = canvas this.speed = 1 thi...
var messages = new Array(); function loadLanguage(lang) { switch (lang) { case "nb-no": messages = messages_nb_no; break; case "de": messages = messages_de; break; case "du-nl": messages = messages_du_nl; break; ...
console.log("started loading crafting!") //https://optimistic-snyder-de15e4.netlify.app/ //https://raw.githack.com/chipsams/The-Modding-Tree/master/index.html cr_data={ resources: { "a":[ {name:"empty",c:"#222222"}, ], 100:[//dust stuff {name:"dust",c:"#b9bffb"}, {name:"compressed dus...
/* -------- 請求書データ ------*/ function nvl(src_val, rep) { return (src_val == null) ? rep : src_val; } function getPdfDataInvoice(mode, invoice, setting, sumInvoice, customer) { const h = {}; const sum = {}; if (mode == 'delivery') { h.category = '納品書'; } else { h.category = '請求書'; ...
"use strict"; var __assign = (this && this.__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]; } return t; }; Object.defineProperty(expor...
/** * @file Pdb Parser * @author <NAME> <<EMAIL>> * @private */ import { Matrix4 } from '../../lib/three.es6.js' import { Debug, Log, ParserRegistry } from '../globals.js' import { defaults } from '../utils.js' import StructureParser from './structure-parser.js' import Entity from '../structure/entity.js' import ...
/* * YouTube 2 Player - Watch videos in an external player. * * Copyright 2016-2017 <NAME> <<EMAIL>> * * Distributed under the MIT/X11 License. See LICENSE.md for more details. */ /* global browser */ 'use strict' localize() const $groups = document.getElementById('groups') const $players = document.getElemen...
const maxCountsOnNoA = 10; Vue.config.devtools = true $(document).on('keydown', function(e) { if((e.ctrlKey || e.metaKey) && (e.key == "p" || e.charCode == 16 || e.charCode == 112 || e.keyCode == 80) ){ e.cancelBubble = true; e.preventDefault(); e.stopImmediatePropagation(); app.printDocumen...
var exptime = 600; var expnumber = 1; var minimum = 10; var maximum = 18; var signoise = 100; var pwv = 1; var seeing = 1; var waveminY1 = 0.85; var wavemaxY1 = 1.12; var waveminY2 = 1.12; var wavemaxY2 = 1.4; var jmag = 12; var temperature = 3000; var restwave = 1.0; var doppler = 0; var lineflux = 1; var linewid...
'use strict'; // ------------------------------------------------- // FUNCTIONS HELPER // ------------------------------------------------- /** * Show/Hide the process backdrop * * @param show true for showing */ function turnBackdrop(show) { var backdrop = $('.main-backdrop'); var backdropLoad = $('...
/** * 无论多少个Parser 只有一个Interpreter 以维持一个根Context */ var Walker = require('../walker'); var parser = require('../parser'); var tree = require('../node'); var symtab = require('../symtab'); var state = require('../helper/state'); var Event = require('../helper/Event'); var promise = require('../helper/promise'); var p...
export const geoCoordMap = { // 备用 中山: [113.4229, 22.478], 佛山: [112.8955, 23.1097], 咸阳: [108.4131, 34.8706], 延安: [109.1052, 36.4252], 张家口: [115.1477, 40.8527], 德州: [116.6858, 37.2107], 惠州: [114.6204, 23.1647], 汕头: [117.1692, 23.3405], 江门: [112.6318, 22.1484], 泰州: [120.0586, 32.5525], // 湖南 长沙:...
import * as A from 'kefir.atom' import * as K from 'kefir' import * as I from 'infestines' import * as L from 'partial.lenses' import * as F from 'karet.lift' import * as Karet from 'karet' import * as React from 'react' //////////////////////////////////////////////////////////////////////////////// const setName =...
const REGEX_DATA = 'xregexp' const features = { astral: false, namespacing: false } const nativ = { exec: RegExp.prototype.exec, test: RegExp.prototype.test, match: String.prototype.match, replace: String.prototype.replace, split: String.prototype.split } const fixed = {} let regexCache = {} let patte...
// variable to access main search form in js (to apply submit event listener to); var inputButton = document.querySelector('#search'); var hotelArea = document.querySelector('#hotel-area'); var hotelHeader = document.querySelector('#hotel-header'); var flightArea = document.querySelector(".flights"); var restaurantArea...
//# sourceURL=../dist/jsui.js //JSDK 2.7.0 MIT var JS; (function (JS) { let input; (function (input) { let MouseButton; (function (MouseButton) { MouseButton[MouseButton["LEFT"] = 0] = "LEFT"; MouseButton[MouseButton["MIDDLE"] = 1] = "MIDDLE"; MouseButton[Mous...
var Doc = require('./doc'); var Query = require('./query'); var Presence = require('./presence/presence'); var DocPresence = require('./presence/doc-presence'); var SnapshotVersionRequest = require('./snapshot-request/snapshot-version-request'); var SnapshotTimestampRequest = require('./snapshot-request/snapshot-timest...
#!/usr/bin/env node /** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2...
import _Object$keys from 'babel-runtime/core-js/object/keys'; import _getIterator from 'babel-runtime/core-js/get-iterator'; import { parseString } from 'xml2js'; import Promise from 'bluebird'; import { DIGIT_PLACEHOLDER } from '../AsYouType'; var phone_number_types = ['premium_rate', 'toll_free', 'shared_cost', 'vo...
/**** Variables Initiation ****/ var doc = document; var docEl = document.documentElement; var $body = $('body'); var $sidebar = $('.sidebar'); var $sidebarFooter = $('.sidebar .sidebar-footer'); var $mainContent = $('.main-content'); var $pageContent = $('.page-content'); var $topbar = $('.topbar'); var $logopanel =...
var fs = require('fs'); var path = require('path'); var MM = require('musicmetadata'); var md5 = require('md5'); var request = require('request'); var mkdirp = require('mkdirp'); var async = require('async'); var SoundcloudResolver = require('soundcloud-resolver'); var ytdl = require('ytdl-core'); var youtubePlaylistIn...
var SepiaFW = new Object(); //Core modules - NOTE: this happens before cordova's deviceReady !! SepiaFW.debug = sepiaFW_build_debug(); SepiaFW.data = sepiaFW_build_dataService(); SepiaFW.tools = sepiaFW_build_tools(); SepiaFW.config = sepiaFW_build_config(); //"Interface" modules - NOTE: this happens after cordova's ...
import React, { Component } from 'react'; import { get, store, find, update, destroy, rules,storeMass } from '../containers/ResponsiblesFormativeMeasures'; import { get as getContractTypes } from '../containers/ContractTypes'; import { get as getPositions } from '../containers/Positions'; import { validate, formValid, ...
/* * Copyright 2016 The MITRE Corporation, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this work 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 b...
/* globals URL beaker */ import { remote } from 'electron' import * as pages from '../pages' import * as zoom from '../pages/zoom' import * as yo from 'yo-yo' import prettyHash from 'pretty-hash' import {UpdatesNavbarBtn} from './navbar/updates' import {BrowserMenuNavbarBtn} from './navbar/browser-menu' // import {App...
function validateBooknowFieldsGM(sourceLocationType, consignorName, consignorNumber, consignorEmail, consignorAddress, consignorPin, rowNo) { var sourceLocationTypeErrorMessage, consignorNameErrorMessage, consignorNumberErrorMessage, consignorEmailErrorMessage, consi...
//@EliasHasle /* Draft for new version. More modularized, and interacts with a ship state. Uses an additional coordinate system for motions. The position.xy and rotation.z of the Ship3D object plane the ship in the 3D world. (Not geographically) position.z is the (negative) draft. fluctCont is a "fluctuations containe...
#!/usr/bin/env node /*! Copyright Twitter Inc. and other contributors. Licensed under MIT *//* https://github.com/twitter/twemoji/blob/gh-pages/LICENSE */ // dependencies var fs = require('fs'); var http = require('http'); // Twitter assets by property name var assets = { '16x16': [], '36x36': [], '72x7...
var auth = require('../utils/auth'); var express = require('express'); var router = express.Router(); var dashboard = require('../controller/dashboard/dashboard'); var organization = require('../controller/dashboard/organization'); var code = require('../controller/dashboard/code'); var customer = require('../controlle...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbo...
"use strict"; /** * @module DDPDriver * Handles low-level websocket ddp connections and event subscriptions */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && funct...
/* * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import React from 'react'; import _ from 'lodash'; import {useHistory} from "react-router-dom"; import {Backdrop, CircularProgress} from "@material-ui/core"; import {makeStyles} from "@material-ui/c...
"use strict" var hidingBbox = true; var renderTileSize = 250; var tilePadding = 5; var darkGreen = 0x303C00; var lightGreen = 0xB4CC48; var red = 0x840000; var green = 0x788418; var orange = 0xCC480C; var lightBlue = 0x9CC0CC; var fadedRed = 0xB46C6C; var sand = 0xF0E49C; var deepBlue = 0x3C6C78; var brightOrange = ...
"use strict"; let config = { // Should be higher than real FPS to not skip real frames // Hardcoded due to JS limitations fps: 30, // Low rate decreases the chance of losing frames with poor browser performances playbackRate: 0.4, // Format of the extracted frames imageMimeType: 'image/jpeg', imageExtension:...
function fontHandler(e) { changeFont(this.form,this.value); } function orientHandler(e) { changeOrient(this.form,this.value); } function mHandler(e) { //console.log('mHandler',e); changeTemplate(this.form,this.checked); } function printHandler(e) { printDocumentPage(); return false; } function cancelHandler(e...
import _ from 'underscore'; import moment from 'moment'; import m from 'mithril'; import { catarse } from './api'; import contributionVM from './vms/contribution-vm'; const { CatarseAnalytics, $ } = window; const _dataCache = {}, hashMatch = str => window.location.hash === str, mobileScreen = () => window...
var audioCtx = null; var leftTrack=null; var rightTrack=null; var FADE=0.01; var REVPERSEC = 33.3 / 60.0; var masterGain = null; var runningDisplayContext = null; // The Track object represents an in-memory track. In order to be able to // reverse the playback, it also creates and keeps a reversed version of // the ...
import React, {Component, PropTypes} from 'react'; import {connect} from 'react-redux'; import assign from 'object-assign'; import RelatedTests from '../../containers/RelatedTests'; import {VText, SymbolExplorer, MilStdPreview} from '../shared'; import PropertiesBox from '../shared/PropertiesBox'; import DropdownList f...
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/** @jsx jsx */ import { jsx } from '@emotion/core'; import React from 'react'; import { appbaseConfig as appbaseConfigDef, any, bool, func, fuzziness as fuzzinessDef, highlightField, number, object, position, queryFormat, string, suggestions as suggestionsDef, title as titleDef, wholeNumber...
var barChart; function ready() { // Load SVG before doing ANYTHING if (window.innerHeight<600) { // If visualization is loaded on a small screen, make the graph smaller so it still fits document.getElementById('graph').style.height = '350px'; document.getElementById('graph').style.marginTop = '50px'; } // List...
/* check for duplicate entries */ function check_duplicates(local, core) { if (!local) { return core; } arr = local.split(" "); for(i = 0; i < arr.length; i++) { if (core.match(arr[i])) { continue; } core += " " + arr[i]; } return core; } /* read .dsp source blocks */ function read_src_files(ext, t...
Deferred.define(); Deferred.prototype._fire = function (okng, value) { var next = "ok"; try { value = this.callback[okng].call(this, value); } catch (e) { next = "ng"; if (Deferred.debug) console.error(e); value = e; } if (value instanceof Deferred) { value....
"use strict"; var scanner2 = require("../compile/scanner2"); var breakcode = require("../compile/breakcode"); var strings = require("../basic/strings"); var less; var isDevelop = require("./isDevelop"); var inCom = require("./inCom"); var inPage = require("./inPage"); var fs = require("fs"); var path = require("path");...
var networks = require('./lib/js/networks.js'); var endpoints = require('./lib/js/explorer/endpoints.js'); var wallet = require('./lib/js/wallet/wallet.js'); var userDataMgr = require('./lib/js/utils/userdata-mgr.js'); var coinSelect = require('./lib/js/utils/coinSelect.js'); var urljoin = require('url-join'); var gui...
'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]; } } }...
var chat_tabs = new Array(); var ch_blinkOrder = 0; var ch_newMessages = new Array(); var ch_newMessagesWin = new Array(); var chat_tab_closed = new Array(); var ch_chatboxFocus = new Array(); var ch_windowFocus = true; var ch_typing = 0; var chat_emj,ch_emojiTxtEditor; var plholder = lang.pm_emoji_placeholder; var ...
"use strict"; const assert = require("assert"); const fs = require("fs-extra"); const { join } = require("path"); const UserAgent = require("user-agents"); const JSONDB = require("./db"); // NOTE duplicated inside puppeteer page function shuffleArray(arrayIn) { const array = [...arrayIn]; for (let i = array.lengt...
import defaultTo from 'ramda/src/defaultTo'; import equals from 'ramda/src/equals'; import {select, event, mouse} from 'd3-selection'; import {axisBottom} from 'd3-axis'; import {brushX} from 'd3-brush'; import {scaleTime} from 'd3-scale'; import {min, max} from 'd3-array'; import moment from 'moment'; const defaultNo...
var ttAccountActivation = "Attivazione account"; var ttActive = "Attivo"; var ttActivate = "Attiva"; var ttAdd = "Aggiungi"; var ttAddSelectedStudents = "Aggiungi studenti selezionati"; var ttAdministration = "Amministrazione"; var ttAdministrator = "Amministratore"; var ttAdminWelcome = "Benvenuto nel pannello d'ammi...
const Bot = require('./lib/Bot') const SOFA = require('sofa-js') const Fiat = require('./lib/Fiat') const request = require('request') const unit = require('ethjs-unit') const twitter = require('./twitter.js') const SITE = "stackoverflow" let bot = new Bot() // ROUTING bot.onEvent = function(session, message) { sw...
/* Copyright (c) 2013 jStat 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, merge, publish, distribute, subli...
//textoCerrarTareaTA = new Ext.form.TextArea({ // id: 'detalleDocumentoTexArea', // fieldLabel: 'Detalle del documento', // maxLength:1024, // height:200, // allowBlank: true, // tabIndex:2, // anchor : '95%' //}); var textoCerrarTareaCapTM = new Ext.ux.TinyMCE({ ...
var socket = io.connect(); socket.emit('client message', {'text': 'Hello from the client!!'}); socket.on('server message', function(message) { console.log(message.text); }); var node_id_stream = []; var done = true; socket.on('private server message', function(message) { d3.select('#messages').text(message.text +...
const Discord = require("discord.js"); const client = new Discord.Client(); const ayarlar = require("./ayarlar.json"); const chalk = require("chalk"); const fs = require("fs"); const moment = require("moment"); const Jimp = require("jimp"); const db = require("quick.db"); var prefix = ayarlar.prefix; client.on("ready"...
/* * 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 appJugador = angular.module('jugador', ['angular.filter','ngRoute','angularUtils.directives.dirPagination']); ////Accede directa...
'use strict' const leftButton = document.querySelector('.js-dictionary-pages-left'); const rightButton = document.querySelector('.js-dictionary-pages-right'); let dictionaryImage = document.querySelector('.dictionary-pages-image'); const toTopLink = document.querySelector('.toTop-link'); const abbreviationTemplate = d...
$(function(){// document function start $(function() { var currentTemplateSFP; var containerSelectorSFP; var $animationInProgress; $(".small_carausal").live("click",function(){ //$.getScript("/js/jquery.easing.1.3.min.js"); var res = $(this).find("#hiddens").val(); var no = $("#hidden_...
enchant(); var EVENT_PLAY = "gamestart"; var EVENT_HELP = "howtoplay"; var EVENT_START = "stagestart"; var EVENT_CLEAR = "stageclear"; var EVENT_FAILED = "stagefailed"; var EVENT_NEXT = "nextstage"; var EVENT_REPLAY = "replaystage"; var EVENT_SHARE = "sharescore"; var ad = window.ad || { show: function(){}, hide: fun...
"use strict"; const aFrom = require("es5-ext/array/from") , last = require("es5-ext/array/#/last") , customError = require("es5-ext/error/custom") , map ...