text
stringlengths
8.5k
48.7k
/* Copyright (c) 2009, www.redips.net All rights reserved. Code licensed under the BSD License: http://www.redips.net/license/ http://www.redips.net/javascript/drag-and-drop-table-content/ version 1.3.3 Jul 15, 2009. */ // parameters that can be changed var hover_color = '#E7AB83'; // define hover color var ...
// The MIT License (MIT) // Copyright (c) 2013 <NAME> import enamdict from "enamdict" import hepburn from "hepburn" import "bulk-replace" // Thanks to <NAME>! // https://twitter.com/jedschmidt/status/368179809551388672 // https://ja.wikipedia.org/wiki/%E5%A4%A7%E5%AD%97_(%E6%95%B0%E5%AD%97) var generations = [ /...
const THREE = require('three'); const _ = require('../../../lodash'); const Text = require('../objects/Text'); const Vectors = require('../objects/Vectors'); const MeshLine = require('../helpers/THREE.MeshLine')(THREE); const { viewModes } = require('../../../core/lib/viewMode'); const { pow10ceil } = require('../../.....
// Copyright 2018 Hewlett Packard Enterprise Development LP // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy,...
/* Textile Editor v0.2 (ZIP Version) created by: <NAME>, wvu web services updated on: october 1, 2007 created on: march 17, 2007 project page: slateinfo.blogs.wvu.edu inspired by: - <NAME>, http://www.hakjoon.com/code/38/textile-quicktags-redirect & - <NAME>, http://alexking.org/projects/js-quicktags features: ...
import EventEmitter from 'events'; import intersection from 'lodash/intersection'; import { proxyValue } from 'comlinkjs'; import crypto from 'crypto'; import { status } from '@grpc/grpc-js'; import LndGrpc from '@ln-juggernaut/lnd-grpc'; import { grpcLog } from '../../utils/log'; import errors from '../../renderer/con...
import _isFunction from 'lodash/isFunction'; import _sumBy from 'lodash/sumBy'; import _min from 'lodash/min'; import _maxBy from 'lodash/maxBy'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descr...
/* STM32 F103 serial bus seems to properly initialize with quite a huge auto-baud range From 921600 down to 1200, i don't recommend getting any lower then that Official "specs" are from 115200 to 1200 popular choices - 921600, 460800, 256000, 230400, 153600, 128000, 115200, 57600, 38400, 28800, 19200 *...
// set this up first, so we can use 127.0.0.1 as our "hosted git" service const httpPort = 18000 + (+process.env.TAP_CHILD_ID || 0) const hostedUrl = `http://localhost:${httpPort}` const ghi = require('hosted-git-info/git-host-info.js') const gitPort = 12345 + (+process.env.TAP_CHILD_ID || 0) ghi.localhost = { proto...
const BASE_URL = $('meta[name="baseUrl"]').attr("content"), ADMIN_PATH = BASE_URL + $('meta[name="adminPath"]').attr("content"), API_PATH = BASE_URL + $('meta[name="apiPath"]').attr("content") + "/", TOKEN = $('meta[name="_token"]').attr("content"), USERNAME = $('meta[name="username"]').attr("content"), USERID = $...
import mxgraph from './index'; import _ from 'lodash'; const { mxGraph, mxVertexHandler, mxConstants, mxCellState, mxPerimeter, mxCellEditor, mxGraphHandler, mxEvent, mxEdgeHandler, mxShape, mxConnectionConstraint, mxPoint, mxEventObject, mxCodec, mxUtils, ...
/** * Extracted from: * http://bl.ocks.org/milkbread/11000965#geometricFunctions.js */ var CHARTMAP = CHARTMAP || {}; CHARTMAP.geometricFunctions = { getIntersections: function (a, b, c) { // Calculate the euclidean distance between a & b eDistAtoB = Math.sqrt(Math.pow(b[0] - a[0], 2) + Math.pow(b[1] - a[1...
function DayEventRenderer() { var t = this; // exports t.renderDayEvents = renderDayEvents; t.draggableDayEvent = draggableDayEvent; // made public so that subclasses can override t.resizableDayEvent = resizableDayEvent; // " // imports var opt = t.opt; var trigger = t.trigger; var isEventDraggable = t...
// package const { Conflux, Drip } = require('./js-conflux-sdk-master/src'); const BN = require('bignumber.js') const util = require('util'); const lodash = require('lodash'); const path = require("path"); const fs = require("fs"); // cfx const cfx = new Conflux({ url: "http://main.confluxrpc.org", defaultGas...
const Marching = require( 'marching' ) let Gibber = null, storepos, storedir, storerot const excludeFromSequencing = ['material'] const Graphics = { defs: require('../defs/graphics.js'), canvas:null, ctx:null, quality:3, animate:true, camera:null, initialized: false, __doNotExport: ['export', 'init',...
import { createElement } from '../utils/elements'; import { once } from '../utils/events'; import fetch from '../utils/fetch'; import is from '../utils/is'; import { formatTime } from '../utils/time'; // Arg: vttDataString example: "WEBVTT\n\n1\n00:00:05.000 --> 00:00:10.000\n1080p-00001.jpg" const parseVt...
var sf = require('./index'); // 60*60*24*365 const format0 = 'S'; const format1 = 'SS'; const format2 = 'M:S'; const format3 = '-M:SS'; const format4 = 'MM:SS'; const format5 = 'H:MM:SS'; const format6 = 'HH:MM:SS'; const format7 = 'D:HH:MM:SS'; const format8 = 'DD:HH:MM:SS'; const format9 = '-N:DD:HH:MM:SS'; const fo...
/*jsyaml is a global variable defined in js-yaml.min.js*/ var STARTING_HAND_SIZE = 6; var o1,o2,o3,t1,t2,t3; //deck handles var destruction; var allDecks; var crewCards; var tasks; var blairSaucer; var thousandMilesToCoast; var player1Hand, player2Hand, thingHand; var allHands; var encounterDeck; //these are pretty m...
/** * Configure SVG to display beadplots */ var marginB = {top: 50, right: 10, bottom: 50, left: 10}, widthB = 550 - marginB.left - marginB.right, heightB = 1000 - marginB.top - marginB.bottom; // set up plotting scales var xValueB = function(d) { return d.x }, xValue1B = function(d) { return d.x1; }, x...
/** * Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved. * * 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...
/// <reference path="log.js" /> /// <reference path="database.js" /> /// <reference path="eventEmitter.js" /> var firstLaunch = true; var mainWindowId = null; var gameDetector = null; function openWindow(event, originEvent) { if (event) { log("WINDOW", "Got launch event: ", event); } if ( event && ...
import OrbitControls from './_OrbitControl'; import {MeshLine, MeshLineMaterial} from './_MeshLines'; import * as THREE from 'three'; import {points as globepoints} from './_Points'; /* VARIABLES */ var canvas, scene, renderer, data, globe; // Cache DOM selectors var container = document.getElementsByClassName('j...
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { connect } from 'react-redux'; import _ from 'lodash-es'; import queryString from 'query-string'; import { bindActionCreators } from 'redux'; import { DropdownButton, EmptyState, Icon, MenuItem } from 'patternfly...
// This file is required by the index.html file and will // be executed in the renderer process for that window. // All of the Node.js APIs are available in this process. var fs = require('fs'); var ipcRenderer = require('electron').ipcRenderer; var metricTypes = {'s3':[{val:"AR", name:"All Requests"},{val:"GR", name:...
// import React, { Component, PropTypes } from 'react'; // import { // Animated, // Dimensions, // Image, // LayoutAnimation, // PanResponder, // StyleSheet, // Text, // TouchableHighlight, // TouchableWithoutFeedback, // View // } from 'react-native'; // import { defaultStyles } from './styles'; //...
/** TODO: store game state so it can be picked up later */ /** TOTO: for Safari find a way to use local storage without setting the Develop menu item */ /** TODO: keep time records for each player */ /** TODO: work on better outcome for double clicking cards */ // DONE RES 5/15/18 /** TODO: work on touch device logic,...
/** * * ©2016-2017 EdgeVerve Systems Limited (a fully owned Infosys subsidiary), * Bangalore, India. All Rights Reserved. * */ /** * Implementation of Process-State-Delta * @author <NAME>(kangan06), <NAME>(mandeep6ill), <NAME>(premsai-ch), <NAME>(vivekmittal07) */ var logger = require('oe-logger'); var log = l...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var base_1 = require("../base"); var version_1 = require("../version"); var logging_1 = require("../core/logging"); var bokeh_events_1 = require("../core/bokeh_events"); var has_props_1 = require("../core/has_pr...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var liquidjsLib = require('liquidjs-lib'); var proto = require('tdex-protobuf/js/swap_pb'); var JSBI = _interopDefault(requir...
var camera, orthographicCamera, perspectiveCamera2, perspectiveCamera3, scene, renderer; var scale = 3; var clock; var near = 1, far = 10000 * scale; var camera1, camera2, camera3; var ballRadius = 5 * scale; var stickLength = 80 * scale; var stickSmallRadius = 0.9 * scale, stickBigRadius = 3 * scale; var tableHoleRadi...
const { COMMON, ODATA } = require('../../common/constants/annotation') const { isDraftEnabled } = require('../../common/utils/draft') const getError = require('../util/getError') const { all } = require('../util/thenable') const { events: { MOD } } = require('./utils/constants') // Service hooks and generic handle...
var skillTree; function populateSkillTree () { function getSkillTree() { return [ [special('copy', 4), enchant(5), speed(.5, 3), health(500, 3), damage(30, 6), health(500, 5), enchant(6), special('care', 1), health(500, 3), speed(.5, 7), dama...
//$('.b-row2', '.main-page').fadeOut(0); $(document).ready(function () { function scrollButton() { var chat_scroll = $('.tab-content-wrapper'); if ($('.msg-item').length > 11) { chat_scroll.scrollTop(chat_scroll.prop('scrollHeight')); } } setTimeout(function () { ...
// Prevent accidental page leave --------------------------------------------------------------------------------------------- saveTopicButton = false; editMode = false; // Confirm page leave window.onbeforeunload = function() { if (!saveTopicButton && editMode) { // If no errors and leaving page without saving butt...
/* Copyright 2018 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. */ 'use strict'; import './column-head.js'; import './cp-checkbox.js'; import './expand-button.js'; import './scalar-span.js'; import '@polymer/polymer/li...
var getRandomColor = function() { //source: http://stackoverflow.com/questions/1484506/random-color-generator-in-javascript return '#' + Math.random().toString(16).substr(-6); }; var getRandomColor = function() { return "rgb("+Math.round(Math.random()*255)+","+Math.round(Math.random()*255)+","+Math.round(Math.random...
$(function () { var $tab_li = $('.p1-section4_header a'); var aDiv = $('.p1-section4-inner'); $tab_li.hover(function () { $(this).addClass('curt').siblings().removeClass('curt'); var index = $tab_li.index(this); aDiv.eq(index).show().siblings().hide(); }); }); //商...
/** * 首页 * @author Carmen */ $(function () { //tab 切换; $('.view_line strong').click(function(){ location.href='http://www.mywb.com/index.php/Index/index/type/'+$(this).attr('type')+'.html' }) /** * 上传微博图片 */ $('#picture').uploadify({ swf : PUBLIC + '/Uploadify/uploadify.swf', //引入Uploadify核心Flash文件 up...
/* Spellcast Copyright (c) 2014 - 2020 <NAME> The MIT License (MIT) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
/*! * jGauge v0.3.0 Alpha 3 * http://www.jgauge.com/ * Date: 03 March 2011 * * Copyright 2010-2011, <NAME> * Licensed under the MIT license * http://www.jgauge.com/#licence */ /* * CHANGE LOG: VERSION 0.3.0 ALPHA 3: * ==================================== * * - Added automatic 'SI/binary prefix' option fo...
/* MIT License Copyright (c) 2020 <NAME> https://github.com/virtualvivek/Windows10-framework Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
/** * \file PnlIdecScfConn.js * web client functionality for panel PnlIdecScfConn * \author <NAME> * \date created: 30 Dec 2017 * \date modified: 30 Dec 2017 */ // IP cust --- IBEGIN function refreshLive() { if (retrieveSi(srcdoc, "StatShrIdecScfConn", "srefIxIdecVExpstate") != "regd") return; refreshCs...
const audioCtx = new (window.AudioContext || window.webkitAudioContext)(); const freqs = [500, 450, 400, 375, 333.33333, 300]; var svg; var rowArr = [[1,2,3],[1,2,3],[2,1,3],[2,3,1],[3,2,1],[3,1,2],[1,3,2],[1,2,3]]; var rownum = 0; var place = -1; var viewy = 0; var numbells = 3; var gutter = 200; var leftstart = 365; ...
class mouseState { constructor() { this.x0 = 0; this.y0 = 0; this.x = 0; this.y = 0; this.leftButton = false; this.rightButton = false; } updateXY( posOrig, pos ) { this.x0 = posOrig[ 0 ]; this.y1 = posOrig[ 1 ]; this.x = pos[ 0 ]; this.y = pos[ 1 ]; } resetButtons() { this.leftButto...
var jsynchronous; function jsynchronousSetup() { var TYPE_ENCODINGS = [ 'array', 'object', 'number', 'string', 'boolean', 'undefined', 'null', 'empty', 'bigint', 'function' ] var OP_ENCODINGS = [ 'initial', 'changes', 'set', 'delete', 'new', 'end',...
// Various tools for parsing LLVM. Utilities of various sorts, that are // specific to Emscripten (and hence not in utility.js). // Does simple 'macro' substitution, using Django-like syntax, // {{{ code }}} will be replaced with |eval(code)|. function processMacros(text) { return text.replace(/{{{[^}]+}}}/g, functi...
//客服 var show_kflist_timer; var kf_isshow= false; function show_kflist() { if(kf_isshow) { $(".kf_list").hide(); kf_isshow = false; clearTimeout(show_kflist_timer); } else{ $('.kf_list').show(); kf_isshow = true; show_kflist_timer = setTimeout(function () { ...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //----------------------------...
/*Author: <NAME>*/ window.onload = initialize; //all the features of the database: feature name, type, and table let features; //total number of entries in astronauts table let maxAstronauts; //total number of entries in missions table let maxMissions; let currentFeatHTML; let currentTextFeatHTML; let currentNumFeatHT...
'use strict'; var svg, brush, games, x2, tot_data; function adjustToLast(ms) { var now = new Date(); if (now - ms < tot_data[0].date) { openBrush({clearAtEnd: true}); } else { adjustBrush(now - ms, now); } } function adjustBrush(left, right, duration, clear){ /** * Adjusts brush with anima...
import React, {useCallback, useState, useRef, useEffect} from 'react'; import * as actions from '../../../store/actions/index'; import { useDispatch, useSelector} from 'react-redux'; import Layout from '../../../components/layout'; import Spinner from 'react-spinner-material'; import Modal from '../../../components/UI/...
// Link footer to GitHub document.querySelector("#footer").addEventListener("click", (event) => { window.open("https://github.com/mochatek", "_blank"); }); // DOM element reference const personName = document.querySelector("#personName"); const teamA = document.querySelector("#teamA"); const teamB = document.querySe...
'use strict'; const SSE = {}; const nvNS = 'http://nvidia.com/drive/architect'; const svgNS = 'http://www.w3.org/2000/svg'; SSE.Editor = function(svg, scxmlDoc) { this.svg = svg; this.shadows = make('g', {_dad:svg, id:'shadows'}), this.content = make('g', {_dad:svg, id:'content'}), th...
import { templateSettings, template } from "lodash" import moment from "moment" let _dps = { createForm: ` // createForm client(); set("owner") <?javascript $scope.form = { metadata: $scope.form.metadata, confi...
var navListItems; var allWells; var allNextBtn; var allPrevBtn; $(document).ready(function() { navListItems = $('div.setup-panel div a'); allWells = $('.setup-content'); allNextBtn = $('.nextBtn'); allPrevBtn = $('.prevBtn'); allWells.hide(); $('#applicant_and_organisation_details').show();...
/******************************************************************** * Zorbio Game.js this is the games main bootstrap and event handler ********************************************************************/ // ESLint global declarations: https://eslint.org/docs/rules/no-undef /* global config:true, ZOR:true, UTIL...
import React from 'react' import PropTypes from 'prop-types' import { Button, Card, Icon, Loader, Modal, Popup, Label, Statistic, Table, Tab, Segment, Dropdown, Form, Input, Menu, Header } from 'semantic-ui-react' import { UserStorageQuery, UserStorageMutation, NerdGraphQuery, AccountStorageQuery, Spinner, Link, Toolti...
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; function _invoke(body, then) { v...
/* 编程伴侣(HBuilderX插件) 作者:ezshine 此插件的创意来源是VSCode的彩虹屁插件(感谢感谢),兼容彩虹屁插件的语音包。 在本插件中,播放音频采用系统自带的命令,无需打开浏览器。 未来希望扩展为不仅仅只有彩虹屁功能,而是一个真正的编程伴侣。 */ const hx = require("hbuilderx"); const http = require('http'); const unzip = require("unzip"); const { exec } = require('child_process'); const fs = require('fs'); ...
// JavaScript Document //Here is the text that goes on the first page of the application, the one presented by running the HTM. var Title="Analysis of Variance (ANOVA)"; var Authors="<b>Statistics</b><br><NAME> and <NAME>, Emory University<br>"+ "<br>"+ "<b>Interface</b><br>"+ "<NAME>, EpiInformatics.com, "+ ...
import React from 'react' import { st } from './Style.js' import { Canvas, Img } from './Canvas.js' import { Square, Move, Game, GameNode } from './Chess.js' import { Vect, getStyle, UID } from './Utils.js' export const worker = new Worker('../src/worker/scalachessjs.js') export const workercallbacks = {} worker.addE...
'use strict'; const utils = require("../../utils.js"); const g_constants = require("../../constants.js"); const WebSocket = require('ws'); const wallet = require("./wallet"); const database = require("../../database"); let userOrders = {}; let allOrders = {}; function onError(req, res, message) { if (!res && req...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _extends2 = _interopRequireDef...
/** * @fileoverview Main CLI object. * @author <NAME> */ "use strict"; /* * The CLI object should *not* call process.exit() directly. It should only return * exit codes. This allows other programs to use the CLI object and still control * when the program exits. */ //------------------------------------------...
'use strict'; const attribRecord = require('./attribRecord.js')(); const shared = require('./shared.js')(); const placeholderFC = require('./placeholderFC.js')(); const layerInterface = require('./layerInterface.js')(); const dynamicFC = require('./dynamicFC.js')(); const attribFC = require('./attribFC.js')(); /** *...
const basePath = "http://localhost:9401"; const measureFrequencyStart = 20; let measureFrequencyStop = 20000; const avgLimit = 100; const maxTimeData = 0.3; // Seconds - to avoid extreme slowdown of the browser let run = false; let currentRequests = 0; let thdAvgLeft = []; let thdAvgRight = []; let thdNAvgLeft = []; ...
'use strict' const TIMEOUT = 60000 // Kodi doesn't like requests > 1024 bytes let LIMIT_WEBSOCKET = 1024 const jskodi = {} jskodi.imageencode = image_url => image_url.startswith('image://') ? image_url : 'image://' + encodeURIComponent(image_url) + '/' jskodi.imagedecode = image_url => image_url.startswith('image...
'use strict'; const Base = require('../structures/Base'); /** * Represents an command framework command * @prop {Array<String>} aliases An array of command aliases * @prop {Boolean} argsRequired If arguments are required or not * @prop {Boolean} caseInsensitive Whether the command label (and aliases) is case insensit...
Blockly.Themes.Halloween = Blockly.Theme.defineTheme('halloween', { 'base': Blockly.Themes.Classic, 'categoryStyles': { 'list_category': { 'colour': "#7158e2" }, 'print_category': { 'colour': '#f0932b', }, 'loop_category': { 'colour': "#43A047", }, 'text_ca...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.dialogWrapper = dialogWrapper; exports.vueTemplate = vueTemplate; exports.vueScript = vueScript; exports.cssStyle = cssStyle; exports.makeUpHtml = makeUpHtml; var _ruleTrigger = require('./ruleTrigger'); var _ruleTrigger2 = _inter...
/**************************SETTINGS*****************************/ /* DESIGN AND DEVELOPED BY <NAME> SOFTWARE ENGINEER OPEN SOURCE DEVELOPER INDIA */ //Right Click Menu var rightClickMenuWidth = 190; var rightClickMenuHeight = 210; //Window Opener and White container inside it var defaultWindowWidth ...
import { forEach } from 'lodash' import { ccw, distance, getRadiusFromAngleChord, getVectorAngle, normalizeVector, pointAlongArc, rayIntersection } from '../util' /** * Edge */ let edgeId = 0 export default class Edge { /** * Initialize a new edge * @constructor * @param {Point[]} pointAr...
var common = require('./common.js'); var System = common.System; var VbrMode = common.VbrMode; var Float = common.Float; var ShortBlock = common.ShortBlock; var Util = common.Util; var Arrays = common.Arrays; var new_array_n = common.new_array_n; var new_byte = common.new_byte; var new_double = common.new_double; var n...
/* ================================================================================================================= * V1.0.0 - LTO_LPoSDistributor * * A fork of Plukkies version of the LPoSdistribution script for LTO.network (https://github.com/plukkie/WavesLPoSDistributer) * * Massive thank you to Rob / G1zm0 (...
/* global d3 */ function drawGauge(opt) { // Set defaults if not supplied if(typeof opt === 'undefined') {var opt={}} if(typeof opt.gaugeRadius === 'undefined') {opt.gaugeRadius=200} if(typeof opt.offsetX === 'undefined') {opt.offsetX=0} if(typeof opt.offse...
/* Share Space clipboard app for webOS. This app depends on a sharing service, which is hosted by webOS Archive at no cost for what remains of the webOS mobile community. You can also host the service yourself: http://www.github.com/codepoet80/sharing-service */ var refreshInt; function MainAssistant() { ...
$(document).ready(function () { Biblioteca.validacionGeneral('form-general'); $('.datepicker').datepicker({ language: "es", autoclose: true, todayHighlight: true }).datepicker("setDate"); }); function paso2(id,i){ $(".input-sm").val(''); $("#titulomodal").html("No Conformidad Id: " + id)...
import UISEvent from './UISEvent' import timing from './timing/timingjs' import { hook, unHook } from "./request-hook/ajax-hook"; import { proxy, unProxy } from "./request-hook/proxy-hook"; import * as Utils from './utils' const TYPES = { timing: "timing", device: "device", httpError: "httpError", htt...
"use strict"; /** * Copyright 2014 Google Inc. 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 req...
$(document).ready(function(){ $('.report-container')[0].ExecutionReport = ExecutionReport; if(global.executionData == null){ ExecutionReport.getReportData(); } else{ ExecutionReport.suiteFinished = true; ExecutionReport.netTime = global.executionData.net_elapsed_time; $("...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var addLocation = require('./add-location.vue.js'); var aim = require('./aim.vue.js'); var alarmClock = require('./alarm-clock.vue.js'); var apple = require('./apple.vue.js'); var arrowDownBold = require('./arrow-down-bold.vue.js'); var arro...
/** * This module contains code to service the PubNub chat and inter-app synchronization activities * using the PubNub set of services. */ const ETT_Tracker = require('../ethereum/ethereum-transaction-tracker').AppEventTrackerManager; const youtubeSupport = require('../../../common/youtube-api-support').YouTubeSu...
let board = document.getElementById("board"); let root = board.getRootNode(); let next = document.getElementById("next"); let nextNext = document.getElementById("next-next"); let scoreText = document.getElementById("score"); let stageText = document.getElementById("stage"); let startButton = document.getElementById("st...
const Testrail = require('testrail-api'); const _ = require('underscore'); const l = require('lodash'); const testrail = new Testrail({ host: process.env.trApiUrl, user: process.env.trApiUser, password: process.env.trApiKey, }); module.exports = { //================== NAME GENERATOR ================== get...
import {Layer, Stage, Text} from "react-konva"; import React, {Component} from "react"; import "./App.css"; import PangenomeSchematic from "./PangenomeSchematic"; import ComponentRect, {compress_visible_rows} from "./ComponentRect"; import ComponentNucleotides from "./ComponentNucleotides"; import LinkColumn from "./L...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, DuplicateOrderId, InvalidOrder, NetworkError, AuthenticationError, BadRequest, BadSymbol, InsufficientFunds, PermissionDenied } = require ('./base/errors')...
/** -------------- * THIS SITE NAME * -------------- */ var thisSite = 'tracking_unfulfillment'; /** +----------+ * | NAV MENU | * +----------+ * * DESCRIPTION: * Create site's Navigation Menu * */ setHeaderMenu(thisSite); /** ---------- * CONSTNACES * ---------- */ var ERROR_SHEE...
/* global performance */ module.exports = World; var Shape = require('../shapes/Shape'); var Vec3 = require('../math/Vec3'); var Quaternion = require('../math/Quaternion'); var GSSolver = require('../solver/GSSolver'); var Vec3Pool = require('../utils/Vec3Pool'); var ContactEquation = require('../equations/ContactEqu...
var saveTips = '可按“ctrl+s(Win)”或“cmd+s(Mac)”保存'; //保存设置 function saveSettings(method){ $.ajax({ type: 'post', url: './settings/dispatch.php?func='+method, data: $('.cloud-setting').serialize(), dataType: 'json', success: function (response){ if(response.code==0){ //显示保存成功提示 $('.show-save-tip .sho...
/* global $, tournament, tournamentRounds, players, courses, courseTees, tees, roundId, moment, viewTab, csrf_token */ var tournamentTable; var addRowId = 0; var scorecardCourseId = 0; function updateScorecardRound(data) { var rowId = $(data).data('rowId'); var playerHCP = $('#hcp'+rowId).val(); va...
import * as Gbi from "../../../../../include/gbi" import { pss_seg7_texture_07000800 } from "../../../textures.inc.js" const pss_seg7_vertex_0700D3A8 = [ { pos: [ -6864, -3726, 2608 ], flag: 0, tc: [ 0, 0 ], color: [ 255, 85, 0, 255 ] }, { pos: [ -6864, -4340, 1994 ], flag: 0, tc: [ 990, 990 ], color: [ 255, 85, 0, ...
/* jshint -W097 */ /* jshint strict: false */ /* jslint node: true */ 'use strict'; // you have to require the utils module and call adapter function const utils = require('@iobroker/adapter-core'); // Get common adapter utils const adapterName = require('./package.json').name.split('.').pop(); const rfxcom ...
// File: rytreeview.htc // Description: Implements Dynamic Treeview (DynTree) //-------------------------------------------------------------------> function Treeframe(e){} Treeframe.prototype.elem; Treeframe.prototype.init=function(e){ this.elem=e; } function Dyntree(e){} Dyntree.prototype.TABLE; Dyntr...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
const Utils = require('../modules/utils.js'); const variables = Utils.variables; const fs = require('fs'); const Embed = Utils.Embed; const { findBestMatch } = require('string-similarity') const chalk = require("chalk"); const { userVariables } = require('../modules/utils.js'); const cooldowns = { coins: ...
var rawText var file var g = "#graphArea" var boring = false var varNum = 0 var selectedValue = 0 var newFile = true var selectedData = [] var fileExtension const graphWidth = (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) * .75; const graphHeight = (window.innerHeight|| docum...
const d3 = require('d3'); const _ = require('lodash'); const randomColor = require('randomcolor'); require('./d3_extension/keybinding'); require('./d3_extension/d3-tip.js'); import api from '../api/api.js'; import { prototype } from 'stream'; common.view = (function() { var width, height, container_div;...
import _ from 'lodash'; /* eslint-disable id-length, no-unused-vars */ import L from './libs/leaflet'; import {} from './libs/leaflet-markercluster/index'; /* eslint-disable id-length, no-unused-vars */ import { antPath } from './libs/leaflet-ant-path'; import './libs/leaflet-label'; /* eslint class-methods-use-this...
/* global cy Cypress:true */ /* eslint-disable no-await-in-loop */ // *********************************************************** // This example support/index.js is processed and // loaded automatically before your test files. // // This is a great place to put global configuration and // behavior that modifies Cypres...
//NWS Data Gather Functions async function runWeatherData(selectedLocation, isCurrentLocation, callback) { //This is the main function for data gathering from the NWS. var gatheredData = {}; if (isCurrentLocation) { await getCurrentLocation(async function (point) { gatheredData = { ...