text
stringlengths
5.97k
41.2k
import {remote} from 'electron'; import {execSync, exec} from 'child_process'; import fs from 'graceful-fs'; import fse from 'fs-extra'; import path from 'path'; import _ from 'lodash'; import xml2js from 'xml2js'; import log from './log'; import each from './each'; import state from './state'; import editorValue from ...
// var lg = log4web.newLogger(); var ui = window['log4web-ui-mobile']; // lg.config({ level: log4web.LogLevel.TRACE, // level: // log4web.LogLevel.ERROR, defaultStore: { enable: true, }, // defaultFanner: { enable: false }, 'log4web-ui-mobile': {} }) // lg.use(ui.Core); //使用默认的输出插件(console/alert) lg...
/* var config = { db: {url: 'mongodb://10.10.23.31:27010/easyDB'}, table: 'user', "collectType": {"fitbit": "date", "jawbone": "all", "runkeeper": "all"} }; var platform = 'fitbit'; config.deviceJson = { "jawbone": require('./config.private/jawbone.json'), "fitbit": require('./config.private/fitbit.json'), "runkeep...
/*----------------------------------------------------------------------------\ | XLoadTree 2 PRE RELEASE | | | | This is a pre release and may not be redistributed. ...
/** @babel */ /* * * Copyright (c) 2015 <NAME> * for https://github.com/reactjs/react-autocomplete * * Copyright © 2015 <NAME> * for https://github.com/bevacqua/fuzzysearch * */ // modified from https://github.com/reactjs/react-autocomplete /** @jsx etch.dom */ import etch from "etch"; const IMPERATIVE_API...
/** * engine.io 核心部分构建 * * @author wujohns * @date 17/12/1 */ 'use strict'; const _ = require('lodash'); const querystring = require('querystring'); const url = require('url'); const base64id = require('base64id'); const EventEmitter = require('events').EventEmitter; const debug = require('debug')('engine'); cons...
var app = require('../../server/server') var utility = require('../../public/utility') var roleManager = require('../../public/roleManager') var cron = require('cron') var statusConfig = require('../../config/predictStatus.json') var tagConfig = require('../../config/predictTags.json') var estimateStatusConfig = requi...
'use strict' /** * @module permission-set * Models the set of Permissions in a given .acl resource. * @see https://github.com/solid/web-access-control-spec for details. * The working assumptions here are: * - Model the various permissions in an ACL resource as a set of unique * permissions, with one agent (...
function FaceGen( on_ready ) { FaceGen.instance = this; this.pending = 0; this.imgs = {}; this.photo_size = [64,64]; this.on_ready = on_ready; this.HAIR_FRONT = this.loadImage("hair_front", FaceGen.BASE_PATH + "HAIR_FRONT" + FaceGen.BASE_EXTENSION ); this.HAIR_FRONT_YOUNG = this.loadImage("hair_front_young", ...
/* eslint-disable no-empty */ var $ = require('jquery'); const templates = require('./templates'); const _ = require('underscore'); const Backbone = require('backbone'); var Transcripts = require('./transcripts'); const actions = { up: -1, down: 1 }; function renderEducation (){ var data= _.extend({data:this.data},...
import uuid from 'uuid'; import path from 'path'; import AccountManager from 'code-push/script/management-sdk'; import {expect} from 'chai'; import {AcquisitionManager, AcquisitionStatus} from 'code-push/script/acquisition-sdk'; const dir = path.join.bind(path, __dirname); const {env} = process; //EVIL - But we need ...
"use strict"; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.pus...
import Keymap from "browserkeymap" import {Pos, NodeType, MarkType} from "../model" import {canWrap} from "../transform" import {browser} from "../dom" import sortedInsert from "../util/sortedinsert" import {NamespaceError, AssertionError} from "../util/error" import {copyObj} from "../util/obj" import {baseCommands}...
import { attach, updateAttributes } from "./attributes.js"; import { TAG, NS, COMPONENT_INSTANCE, COMPONENT_ROOT_INSTANCE, DEFAULT_SLOT_KEY } from "../constants.js"; import canDecode from "../utils/canDecode.js"; import hooks from "../component/hooks.js"; import makeSureAttach from "../component/makeSureAttach.js"; imp...
//sources["police"]="/police-man100.png"; //sources["bg"]="/mountainsbg.jpg"; //sources["poney"]="/poney.png"; //sources["heart"]="/heart.png"; var client; var STATE = {LOAD : 0 , GAME : 1, ENDGAME:2, PREEND: 3}; var state = STATE.LOAD; var notification = null; var game = new Engine("game", 450, 600, {resize : true}...
/** * CharLianData.js by <EMAIL> * * Stores the data for the characters in Lian */ //import Immutable from "immutable"; import Character from "./Character.js"; import SkillNames from "./../Skills/SkillNames.js"; import CombatLogicNames from "./../CombatLogic/CombatLogicNames.js"; var _town = "World_Lian_"; var _h...
import { Component } from 'react' import injectTapEventPlugin from 'react-tap-event-plugin' import axios from 'axios' import async from 'async' import moment from 'moment' import AppBar from 'material-ui/AppBar' import Drawer from 'material-ui/Drawer' import Dialog from 'material-ui/Dialog' import Divider from 'materia...
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.p...
/* eslint-disable max-lines */ /** * * @licstart The following is the entire license notice for the JavaScript code in this file. * * Copyright 2014-2017 <NAME> * Copyright 2018-2020 University Of Helsinki (The National Library Of Finland) * * Permission is hereby granted, free of charge, to any person obtaining a cop...
$(document).ready(function () { kode(); $(".money").mask("000.000.000.000.000", { reverse: true, }); // $(".dataTables_scrollBody").css('width', '102%'); // Autocomplate $("#karyawan").autocomplete({ source: site_url + "master/karyawan/get_autocomplete/?", select: function (event, ui) { ...
const wu=require("./wuLib.js"); const {getZ}=require("./wuRestoreZ.js"); const {wxsBeautify}=require("./wuJs.js"); const fs=require('fs'); const path=require("path"); const esprima=require('esprima'); const {VM}=require('vm2'); const escodegen=require('escodegen'); function analyze(core,z,namePool,xPool,fakePoo...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
var cancellationToken; function startPromiseTransaction() { cancellationToken = false; } function cancelPromiseTransaction() { cancellationToken = true; } function handlePromiseTransaction(work) { return function (response) { if (cancellationToken === false) { if (typeof (work) === "f...
Number.prototype.fileSize = function() { var size = 0; var unit = "Byte"; if(this < 999){ size = this; }else if(this < 999999){ size = this/1024; //KB; if((size%1) != 0){ size = size.toFixed(1); } unit = " KB"; }else if(this < 999999999){ size = this/(1024*1024); //MB; if((siz...
angular.module('myDashboard', ['common', 'billerServices']) .controller('DashboardCtrl', function (common, $location, $routeParams,$interval,$timeout, $scope, $resource, Session, Customer, Permissions) { $scope.$on('$viewContentLoaded', function() { angular.element('#loader img:last-child').attr('s...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value)...
var valueBubble; function updateValueBubble(pos, value, context) { pos = pos || context.position; value = value || context.value; var $valueBubble = $('.rangeslider__value-bubble', context.$range); var tempPosition = pos + context.grabPos; var position = (tempPosition <= context.handleDimension) ? ...
// Copyright 2019 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // https://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writin...
//The MIT License // //Copyright (c) 2018 <NAME>, <<EMAIL>> // //Permission is hereby granted, free of charge, //to any person obtaining a copy of this software and //associated documentation files (the "Software"), to //deal in the Software without restriction, including //without limitation the rights to use, cop...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = createPatchesToChange; var _isString2 = _interopRequireDefault(require("lodash/isString")); var _isEqual2 = _interopRequireDefault(require("lodash/isEqual")); var _slate = require("slate"); var _simplePatch = _interopR...
function Console(gba) { this.cpu = gba.cpu; this.gba = gba; this.ul = document.getElementById('console'); this.gprs = document.getElementById('gprs'); this.memory = new Memory(gba.mmu); this.breakpoints = []; this.logQueue = []; this.activeView = null; this.paletteView = new PaletteViewer(gba.video.renderPath...
import socketIO from 'socket.io-client'; import nanobus from 'nanobus'; import autoBind from 'auto-bind'; /** * The error types that cause the {@link SocketEvents} 'error' event to fire. * @typedef {SOCKET_ERROR} * @enum {string} * @property {string} GENERAL A general socket error. * @property {string} TIMEOUT Th...
import express from 'express'; import axios from 'axios' import {usedGroup,channelAccessToken,client_id,client_secret,VERSION} from '../config/config' const router = express.Router(); import localStorage from 'localStorage' import querystring from 'querystring' import https from 'https' import {responseData,makeTextMe...
/*google.load("jquery", "1"); google.setOnLoadCallback(function() { initialize().then ( function (control) { doTheTreeViz(control); } ); });*/ function doTheTreeViz(control,EWD) { var svg = control.svg; var force = control.force; force.nodes(control.nodes) .lin...
// The poor man's jQuery function $(query){ return document.querySelector(query); } function $all(query){ return [].slice.call(document.querySelectorAll(query)); } window.onload = function(){ var panels = $all("panel"); var pics = $all("pic"); var sims = $all("sim"); var words = $all("words"); // Adjust posi...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _react = require("react"); var _has = _interopRequireDefault(require("../has")); var _ArrowCell = _interopRequireDefault(require("./ArrowCell")); var _SvgCle...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const vscode = require("vscode"); const fs = require("fs"); const latex_utensils_1 = require("latex-utensils"); const path = require("path"); const mathjaxpool_1 = require("./mathjaxpool"); const utils = require("../../utils/utils"); c...
import _ from 'lodash' import React, { Component } from 'react' import moment from 'moment' import $ from 'jquery' // import { CSVLink } from 'react-csv' import { missionConfig } from '@wombats-writing-code/fbw-platform-common/reducers/Mission' import LoadingBox from '@wombats-writing-code/fbw-platform-common/compone...
import React, { useState } from 'react'; import { jsPDF } from 'jspdf'; // eslint-disable-next-line no-unused-vars import autoTable from 'jspdf-autotable'; import FIREARMS from './data/firearms'; import { toast } from 'react-toastify'; // Must be initialized in App.js (see https://github.com/fkhadra/react-toastify#us...
import axios from 'axios'; import { message } from './functions'; import api from './api'; /* eslint no-shadow: ["error", { "allow": ["state"] }] */ const state = { schoolBasics: [], schoolBasicsCopy: [], schoolBasicOptions: [], schoolClassOptions: [], schoolClassOptionsCopy: [], schoolStudentOptions: [],...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _extends2 = _interopRequireDef...
var Enemy71={}; var Enemy72={}; var Enemy73={}; var bullet71={}; var bullet72={}; var bullet73={}; var isBullet71FlyEnd=false; var isBullet72FlyEnd=false; var isBullet73FlyEnd=false; var timer7; function begin7(){ Wall = []; cv = document.querySelector("canvas"); cx = cv.getContext("2d"); Hero = {}; ...
var Ally; (function (Ally) { /** * The controller for the page to view group premium plan settings */ var PremiumPlanSettingsController = /** @class */ (function () { /** * The constructor for the class */ function PremiumPlanSettingsController($http, siteInfo, appCac...
const express = require('express'); const path = require('path'); const morgan = require('morgan'); const app = express(); var httpContext = require('express-http-context') const bodyParser = require("body-parser"); const uuid = require('uuid') const upload = require('express-fileupload') const dbConnection = require("...
import AbstractService from '../abstract-service'; import uuidv4 from 'uuid/v4'; import url from 'url'; import DirectoryService from './directory-service'; import ProxyPath from './proxy-path'; import ProxyBackend from './proxy-backend'; import ACL from '../../util/acl'; import CIUtil from '../../util/ci-util'; import ...
// mergeGLTF util in browser var textureWithVisibility = null; var bodyIdLUTTexture = null; // // this two keys are actually id for skeleton.textures // var textureWithVisibilityKey = null; // var bodyIdLUTTextureKey = null; var visiblityMaterial = null; var canvas1 = document.createElement('canvas')...
'use strict'; // variables which are needed more than once go to the top const EUR = '\u20AC '; // helps filling rows with cells const NCELLS = [ 0, 1, 2 ]; const NCELLSCART = [ 0, 1, 2, 3, 4 ]; // memorizes which row is currently selected let selectedRow = null; // maximum quantity that is allowed to order const MAXO...
var should = require('should'), fs = require('fs'), os = require('os'), path = require('path'), ProtoBuf = require('protobufjs'), FDMReader = require('../printableTranslation/FDMReader.js'), FDMTranslator = require('../printableTranslation/FDMTranslator.js'), Promise = require('Promise'), ...
// 0: nome, 1: img, 2: descr, 3: preço, 4: id const arProduct = [ ["<NAME>","dolcegusto-caffematinal.webp","Intensidade 9",23.9,0], ["<NAME>","dolcegusto-alpino.webp","Intensidade 8",23.9,1], ["<NAME>","dolcegusto-caseirointenso.webp","Intensidade 10",23.9,2], ["<NAME>","dolcegusto-aulait.webp","Café co...
var passphrase = null; var dataStore = {}; let deferredPrompt = null; // Log in button action function login() { passphrase = document.getElementById("login-password").value; // File path, display tab, data storage variable processFile("encrypted_csv_files/electrical_isolation_encrypted.csv", "Isolations"); pr...
const pi = Math.PI; const epsD = 1/1024/128; const E = Math.exp(1); const ln2 = Math.log(2); function random(n) { if (n == 1) { return Math.random(); } else { // output column of numbers const rnd = []; for( let i=0; i < n; i++) rnd[i] = Math.random(); return rnd; } } function random_(n) ...
import { Instruction } from "./instructions.js"; import { Operand, OPT, suffixes } from "./operands.js"; import { ASMError } from "./parser.js"; import { queueRecomp } from "./symbols.js"; const REG_MOD = -1, REG_OP = -2; const OPC = { r: OPT.REG, v: OPT.VEC, i: OPT.IMM, j: OPT.REL, m: OPT.MEM, ...
/** * Created by Vessel Performance Solutions on 2017-04-20. */ function portreportinit(){ //document.f.imonumber.focus(); document.f.imonumber.value = getCookie('imonumber'); document.f.vesselname.value = getCookie('vesselname'); initCountryList("country"); WindowLoad('reportenddatespan','repo...
import { XZ } from '../XZ.js'; import { MozgClass } from './MozgClass.js'; export class Mozg { constructor(par, fun) { this.type="Mozg"; var self=this; this.par=par; this.fun=fun; this.param=this.par.param this.array=[]; this.openLoad=false this.clear...
/* Copyright (c) 2020 <NAME>. See the file LICENSE for copying permission. */ /* Copyright (c) 2018 <NAME>. See the file LICENSE for copying permission. */ /* Copyright (c) 2013 <NAME>, Pur3 Ltd ------------------------------------------------------------------------------ All sections of code within this repository ...
async function apiCall(data) { let respons = await fetch('/api', { method: 'POST', head: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) }) respons = await respons.json(); return respons.body; } let returnValue; async function getApiTable(...
/** * @license * Copyright 2020 <NAME> * SPDX-License-Identifier: BSD-3-Clause */ /** * @fileoverview Intercept data to modify toolbox for user * @author <EMAIL> (<NAME>) */ var jsonToolbox = { "kind": "categoryToolbox", "contents": [] }; jsonToolbox["contents"][0] = toolbox_standard["contents"][0]; js...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("antd/lib/row/style"); var _row = _interopRequireDefault(require("antd/lib/row")); require("antd/lib/modal/style"); var _modal = _interopRequireDefault(require("antd/lib/modal")); require("antd/lib/for...
import React, { useState, useEffect } from 'react'; import { searchCityData, searchBlank } from '../utils/API'; import { useMutation, useQuery } from '@apollo/client'; import { SAVE_CITY, SAVE_HOME_CITY } from '../utils/mutations'; import { QUERY_ME } from '../utils/queries'; import { numbersWithCommas } from '../utils...
// ------------------------------------------------- // ------------------- VIRTIO ---------------------- // ------------------------------------------------- // Implementation of the virtio mmio device and virtio ring // // the following documentation were used // http://wiki.osdev.org/Virtio // http://lxr.free-electr...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.hasPrevPage = exports.hasNextPage = exports.getCurrentPage = exports.getSkipForPage = exports.getPageCount = undefined; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = a...
// MIT License // // Copyright 2018-2019 Electric Imp // // SPDX-License-Identifier: MIT // // 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 limitatio...
/** * We're setting this so any HTTP requests are run as server to server * to avoid an CORS errors. * * @jest-environment node */ // TEMP!!! /* eslint-disable no-unused-vars */ import { asyncGetPricesForTicker, asyncUpdatePricedItemPrices, asyncGetUpdatedPricedItemPrices } from './PriceRetriever'; import ...
import * as _ from 'lodash-es'; import { operatorFieldValidators, operatorPackageFieldValidators } from './operatorValidators'; import { OPERATOR_DESCRIPTION_ABOUT_HEADER, OPERATOR_DESCRIPTION_APPLICATION_HEADER, OPERATOR_DESCRIPTION_PREREQUISITES_HEADER, LOCAL_STORAGE_KEY, sectionsFields } from './constants'...
var util = require('./util'), curry = require('std/curry'), isArray = require('std/isArray'), q = util.q, halt = util.halt, assert = util.assert var L_PAREN = '(', R_PAREN = ')', L_CURLY = '{', R_CURLY = '}', L_BRACKET = '[', R_BRACKET = ']' var gToken, gIndex, gTokens, gState exports.parse = function(tokens...
const Aluno = require('../models/aluno'); const User = require('../models/user'); const Encarregado = require('../models/encarregado'); const Curso = require('../models/curso'); const Classe = require('../models/classe'); const Matricula = require('../models/matricula'); const Turma = require('../models/turma'); ...
/* THIS IS A GENERATED/BUNDLED FILE BY ESBUILD if you want to view the source, please visit the github repository of this plugin */ var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getP...
const socket = io.connect(); // console.log(socket); let Radios = new Array(); function calcTX(ptpmv) { let ref = 500; // 3204 0db reference let pv = ptpmv / 2.0; // PTP MV divide by 2 let rms = pv / Math.sqrt(2.0); let rawdb = 20 * Math.log10(rms/ref); let db1 = parseFloat(Math.roun...
import { Elem } from '../utils/elem.js' import { square } from '../utils/math.js' import { Newsletter } from '../utils/newsletter.js' import { Workspace, ScriptsWorkspace } from './workspace.js' import { PaletteWorkspace, paletteRenderOptions } from './palette.js' import { BlockType, ArgumentType } from './constants.j...
/*=============for Diagnostic Tools========================*/ //Reconciliation functions Starts ******* var DFP_requests = 0; var DFP_delivered = 0; var DFP_passback = 0; var demandPartnerRequests = 0; var demandPartnerDelivered = 0; var demandPartnerPassbacks = 0; var varianceRequests = 0; var varianceDelivered =...
class V { constructor(x, y) { this.set(x, y); } set(x, y) { this.x = x; this.y = y; } middle(v) { return new V((this.x + v.x) * 0.5, (this.y + v.y) * 0.5); } mult(f) { return new V(this.x * f, this.y * f); } add(v) { return new V(this.x...
// The request object encapsulates a request, creating a Node.js HTTP request and // then handling the response. var HTTP = require("http") , HTTPS = require("https") , parseUri = require("./parseUri") , Emitter = require('events').EventEmitter , sprintf = require("sprintf").sprintf , Response = require("./r...
/** * Copyright 2021 Adobe. All rights reserved. * This file is licensed to you 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 appl...
const _ = require('lodash'); const teams = require('./teams'); const logger = require('./logger'); const scraper = require('./scraper'); const {isNumber} = require('./utils'); const NORMALIZED_TEAM_NAMES = { Pitt: 'Pittsburgh', 'Miami (FL)': 'Maimi', 'Texas Christian': 'TCU', SMU: 'Southern Methodist', 'Nor...
// --- Helpful Functions --- // ------------------------- function hello() {alert('Hello world! (test successful)');}; function here(){console.log("here");}; function log(text){console.log(text);}; function docEle(id) {return document.getElementById(id)} function notChildren(e, parentId) {if (e.target.id == parentId...
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
import {colorMap, ColorStyle, colorToRgbString} from '../firebase_layers.js'; import {showErrorSnackbar} from '../snackbar.js'; import {getCurrentLayers, getRowIndex, ILLEGAL_STATE_ERR, setStatus, updateLayersInFirestore} from './manage_layers_lib.js'; export {populateColorFunctions, withColor}; // Visible for testing...
// // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // var script = { name: 'single-file-upload-for-vue', props: { name: { type: String, default: 'file_input' }, store_url: { type: String, default: '/store-url' }, de...
import { LitElement, html } from '../../vendor/lit-element/lit-element.js' import { unsafeHTML } from '../../vendor/lit-element/lit-html/directives/unsafe-html.js' import { ifDefined } from '../../vendor/lit-element/lit-html/directives/if-defined.js' import { repeat } from '../../vendor/lit-element/lit-html/directives/...
const metadata = { languages: "en es de tr ru ar fa cs ro hu zh", defaultLanguage: "en", primarylanguage: "en", basename: { de: "alchi-book" }, iconSvgPath: "alchi-pallas-symbol.small.svg", title: "Your Blog Name", version: "2021-11-20", url: "https://example.com/", description: "description", ...
console.log("message manager"); var now = new Date(); var date = (now.getFullYear() + '/' + (now.getMonth() + 1) + '/' + now.getDate() ); var connected = false; var initBtnStr ="#pir"; var host ,port; var cal1,cal2; var index = 0;limit = 1000; var isNeedTotal = true; var date1 ,date2 , deviceList; var range; var allSen...
var busySpinner = null; var rallyDataSource = null; var iterationDropdown = null; var ACTIVE = "Active"; var BLOCKED = "Blocked"; var taskTable, storyTable, taskHistoryTable; var blockedTasks = {}; // key with story.FormattedID, value is an Array with elements of: // {task.FormattedID, task.Name, // current sc...
const {remote,ipcRenderer} = require('electron') const {Menu,MenuItem} = remote const menuTpl = [ { label: 'Copy Text', enabled: true, click: (e) => { //remote.getCurrentWindow().inspectElement(rightClickPosition.x, rightClickPosition.y) vue.copyText(vue.currIndex) } }, { label: '...
import objectAssign from 'object-assign' import Vue from 'vue' import App from './App' import Vuex from 'vuex' import vuexI18n from 'vuex-i18n' import VueRouter from 'vue-router' import { sync } from 'vuex-router-sync' import createKandy from '../kandy.link.js' import IMService from 'index.js' import _ from 'lodash'...
import CollPointInfo from "./CollPointInfo"; import Vector3 from "../../math/Vector3"; import JConfig from "../JConfig"; import SpanData from "../data/SpanData"; const pointPointDistanceSq = (pt1, pt2) => { const x = pt2.x - pt1.x; const y = pt2.y - pt1.y; const z = pt2.z - pt1.z; return x * x + y * y ...
"use strict"; // CMD-TOOL var multilang={}; var yaml = require('js-yaml'); var fs = require('fs-promise'); var stripBom = require('strip-bom-string'); var Path = require('path'); var changing = require('best-globals').changing; // locals // matches: m[1]: LB, m[2]: lang, m[3]: RB var reLangSec=/([<\[])!...
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
var currentPage=1; var totalPage,callChart; $(()=>{ setTimeout(function(){ $(".start-animation").hide('scale','slow'); $("body").css('overflow', 'unset'); },5000); jQuery(document).ready(function() { jQuery('.toggle-nav').click(function(e) { ...
appLoading.setColor('#FF9900'); var cdn_provider_base_url = []; var cdn_provider; var urlSetDecided = false; cdn_provider_base_url.cloudflare = 'https://cdnjs.cloudflare.com/ajax/libs/'; function decideCDNProvider() { var target_cdn_provider = location.hash.substr(1, location.hash.length).toLowerCase(); if (!cdn_p...
// Copyright (C) 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
'use strict'; const ParentStream = require('workerstream/parent'); const mineflayer = require('wsmc/mineflayer-stream'); const duplexer = require('duplexer'); const toBufferStream = require('tobuffer-stream'); const Writable = require('stream').Writable; const through = require('through'); const ndarray = require('nda...
function load(){ //$.blockUI(null); document.getElementById("DDLNormal").value = 21;// Allow for deafult option } //http://www.coryarthus.com/ (CODE SOURCE) function setSelectedIndex(s, v) { for ( var i = 0; i < s.options.length; i++ ) { if ( s.options[i].value == v ) { s.options[i...
/*global y*/ /** * @module WireframeEditor */ import { mxGraph, mxEvent, mxGraphHandler, mxCodec, mxKeyHandler, mxRubberband, mxUtils, mxRectangle, mxGeometry, mxConstants, mxCodecRegistry } from './misc/mxExport.js'; import Util from './misc/Util.js'; import UserOverlay fr...
class ProductTags extends React.Component { constructor(props) { super(props) this.state = { 'data': [], 'loaded': false, 'show_delete': false, 'filters': {search: []}, 'tambah': false } this.productTagsSearch = thi...
'use strict'; var limitedFunctionalityTargets = [ "NAZE", "CC3D", "CJMCU", "CRAZEPONYMINI", "OLIMEXINO", "RMDO", "CC3D PPM1" ]; TABS.firmware_flasher = {}; TABS.firmware_flasher.initialize = function (callback) { var self = this; var intel_hex = false, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); const parse_1 = require("./parse"); const { readFile } = fs_1.promises; const start = async () => { const vmfText = await readFile('sm_pawnshop_1_d.vmf', 'utf8'); const parsed = (0, parse_1.parse)(vmfText); ...
import React from 'react' import {graphql, Link} from 'gatsby' import get from 'lodash/get' import { Helmet } from 'react-helmet' import Hero from '../components/hero' import Layout from '../components/layout' import ArticlePreview from '../components/article-preview' import styled from "styled-components" import Video...
import React from 'react'; import { makeStyles, useTheme } from '@material-ui/core/styles'; import Grid from '@material-ui/core/Grid'; import Typography from '@material-ui/core/Typography'; import InputLabel from '@material-ui/core/InputLabel'; import Menu from '@material-ui/core/Menu'; import MenuItem from '@material...
{ "translatorID": "508e8fb9-8a33-4095-844f-133cba7e7b54", "label": "VoxEU", "creator": "<NAME>", "target": "^https?://(www\\.)?voxeu\\.org", "minVersion": "1.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcsibv", "lastUpdated": "2016-06-12 15:43:49" } /...
const EventEmitter = require('events') const fs = require('fs') const path = require('path') const randomstring = require('randomstring') const Zip = require('jszip') const paths = require('./pathsController') const perms = require('./permissionController') const utils = require('./utilsController') const config = requ...