text
stringlengths
5.97k
41.2k
/*! * vuex-service v0.3.8 * (c) 2018 <NAME> * Released under the MIT License. */ import Vuex from 'vuex'; import _ from 'lodash'; var defaultMutations = { set: function set(state, ref) { var prop = ref[0]; var value = ref[1]; _.set(state, prop, value); }, // reset(state, prop) { // const re...
/*: * RS_SimpleLight.js * @plugindesc This plugin applies the lighting effect to the all objects * by using the Fragment Shader, allows you to give a feeling to explore a dark terrain. * @author biud436 * * @param coord normalize min * @desc You have to necessarily use a floating-point (Do not use Integer) * @d...
import React, { useState, useEffect } from 'react'; import Button from '@material-ui/core/Button'; import Container from '@material-ui/core/Container'; import Grid from '@material-ui/core/Grid'; import Select from '@material-ui/core/Select'; import TextField from '@material-ui/core/TextField'; import { Typography } fro...
var isChrome = navigator.userAgent.toLowerCase().match(/chrome/) != null ; //加载iciba内容脚本 function loadContentScripts_ICIBA() { //browser.tabs.insertCSS({file: "content_scripts/huaci_mini.css"}); let runAt = "document_idle"; browser.tabs.executeScript({ file: "/resources/browser-polyfill.min.js",...
// Setting up global width and length, and padding sizes //let pol2globalWidth = $('#politician2Place').width, pol2globalHeight = $('#politician2Place').height; let pol2globalWidth = screen.width * 0.55, pol2globalHeight = screen.height * 1.2; pol2paddings = {top : 50, bottom : 50, left : 50, right : 20}; // create a...
const fs = require('fs-extra'); const path = require('path'); const EventEmitter = require('events'); const shortid = require('shortid'); const splitFile = require('split-file'); const { LotusWsClient } = require('./infrastructure/lotus/LotusWsClient'); const { formatBytes, waitTimeout } = require('./application/resou...
/* eslint-disable no-use-before-define */ /* eslint-disable no-param-reassign */ import { saveFileInContainer, getSourceUrl, getSolidDataset, getThing, getUrlAll, setThing, saveSolidDatasetAt, getThingAll, getContainedResourceUrlAll, getUrl, getResourceInfo, isContainer, createContainerAt, o...
let sPathName = location.pathname; let lstPathName = sPathName.split('/'); let iProductoId = lstPathName.pop(); let vueTiendaProducto = new Vue({ el: '#content', data: { locale: 'es', iCargandoProducto: 1, lstCarritoCompras: [], producto: { precio_actual: { ...
function name() { let name = $('#name').val() window.sname = false if(name == '' || name == null) { $('#name').addClass('is-invalid') $('#name-feedback').html('Masukkan nama lengkap.') } else if (!/^[a-z A-Z]*$/g.test(name)) { $('#name').addClass('is-invalid') $('#name-feedback').html('Masukkan nama lengka...
"use strict"; const videoAttribute = "chromeBetterHtml5VideoType", timeoutAttribute = "chromeBetterHtml5VideoClickTimeout"; let toggleChecked, toggleEnabled, observer, dirVideo, settings = { firstClick: "focus", dblFullScreen: true, clickDelay: 0.3, skipNormal: 5, skipShift: 10, ski...
import React, { Component } from 'react' import classNames from 'classnames' import { flattenOptions, instructionsAriaMessage, resultsAriaMessage, simpleSelectPropTypes, sortBy, valueEventAriaMessage } from './utils' // import alone to avoid dep cycle import isSelected from './utils/isSelected' import { si...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, ArgumentsRequired, BadResponse } = require ('./base/errors'); // --------------------------------------------------------------------------- module.export...
/* * This file is part of OverPy (https://github.com/Zezombye/overpy). * Copyright (c) 2019 Zezombye. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 3. * * This program ...
var Sounds = { current: null, sources: {}, result: { clips: [], sources: [] } }; var SoundsData = {}; var WebAudio = { context: new webkitAudioContext(), loadSound: function(url, cb) { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.responseType = 'arraybuffer'; xhr...
import React, { Component } from 'react'; import { View, Text, StyleSheet, Platform, StatusBar, TouchableOpacity, TextInput, Image, ScrollView, TouchableWithoutFeedback, SafeAreaView } from 'react-native'; import { Colors, FontStyle, Layout } from '../../../../../components/react-native-teso/Magic...
var vows = require('vows'), assert = require('assert'), EventEmitter = require('events').EventEmitter, _ = require('underscore'), util = require('util'); var gestalt = require('../lib/gestalt'), Configuration = gestalt.Configuration; vows.describe('gestalt configurtion objects').addBatch...
/* 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 writing, software * distributed ...
import React, {useState, useEffect, useRef} from 'react'; import { Card, Col, message, Row, Table,Form, Input, Dropdown, Select, Menu, Switch, Modal, Popconfirm, Button, Space, Cascader } from 'antd'; import { CloseCircleFilled, DatabaseOutlined, DownOutlined, EditOutlined, EditTwoTone, SearchOutlined } from '@ant-desi...
/** ******************************************************* {COPYRIGHT-TOP} *** * Licensed Materials - Property of IBM * 5725-Z22, 5725-Z63, 5725-U33, 5725-Z63 * * (C) Copyright IBM Corporation 2016, 2020 * * All Rights Reserved. * US Government Users Restricted Rights - Use, duplication or disclosure * restric...
window.URL = window.URL || window.webkitURL; var browse_button = document.getElementById("browse"), image_area = document.getElementById("image_area"), useBlob = false && window.URL; // Set to `true` to use Blob instead of Data-URL var asyncsLeft = 0; var image_info_list=[]; id_nums=[]; data_list=[]; num_...
import { useState, useCallback } from 'react'; import styled from 'styled-components'; import { useRouter } from 'next/router'; import NextAuth from 'next-auth/client'; import { serverSideTranslations } from 'next-i18next/serverSideTranslations'; import queryString from 'query-string'; import { useMenuState, Menu, Menu...
//item list var cheese = new Item(1, "food", "A piece of cheese"); var bread = new Item(1, "food", "A loaf of bread"); var driedFruit = new Item(1, "food", "Some dried fruit"); var potato = new Item(1, "food", "A potato"); var meat = new Item(2, "food", "A hunk of meat"); var rum = new Item(1, "drink", "A bottle of rum...
// This file is required by the voting.html const ipc = require('electron').ipcRenderer let g_evclicktime = 0; let g_method = "dashboard"; let g_pro_chart let g_pro_chart_data let g_phd_chart let g_phd_chart_data let g_phd_table_data let g_pro_table_data let g_pro_voting_detail_data function update_dashboard() ...
var previousFocusIdx = undefined //var timings = [0.0, 0.8, 1.5, 3.27, 3.9, 5.3, 5.78, 6.5] // var timings = [0.0, 0.8, 1.5, 3.3, 3.9, 5.3, 5.78] var timings = [ 0. , 0.65 , 1.21875 , 2.656875, 3.16875 , 4.30625 , 4.69625 , 5.28125 ] // if start from second chord, 0.15, 0.7, 2.5 var vide...
// // Copyright (c) Autodesk, Inc. All rights reserved // // Node.js server workflow // by <NAME> - Autodesk Developer Network (ADN) // January 2015 // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above...
const template = document.createElement('template') template.innerHTML = ` <style> #drawer { position: fixed; z-index: 9999; top: 0; bottom: 0; user-select: none; } #overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;...
/*global $: true */ 'use strict'; var $ = require('jquery'); var lodash = require('lodash-node/underscore'); //I had trouble getting this version to work with broserify + node + mocha: //var lodash = require('lodash'); var ko = require('knockout'); var moment = require('moment'); var Board = require('./board').Board;...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.generateCppSource = void 0; const declaration_1 = require("./declaration"); const utils_1 = require("./utils"); function generateHostObjectSource(object) { let propSource = generatePropsSource(object, PropType.hostObject); let ...
const { Logger, LogEmitter, formatters, writers } = require('@polyn/logger') const { BlockFormatter, BunyanFormatter, JsonFormatter, PassThroughFormatter, StringFormatter, SquashFormatter, } = formatters const { ArrayWriter, ConsoleWriter, DevConsoleWriter, StdoutWriter, } = writers const arrayWrit...
/* * Command line interface to the library. * * Copyright (C) 2010-2021 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your ...
'use strict'; //*****GLOBAL VARIABLES***** //DOM var imageContainerEl = document.getElementById('image-container'); var itemsPerPageEl = document.getElementById('items-per-page'); var votesLeftEl = document.getElementById('votes-left'); var resultsEl = document.getElementById('results'); var progressBarEl = do...
import * as d3 from "d3"; // The "dot plot" visualization shows alignment between two sequences // from a CIGAR string, and it is used as a tooltip for the // overlaps visualization. function DotPlot(options) { options = options || {}; this.target = options.target || document.body; this.data = options.data...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
var canvas; // The canvas element var gl; // The WebGL context var cubeVerticesBuffer; var cubeVerticesTextureCoordBuffer; var cubeVerticesIndexBuffer; var cubeVerticesIndexBuffer; var cubeRotation = 0.0; var lastCubeUpdateTime = 0; var cubeImage; var cubeTexture; var mvMatrix; var shaderProgram; // The WebGLProgram...
'use strict'; var $ = require('preconditions').singleton(); var _ = require('lodash'); var async = require('async'); var log = require('npmlog'); log.debug = log.verbose; var Storage = require('./storage'); var MessageBroker = require('./messagebroker'); var Lock = require('./lock'); var Notification = require('./mod...
'use strict'; const EventEmitter = require('events'); const readline = require('readline'); const EOL = require('os').EOL; const mongoose = require('mongoose'); mongoose.Promise = global.Promise; const steed = require('steed')(); const SteedState = require('./SteedState'); const Logger = require('./Logger'); const { ...
var cornerPointMerger = require('./cornerPointMerger').cornerPointMerger var crossPointNb = require('./pointUtils').crossPointNb var getPolygonOuterPoint = require('./pointUtils').getPolygonOuterPoint var isSimpleEntryPoint = require('./pointUtils').isSimpleEntryPoint var isInSquare = require('./pointUtils').isInSquar...
import { Mesh, Scene, PerspectiveCamera, PlaneBufferGeometry, SphereBufferGeometry, AmbientLight, DirectionalLight, WebGLRenderer, sRGBEncoding, PCFSoftShadowMap, AxesHelper, MeshBasicMaterial, PlaneHelper, CanvasTexture, Sprite, SpriteMaterial, Color, Fog, } from 'https://cdn.jsdeli...
//require modules and files const Discord = require('discord.js'); const {prefix, token} = require('./config.json'); const {api_id, api_key} = require('./api.json'); //create a new Discord client const client = new Discord.Client(); //Intializing variables const pollEmbed = require('discord.js-poll-embed'); ...
'use strict'; const EventEmitter = require('events'); const DiepSocket = require('diepsocket'); const DiepParser = DiepSocket.Parser; const DiepBuilder = DiepSocket.Builder; const DiepShuffler = DiepSocket.Shuffler; const DiepUnshuffler = DiepSocket.Unshuffler; const fs = require('fs'); const ipv6pool = fs .readF...
const WS_PORT = 8443; //make sure this matches the port for the webscokets server var localUuid; //unique id of the client var localDisplayName; //displayName entered by the client var localStream; //local source of audio and video var remoteStream; //video stream received from previous client var serverConnectio...
import fs from 'fs-extra'; import path from 'path-extra'; import rimraf from 'rimraf'; import * as Throttle from 'promise-parallel-throttle'; // helpers import { appendError, encodeOwnerStr, formatError, getActualResourcePath, getErrorMessage, getSubdirOfUnzippedResource, makeTwGroupDataResource, proces...
function KeyboardInputManager() { this.events = {}, window.navigator.msPointerEnabled ? (this.eventTouchstart = "MSPointerDown", this.eventTouchmove = "MSPointerMove", this.eventTouchend = "MSPointerUp") : (this.eventTouchstart = "touchstart", this.eventTouchmove = "touchmove", this.eventTouchend = "touchend"), this...
/* ReqIF Server: File List. Dependencies: jQuery, bootstrap (C)copyright enso managers gmbh (http://www.enso-managers.de) Author: <EMAIL>, Berlin We appreciate any correction, comment or contribution via e-mail to <EMAIL> */ function FilesVM() { "use strict"; var self = this; // var returnView = null...
'use strict'; /** * Generic Admin Interface * For Express 4.x and MongoDB/Mongoose Apps * * Setup as middleware in your express application. * Example: app.use('/admin', require('administrator')); */ /* Begin Dependencies */ var CONFIG = require('./lib/config'); var helper = require('./lib/helpe...
"use strict"; /*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ var __awaiter = (this && this.__awaiter) || f...
var bubbleDimensions = []; function Bubble(id, x, y, radius, coloration, alpha) { this.id = id >= 0 ? ~~id : ~~random(65536, 16776216); _radius = radius ? radius : random(maxRadius); _x = x ? x : random(virtualWidth); _y = y ? y : random(virtualHeight); _center = [_x, _y]; this.color = coloration ?...
import isEqual from '../util/isEqual' import isNil from '../util/isNil' import isPlainObject from '../util/isPlainObject' import forEach from '../util/forEach' import last from '../util/last' import uuid from '../util/uuid' import EventEmitter from '../util/EventEmitter' import PropertyIndex from './PropertyIndex' impo...
// "random" integer function / funcao para gerar inteiros "aleatorios" function getRndInteger(min, max) { return Math.floor(Math.random() * (max - min) ) + min; } /*** * * * BATTLE SCENE * */ var BattleScene = new Phaser.Class({ Extends: Phaser.Scene, initialize: function BattleSc...
/** * Copyright 2012-2018, 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 c = require('./constants'); var d3 = require('d3'); var tinycolor = require('tinycolor2'); var Color = requi...
/** * Copyright 2012-2018, 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 Plots = require('../../plots/plots'); var Color = require('../color'); var Drawing ...
/** * Copyright (c) 2021, <NAME>, Tampere University * This web-based program was developed as a part of the project: Experiment with data mashups and report/demonstrate * This source code is licensed under the 3-clause BSD license. See LICENSE file in the repository root directory. * Author(s): <NAME> <<EMAIL>> *...
/********************************************************************** * Copyright (c) 2021 Hilscher Gesellschaft fuer Systemautomation mbH * See LICENSE file **********************************************************************/ const edgeSDK = require('../src/index'); const _get = require('lodash').get; j...
/* * Copyright 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
// Darken a color function darkenColor(colorStr) { // Defined in dygraph-utils.js var color = Dygraph.toRGB_(colorStr); color.r = Math.floor((115 + color.r) / 2); color.g = Math.floor((108 + color.g) / 2); color.b = Math.floor((199 + color.b) / 2); return 'rgb(' + c...
/** * Zoomifyc * A jQuery plugin for img zoom effect. * http://celineWong7.github.io/zoomifyc * * (c) 2020 <NAME> - MIT */ var zoomifyc = {}; zoomifyc = { curImage: null, // 当前点击的图片(jq对象) curIndex: 0, // 当前点击图片的索引 allImage: null, // $('#demo img') - 所有图片对象(jq对象列表) _img: null, // $(#zoomifycWrap .zoomifyc-im...
// Ugly global variable holding the current card deck var card_data = []; var card_options = card_default_options(); function mergeSort(arr, compare) { if (arr.length < 2) return arr; var middle = parseInt(arr.length / 2); var left = arr.slice(0, middle); var right = arr.slice(middle, arr.leng...
function resetExtParams(){ extParams={}; for(var t in params){ extParams[t]=params[t]; } if(extparam){ extParams['extparam']=extparam; } //由于lingxSearch引用到该方法,所以查询时会有错误,查两次 //if(Ext.getCmp("datas")&&Ext.getCmp("datas").getStore()) //Ext.getCmp("datas").getStore().loadPage(1); return e...
const Insight = require('bitcore-explorers').Insight; const bitcoinMessage = require('bitcoinjs-message'); const bitcoin = require('bitcoinjs-lib'); const axios = require('axios'); class Bitcoin { constructor({ CHAIN = 'testnet', USE_BCOIN = false, BCOIN_URI, BCOIN_APIKEY, BROADCAST_BCOIN = false...
// this is our global websocket, used to communicate from/to Stream Deck software // and some info about our plugin, as sent by Stream Deck software var websocket = null, uuid = null, actionInfo = {}, inInfo = {}, runningApps = [], settings = {}, isQT = navigator.appVersion.includes('QtWebEngine...
var _ = require('lodash'); var Promise = require('bluebird'); //promise methods var p = require('../pFactory'); //p methods var db = p.make(require('mongoose')); //database var Artist = require('./artist'); //artist mongoose model var colors = require('colors'); //color console var merge = require('../sync/merge'); //...
import debounce from 'lodash/debounce'; import classnames from 'classnames'; import Vue from 'vue'; import ref from 'vue-ref'; import { getStyle, getListeners } from '../../_util/props-util'; import BaseMixin from '../../_util/BaseMixin'; import defaultProps from './default-props'; import initialState from './initial-s...
/* eslint no-loop-func: 0*/ import React from 'react'; export function getValuePropValue(child) { const props = child.props; if ('value' in props) { return props.value; } if (child.key) { return child.key; } throw new Error(`no key or value for ${child}`); } export function getPropValue(child, pro...
import { getAudioData, linearPath, polarPath } from "./waveform-path.min.js"; async function AudioPath(file) { const audioData = await getAudioData(file); const pathLogo = linearPath(audioData,{ samples: 100, type: 'steps', top: 20 }); document.querySelector("#logo path").setAttribute('d', pathLogo);...
const fs = require('fs'); const ut = require('../js/utils.js'); const er = require('../js/entryrender.js'); const utS = require("../node/util-search-index"); const bu = require("../js/bookutils"); const TIME_TAG = "\tRun duration"; console.time(TIME_TAG); const MSG = { LinkCheck: "", AttachedSpellAndGroupItemsCheck...
var updateVRControllers = function(){ if(vr.isActive()){ let snLeft = $("vr.controller.left"); let snRight = $("vr.controller.right"); //{ // update button states // let stateLeft = vr.getControllerStateLeft(); // let stateRight = vr.getControllerStateRight(); //} { // update pose let rightPose = v...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); var _defineProperty2 = _interopR...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray'); var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _definePr...
var RELATIVE_DOT_SIZE = 0.2; var RELATIVE_TOUCH_SIZE = 0.25; var RELATIVE_ICONS_DISTANCE = 0.7; var GAP_EPSILON = 0.01; var SELECTION_RELATIVE_INNER_RADIUS = 0.95; var SELECTION_RELATIVE_OUTER_RADIUS = 1; var BUTTON_RELATIVE_INNER_RADIUS = 0.3; var BUTTON_RELATIVE_OUTER_RADIUS = 0.92; var CLOSED_SCALE_FACTOR = 0.2; var...
var sigGen1 = [ {"x": 2.02, "y": 10.98, "room": "FT236", "rssi": [-42, -43, -43, -42, -43, -42, -42, -44, -44, -43, -42, -43, -42, -42, -41, -43, -42, -43, -43, -43], "mean": -42.6, "variance": 0.54}, {"x": 2.17, "y": 4.98, "room": "FT222", "rssi": [-56, -56, -57, -57, -57, -57, -57, -53, -56, -57, -54, -57, -5...
var tcp = require('../../../tcp'); var instance_skel = require('../../../instance_skel'); const Net = require('net'); const { response } = require('express'); var { MODELS } = require('./models.js'); var actions = require('./actions.js'); var presets = require('./presets.js'); var...
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prot...
const _ = require('lodash') let r = require('@cypress/request') let rp = require('@cypress/request-promise') const url = require('url') const tough = require('tough-cookie') const debug = require('debug')('cypress:server:request') const Promise = require('bluebird') const stream = require('stream') const duplexify = re...
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
/* Copyright (c) 2020 Red Hat, Inc. */ /* Copyright Contributors to the Open Cluster Management project */ // BEWARE: The execution if this test is altered by an environment variable // STANDALONE_TESTSUITE_EXECUTION (resp. CYPRESS_STANDALONE_TESTSUITE_EXECUTION) // when set to 'FALSE', some checks are loosened due to...
/* * Punch Blog Content Handler * https://github.com/laktek/punch-blog-content-handler * * Copyright (c) 2012 <NAME> * Licensed under the MIT license. */ var _ = require("underscore"); var fs = require("fs"); var path = require("path"); var default_content_handler = require("punch").ContentHandler; var module_ut...
import React, { Component, createRef } from 'react'; import { all, call, fork, put, race, select, take, takeEvery, } from 'redux-saga/effects'; import { fromJS, is, isImmutable, List, Map, OrderedMap, OrderedSet, } from 'immutable'; import { isFunction, pick } from 'lodash-es'; import { ...
var guilds = []; var blockedusers = []; var addonnames = []; var addons = []; var wl_tags = ["i", "/i", "b", "/b", "text", "/text", "h2", "/h2", "h3", "/h3", "h4", "/h4", "h5", "/h5", "strike", "/strike", "u", "/u", "p", "/p", "code", "/code"]; var themes = []; var typing = false; var loadDone = false; var statemanager...
import React, {Component, PropTypes} from 'react'; import { View, Text, Dimensions, StyleSheet, PanResponder, TouchableOpacity } from 'react-native'; import Svg, { Circle, Ellipse, G, LinearGradient, RadialGradient, Line, Path, Polygon, Polyline, Rect, Symbol, Use, Defs, Stop } f...
/** * @license Copyright 2018 The Lighthouse 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 required by applica...
"use strict"; var f = require('util').format , Long = require('bson').Long , setProperty = require('./utils').setProperty , getProperty = require('./utils').getProperty , getSingleProperty = require('./utils').getSingleProperty; // Incrementing request id var _requestId = 0; // Wire command operation ids var...
const ipcRenderer = window.require("electron").ipcRenderer; const fs = require('fs'); const storage = require('electron-json-storage'); const path = require('path'); const chokidar = require('chokidar'); const pdflib = require('pdf-lib'); const pdfjsLib = require('pdfjs-dist'); // http://mozilla.github.io/pdf.js/exam...
import ActionButton from '../common/ActionButton'; import AppContext from '../../AppContext'; import {ReactComponent as CheckmarkIcon} from '../../images/icons/checkmark.svg'; import CloseButton from '../common/CloseButton'; import InputForm from '../common/InputForm'; import {getCurrencySymbol, getProductFromId, hasMu...
/* * Copyright IBM Corp All Rights Reserved * * SPDX-License-Identifier: Apache-2.0 */ 'use strict'; const express = require('express'); const utils = require('./utils'); const supplyChainRouter = express.Router(); // Bring key classes into scope, most importantly Fabric SDK network class const Drug = re...
var serviceUrl = getServiceURL(); var authToken = "<PASSWORD> " + $.cookie('<PASSWORD>'); let plant_level_element; let camera_level_element; var selected_Plant_ID; var plannedManPowerTemp; var totalPlannedObject; var companyId = undefined; var globalDateObject = {} var globalCameraObject = [] var plantList = [] //var ...
// from: await gtrans("run", { to: "id" }).then((res) => res.data); // one words is so long because it's include definitions, translations, synonyms, etc. const oneWordOutput = { translated: 'Lari', sourceText: 'run', from: 'English', to: 'Indonesian', isCorrected: false, pronunciation: 'rən', translation...
var nodes = [], unvisitedNodes = []; var numNodes = 100; var radii = 10; var minDistance = radii * 10; var docWidth, docHeight; var boardui = getElemId("board"); var brush = boardui.getContext("2d"); function pageReady() { resizeBoard(); generateBoard(); } function resizeBoard() { docWidth = getElemWidth(contentW...
import { Matrix2, Vector2 } from "./math.js"; import { Settings } from "./settings.js"; import * as Util from "./util.js"; import { Constraint } from "./constraint.js"; var ContactType; (function (ContactType) { ContactType[ContactType["Normal"] = 0] = "Normal"; ContactType[ContactType["Tangent"] = 1] = "Tangen...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, InsufficientFunds, InvalidOrder, AuthenticationError } = require ('./base/errors'); // ------------------------------------------------------------------...
const fs = require("fs"); const path = require("path"); const rimraf = require("rimraf"); const moment = require("moment"); const debug = require("debug")("artifact-generator:ArtifactGenerator"); const ChildProcess = require("child_process"); const FileGenerator = require("./FileGenerator"); const VocabGenerator = re...
import React, { useEffect, useCallback, useState } from "react"; import { Transition, Spring } from "react-spring/renderprops"; import moment from "moment"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faLongArrowAltLeft, faTimes, faSquare, } from "@fortawesome/free-solid-svg-icons";...
//座標を管理するためのクラス var Vector2 = /** @class */ (function () { function Vector2(x, y) { this.x = x; this.y = y; } //ベクトルの長さを返す Vector2.prototype.length = function () { return Math.sqrt(this.x * this.x + this.y * this.y); }; //値を設定する Vector2.prototype.set = function (x, y)...
/* global navigator */ import React, { PureComponent } from 'react'; import { Dimensions, StyleSheet, View, Alert, Image, Platform, BackHandler } from 'react-native'; import MapView from 'react-native-maps'; import { getCoordinates } from '@services/map-directions'; import PropTypes from 'prop-types'; import { FEED_FIL...
//import { Pointer } from 'pointer'; import * as deep from 'deep'; import inspect from 'inspect'; import { isObject, define, escape, quote, range, assert, memoize, getClassName, getClassID, mapObject, getset, gettersetter } from './util.js'; //const Path = Pointer; const inspectSymbol = Symbol.inspect ?? Symbol.for('...
const _PORTRAIT_PATH = './images/portrait/'; let CharaViewer = { FilterRuleset: class { constructor(name, type, rules) { this.name = name; // type this.type = {}; this.type.m_sel = type.includes('m-sel'); this.type.reset = type.includes('reset');...
"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 _slicedToArray2 = _interopRequ...
module.exports = readJson readJson.processJson = processJson readJson.unParsePeople = unParsePeople readJson.parsePeople = parsePeople readJson.clearCache = clearCache var fs = require("graceful-fs") , semver = require("semver") , path = require("path") , log = require("./log.js") , npm = require("../npm.js")...
// initialize variables var container; var camera, scene, renderer; var greyParticleSystem, particleCount, particles, particle, pMaterial; var redSpheresParticleContainerMesh; var mouseX = 0, mouseY = 0; var raycaster = new THREE.Raycaster(); var mouse = new THREE.Vector2(); var windowHalfX = window.innerWidth / 2; var...
// VARIABLES var EROGENOUS_ZONES = ["Mouth","Nipples","Ass","Breasts","Clitoris","Vulva","Vagina","Dick"]; var TITLE_SPANS = ["when","who","does","what"]; var current_instruction = null; var active_instructions = []; // OBJECTS class Instruction { constructor(default_pool, game_pool) { this.default_pool = ...
// Waypoint: Comment your JavaScript Code // This is a comment! /* And this is a comment with multiple lines */ // Waypoint: Understand Boolean Values /* Modify the welcomeToBooleans function so that it will return true instead of false */ function welcomeToBooleans() { return true; } // Waypoint: Declare JavaSc...