text
stringlengths
8.5k
48.7k
// Copyright 2021 Battelle Energy Alliance function setAsNewChecked() { var scope = angular.element(document.querySelector('#EEControllerPanel')).scope(); var btn = parent.document.getElementById("btn_OK"); if (scope.saveAsNew) { btn.innerHTML = "Save As New"; } else { btn.innerHTM...
/* Copyright 2012-2016 Sven "underscorediscovery" Bergström written by : http://underscorediscovery.ca written for : http://buildnewgames.com/real-time-multiplayer/ MIT Licensed. Usage : node app.js */ 'use strict'; var // gameport = process.env.PORT || 4004, server_port_1 = pro...
function validate_email(email) { var re = /\S+@\S+\.\S+/; return re.test(email); } function validate_form(ids_to_validate){ safe_flag = true for (const element of ids_to_validate){ containerElement = document.getElementById(element+'_container'); containerValue = document.getElementById(element).val...
// Original code by <NAME> (https://apoorvaj.io/exploring-bump-mapping-with-webgl/) main().catch(error => { console.error(error) }) async function main () { const [frag_src, vert_src] = await Promise.all([loadFile('pom.frag'), loadFile('pom.vert')]) await domReady() const canvas = document.getElementsByTagNa...
import React, { useState, useRef, useEffect, useMemo } from 'react' import { css } from 'glamor' import { ascending } from 'd3-array' import { useSpring, animated, interpolate } from 'react-spring/web.cjs' import { useGesture } from 'react-use-gesture/dist/index.js' import { compose, graphql } from 'react-apollo' impor...
/* * Copyright (c) 2019 ISP RAS (http://www.ispras.ru) * Ivannikov Institute for System Programming of the Russian Academy of Sciences * * 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 *...
// Source: https://github.com/lagodiuk/earley-parser-js // Copyright 2015 <NAME> (<EMAIL>) // // 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/licen...
// Some simple utility methods for web storage (e.g., localStorage) Storage.prototype.setObject = function (key, value) { this.setItem(key, JSON.stringify(value)); }; Storage.prototype.getObject = function (key) { var value = this.getItem(key); return value && JSON.parse(value); }; // from http://forrst.c...
/*jlint node: true */ /*global require, console, __dirname */ /* meta.v1 This endpoint provides metadata about the kinds of things stored in VersionOne. This includes getting information about the asset types, attribute definitions, relationships and operations. The meta.v1 endpoint allows a client of the API to ...
var __reflect = (this && this.__reflect) || function(t, e, n) { (t.__class__ = e), n ? n.push(e) : (n = [e]), (t.__types__ = t.__types__ ? n.concat(t.__types__) : n); }, __extends = (this && this.__extends) || function(t, e) { function n() { this.constructor = t...
/* TinyQBN: quality-based narratives in Twine 2 & Sugarcube. Copyright 2019 <NAME> <<EMAIL>> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE I...
function startNewCommunexion(country){ clearTimeout(timeoutSearch); var locality = $('#searchBarPostalCode').val(); locality = locality.replace(/[^\w\s-']/gi, ''); $(".search-loader").html("<i class='fa fa-spin fa-circle-o-notch'></i> Recherche en cours ..."); var data = {"name" : name, "locality" : locality...
// Decorate links extracted with love from Vimium var KeyboardUtils, root; KeyboardUtils = { keyCodes: { ESC: 27, backspace: 8, deleteKey: 46, enter: 13, space: 32, shiftKey: 16, f1: 112, f12: 123, tab: 9 }, keyNames: { 37: "left", 38: "up", 39: "right", 40: "d...
const express = require('express'); const session = require('express-session') const bodyParser = require('body-parser'); const fs = require('fs'); const ejs = require('ejs'); const path = require('path'); const http = require('http'); const uuid = require(...
'use strict'; // Domain logic for mutation datasets. var _ = require('../underscore_ext'); var widgets = require('../columnWidgets'); var xenaQuery = require('../xenaQuery'); var Rx = require('../rx'); var exonLayout = require('../exonLayout'); var intervalTree = require('static-interval-tree'); var {pxTransformInter...
import {fetchDictionary, setDictionary} from './dictionary'; import {deepAssignObj} from '../action-reducer/helper'; import {toFormValue, toTableValue} from '../common/check'; import {validValue, showError, fetchJson, myToFixed} from '../common/common'; import orderJobHelper from './jobUnitInfo'; const YES = 'true_fa...
'use strict'; const fs = require('fs'); const path = require('path'); const request = require('request'); const tools = require('./tools'); const builds = require('./build'); const semver = require('semver'); const URL = require('url').URL; const latestJsonPath = path.join(__dirname, '../sourc...
var arrayBufferToInt = function (ab) { var a = new Int16Array(ab); return a[0]; }; function timeValue2Str(timeValue) { var tDate = new Date(); tDate.setTime(timeValue); var str = tDate.getFullYear(); if (tDate.getMonth() < 9) str += "-0" + (tDate.getMonth() + 1); else str += "-" + (tDa...
'use strict'; var $ = require('jquery'); var _ = require('underscore'); // require('../../node_modules/sidr/dist/jquery.sidr.min.js'); var Backbone = require('backbone'); Backbone.$ = $; var Handlebars = require('handlebars'); var Templates = require('../templates/compiledTemplates')(Handlebars); var ViewHelpers = req...
var $ = require('jquery'); var inherit = require('./inherit'); var feature = require('./feature'); /** * Quad feature specification. * * @typedef {geo.feature.spec} geo.quadFeature.spec * @property {geo.geoColor|function} [color] Color for quads without images. * Default is white (`{r: 1, g: 1, b: 1}`). * @pro...
//import meteorito from './meteorito.js'; //const { default: Machine } = require("./Machine"); //Variables //Directorio imágenes var directory = "./Resources/Game/"; //Misceláneo var nCarga = 0; var barraCarga; var MAX_CARGA = 100; var toDestroy; //Interfaz var movTxt = 2; //Píxeles que se mueve el texto al hac...
var start = 0; var name = ""; var myurl = ""; var mdI = ""; var stMinD = 0; var stMaxD = 0; var stMinT = 0; var stMaxT = 0; var _PanX = 0.0; var ANNOTATIONDATA = {}; // start menager of arrows movement function step(action) { var my_pos = []; my_pos = presenter.getTrackballPosition(); switch (action) { ...
// Setup the tool tip. Note that this is just one example, and that many styling options are available. // See original documentation for more details on styling: http://labratrevenge.com/d3-tip/ var tipW = 450; var tipH = 200; var margin = {top: 10, right: 0, bottom: 40, left: 50}; var color2 = d3.scaleOrdinal() ...
/** * Copyright 2020 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _transformationMatrix = require("transformation-matrix"); var _eventFactory = _interopR...
import React, { useState, useEffect } from "react"; import "./App.css"; import { Route, BrowserRouter, Switch, useHistory } from "react-router-dom"; import Nav from "./containers/Nav/Nav"; import MobileNav from "./containers/MobileNav/MobileNav"; import LogIn from "./containers/LogIn/LogIn"; import SignUp from "./conta...
const St = imports.gi.St; const Gtk = imports.gi.Gtk; const Gio = imports.gi.Gio const Meta = imports.gi.Meta; const Shell = imports.gi.Shell; const Clutter = imports.gi.Clutter; const Main = imports.ui.main; const Signals = imports.signals; const Mainloop = imports.mainloop; const ME = i...
import { addToLocalProfileMap, arp, getCampaignObject, saveCampaignObject, closeIframe } from './clevertap' import { CAMP_COOKIE_NAME, DISPLAY, GLOBAL, EV_COOKIE } from './constants' import { getNow, getToday } from './datetime' import { compressToBase64 } from './encoder' import { StorageMa...
import { BaseLoggger, Html5QrcodeResultFactory, Html5QrcodeErrorFactory, Html5QrcodeSupportedFormats } from "./core"; import { Html5QrcodeStrings } from "./strings"; import { VideoConstraintsUtil } from "./utils"; import { Html5QrcodeShim } from "./code-decoder"; var InternalHtml5QrcodeConfig = (function () { funct...
/* * Core: 核心方法 * 1.刷新 * 2.渲染GM DOM * 3.重置tbody * */ import { jTool, Base } from './Base'; import Menu from './Menu'; import Adjust from './Adjust'; import AjaxPage from './AjaxPage'; import Cache from './Cache'; import Config from './Config'; import Checkbox from './Checkbox'; import Order from './Order'; import Remin...
Dropzone.options.projectFilesUpload = false; Dropzone.options.projectExpenseForm = false; var expenseDropzone; $(function() { init_ajax_search('customer', '#clientid_copy_project.ajax-search'); // remove the divider for project actions in case there is no other li except for pin project $('...
import React, { useState } from "react"; import styled from "styled-components"; import { Row, Col } from "reactstrap"; import { useSelector, useDispatch } from "react-redux"; import { Formik, Field } from "formik"; import DndFileInput from "../../components/dndFileInput"; import ErrorMessage, { requiredMessage } from ...
$().ready(function(){ //se manda a llamar esta funcion para hacer la validacion si existe el id_solicitud realiza una consulta en su //defecto arroja el formulario de la solicitud detalles_solicitud(); sumDays(); $("#datepicker_inicio").datepicker({ minDate: 0, onSelect: function(s...
/* SEED OBJECT GENERATOR WRITES TO FILE */ const fs = require('fs') const writeToTextFile = (name, data) => { fs.writeFile(`${name}.txt`, data, err => { if (err) return console.log(err) console.log(`${name} written to > ${name}.txt`) }) } /* * PRODUCTS */ let names = [ 'Ableton', '<NAME>', '<NAM...
/* 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.0 (the "License"); you may not use th...
/* v2021-04 update JLOS - Json Local Storage JLOS is a simple object for storing data in local storage, without using the filesystem for archiving data. JLOS-frozen has additional syncing functionality for freezr fj_modified_locally has to be updated by your script to the current time so that syncing can take pla...
/* Dropdownjs */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory); } else if (typeof exports === 'object') { // Node/CommonJS module.exports = factory(require('jquery')); } els...
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F()...
import React, { Component } from 'react' import { Button, Input, Radio, DatePicker, Icon, Tree, Tag, Tooltip, Modal, Pagination, message, Spin } from 'antd' import styles from './index.less' import axios from '@src/utils/axios' import urls from '@src/config' import moment from 'moment' class ChatLog extends Component ...
const Promise = require('the-promise'); const _ = require('the-lodash'); const Path = require('path'); const uuid = require('uuid/v4'); const EnvTools = require('processing-tools/env-tools'); class ServiceProcessor { constructor(sectorProcessor, serviceEntity) { this._sectorProcessor = sectorProcessor...
'use strict'; var ko = require('./herocalc_knockout'); var $ = require('jquery'); require('./jquery-ui.custom'); ko.components.register('hero-pane', { template: require('fs').readFileSync(__dirname + '/../components/hero-pane.html', 'utf8') }); ko.components.register('unit-pane', { template: require('fs').readFileSync...
/** * @namespace Analyze * @memberof LogicPuzzle * @summary ... * @since 12/12/15 * @author <NAME> <<EMAIL>> */ "use strict"; var _ = require('underscore'); var Table = require('cli-table'); var colors = require('colors'); var jsdiff = require('diff'); var Entity = require('./Entity'); var CELL_SOLVED = ' ✔ '...
/* -∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵- Import -∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴-∵-∴- */ // import path from 'path' import webpack from "webpack"; import StylelintPlugin from "stylelint-webpack-plugin"; import TerserJSPlugin fro...
/*** * DataPower XML management interface API * Author: <NAME> (http://www.rajbandi.dev) * Date: 15-Nov-2019 ***/ const DataPowerStatusTypes = { ActiveUsers: "ActiveUsers", APISubscriberCacheStatus: "APISubscriberCacheStatus", APISubscriberStatus: "APISubscriberStatus", ARPStatus: "ARPStatus", AS1Polle...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "CommandBody", { enumerable: true, get: function get() { return _command["default"]; } }); Object.defineProperty(exports, "ResponseBody", { enumerable: true, get: function get() { return _res...
/* This file is part of wasm-agent-based-models: Reliable and efficient agent-based models in Rust and WebAssembly Copyright 2020 <NAME> <EMAIL> 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...
/* Copyright 2020 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 applicable law or agree...
"use strict"; var ObjectId = require("mongodb").ObjectId; require("mongodb-toolkit"); var assert = require('assert'); var DLModels = require("dl-models"); var map = DLModels.map; var generateCode = require("../../../utils/code-generator"); var ProductionOrderManager = require('../../sales/production-order-manager'); v...
"use strict"; const _ = require("lodash"); const assert = require("assert"); const ldapfilter = require("./ldapfilter"); const ldapjs = require("ldapjs"); const ldapparsing = require("./ldapparsing"); const futile = require("@fujitsusweden/futile"); const { promisify } = require("util"); const integrationTests = requir...
var platform; var applyDelta, pushToPull, parse, sha1, bops, trace; module.exports = function (imports) { if (platform) return newRepo; platform = imports; applyDelta = require('git-pack-codec/apply-delta.js')(platform); pushToPull = require('push-to-pull'); parse = pushToPull(require('git-pack-codec/decode...
import { c as create_ssr_component, v as validate_component } from "../../../chunks/index-054dfab6.js"; import { L as Layout } from "../../../chunks/_layout-b8ce1441.js"; export { l as load } from "../../../chunks/_layout-b8ce1441.js"; import "../../../chunks/dateTime-524e104e.js"; import "../../../chunks/Meta-049a30d4...
// ------------------------------------------------- // ----------------- Ethernet ---------------------- // ------------------------------------------------- // Emulation of the OpenCores ethmac ethernet controller. "use strict"; var message = require('../messagehandler'); var utils = require('../utils'); //REGISTE...
var lib1self; var stream; var config; var gChartParams; var availableChartTypes = getAvailableChartTypes(); var aggregationTypes = [ { typeName: 'count', requiresVar: false }, { typeName: 'sum', requiresVar: true }, { typeName: 'mean', requiresVar: true } ]; $(document).ready(function() { executeOnLoadTask...
'use strict'; const assert = require('assert'); const fs = require('fs-extra'); const path = require('path'); const PNGImage = require('png-image'); const PNGJSImage = require('pngjs-image'); const BlinkDiff = require('blink-diff'); const imageSize = require('image-size'); /** * image-diff protractor plugin class * *...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org...
var mydata =[]; var lastrow,lastcell,lastcellname,last_scan_ele; var vm = new Vue({ el:'#rrapp', data:{ werks: '', workshoplist: [], useWorkshoplist:[], workshop: '', processList: [], zzj_pmd_items_id: '', order_no: '', //查询订单 zzj_no: '', use_workshop: '', assembly_position:'', process: '', to...
/** * ©2021 Virtual Cove, Inc. d/b/a Immersion Analytics. All Rights Reserved. Patented. * * Immersion Analytics Runtime - Tableau Dashboard Extension * Utilizes the Immersion Analytics Runtime javascript API and Tableau Dashboard Extensions API * to drive holographic visualizations in AR/VR/XR devices like Holole...
$(document).on('click','.list_area_p',function(){ var id=$(this).data('id'); $('.close_anchor'+id).show(); var qty=$('.qty_txt'+id); var val=parseInt(qty.attr('data-qty'))+1 qty.attr('data-qty',val); qty.text('X'+val); qty.show(); }); $(document).on('click','.close_icon',function(){ var id=$(...
export var ZegoScenario; (function (ZegoScenario) { ZegoScenario[ZegoScenario["General"] = 0] = "General"; ZegoScenario[ZegoScenario["Communication"] = 1] = "Communication"; ZegoScenario[ZegoScenario["Live"] = 2] = "Live"; })(ZegoScenario || (ZegoScenario = {})); export var ZegoRoomState; (function (ZegoRoo...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("antd/es/config-provider/style"); var _configProvider = _interopRequireDefault(require("antd/es/config-provider")); require("antd/es/table/style"); var _table = _interopRequireDefault(require("antd/es/t...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.Machinize = void 0; var Rx = _interopRequireWildcard(require("rxjs")); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in...
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof o...
const { Socket } = require('net'); const { Duplex } = require('stream'); const { isParsedKey, parseKey } = require('./protocol/key-parser.js'); const { makeBufferParser, readUInt32BE, writeUInt32BE } = require('./protocol/utils.js'); function once(cb) { let called = false; return (...args) => { if (cal...
"use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "sym...
var allcountModule = angular.module("allcount", ['ngAnimate', 'blueimp.fileupload', 'ui.bootstrap', 'allcount-base']); window.allcountModule = allcountModule; allcountModule.factory('track', function () { return lc.track; }); allcountModule.config(["$httpProvider", function ($httpProvider) { $httpProvider.in...
/* Copyright (c) 2016-2018, <NAME>. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES...
/* * Copyright 2013 <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 ...
/* globals $, _, console, d3, log, clique, createLineup, lineup, initializeLoggingFramework, logPublishPairings, logOpenTwitterWindow, logOpenInstagramWindow, logSetupLineUp, logSelectLineUpEntry */ var entityAlign = { host: null, graphsDatabase: null, maxFirstHopNodes: 100, nodesPerExpand: 100, /* Set...
let CHATROOM_VERBOSE_DEBUG = false; //holds room data let room_info = {}; let current_roomid; //keys for local room_info, keys share firebase keys, although not exclusively in firebase's room info object let __ROOMINFO_MSGS_KEY__ = "messages"; let __ROOMINFO_USRS_KEY__ = "users"; let __ROOMINFO_NAME_KEY__ = "name"; l...
'use strict' const camelCase = require('camelcase') const parseEft = require('eft-parser') const fs = require('fs-extra') const path = require('path') const walk = require('walk') const STRPROPS = new Set([ 'windowTitle', 'text', 'placeholderText', 'title', 'currentText', 'styleSheet', 'statusTip', 'toolTip', 'what...
import * as utils from './utils.js'; import * as cfg from './config.js'; import * as assets from './assets.js'; import * as drawing from './drawing.js'; export class GameOject { constructor(pos, w = null, h = null) { this.pos = pos.copy(); this.w = w; this.h = h; this.isDisposed = ...
function scBrowser() { this.isIE = false; var ua = navigator.userAgent.toLowerCase(); this.isChrome = ua.indexOf('chrome') >= 0; this.isWebkit = ua.indexOf('applewebkit/') > -1; this.isSafari = this.isWebkit && !this.isChrome; this.isFirefox = ua.indexOf('gecko') > -1 && ua.indexOf('khtml') === -1; this.o...
/** * This library modifies the diff-patch-match library by <NAME> * by removing the patch and match functionality and certain advanced * options in the diff function. The original license is as follows: * * === * * Diff Match and Patch * * Copyright 2006 Google Inc. * http://code.google.com/p/google-diff-mat...
/** * Copyright 2012-2017, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var d3 = require('d3'); var isNumeric = require('fast-isnumeric'); var Plotly = require('../../plotly'); var P...
var prevTmp = []; var movePath = []; var height = 9; var width = 7; var refreshTime = 0; var count = 0; function solve(con, step) { var pro17 = []; pro17[0] = [' ',' ',' ',' ',' ',' ',' ']; pro17[1] = [' ',' ',' ',' ',' ',' ',' ']; pro17[2] = [' ',' ',' ',' ',' ',' ',' ']; pro17[3] = [' ',' ',' ',' ',' ',' ',' '];...
/* // 1. Global variables // 2. tmi Client // 3. client.on 'message' // 4. initialize_page() // 5. get_question_by_id() // 6. hideElements() // 7. showElements() // 8. load_question() // 9. stop_question() // 10. does_player_exist() // 11. did_this_player_answer() // 12. add_this_player_answer() // 13. show_scores() //...
"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 (b.hasOwnPrope...
/* Copyright 2016 <NAME> 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 la...
var map; var levels = []; var imageUrls = { '1-1': 'svg/1-1.svg', '1-6': 'svg/1-6.svg', '2-1': 'svg/2-1.svg', '2-2': 'svg/2-2.svg', '3-1': 'svg/3-1.svg', '3-2': 'svg/3-2.svg' }; var imageBounds = { 1: [ L.latLng([31.252625753243095, 121.61278769373897]), L.latLng([31.2526257...
function constructNodeConnections(node, data) { for (var i = 0; i < data["connections"].length; i++) if (!node.connections.contains(node.scope.allNodes[data["connections"][i]])) node.connect(node.scope.allNodes[data["connections"][i]]); } //Fn to replace node by node @ index in global Node List - used when...
/* 오픈된 팝업 대화창을 관리*/ var openPopDialHash = new Hash(); /* 오픈된 초대하기*/ var invtDialogArr = new Array(); /*원격제어 프로그레스바......*/ var remoteCallerProgress ; /*쪽지창 팝업 유무......*/ var Note_popup = false; function loadingProgress(){ if(remoteCallerProgress == null){ remoteCallerProgress = new Ext.ProgressBar({ i...
let iniciofecha=moment().subtract(10, 'year').startOf('year') let finfecha=moment().subtract(0, 'year').endOf('year') let hoy = moment().format('DD-MM-YYYY'); let almacen = $("#almacen_filtro").val(); let fechaPagoHoy let idPago=$("#idPago").val(); let idClientePago let nombreCliente let clienteCorrecto let checkTipoC...
//pick up var items_cookie; var carts = []; var total = 0; var cart_items = []; (function( $ ) { "use strict"; // javascript code here. i.e.: $(document).ready( function(){} ); // $(".nav-tabs a").click(function(event){ // $(this).tab('show'); // event.preventDefault(); // }); var badge ...
/********************************************************************** Copyright (C) FrontAccounting, LLC. Released under the terms of the GNU General Public License, GPL, as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is di...
/** -- main.js -- Author : <NAME> <<EMAIL>> Date : July 2016 **/ // Load the required modules var { ToggleButton } = require('sdk/ui/button/toggle'); var panels = require("sdk/panel"); var self = require("sdk/self"); var tabs = require("sdk/tabs"); var pageMod = req...
// timer for updating job status var job_status_timer; var job_status_interval = 15000; var job_status_min = 15000; //Returns true if it is a DOM node function isNode(o){ return ( typeof Node === "object" ? o instanceof Node : o && typeof o === "object" && typeof o.nodeType === "number" && typeof o.nodeName...
var fs = require('fs'); var path = require('path'); var mergeJSON = require("merge-json"); var staticObj = require('../config.js').merge_output; var httpservreq = require('../httpseverreq.js'); var couchdb = require('nano')(staticObj.couchdb); var db_examineer_metadata = couchdb.use(staticObj.db_examineer_metadat...
var DIMENSION_TYPE_COLOR = 0; var DIMENSION_TYPE_SIDECOUNT = 1; var DIMENSION_TYPE_PARENT = 2; var OBJECT_HEIGHT = 400; var OBJECT_WIDTH = 300; var MIN_SHAPE_LENGTH = 40; var MAX_SHAPE_LENGTH = 40; var POSSIBLE_SHAPE_COUNTS = [1,2,3,4]; var POSSIBLE_SIDE_COUNTS = [3,4,5]; var makeRandom = function(trialNum...
const util = require('util'); const ref = require('ref'); const ffi = require('ffi'); const StructType = require('ref-struct'); const union = require('ref-union'); const ArrayType = require('ref-array'); const Enum = require('enum'); const fs = require('fs'); const resolve = require('path').resolve; const CircularJSON ...
import Vuex from 'vuex' import Vue from 'vue' import url from 'url' import config from './config' import uiStrings from './ui-strings' import avoidNameSaveFile from './util/avoid-name-save-file.js' import el from 'electron' import SSE from './sse-connection' import path from 'path' import Message from './classes/messa...
/** * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or * https://opensource.org/licenses/BSD-3-Clause */ /** * refocus-bdk-client.js * * This package is utility package for bot developme...
// declare global variables var // hide functions and methods which are matching this regex regHide = /^(_[\w\W]*|Create(Object|GLView|ListView)|GetLast.*|(Set|Is)DebugEnabled|Draw|ReplaceInFile|Destroy|Release|Explode|Detailed|IsEngine|SetOnTouchEx|data|id|S?Obj)$/, regControl = /^(Create.*|OpenDatabase|Odr...
const path = require('path') const most = require('most') const { nth, toArray } = require('@jscad/array-utils') const { callbackToObservable, delayFromObservable, holdUntil, withLatestFrom } = require('@jscad/core').observableUtils const { applyParameterDefinitions, getParameterValuesFromUIControls } = require('@js...
const babelParser = require("@babel/parser"); const cssParser = require("./css"); const utils = require("crownpeak-dxm-sdk-core/lib/crownpeak/utils"); let _componentName = ""; const reComponentType1 = /^\s*([a-z0-9_]+)\s*$/i; const reComponentType2 = /^\s*new\s+CmsField\s*[(]\s*(["'])([a-z0-9_]+)\1\s*,\s*CmsFieldType...
/*////////////////////////////////////////////////////////////////////////////////////// // WifiMap // // <NAME> The MIT License (MIT) Copyright (c) 2016, jsirera Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software...
CatCatcher.onlineState = function(game) { } var player; var catCatcher2; var jumpTimer = 0; var cursors; var ballButton; var jumpCount; var ball; var b2; var layer; var balls; var ballTime = 0; var slowTime = 0; var canShoot=false; var shootLeft = false; var winner; var lastAnimation = -1; var ballId; var ballExists =...
'use strict'; var WordCloudApp = function WordCloudApp() { // Special code here to handle non-supported browser case. if (!((window.WordFreq && window.WordFreq.isSupported) || (window.WordFreqSync && window.WordFreqSync.isSupported)) || !WordCloud.isSupported || !Object.keys || !Array.pro...
/** * @Project NUKEVIET 4.x * @Author VINADES.,JSC ( <EMAIL> ) * @Copyright ( C ) 2014 VINADES.,JSC. All rights reserved * @License GNU/GPL version 2 or any later version * @Createdate 1 - 31 - 2010 5 : 12 */ function addpass() { $("a[href*=edit_password]").click(); return !1 } function safe_deactivate_...
/* @licstart The following is the entire license notice for the JavaScript code in this file. The MIT License (MIT) Copyright (C) 1997-2020 by <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...
import "./lib/shortest_path.min.js" import {Tool} from "./tool.js" const NODE = 'node' const NODE_EX = 'Node1, Node 2,' const EDGE = 'edge' const EDGE_EX = 'Edge1, Edge 2' export class Interaction extends Tool { // Manages node searching and constructor(state) { super(state) // internal state...