text
stringlengths
5.97k
41.2k
import { IOBuffer } from 'iobuffer'; /** * A parser for 1D and 2D JDL NMR Files * @param {File} file - a file object pointing to a JDL file * @return {Object} - an Object with converted data */ export function parseJEOL(file) { const buffer = new IOBuffer(file); buffer.setBigEndian(); let byte; let header...
// Blok kode yang akan di panggil jika fetch berhasil function status(response) { if (response.status !== 200) { console.log("Error : " + response.status); // Method reject() akan membuat blok catch terpanggil return Promise.reject(new Error(response.statusText)); } else { // Mengubah suatu objek ...
const MainDatabase = require('../mainDatabase.js'); const elasticsearch = require('elasticsearch'); const AgentKeepAlive = require('agentkeepalive'); const cloneObject = require('clone'); const async = require('async'); const {BuilderNode} = require('../../../utils/filterbuilder'); const NexxusError = require('../../Ne...
function getchannelList() {//获取频道列表 $.ajax({ url : baseURL +"good/channel/getChannelList",//写你自己的方法,返回map,我返回的map包含了两个属性:data:集合,total:集合记录数量,所以后边会有data.data的写法。。。 // 数据发送方式 type : "get", // 接受数据格式 dataType : "json", // 要传递的数据 data : 'data', // 回调函数,接受服务器端返回给客户端的值,即result值 success : function(da...
import { OptionGroup } from "./OptionGroup.js"; import Item from "../../../../model/game/ecs/component/Item.js"; import EntityBuilder from "../../../../model/engine/ecs/EntityBuilder.js"; import InputController from "../../../../model/engine/input/ecs/components/InputController.js"; import { obtainTerrain } from "../.....
// Single array of dish names to match corresponding add[dishName] functions and dish HTML id's const dishes = ['baconEggCheeseBurrito', 'basicDal', 'cajunShrimpBoil', 'chickenBlackBeanTacoBowl', 'chickenWithSaucyTomatoes', 'coconutPoachedSalmon', 'couscousLemonChickenDates', 'creamyZucchiniPasta', 'farroTomatoesBasil'...
$(function () { $("#tabUpload").click(function () { return $("#CRUD").val() == "upload"; }); $("#tabUpdateDeclaration").click(function () { return $("#CRUD").val() == "updateDeclaration"; }); $("#btnDelete").hide(); $("#ddlDeptIDHandler").attr('disabled', 'disabled'); //建立人員初值及唯讀屬性控制 if (ShowData ==...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview Perform various "gestures" and calculate average frame rate. * "Gestures" are recorded scrolling behaviors in terms of time (ms...
// Copyright 2017 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 agre...
/** * Copyright (c) INOVUA SOFTWARE TECHNOLOGIES. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component, createRef } from 'react'; import PropTypes from 'prop-types'; import isMobile from '../../../common/isMobil...
import React from 'react'; import { Link } from 'react-router-dom'; import { Container, Row, Col, Button, Card } from 'reactstrap'; import MaterialTable from 'material-table'; //基金表格 import isEmpty from 'views/Function/isEmpty.js' import 'react-multi-carousel/lib/styles.css'; //覆寫CSS import PropTypes from 'prop-ty...
// helpers (delete) var MatrixCSSClass = window.WebKitCSSMatrix || window.MozCSSMatrix || window.MsCSSMatrix || window.OCSSMatrix || window.CSSMatrix; window.makeCube = function (width, height, length) { var move = document.getElementById('move'); var paren...
'use strict' const Feed = require('feed').Feed const minify = require('html-minifier').minify; const Handlebars = require('handlebars') const fs = require('fs') const path = require('path') const conf = require('./config') const createListHTML = require('./list') const createPageHTML = require('./page') const createLi...
/** * Copyright 2015 The AMP HTML Authors. 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 require...
// TODO // 1. shadow // 2. Image: sx, sy, sw, sh import {createElement} from './core'; import PathProxy from '../core/PathProxy'; import BoundingRect from '../core/BoundingRect'; import * as matrix from '../core/matrix'; import * as textContain from '../contain/text'; import * as textHelper from '../graphic/helper/tex...
/* hashrate graph generator call showHashrateGraph(...) to apply graph to canvas with ID 'chart-hashrate' NOTE: assumes mineable_token vue exists in the global scope */ const Chart = require('./chart.min'); const Eth = require('./ethjs'); /* color of the fonts used in chart labels */ Chart.defaults.global.defaultF...
"use strict"; /*global require*/ var Cartesian3 = require("terriajs-cesium/Source/Core/Cartesian3"); var Color = require("terriajs-cesium/Source/Core/Color"); var ColorMaterialProperty = require("terriajs-cesium/Source/DataSources/ColorMaterialProperty"); var defined = require("terriajs-cesium/Source/Core/defined"); ...
var scriptUrl = "/auto/web/script"; var proTreeUrl = scriptUrl + "/tree"; AutoScriptUtil = function(me) { var treeId = "autoscript"; var treeNode, zTree, searchReqData = {}, tableId = "scriptlist"; var nowAttId; return me = { initOwn : function() { $("#search").on("click", function() { me.searchScriptList(...
/** @license Copyright (c) 2016 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://...
/*var MovingFeature = function() { this.poslist = []; this.infomation; this.time = []; //this.targetPosition = 3; //this.timeList = []; //this.delta = []; //this.mid =[]; this.object; } MovingFeature.prototype.init = function(mf) { var mfIdRef = mf.attr("mfIdRef"); //this.infomat...
"use strict"; const objectControlContainer = document.getElementById("active-object-list-container"); const simContainer = document.getElementById("sim-container"); var simBoxX = 0; var simBoxY = 0; var simBoxWidth = 0; var simBoxHeight = 0; var mouseX = 0; var mouseY = 0; var running = true; var timeStep = 20; ...
'use strict' var _interopRequireWildcard = require('@babel/runtime/helpers/interopRequireWildcard') var _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault') exports.__esModule = true exports.default = void 0 var _extends2 = _interopRequireDefault( require('@babel/runtime/helpers/extend...
"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 _typeof2 = _interopRequireDefault...
'use strict' const dateformat = require('dateformat') const stringifySafe = require('fast-safe-stringify') const defaultColorizer = require('./colors')() const { DATE_FORMAT, ERROR_LIKE_KEYS, MESSAGE_KEY, LEVEL_KEY, LEVEL_LABEL, TIMESTAMP_KEY, LOGGER_KEYS, LEVELS } = require('./constants') module.expo...
// // frisbee.js // examples // // Created by <NAME> on 7/5/14. // Copyright 2014 High Fidelity, Inc. // // Requirements: Razer Hydra's // // Fun game to throw frisbee's to eachother. Hold the trigger on any of the hydra's to create or catch a frisbee. // // Tip: use this together with the squeezeHands.js scri...
import React, { useEffect, useState } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { Redirect, Route, Switch, useHistory, useParams, useRouteMatch, } from 'react-router'; import { Link } from 'react-router-dom'; import { baseURL } from '../../baseURL'; import Spinner from '.....
const discord = require('discord.js'); require('discord-reply'); const reply = require('discord-reply'), config = require("./config.json"), prefix = "+", { readdirSync } = require("fs"), { Client, Collection} = require("discord.js"), client = new Client({ partials: ['MESSAGE', 'CHA...
/* * Copyright 2003-2006, 2009, 2017, United States Government, as represented by the Administrator of the * National Aeronautics and Space Administration. All rights reserved. * * The NASAWorldWind/WebWorldWind platform is licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file...
import { select, pointer } from 'd3-selection'; import { scaleLinear, scalePow } from 'd3-scale'; import { hierarchy, partition } from 'd3-hierarchy'; import { arc } from 'd3-shape'; import { path } from 'd3-path'; import { interpolate } from 'd3-interpolate'; import { transition } from 'd3-transition'; import Kapsule ...
// vim: noai:ts=2:sw=2 var program = require('commander'), fs = require('fs'), path = require('path'), when = require('when'), ncp = require('ncp').ncp, rimraf = require("rimraf"), through2 = require('through2'), spawned = require('spawned'), child_process = require('child_process'); _ = require('loda...
/* * Power BI Visualizations * * Copyright (c) Microsoft Corporation * All rights reserved. * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the ""Software""), to deal * in the Software without restricti...
const COLORS = [ { main: 0xC39486, complement: 0x8C1932 }, // n3x2 { main: 0xF6E82B, complement: 0x213263 }, // n1x1 { main: 0xFFCFD6, complement: 0xEF1E31 }, // n2x3 { main: 0xFFCFD6, complement: 0x006456 }, // n1x2 { main: 0xFFC864, complement: 0x4C9173 } // 3x4 ]; class Game { con...
import startCase from "lodash/startCase"; import map from "lodash/map"; import find from "lodash/find"; import filter from "lodash/filter"; import indexOf from "lodash/indexOf"; import forEach from "lodash/forEach"; import isArray from "lodash/isArray"; import sumBy from "lodash/sumBy"; import concat from "lodash/conca...
// SELECTORES // $(window).ready(function() { cambiarestilo(); cargarinicio(); }); $("#inicio").click(function() { cargarinicio(); }); $("#gestionar").click(function() { cargargestionarclientes(); }); $("#verificarburo").click(function() { cargarverificarburo(); }); $("#calcularpre").click(func...
/** * Инициализация и запуск редктора ACE в #editor-container */ var demoTxt = 'Выставка "Человек как птица. Образы путешествий" исследует вопросы новых открытий на стыке оптики и искусства, в тех сферах, которые объединены стремлением человека к познанию мира и определению своего места в нем.'; // demoTxt = 'как' va...
'use strict'; import { R90, R270, R360, TILE_SIZE } from './Constants'; import { game } from './Game'; import { Viewport } from './Viewport'; export function normalizeVector(p) { let m = Math.sqrt(p.x * p.x + p.y * p.y); return m === 0 ? { x: 0, y: 0, m: 0 } : { x: p.x / m, y: p.y / m, m }; } export function...
import { decorate, observable, action, when } from "mobx"; import BN from "bn.js"; // import * as solanaWeb3 from ; import bs58 from 'bs58'; import { ValidatorModel } from './validator-model.js'; import { StakingAccountModel } from './staking-account-model.js'; import fetch from 'cross-fetch'; const solanaWeb3 = requir...
"use strict"; /** * @license * Copyright 2018 Google LLC * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * ============================================================================= */ var __awaiter = (this &...
jQuery( document ).ready( function (dwe) { let global_shippment_price_cod let global_shippment_price_no_cod let global_info_message let use_shipping = false function resetCookies() { document.cookie = "econt_shippment_price=0; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"; document.cookie = "econ...
import * as THREE from 'three'; import Avatar from './avatars/avatars.js'; import * as sounds from './sounds.js'; import { idleFactorSpeed, walkFactorSpeed, runFactorSpeed, narutoRunTimeFactor, } from './avatars/constants.js'; import { crouchMaxTime, eatFrameIndices, drinkFrameIndices, } fr...
/******************************************************************************/ /* config.js -- Code dealing with the config file, command line arguments, * and dropping privileges * * Copyright 2012-2013 AOL Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License...
var async = require('async'); var Router = require('../helpers/router.js'); var util = require('util'); var ip = require("ip"); var bignum = require('../helpers/bignum.js'); var sandboxHelper = require('../helpers/sandbox.js'); require('colors'); // private fields var modules, library, self, privated = {}, shared = {...
/** * SimplePhysicsEngine creates, initializes, and manages a non-raycast enabled * physics engine for ButterBall. */ var SimplePhysicsEngine = function (physWidth, physHeight, maxSpeed, debug) { // Determines number of degrees of accuracy when colliding ball // (Number of points to check around perimiter w...
// homebridge-p1/lib/P1Client.js // Copyright © 2018-2020 <NAME>. All rights reserved. // // Homebridge plugin for DSMR end-consumer (P1) interface. 'use strict' const homebridgeLib = require('homebridge-lib') const EventEmitter = require('events') const SerialPort = require('serialport') // ===== Telegram Parsing =...
var questionId,QuizDetails,results,deletequestionId,quizName,quizId,feedbacks; quizid=location.href.split('/').slice(-1)[0] $("#question").summernote({ height: 150, // set editor height minHeight: null, // set minimum height of editor maxHeight: 150, // set maximum height of editor focus: true, to...
const mapboxURL = "https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}" const year = new Date().getFullYear() const gidArray = [] const geoidArray = [] const selectedLayerGroup = new L.featureGroup({ pane: "pointsPane" }) const drawnItems = new L.featureGroup() // INITIALIZING LAYERS /...
import * as React from 'react'; import { StyleSheet, View, SafeAreaView, TouchableWithoutFeedback, ToastAndroid, } from 'react-native'; import {Layout, Text, Icon, Button} from '@ui-kitten/components'; import MapboxGL from '@react-native-mapbox-gl/maps'; import {default as theme} from '../res/custom-theme.jso...
"use strict"; import data from './data.js' import barchart from './barchart.js' let overlay = document.getElementById("overlay"); overlay.style.display = "none"; barchart.init("chart-anchor", 500, 300); async function sendPostRequest(url, data) { let response = await fetch(url, { method: "POST", headers: ...
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.1.4 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.leng...
'use strict' const cst = require('../../constants.js') const log = require('debug')('interactor:aggregator') const Utility = require('../Utility.js') const fclone = require('fclone') const Histogram = require('../utils/probes/Histogram') /** * * # Data structure sent to interactor * * { * 'process_name': { * ...
/** * Copyright (C) 2014, 2015, 2016 University of Washington. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
$(document).ready(function () { $("body").append("<div id='divSmallBoxes'></div>"); $("body").append("<div id='divMiniIcons'></div><div id='divbigBoxes'></div>"); $(".OpenSideBar").pageslide({ direction: "left" }) }); function MetroUnLoading() { $(".LoadingBoxContainer").addClass("animate...
// Set your name and location here var name = "Joe"; var weatherLocation = "North Vancouver, Canada"; // SEARCHBAR var box = document.getElementById("search_box"); // BACKGROUND var bg = document.getElementById('background'); // this should catch most URLs, or at least the ones I would type. var urlPattern = /^(http...
var menutab = {}; var mainActiveId = 'home'; var menus = []; var menuParent = {}; var bigDataMenus = null; var menuUserName = ""; /** * 加载左侧菜单1 */ function loadMenu() { var json = '[{"id": "1","name": "CSI员工之家","icon": null,"url": "","parentId": "",' + '"childs": [{"id": "11","name": "用户管理"...
import React, { useEffect, useState } from "react"; import { Link } from "react-router-dom"; import { useAuth0 } from "@auth0/auth0-react"; import { firstBy } from "thenby"; import { Container, Row, Col, Form, Card } from "react-bootstrap"; import { ConferenceCard, PresenterCard, SessionCard, UserCard } from "../compon...
const config = require('./config.json'); const j = require('request').jar(); const request = require('request').defaults({ timeout: 10000, jar: j, }); const log = require('./logger.js'); const fs = require('fs'); const moment = require('moment'); const proxyList = []; const dates = []; const dayName = []; const ha...
/* ********************************************************************* */ /* Load and combine data that is split into archives */ /* ********************************************************************* */ var Combine = { _targets: [], _targetIndex: 0, // target: build target // ...
const fs = require('fs'); const crypto = require('crypto'); const slogger = require('node-slogger'); const async = require('neo-async'); const FileCache = require('./cache/FileCache'); const MemCache = require('./cache/MemCache'); const REDIS_KEY_SUB_SESSION_TOKEN = 'pubSubSessionToken:'; const OPERATION_ADD = '0'; c...
/* 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/MPL/2.0/. */ "use strict"; const {classes: Cc, interfaces: Ci, utils: Cu} = Components; const PREF_DEBUG = "toolkit.identity....
const CIRCLE_BORDER_WIDTH = 0.15; const CIRCLE_HIT_FACTOR = 1.33; const CIRCLE_HIT_DURATION = 150; const APPROACH_CIRCLE_WIDTH = 0.09; const APPROACH_CIRCLE_SIZE = 4; const FOLLOW_CIRCLE_FACTOR = 2; const FOLLOW_CIRCLE_WIDTH = 3; const SPINNER_SIZE = 180; const SPINNER_CENTER_SIZE = 10; const COMBO_COLOURS = ['0,202,0'...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.valInDeep = valInDeep; exports.flattenDeep = flattenDeep; exports.flattenDeepParents = flattenDeepParents; exports.regDeepParents = regDeepParents; exports.arrayToTree = arrayToTree; exports.patchTreeChain = patchTreeChain; exports....
let agent = navigator.userAgent.toLowerCase(); function fn_ajax_get_todo(xmode) { // 불러온다 $.ajax({ type: "POST", dataType: "json", url: "/manager/project/getReadyWorks", data: "mode=2", async: false, success: function (json) { if (json.totalCount > 0 ...
var COUNTER_THRESHOLD = 0; // Isnturctable config times var INSTRUCTABLE_DELAY_TIME = 2000; var INSTRUCTABLE_FADE_TIME = 600; var MOBILE = Modernizr.touch; var SMALL = Modernizr.mq('only all and (max-width: 480px)'); var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; var $body; var $content; v...
/* eslint-disable semi */ const {EPS, defaultResolution3D} = require('../core/constants') const OrthoNormalBasis = require('../core/math/OrthoNormalBasis') const {parseOptionAs3DVector, parseOptionAsBool, parseOptionAsFloat, parseOptionAsInt} = require('./optionParsers') const Vector3D = require('../core/math/Vector3')...
var url = ""; var programa=0; var iIdProblema=0; $(document).ready(function () { /**Inicializar variables**/ programa=$("#programa").val(); url = $("#url").val(); validador_problema(); }); var json_parse; var limpiar_Cadenas; (function init() { if (window.goSamples) goSamples(); // init for these samples...
var aggridContext = { focusedRowIndex: 0,//gridOptions.api.getDisplayedRowAtIndex(0) pagination: { PageIndex: 0, PageSize: 10 } }; // Columns var columnDefs = [ { headerName: "", width: 84, field: "operatecol", hide: false, lockPosition: true, lockPinned: true, cellStyl...
import { getNodeUrl} from '../../core/utils' import {NODE_DETAIL, NODE_NAME_LIST, OFF_CHAIN_NODES, NODE_CURRENT_STAKES} from '../../core/consts' import numeral from 'numeral' import { Crypto, RestClient, utils, GovernanceTxBuilder} from 'ontology-ts-sdk' import {BigNumber} from 'bignumber.js' import {dbUpsert, dbFind} ...
'use strict'; var _ = require('lodash'); var assert = require('assert'); var path = require('path'); var pathParse = require('path-parse'); var Promise = require('bluebird'); var util = require('util'); var debug = require('debug')('roux:sdk'); var fs = Promise.promisifyAll(require('fs')); var globAsync = Promise.pro...
function getTrashcanId() { return trashcanId; } function objectComponent (className, name, id) { return '<img src="' + getIconUrl(className) + '"> <a href="javascript:top.openObject(\'' + className + "', " + id + ')">' + name + "</a>"; } function getActionIconUrl(action,size) { var baseUrl = "/images/icons/o2...
'use strict'; var config = require('../config.js'); var configUser = require('../config/specific/user_template_columns.js'); var helper = require('../config/helpers/helper.js'); function handleGET(req, res) { // Do something with the GET request res.status(403).send('Forbidden!'); } function handlePUT (req, res...
// -*- mode: js; indent-tabs-mode: nil; js-basic-offset: 4 -*- // // This file is part of Genie // // Copyright 2020 The Board of Trustees of the Leland Stanford Junior University // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. //...
/*! ***************************************************************************** Author: dga711 in 2020 https://github.com/dga711/msfs-webui-devkit Credits: Code is inspired by mechanisms and code found in Asobo's MSFS2020 ****************************************************************************...
import React, { useCallback, useState, useEffect, Fragment } from 'react'; import styled from "styled-components"; import PropTypes from 'prop-types'; import { useBancor } from "../../../../contexts/bancor"; import { getIcon, getDefaultTokenAddress, getRopstenTokenAddress } from "../../../../utils/token"; import { ge...
"use strict"; /********************************************************************************************************************** * @license * * Copyright 2017 Coinbase, Inc. ...
importClass(android.content.ContentResolver); importClass(android.database.Cursor); importClass(android.net.Uri); // 保持脚本运行 var ID = setInterval(() => { }, 1000) // 监听主脚本消息 events.on("prepare", function (i,task_info, mainEngine) { log("task_info",task_info); log("id=>",task_info.id) var task_data = JS...
function City_generator(){ function point(x, y, seed) { this.x = x; this.y = y; this.r = 1; this.seed = seed; this.to_connects = []; this.fr_connects = []; this.connects = []; this.center = null; this.temp = null; this.text = null; } function road(start,end){ this.s = start; this.e = end; ...
//Size of the game data. var MAPX = 64; var MAPY = 64; var MAPZ = 32; var mapfile = "densities.dat"; //Camera Stuff var distto = 60; var rotx, roty; var rotspeedx, rotspeedy; rotspeedx = .4; rotspeedy = 0; rotx = 0; roty = 1.0; var mdown = false; var lastdx = 0; var lastdy = 0; var actualtime = 0; var lastmovetime ...
/* * Copyright 2021 Adobe Systems Incorporated * * 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 applica...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _mssql = _interopRequireDefault(require("mssql")); var _reactInputSlider = _interopRequireDefault(require("react-input-slider")); function _interopR...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.generateScenarioCommon = exports.extendCompilationDataWithScenarioBytecode = exports.extendedScenarioDefinitionToCompilationData = exports.generateExtendedScenario = exports.extendScenarioDefinition = exports.extendScenarioDefinitionDa...
'use strict'; const os = require('os'); const fs = require('fs'); const path = require('path'); const crypto = require('crypto'); const yaml = require('js-yaml'); const debug = require('debug')('dxcf:cli:region'); const table = require('table').table; const chalk = require('chalk'); const prompt = require('async-promp...
/* artifact generator: C:\my\wizzi\v5\apps\node_modules\wizzi-js\lib\artifacts\js\module\gen\main.js primary source IttfDocument: c:\my\wizzi\v5\apps\wizzi-app\wizzi\ittf\src\components\routes\wizzikernelpackage.js.ittf utc time: Sat, 06 Oct 2018 05:59:03 GMT */ 'use strict'; import React from 'react'; impo...
'use strict'; import {Hand, bambooSuits, characterSuits, circleSuits, honorTiles, emptyTile} from './tiles.js'; import './includes.js'; const yakuInfo = [ ['断么九', 'isTanyao|isTanyaochu', 'isAllSimples'], ['一盃口', 'isIpeiko', 'isOneSetOfIdenticalSequences'], ['役牌', 'isYakuhai', 'isHonorTiles'], ['三色同順', '...
// bot.js var request = require("request"), admin = require("./admin.js"), Slack = require("slack-client"), keys = require("./keys.js"), login = require("./login.js"); // var Island = require("./db.js"); var api_token = keys.api_token, admin_token = keys.admin_token, slack = new Slack(api_toke...
const path = window.require('path'); const fs = window.require('fs'); const electron = window.require('electron'); const Module = window.require('module').Module; Module.globalPaths.push(path.resolve(electron.remote.app.getAppPath(), 'node_modules')); const currentWindow = electron.remote.getCurrentWindow(); if (curre...
var probeSelected = 0; var targetSelected = 0; var citySelected=0; var countrySeleted=0; function probe() { $.ajax({ url: "../../cem/probe/showlist",//探针列表 type: "POST", cache: false, //禁用缓存 dataType: "json", contentType: "application/json", success: funct...
const { URL } = require('url'); const {EventEmitter} = require('events'); const _extend = require('util')._extend; const {DebounceTimers , assertIsObject , ERR_INVALID_ARG_TYPE} = require('./utils'); const {initializeTLSOptions } = require('./request-options'); const http = require('http'); const https = require('http...
import * as THREE from 'https://threejsfundamentals.org/threejs/resources/threejs/r132/build/three.module.js'; import {OrbitControls} from 'https://threejsfundamentals.org/threejs/resources/threejs/r132/examples/jsm/controls/OrbitControls.js'; import {GUI} from 'https://threejsfundamentals.org/threejs/../3rdparty/dat.g...
/** * @file LocalAutoComplete component */ import React, {Component, createRef} from 'react'; import PropTypes from 'prop-types'; // Components import TextField from '../TextField'; import Popup from '../Popup'; import List from '../List'; import DynamicRenderList from '../DynamicRenderList'; // Statics import The...
// ---------------------------------------// // -- Created 2018-2022 by <NAME> --// // ------- https://davidherren.ch --------// // ---------------------------------------// var id, workSelected, savedSelector; var langCurrent; var langChanged = false; var urlIndex = window.location.protocol + "//" + window.location.h...
import 'babel-polyfill'; import React from 'react'; import {hot} from 'react-hot-loader'; import BetaWarning from './BetaWarning'; import Accounts from './Accounts'; import WarnBrowser from './WarnBrowser'; import ConnectionError from './ConnectionError'; import FirmwareCheckModal from './FirmwareCheckModal'; import ap...
'use strict'; import colors from 'colors/safe.js'; import fs from 'fs'; import javaScriptObfuscator from 'javascript-obfuscator'; import Handlebars from 'handlebars'; import Ajv from 'ajv'; import { util, navi, rest, files, info } from '../../underpost_modules/underpost.js'; class Views { constructor(MainProc...
"use strict"; /******************************************************************************** * Copyright (C) 2018 Ericsson and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/ep...
/** * ZTP GUI Web App * Author: <NAME> * Version: 1.2 */ function createDropdown(value, id, callback) { // Create block for editable drop-down list var div = document.createElement('DIV'); div.className = 'dropdown'; // First element is a text box var ele = document.createElement('IN...
var canvas, ctx, flag = false, prevX = 0, currX = 0, prevY = 0, currY = 0, dot_flag = false, sketchSequence1 = 0, sketchSequence2 = 0, sketchSequence3 = 0, sketchSequence4 = 0, absStroke, absVector, canvas2, ctx2; const intervalTime = 10; //interval in...
import React, { Component} from 'react'; import { goBack, sendHome, checkresponse, sessioncheck, matchFormatTypes, overrideLoaderCss, loaderColorCode, timestampToDateTime} from '../../Comman'; import config from '../../config'; import { ClipLoader } from 'react-spinners'; import jsonData from './football.json'; class ...
"use strict"; /**! * @module interface * @file The graphical user interface. * @description This module adds event listeners to DOMs that are predefined in * the HTML file, and enable pure interface-related actions. It triggers init- * tialization functions defined in this module or external modules to build * i...
import { IonList, IonSpinner, IonActionSheet, IonBackButton, IonButton, IonButtons, IonChip, IonContent, IonHeader, IonIcon, IonLabel, IonPage, IonSkeletonText, IonTitle, IonToast, IonToolbar, withIonLifeCycle } from '@ionic/react'; import { airplane, calendar, gitCompare, gitMerge, globe, pin, pricetag, statsChartOutl...
// # calculator-backends.js // // things to do with a simple calculator parser // // [calculator-parser.js](calculator-parser.html) contains a simple parser. // It contains enough code that you can actually do some basic math with it. // But what else can you do with a parser? // // This file contains seven different a...
import React, { useEffect, useState } from "react"; import { withRouter } from "react-router"; import moment from "moment"; import { connect } from "react-redux"; import { resetDownload, updateDownload } from "../../../../../actions/ExportActions/exportActions"; const exportTools = require("../ExportTools.js"); // ***...