text
stringlengths
8.5k
48.7k
import {arrayFrom, find} from '../src/polyfill.js'; import { cleanObj, deepAccess, deepClone, deepSetValue, getDNT, inIframe, isArray, isEmpty, isFn, isInteger, isNumber, isStr, logError, logWarn, mergeDeep, triggerPixel } from '../src/utils.js'; import {registerBidder} from '../src/adap...
load("app/frame/Dumper.js"); function symbolize(opt) { symbols = null; JSDOC.JsDoc(opt); symbols = JSDOC.JsDoc.symbolSet; } var testCases = [ function() { symbolize({a:true, p:true, _: [SYS.pwd+"test/overview.js"]}); //print(Dumper.dump(symbols)); is('symbols.getSymbolByName("My Cool Library").name', 'My Co...
'use strict'; 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]; } } } return target; }; var _createClass = function () { function defi...
#!$$SHEBANG /* eslint-disable max-len, flowtype/require-valid-file-annotation, flowtype/require-return-type */ /* global packageInformationStores, $$BLACKLIST, $$SETUP_STATIC_TABLES */ // Used for the resolveUnqualified part of the resolution (ie resolving folder/index.js & file extensions) // Deconstructed so that t...
import { Atom, Reaction, extras, isObservableArray, isObservableMap, isObservableObject, spy, untracked } from 'mobx'; import { Children, Component, createElement } from 'react'; import { findDOMNode, unstable_batchedUpdates } from 'react-dom'; // These functions can be stubbed out in specific environments var unstabl...
/** * @author zz85 / http://www.lab4games.net/zz85/blog */ var ShapeUtils = { // calculate area of the contour polygon area: function ( contour ) { var n = contour.length; var a = 0.0; for ( var p = n - 1, q = 0; q < n; p = q ++ ) { a += contour[ p ].x * contour[ q ].y - contour[ q ].x * contour[ p ]...
import { retryInterval } from 'asyncbox'; import { util, timing } from '@appium/support'; import log from '../logger'; import _ from 'lodash'; import B from 'bluebird'; import { errors, isErrorType } from '@appium/base-driver'; import cookieUtils from '../cookies'; import { EventEmitter } from 'events'; const IPHONE_T...
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2013, Dash Industry Forum. * All rights re...
"use strict"; let expanding_logo_width; function expmblcrd(t){ let mobile_library_section_focus = document.getElementById("mobile-library-section-focus"); let mobile_library_exp_cls = document.getElementsByClassName("mobile-library-exp-cls"); toggle_nav_visibility(true); $(".mobile-library-exp-info").fin...
var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < ...
/* MIT License * * Copyright (c) 2012-2020 <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, copy, modify...
function Actions() { this.actions = new Object(); this.init(); } Actions.prototype.init = function () { this.addAction('delete', mxUtils.bind(this, function () { graph.cellsRemoved(graph.getSelectionCells(), false); }, null, 'Delete')); this.addAction('undo', mxUtils.bind(this, function ...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
let RLP = require('rlp'); let assert = require('chai').assert let PlasmaMVP = artifacts.require('PlasmaMVP'); let { fastForward, sha256String, generateMerkleRootAndProof, fillTxList, } = require('./plasmamvp_helpers.js'); let { toHex, catchError } = require('../utilities.js'); contract('[PlasmaMVP] ...
// base.js // // The place for PERTS-wide setup and configuration of javascript // All javascript error reporting comes through this function. It communitcates // with the app engine logs via /api/log and with Sentry via Raven. // Because IE sucks, we need to define this. If we turn this to true, it'll turn on // a b...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ // flowlint ambiguous-object-type:error 'use strict'; var _interopRequireDefault = require("@babel/runtime/helpe...
const validateUUID = require('uuid-validate'); const glob = require('glob'); const debug = require('debug')('Accessory'); const crypto = require('crypto'); const EventEmitter = require('events'); const HAPServer = require('./server/HAPServer'); const Service = require('./Service'); const Characteristic = require('./Cha...
"use strict" // these are the codes that are used to determine the rudimentary type of numbers var PROPERTY_CODE = 0 var TYPE_CODE = 3 var STRING_CODE = 2 var NUMBER_CODE = 1 var SEQUENCE_CODE = 7 // constant codes var NULL = 0 // p var FALSE = 3 // s var TRUE = 4 // t var UNDEFINED = 5 // u // these are the starting...
"use strict"; var lenFile; var timePos = 0.00; var playedPercent = 0; var startPoint = 0; var endPoint = 0; var fileString; var dragPos; var lastPos; var looped = true; //click onClick //seekTo var WaveSurfer = { defaultParams: { height: 256, waveColor: "#999", progressColor: "#555", ...
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } r...
const { forEach } = require("advarr"); const count = require("deep-counter"); const declareVars = require("declare-vars"); const deconcat = require("deconcat"); const walk = require("deepest-walk"); const countNGrams = require("n-gram-counter"); const minQuote = require("min-quote"); const { genVarNames } = require("va...
'use strict'; var P = require( 'bluebird' ); var requestFile = require( 'osgDB/requestFile' ); var Input = require( 'osgDB/Input' ); var Registry = require( 'osgDB/Registry' ); var animation = require( 'osgAnimation/animation' ); var BasicAnimationManager = require( 'osgAnimation/BasicAnimationManager' ); var Skeleton...
import {vec3 as vec3_, mat4 as mat4_} from '../utils/matrix'; import GpuDevice_ from './gpu/device'; import GpuTexture_ from './gpu/texture'; import GpuFont_ from './gpu/font'; import Camera_ from './camera'; import RenderInit_ from './init'; import RenderDraw_ from './draw'; import RenderRMap_ from './rmap'; //get r...
$( "#idCerrar" ).click(function() { var id = $('#idCerrar').attr('value');// Número de cédula var who = "idCerrar"; ajaxToChangeStatus(id, 'F', who); }); $( "#idAbrir" ).click(function() { var id = $('#idAbrir').attr('value');// Número de cédula var who = "idAbrir"; ajaxToChangeStatus(id, 'T', who); }); f...
$("#inward_date").datepicker({ format: 'dd-mm-yyyy', orientation: "bottom", autoclose: true }); $("#expiry_date").datepicker({ format: 'dd-mm-yyyy', orientation: "bottom", autoclose: true }); $("#mfg_date").datepicker({ format: 'dd-mm-yyyy', orientation: "bottom", autoclose: true ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification // for details on configuring this project to bundle and minify static web assets. /* For the possible phone stat...
const TradeOfferManager = require('steam-tradeoffer-manager'); const AutomaticOffer = require('./automatic-offer'); const Utils = require('./utils'); const Prompts = require('./prompts'); let manager, log, Config, automatic; exports.heartbeat = heartbeat; exports.register = register; exports.handleBuyOrdersFor = handl...
function squareSum(a, b){ function square(x){ return x*x; } return square(a) + square(b) } console.log(squareSum(2,3)); function person(){ let name = "Nice"; function getName(){ return name; } return getName; } // TODO:我吐了 这个函数 // Curry Function function addThreeNumsCurry...
//Global Variables (keeping to a minimum) //Varieties of tea and coffee, not currently in the data , "Green Tea", "Herbal Teas", "Earl Grey Tea", "Lady Grey Tea", "English Breakfast Tea", "Assam Tea" var teaRounderData = { "Categories": { "Fridge": { "listingTemplate": "[0]", "mainSelects": [ ["Milk", "...
//define classes for GPC var PolyDefault = gpcas.geometry.PolyDefault ; var ArrayList = gpcas.util.ArrayList; var PolySimple = gpcas.geometry.PolySimple; var Clip = gpcas.geometry.Clip; var OperationType = gpcas.geometry.OperationType; var LmtTable = gpcas.geometry.LmtTable; var ScanBeamTreeEntries = gpcas.geome...
import { featureResults, datas, datasources, datasets, queryResults, fakeLandUse, chartResult, datas_chart, iportal_content, datas_mapjson, charts_content, localSearch, portal_data, portal_data1, chart_data, search_mapjson, fieldsJson, datas_beijing, prj_data, dataset_data, dat...
function drawText(ctx, s, font, x, y) { ctx.font = font; //var ssInfo = ctx.measureText(ss); ctx.textAlign = "center"; ctx.textBaseline = "middle"; ctx.fillText(s, x, y); } function getLinearP(pos, vector) { return [vector[1], -vector[0], -pos[0] * vector[1] + pos[1] * vector[0]]; } function inter...
/* Gulp task runner v2.1.0 ----------------------- Required command-line parameters: --dev-hostname (e.g. "example.com") --dev-path (e.g. "/relative-path-to-server-directory/"); leading slash is required --dev-open ("open" or "external") Optional command-line parameters: --di...
//Whether or not to create a log... let _generateLogs=false, _generateFiles='both', _autoSaveHTML=true, _autoSaveCSV=true, _checkPage4Changes=false let settingsArray=[ { name: 'auto-clear-checks', type: 'checkbox', title: 'Automatically remove checks from previous Meets', text: 'Remove previous checks:', default_val...
const { booleans, colors, extrusions, primitives, transforms } = require('@jscad/modeling') // functions that this design uses const { intersect, subtract, union } = booleans const { colorize, colorNameToRgb } = colors const { circle, cuboid, cylinder, rectangle, roundedCylinder, roundedRectangle, sphere } = primitive...
var lastFocus = ''; $(function(){ bsCustomFileInput.init(); //$("#Producidos").inputmask('integer'); //Seteamos los campos al cargar $("#TipoPQR").val(0); $("#selectFact, #TerceroId, #Descripcion, #form-image").val(""); $("#form-image-span").text("Seleccione un archivo..."); $('.chosen-select').chosen({ ...
var http = require("http"), async = require("async"); var TV_Accessory = require('./accessories/TV.js'), VOLUME_Accessory = require('./accessories/Volume.js'), APP_Accessory = require('./accessories/Apps.js'), CHANNEL_Accessory = require('./accessories/Channels.js'), SOURCE_Accessory = require('./a...
var GameLayer = cc.Layer.extend({ world: null, //contain all physic enemy: null, _debugNode: null, //show element physics _showDebugger: true, _effectNode: null, _allOfPets: [], _colorTypeArray: [], _testMode: false, _commontype: startWithType, _shuffle: shuffleObj, _hintedCo...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
var planot_elementoActual = null; var planot_focusItem = null; var planot_table; var planot_ceditor=false; // #region Inicio var planot_IniciarControles = function () { $('.planot_NuevoElemento').on('click', function () { $("#planot_colElementos").html(''); planot_elementoActual = null; planot_agregarEventoEdi...
import localForage from 'localforage'; import { SHAPE_TYPES, MAPS, RECT_FIX_NAME, RECT_SELECT_NAME, NON_NORMAL_PRICE_TYPES, NORMAL_PRICE_TYPES, BARCODE_TYPES, CODE_TYPES } from '@/constants/studio'; import {getLocationParam} from '@/utils/utils'; const NEAR_GAP = 10; export const COINCIDE_GAP = 10; export con...
const client = require("../index"); const data = new Set(); const db = require('quick.db'); const loggingChannel = '948753403088089098' const { MessageEmbed, MessageButton, MessageActionRow } = require('discord.js'); const functions = require('../Functions/function'); const stats = require('../schemas/stati...
/** * Created by <NAME> on 2018.07.02 * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
// IP cust --- INSERT // --- expand state management function minimize(updh) { if (retrieveSi(srcdoc, "StatAppWznmImeDetail", "srefIxWznmVExpstate") == "mind") return; setSi(srcdoc, "StatAppWznmImeDetail", "srefIxWznmVExpstate", "mind"); // change container heights getRecwnd().changeHeight("Detail", 30, updh); ...
/* Entity is the main object class for showing DIVE objects*/ function Entity(browser){ // PARENTS this.row; this.browser = browser; // ELEMENTS this.$container; this.$header; this.$infobar; this.$scaler; this.$title; this.$relatedness; this.$buttons; this.$contentHolder; this.$indicator; this.$player; ...
/* global FHIR, mobileDetected, defaultPatientList */ /** * Patient related script. * */ // Used for multi-stage patient operations var selectedPatient; /** * Get the selected patient. * * @returns {id|selectedPatient} */ function getSelectedPatient() { return selectedPatient; } /** * Sets the selecte...
"use strict"; // general function elementHeight( path ) { var height = parseFloat(window.getComputedStyle( document.querySelector( path ) ).height); return height; } // H E A D E R section function generateNavigation (data){ var klase = '', HTML = ''; for ( var i=0; i<data.length; i++ ) { ...
import { html, nothing } from 'lit-html'; import { classMap } from 'lit-html/directives/class-map.js'; import { repeat } from 'lit-html/directives/repeat.js'; import { $injector } from '../../../../injection'; import { AbstractToolContent } from '../toolContainer/AbstractToolContent'; import css from './drawToolContent...
// IMPORTS import Swiper from 'swiper'; import noUiSlider from 'nouislider' import db from './db'; import locate from './utils/locate'; import Cursor from './cursor'; import Grid from './grid'; import { preloadImages } from './utils/photo-intro-utils'; //VARIABLES let isInUS = false; let hasExistingData = null; let my...
$(function(){ /********** 초기 로딩 **********/ /** * 이 부분 확인해 보세요. * 이벤트 걸린 거 쓸 것들은 남겨두시고 안쓰는 건 삭제부탁합니다. */ //$('#selectMfgInd').val(HMD.UserPolicy.mfgInd); getSelectList(['shipNo', 'block']); // 셀렉트박스 초기로딩 // 'jibun' loadBlockAll(); /** * 이벤트 처리함수 명명규칙 * prefix => handler */ /...
const Canvas = require('canvas'); const earcut = require('earcut'); const fs = require('fs'); const { list, object } = require('./app/lib/crab'); const MarchingSquares = require('./MarchingSquares'); const { compose, flatten } = require('./functional'); const { capabilities, query, getFeatureInfo } = require('./WMS');...
"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; }; var Deduplicator_1 = requir...
/** # Type Checking, Mocks By Example The goal of this module is to provide simple, effective type-checking "by example" -- i.e. in most cases an example of a type can function as a type. Certain specialized types — enumerations in particular — are supported in a way that still allows types to be encoded as JSON. The...
const { fileName } = require('./config'); const fs = require('fs'); const _ = require('lodash'); const path = require('path'); const config = require('./config'); const project = require('./project'); /** * Execute the user's code. * Just a quick and dirty eval. No checks for infinite loops, etc. */ function runJS...
const APP_VERSION = "1.1.0"; const pushLocalNotification = function(text) { window.Notification.requestPermission().then(function(result) { var notification = new window.Notification(text); notification.onclick = function(event) { if (window.navigator.mozApps) { var request = window.navig...
function createCommonjsModule(fn, module) { return module = { exports: {} }, fn(module, module.exports), module.exports; } var rngBrowser = createCommonjsModule(function (module) { // Unique ID creation requires a high quality random # generator. In the // browser this is a little complicated due to unknown quality ...
import React, { useState, useEffect, useMemo } from 'react'; import { Form, Spin, Lov, Table, Modal, DataSet, TextField, NumberField, Button, Select, ModalContainer, } from 'choerodon-ui/pro'; import { Card, Divider } from 'choerodon-ui'; import { message } from 'hzero-ui'; import axios from 'axio...
var BuildType; (function (BuildType) { BuildType[BuildType["Full"] = 0] = "Full"; BuildType[BuildType["InsideSvg"] = 1] = "InsideSvg"; })(BuildType || (BuildType = {})); var SectionPosition; (function (SectionPosition) { SectionPosition[SectionPosition["Left"] = 0] = "Left"; SectionPosition[SectionPosit...
var express = require("express"); var nodemailer = require('nodemailer'); var dateTime = require('node-datetime'); var fs = require("fs"); var router = express.Router(); var request = require("request") var http = require('http'); var Cryptr = require('cryptr'), cryptr = new Cryptr('myTotalySecretKey'); var asyncLo...
import ArrayBufferReader from './ArrayBufferReader.js'; import BlobReader from './BlobReader.js'; export * from './HTTPRangeReader.js'; import { inflateRawAsync, setOptions as setWorkerOptions, cleanup as cleanupInflate, } from './inflate.js'; import { isBlob, isSharedArrayBuffer, isTypedArraySameAsArrayBu...
import React, { Component } from 'react'; import { TouchableOpacity, Text, View } from 'react-native'; import PropTypes from 'prop-types'; // import { shouldUpdate } from '../../../component-updater'; import styleConstructor from './style'; const TK19 = new Array( 0x30baa3, 0x56ab50, 0x422ba0, 0x2cab61, 0x52a370, 0x...
var spawn = require('child_process').spawn; var fs = require('fs'); var os = require('os'); var net = require('net'); var path = require('path'); var util = require('util'); var events = require('events'); var passhash = require('./passhash'); module.exports = Ths; function Ths(thsFolder, socksPortNumber, controlPort...
/** * * Copyright 2016 Netflix, 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 a...
// https://github.com/ccxt/ccxt/wiki/Manual // https://github.com/ccxt/ccxt#usage const settings = require('../settings/Trade-settings.js') const time = require('../constants/time.js') const log = require("npmlog"); require('../tools/collection.js') const ccxt = require('ccxt') const chalk = require('chalk') //...
require('../index'); global.utils = require('../utils'); var assert = require('assert'); global.builders = require('../builders'); var countW = 0; var countS = 0; function test_PageBuilder() { var name = 'Pagination: '; builders.Pagination.addTransform('custom', function(argument1) { assert.ok(argument1 === 1,...
jQuery(window).load(function(){ initFixedScrollBlock(); if (window.location.hash && $(window.location.hash).length) { $('html, body').animate({ scrollTop: ($(window.location.hash).offset().top - 100) },50); } }); (function($) { $(document).ready(function() { /*initSoci...
var _ = require('lodash'); exports.groups = ['alphas', 'number row', 'spacing', 'punctuation', 'function keys', 'navigation', 'numpad', 'control keys', 'misc', 'media keys']; var keycodes = [ { group: 'Misc', code: 'NO', id: '00', description: 'Reserved (no event indicated)' }, { group: 'Misc', code: 'TRNS', id: '00', ...
const gConst = require('../const/global.js'); const storeKeys = require('../const/global.js').storageKeys; const debugLog = require('log.js').debug; const errorLog = require('log.js').error; const MSG = require('../const/message.js') const formatTime = date => { const year = date.getFullYear() const month = date....
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; function createCommonjsModule(fn, module) { re...
/** * * CreativesList * */ import React from 'react'; import _ from 'lodash'; // import PropTypes from 'prop-types'; // import styled from 'styled-components'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { compose } from 'redux'; import { createStructuredSelector } from '...
/* eslint-disable no-underscore-dangle */ const modes = require('./modes.js') const planning = { // ############### // ## DURATIONS ## // ############### /** * Obtain the duration of a phase in seconds. * @param phase The phase to obtain duration from. * @returns {number} The duration of the given pha...
/** * destination -> manifestation * ------------ * "rgb" -> [255, 255, 255] * "rgba" -> [255, 255, 255, 1] * "hex" -> "#ffffff" | "white" * "rgbArrayString" -> "[255, 255, 255]" * "rgbaArrayString" -> "[255, 255, 255, 1]" * "rgbString" -> "rgb(255, 255, 255)" * "rgbaString" -> "rgba(255, 255, 255, 1)" * * h...
const St = imports.gi.St; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const Shell = imports.gi.Shell; const Clutter = imports.gi.Clutter; const Main = imports.ui.main; const PopupMenu = imports.ui.popupMenu; const BoxPointer = imports.ui.boxpointer; const PanelMenu = i...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.API_NAME = void 0; var _trimStart2 = _interopRequireDefault(require("lodash/trimStart")); var _trim2 = _interopRequireDefault(require("lodash/trim")); var _result2 = _interopRequireDefault(require("lodash/result...
const windowWidth = window.innerWidth; const container = 1200; const padding = 30; const paddingLeft = 0; const width = document.getElementById('foodprint').offsetWidth; const height = windowWidth > 576 ? 250 : (width / 2 + 25); const paddingCircles = 1.5; // Separation between same-color nodes const maxRadius = 15; co...
'use babel'; import fs from 'fs'; import $ from 'jquery'; import {packageManager, Package} from 'content-manager'; import {appManager as AppManager} from '../../../app-manager'; import {DressElement} from '../../../utils/dress-element'; import {EVENTS, eventEmitter} from '../../../events-emitter'; import {AttributeSty...
// import leaflet and jquery var L = require('leaflet'); // A lot of this could be rewritten as leaflet plugin var $ = require('jquery'); // it is just used for query selection to ajax // We use this to get one way hashes of maps var sha256 = require('js-sha256').sha256; // We don't really care if the same hash resolv...
// upload photos var tmp_puth_user = '-1', tmp_taskiddir = '-1', chk_file_k = '-1'; var arr_image_names = new Array(), arr_image_files = new Array(), imgs_n = 0, prev_imgs = ''; function file_wh_size_image(id_img) { var obj_img_tmp = getid(id_img); if (obj_img_tmp) { //---------------------- va...
import React, { PropTypes } from 'react' import { graphql, compose } from 'react-apollo' import gql from 'graphql-tag' import { Link } from 'react-router-dom' import { Container, Header, Segment, Form, Button, Grid, Menu, Card, List, Table, Popup, Icon, Dropdown, Label, TextArea } from 'semantic-ui-react' import moment...
/* * Copyright 2015-2021 G-Labs. All Rights Reserved. * https://zuixjs.github.io/zuix * * 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/L...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
const path = require('path'); const Promise = require('bluebird'); const DataFeed = artifacts.require('./DataFeed.sol'); const Fund = artifacts.require('./Fund.sol'); const NavCalculator = artifacts.require('./NavCalculator.sol'); const InvestorActions = artifacts.require('./InvestorActions.sol'); const scriptName = ...
let allOrders; let odrersNewMessages; let iconOfPrice = " €"; let statusOfOrder = "Unprocessed"; let gmailAccess = false; let onlyUnread = false; let preloader = false; let unreadCheckbox = ''; let messagePackIndex; let orderIndex; let scrollOn = true; let currentPage = 1; let currentPageUnread = 1; let orderWithTrack...
/* LICENSE _This file is Copyright 2018 by the Image Processing and Analysis Group (BioImage Suite Team). Dept. of Radiology & Biomedical Imaging, Yale School of Medicine._ BioImage Suite Web is licensed under the Apache License, Version 2.0 (the "License"); - you may not use this software e...
//用于将excel导入到mysql var mysql = require("mysql"); var exceltojson = require("xlsx-to-json-lc"); const fs = require("fs"); const changesets = require("diff-json"); exports = module.exports = EXCEL_Mysql; String.prototype.format = function() { a = this; for (k in arguments) { a = a.replace("{" + k + "}", argumen...
var MAX_UH = 200; var MAX_JIGGLE = 100; var MAX_SLOT_TIMER = 600; game.SlotMachineSprite = me.Sprite.extend({ init: function(x, y) { this._super(me.Sprite, 'init', [x, y, { image: game.texture, region: "slotmachine", framewidth : 82, frameheight: 52, anchorPoint : new me.Vector2d(0,...
'use strict'; var _ = require('lodash'); var each = require('async-each-series'); var mongoose = require('mongoose'); var mongooseTypes = mongoose.Types; var Homebase = require('./homebase.model'); var feedSocket = require('./homebase.socket'); var Group = require('../group/group.model'); var Comment = require('../c...
///////////////////////////////////////////////////////////// // Autor: Nergal // Date: 2014-01-08 ///////////////////////////////////////////////////////////// "use strict"; // constants var WATER = 500000; var SUICIDE = 500001; ///////////////////////////////////////////////////////////// // Player base 'class' ///...
// COVID-19 Simulation Tool in JavaScript // Copyright 2020 <NAME> and <NAME> // Licensed under the MIT License (LICENSE.txt) 'use strict'; var block_size = 1; var tail_block_size = 2; const opt_array_names = ["b1N","c0","c1"]; function getParameterVector(params) { return getParameterVector1(params); } function g...
let global_documentosArriendo = { documentoCliente: { carnetFrontal: false, carnetTrasera: false, comprobanteDomicilio: false, }, documentoConductor: { licenciaConducirFrontal: false, licenciaConducirTrasera: false, }, documentoEmpresa: { documentoEstatuto: false, documentoRol: false, documentoVig...
/* | Copyright 2015 Esri | | 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 writi...
import React from "react"; import ReactDOM from "react-dom"; import Immutable from "immutable"; import { Map, fromJS } from "immutable"; import { convertToRaw, convertFromRaw, CompositeDecorator, getDefaultKeyBinding, ContentState, Editor, EditorState, Entity, RichUtils, DefaultDraftBlockRenderMap, ...
// Copyright (c) 2003-2011 MarkLogic Corporation. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var React = require('react'); var React__default = _interopDefault(React); var PropsType = _interopDefault(require('prop-type...
var ship_div = ""; var temp_div = ""; var ships = ['yamato','transportship','transportship1','transportship2','transportship3','explorership','explorership1','scout','scout1','scout2','patrol','patrol1','patrol2','cutter','cutter1','cutter2','corvette','corvette1','corvette2','frigate','frigate1','frigate2','destro...
var assert = require('assert') , path = require('path') , fs = require('fs') ; // run takes a list of files and command line arguments and uses them to // run tests exports.run = function(list, args, cb) { if (!list) { list = []; } if (list.constructor != Array) { // if it isn't an array, a module ...
'use strict'; /** * 每位工程师都有保持代码优雅的义务 * Each engineer has a duty to keep the code elegant **/ var _ = require('underscore'); var cos = require('./uploader/cos'); var qiniu = require('./uploader/qiniu'); var s3 = require('./uploader/s3'); var AVError = require('./error'); var AVRequest = require('./request').request;...
var dataView; var gData; var grid; // Your Client ID can be retrieved from your project in the Google // Developer Console, https://console.developers.google.com var CLIENT_ID = '<YOUR_CLIENT_ID>'; var SCOPES = ["https://www.googleapis.com/auth/calendar.readonly"]; /** * Check if current user has authorized this app...
const frostybot_module = require('./mod.base'); var context = require('express-http-context'); var axios = require('axios'); module.exports = class frostybot_gui_module extends frostybot_module { // Constructor constructor() { super() this.description = 'Web GUI Module' } // Register...
var attributes = { "fill" : "gray", "stroke-opacity": 0.5, "stroke": "black", "stroke-width": "1" }; var virtual = { "fill" : "gray", "stroke-opacity": 0.5, "stroke": "black", "stroke-width": "1", "stroke-dasharray":"--" }; var real = { "stroke" : "black", "stroke-width": "1", "stroke-dasha...