text
stringlengths
5.97k
41.2k
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
function loadContent(root, suffix, currentPage) { let objects = JSON.parse(Get(root + "/rest/ships" + suffix).responseText); let shipsCount = Get(root + "/rest/ships/count" + suffix).responseText; document.getElementById("count").innerText = "Ships found: " + shipsCount; let table = document.getElement...
//Front End Client to DraqRogueOnline // thanks to medium.com/@folkertjanvanderpol tutorials on socket.io multiuser server apps //modified into the game by <NAME> (Draquix) console.log('client is connected to html'); const socket = io(); const chat = document.querySelector('.chat-form'); const chatInput = document.qu...
/** * @file */ require('loud-rejection/register'); require('exit-on-epipe'); const ra = require('run-anywhere').v2; const sg0 = ra.get3rdPartyLib('sg-argv'); const { _ } = sg0; const sg = sg0.merge(sg0, require('sg-exec'), require('sg-...
import * as tslib_1 from "tslib"; import { define, tools, eventsApi, EventMap, definitions, mixinRules, Mixable } from '../object-plus'; import { ItemsBehavior, transactionApi, Transactional } from '../transactions'; import { Record, SharedType, AggregatedType, createSharedTypeSpec } from '../record'; import { free, so...
'use strict'; const ResizeObserver = require('../../../thirdparty/resize-observer-polyfill/ResizeObserver.min.js'); // Required for Markup Text Input import { autosize } from './EditorTextAutosize' import { addTraitEventDispatcher } from '../MarkupsCoreUtils' import { cloneStyle } from '../StyleUtils' import { DomElem...
const default_config = { myself: [], host: '', reload_interval: 30, reload_chart_interval: 600, header_content_url: '', theme: 'default', available_themes: [ 'default', 'amelia', 'cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', ...
/// webannotorious.js by KANZAKI, Masahide. ver 1.18, 2018-05-01. MIT license. (function ($) { $.Viewer.prototype.annotator = function (osdv, options, myanno) { if (! this.antctrl || options) { options = options || { }; options.viewer = this; options.to...
import { Morph, config, Icon, GridLayout, StyleSheet, morph, InputLine } from 'lively.morphic'; import { Color, Rectangle, pt } from 'lively.graphics'; import { connect, disconnect } from 'lively.bindings'; import { Path } from 'lively.lang'; import { Button } from 'lively.components'; import { occurStartCommand } from...
"use strict"; const fs = require("fs"); const isEqual = require("lodash/isEqual"); const Tokenizer = require("./Tokenizer"); const Parser = require("./Parser"); const flip = require("../functions/flip"); const lowerCaseProp = require("../functions/lowerCaseProp"); const { TOKEN_TYPES } = Tokenizer; const hasProp = ...
/* * File: index.js * Project: @vnnox/novaui * Description: time select * Created: 2018-12-04 10:18 * Author: smohan (<EMAIL>) * ----- * Last Modified: 2019-03-26 02:09 * Modified By: smohan (<EMAIL>>) * ----- * Copyright 2019, NovaStar Tech Co., Ltd */ import Events from '../../utils/events' import templa...
// Generated by make_intl_data.py. DO NOT EDIT. // Mappings from complete tags to preferred values. // Derived from IANA Language Subtag Registry, file date 2013-01-25. // http://www.iana.org/assignments/language-subtag-registry var langTagMappings = { "art-lojban": "jbo", "cel-gaulish": "cel-gaulish", ...
'use strict'; //Dependencies const https = require('https'); const fs = require('fs'); const dns = require('dns'); const AWS = require('aws-sdk'); const log4js = require('log4js'); const dotenv = require('dotenv'); const isDocker = require('is-docker'); //Configure logging using log4js //Max log size is 10MB with rot...
/** * 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 isNumeric = require('fast-isnumeric'); var Lib = require('../../lib'); var Axes = require('../../plots/car...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("react-day-picker/lib/style.css"); var _plotlyIcons = require("plotly-icons"); var _dates = require("plotly.js/src/lib/dates"); var _reactDayPicker = _interopRequireDefault(require("react-day-picker"));...
// rota-dados-ctrl.js // Este arquivo contém o script de controle da tela rota-dados-view. O mesmo // apresenta os dados de uma determinada rota cadastrada. Também é feito uma busca nas // base de dados de alunos e escolas para conhecer o quantitativo atendido por rota // e o traçado da rotas. var idRota = estadoRota[...
/* * Copyright 2010 ZXing authors * * 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 ...
import React from 'react'; import PropTypes from 'prop-types'; import LeftIcon from 'react-icons/lib/md/chevron-left'; import RightIcon from 'react-icons/lib/md/chevron-right'; import ArrowUPIcon from 'react-icons/lib/ti/arrow-sorted-up'; import ArrowDownIcon from 'react-icons/lib/ti/arrow-sorted-down'; import Swipeabl...
$("document").ready(function() { $("#reset-frame1").click(function() { $(".fradeitm").val(''); var index_vaa =0; $(".skidrow").each(function(){ $("#total_volume_cbm_"+index_vaa).html(''); $("#total_weight_lbs_"+index_vaa).html(''); $("#total_vl_cbm").html(''); $("#total_weight_cbm").h...
// Copyright (c) 2019 datagraph gmbh import {getResource} from './resource-access.js'; import {GraphObject} from './graph-object.js'; import { makeUUIDString } from './revision-identifier.js'; import { NamedNode } from './rdf-environment.js'; /** The class RDFGraphObject extends the GraphObject definition with log...
/* Hello, use this script at your own risk. I have tested the script multiple times on the jungletestnetwork with the genesis snapshot as input data without issues. We at eosDAC also dropped our tokens on the mainnet with this script. I strongly advice to do numerous test runs on the testnetwork before even attempting...
/** * Utilities to create swimlane diagrams using D3.js * Code heavily inspired by bunkat’s blocks at http://bl.ocks.org/2338034 and http://bl.ocks.org/3127459 and http://bl.ocks.org/1962173 */ var y1, y2, x0, x1, now, brush, lanes, items, main, mini, x1DateAxis, x1MonthAxis, itemRects; // Global variables needed b...
import { GPUTextureFormat, GPUAddressMode, GPUFilterMode, GPUTextureDimension } from './constants.js'; import { Texture, NearestFilter, CubeTexture, RGFormat, FloatType, HalfFloatType, UnsignedByteType, RedFormat, RGBAFormat, RGBFormat, RGBA_S3TC_DXT5_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT1_Format, LinearFilter, ...
/** * Copyright (c) 2014-2015, CKSource - <NAME>. All rights reserved. * Licensed under the terms of the MIT License (see LICENSE.md). * * @file Bender main file * @module main */ 'use strict'; var path = require( 'path' ), fs = require( 'graceful-fs' ), spawn = require( 'child_process' ).spawn, when = requi...
/* The MIT License (MIT) Copyright (c) 2014 <EMAIL> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
const St = imports.gi.St; const Main = imports.ui.main; const Soup = imports.gi.Soup; const Lang = imports.lang; const Mainloop = imports.mainloop; const Clutter = imports.gi.Clutter; const PanelMenu = imports.ui.panelMenu; const GLib = imports.gi.GLib; const Gio = imports.gi.Gio; const ExtensionUtils = imports.misc.ex...
function loadExamples () { var username = "TryJSIL"; var path = "/users/" + username + "/gists"; loadGists(path, "examples"); }; function loadMyGists () { if (!githubLoginCode) { $("my_gists").fadeOut(); return; } else { document.getElementById("my_gists").style.display = "block"; $("my_gi...
import React, {Component} from 'react'; import styles from './valves.less'; import {connect} from 'dva'; import { Alert, Badge, InputNumber, Select, Card, Button, Radio , message, Collapse, Switch, Form, Icon, Tabs, Row, Col } from 'antd'; import DescriptionList from '@/components/Descript...
import { ATTRIBUTE, BINDING_FLAG, DECORATOR, DELEGATE_FLAG, EVENT, TRANSITION } from '../../config/types'; import runloop from '../../global/runloop'; import { win } from '../../config/environment'; import { ContainerItem } from './shared/Item'; import Fragment from '../Fragment'; import ConditionalAttribute from './el...
/** * Created by ChiDNMSE60717 on 6/7/2015. */ var damagedEquipments = {}; var noDamagedEquipments = {}; function showMap(mapId, equipments, vrows, sDayNgang, sChoNgoi, listEquipment) { var horizontalRows = sDayNgang.split('-'); var noSlotsEachRows = sChoNgoi.split('-'); var array = []; var...
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Type_1 = require("../Type"); const TypeUtils_1 = require("../TypeUtils"); const Source_1 = require("../Source"); const Strings_1 = require("../support/Strings"); const Naming_1 = require("../Naming"); const ConvenienceRenderer_1 = requir...
/* === Version: 0.0.4 === */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); if (typeof window.TextEncoder == 'undefined') { window.TextEncoder = function TextEncoder() { }; window.TextEncoder.prototype.encode = function encode(str) { var Len = str.length, resPos = -1; ...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
var canvas; var ctx; var arrowKeys = new Array(33, 34, 35, 36, 37, 38, 39, 40); var subFolder = ""; if (window.location.href.indexOf("/Genxyz/") != -1) { subFolder = "/Genxyz"; } $("document").ready(function () { //init some variables. Genxyz.instance = $("#instanceID").val(); var forgeryToken = $("#A...
const Caleg = require("../models/Caleg"); const User = require("../models/User"); const Parpol = require("../models/Parpol"); const Rekapitulasi = require("../models/Rekapitulasi"); const RekapitulasiKursi = require("../models/RekapitulasiKursi"); const sainteLague = require("sainte-lague"); const Kursi = require('../m...
import * as THREE from "https://unpkg.com/three@0.119.1/build/three.module.js"; // import Stats from "https://unpkg.com/three@0.119.1/examples/jsm/libs/stats.module.js"; import { GUI } from "https://unpkg.com/three@0.119.1/examples/jsm/libs/dat.gui.module.js"; import { OrbitControls } from "https://unpkg.com/three@0.11...
window.qa_tasks = []; let task_config = 'qa_config'; API.APP.dbinit('questions_answers').then(function (instance) { window.db = instance; window.db.version(1).stores({ questions: 'questionId,votes,question', answers: 'answerId,questionId,answer_content,answer_date,helpful_string,answer_profile,...
// student info obj var std = {}; function edit(evt) { evt.preventDefault(); // enable form $("input, select").removeAttr("readonly"); $("input[type='file']").removeAttr("disabled"); $("button").removeClass("hide"); std.code = $("#code").val(); std.english_name = $("#english_name").val(); ...
import { Application, Sprite, Text, TextStyle, Ticker, Loader, Graphics, Container } from 'pixi.js'; import * as PixiSound from 'pixi-sound'; import Peer from 'peerjs'; import Keyboard from './keyboard'; const sound = PixiSound.default.sound; class SlideController { constructor() { // Bind Funcs: this._init ...
import React, { Component } from 'react'; import {Link} from 'react-router-dom'; import $ from 'jquery'; import axios from "axios"; import cookie from 'react-cookies'; import Swal from 'sweetalert2' class ResearchProjects extends Component { constructor (props) { super(props); this.state ...
import Scroll from 'react-scroll'; import { distanceInWords, format } from 'date-fns'; import { cloneDeep, get, isEqual, isNumber, isObject, keys, merge as merge$, transform } from 'lodash'; import numeral from 'numeral'; import queryString from 'query-string'; import shortid from 'shortid'; import { VALID_PARAMS } fro...
import store from '../store'; import socket from '../socket'; import { getMeshData, setCannonPosition, setMeshPosition } from './utils'; import { myColors, fixedTimeStep, maxSubSteps } from './config'; import { forOwn } from 'lodash'; import { loadGame, loadEnvironment } from './game'; import { controls, Player} fro...
class Dispatcher { constructor() { this._listeners = {}; } on(evtName, listener) { if (! this._listeners[evtName]) this._listeners[evtName] = []; if (this._listeners[evtName].indexOf(listener) === -1) { this._listeners[evtName].push(listener); } retu...
import '../App.css'; import { Table, Container, Row, Button, ButtonGroup, Form, Col, Jumbotron, Tooltip, OverlayTrigger } from 'react-bootstrap'; import React, {Component, useState, useEffect} from 'react'; import {BrowserRouter as Router, Switch, Route, Link} from 'react-router-...
if(false){ //open dev var SocketAbstract = function(url){ this.socket = new SockJS(url); this.stompClient = Stomp.over(this.socket); }; SocketAbstract.prototype.connect = function(fn){ this.stompClient.connect({}, fn); } SocketAbstract.prototype.on = function(channel, fn){ this.stompClient.subscribe(channe...
/***********************************************/ //---------------GLOBAL VARIABLES---------------/ /**********************************************/ //Cogemos la fecha de hoy const date = new Date(); //Title box Input let inputTitleKey = document.getElementById("titleBox") //Initial Calendar Input let inputDateValue = ...
/** * @file This file has a list of utility function for calculating poincare disk projections. */ /** * This module is a collection of functions for calculating poincare disk projections. * @module hyperbolic_functions */ /** * The coordinate system transformation from canvas to poincare disk. * @param {NodeObj...
/* jshint esversion:6 */ const worldradius = 11.9; const worldradius2 = worldradius * worldradius; var quincuncinalRadius = worldradius; circleScope.setWorldradius(worldradius); const solutions = new Vector2(); const v = new Vector2(); var sumAngles; // the first circle var r1, x1, y1; var cosAlpha1, sinAlpha1, cosBe...
/** * Copyright 2011, Deft Labs. * * 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 t...
// function setGridCols(element) { // // console.log($(element)); // // console.log($(element).val()) // generatePages($(element).val()); // } function generatePages(nbOfCols = 18, fromImport = false) { console.log("generating pages from config"); console.log("nbOfCols: " + nbOfCols + " fromImport: " + from...
// (10 points): As a developer, I want to come up with a game concept played with dice, ensuring that my game concept is more complicated than “War”. // (20 points): As a developer, I want my game to have gameplay functionality. // (10 points): As a developer, I want to have one function capable of “rolling a die” (by ...
/** * file: webgl.js * description: Implement webgl renderer. * author: <NAME>. * since: 2019. */ "use strict"; const Renderer = require('./../renderer'); const PintarConsole = require('./../../console'); const Point = require('./../../point'); const Sprite = require('./../../sprite'); const TextSprite = require('...
/* jshint ignore:start */ /* global ActiveXObject:false, JSON:false */ // Load Data Function (URL, CallBack) var load = function(t, e) { function a() { n.readyState < 4 || 200 === n.status && 4 === n.readyState && e(n) } var n; if ("undefined" != typeof XMLHttpRequest) n = new XMLHttpRequest; ...
//Code written by <NAME>, 2016. Contact at <EMAIL>. var CTPS = {}; CTPS.demoApp = {}; var f = d3.format(".2") var e = d3.format(".1f"); var projection = d3.geoConicConformal() .parallels([41 + 43 / 60, 42 + 41 / 60]) .rotate([71 + 30 / 60, -41 ]) .scale([18000]) // N.B. The scale and translation vector ...
'use strict' class Settings { showEmoteCommands = ['!showemote', '!#showemote', '!showe', '!show', '!s'] constructor() { this.parseFromURL() this.validate() console.debug('Using settings', this) } parseFromURL() { let params = new URL(document.location.href).se...
'use strict' const fs = require('fs-extra') const path = require('path') const paths = require('../../paths') const zip = require('../../src/main/simple-archive') const repoVcs = require('../../src/main/repo-vcs') const configCourse = require('../../src/common/config-course') const loadCourseAsset = require('../../de...
/**************************** Activities UI *****************************/ var logger = new Logger("FACILITATOR", "error"); var FacilitatorView = Backbone.View.extend({ template: _.template($('#facilitator').html()), events: { 'click .hide-app': 'hide', 'click .add-activity': 'addActivi...
import { Crypto, TxBuilder } from '@aeternity/aepp-sdk/es'; import Swagger from '@aeternity/aepp-sdk/es/utils/swagger'; import { AE_AMOUNT_FORMATS, formatAmount } from '@aeternity/aepp-sdk/es/utils/amount-formatter'; import { MAGNITUDE_EXA, MAGNITUDE_GIGA, MAGNITUDE_PICO, CONNECTION_TYPES, networks, DEFAULT_NETWORK } f...
class Version{ constructor(version){ this.version = version; let vmLength = (version.indexOf('.') === -1) ? version.length : version.indexOf('.'); this.versionMajor = parseInt(version.substr(0, vmLength)); this.versionMinor = parseInt(version.substr(vmLength + 1)); if (this.versionMinor.length === 0) { t...
//请求地址(列表) var RequestListUrl = "/Enterprises/GetEnterprise_infoList"; //请求地址(单条记录) var RequestUrl = "/Enterprises/GetEnterprise_info"; //请求地址(删除记录) var RequestDelUrl = "/Enterprises/DelEnterprise_info"; //请求地址(修改) var RequestEditUrl = "Enterprises/EditEnterprise_info"; //请求控制器(添加) var RequestAddUrl = "Enterprises/Add...
var margin = {top: 70, right: 20, bottom: 20, left: 10}, svgWidth = 1000, svgHeight = 700, width = svgWidth - margin.left - margin.right, height = svgHeight - margin.top - margin.bottom, radius = 30, innerRadius = 0.2 * radius, mapPosition, incomeData = {}, nestedData = {}, filte...
//用户协议书 function MM_showHideLayers(divID,paraA,status){ if(status=="show"){ document.getElementById(divID).style.display="block"; }else if(status=="hidden"){ document.getElementById(divID).style.display="none"; } } //登录帐号 function dlzh(divID,paraA,status){ var codeExp = "^[a-zA-Z0-9_]{1,}$"; var codeObj = $("#u...
/* * Copyright 2015-present Planet Federal Inc., http://www.planet.com * 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 ap...
/* * Licensed to the Nervousync Studio (NSYC) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use ...
function doNothing() { } function valueExistsInArray(val, array) { for (var i = 0; i < array.length; i++) { if (val == array[i]) return true; } return false; } function doubleDigitFormat(num) { return padLeft(num, 2, "0"); } function tripleDigitFormat(num) { return padLeft(num, ...
// Libs import React, { Component } from "react"; import { Card, Row, Col, Drawer, Button, Descriptions, Divider, Switch, Upload, Icon, message, Badge, Alert, Modal, Steps, Result, Typography, Table, Input, } from 'antd'; const { Step } = Steps; const { Paragraph, Text } = Typography; const { TextArea }...
import React from "react" import ReactMapboxGl, { Layer, Marker, Feature, Source } from 'react-mapbox-gl'; import findIndex from 'lodash/findIndex' import NavBar from '../components/NavBar' import Inspector from '../components/Inspector' import Timeline from '../components/Timeline' import SignUp from '../components/Si...
import _ from 'underscore'; import $ from 'jquery'; import merge from 'merge'; import moment from 'moment/min/moment-with-locales'; import * as AJAX from './ajax'; import * as Constants from './constants'; import * as Settings from './settings'; import * as Storage from './storage'; import * as Tools from './tools'; i...
/** * @ngdoc object * @name anol.layer.Feature * * @param {Object} options AnOl Layer options * @param {Object} options.olLayer Options for ol.layer.Vector * @param {Object} options.olLayer.source Options for ol.source.Vector * @param {Object|Boolean} options.cluster options for clustering. When true, defaults w...
/** * ================= * Script - JupiterClient * by Benjamin (Bill) Planche / Aldream * ================= * Engine behind the Client's Jupiter API */ $.fn.exists = function () { // Snippet to know if a Jquery selector returns something or not return this.length !== 0; } // ---------------------------...
Array.prototype.indexOf = function(value, keypath) { for (var i = 0; i < this.length; i++) { var ele = this[i]; if (keypath) ele = keypath.split('.').reduce((previous, current) => { if (previous && current in previous) return previous[current]; retur...
/*globals Promise:true*/ 'use strict'; import angular from 'angular'; import { GRID_COLUMNS_COUNT, GRID_ROWS_COUNT, SWAP_ANIMATION_DURATION, REMOVE_ANIMATION_DURATION, SCORE_ANIMATION_DURATION, CHAIN_REMOVE_COST, CHAIN_LENGTH_BONUS } from './../config'; function getRandomTileType() { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CommentsView = exports.CommentsModel = exports.Comments = exports.CommentView = exports.CommentModel = exports.CommentMarkdown = void 0; var _material = require("@mui/material"); var _reactClient = require("@state-less/react-clien...
/* COOP LIGHTING SERVER XBee coordinator must be connected through a serial port (specified down below). The PANID for the XBees is 1996. */ //TO DO: Check lights are indeed updated with Final messages // Make '1' and '499' turn off the lights //Global Variables var bulb=[]; //array that holds the outdoor ...
/* * This file is part of Privacy Badger <https://www.eff.org/privacybadger> * Copyright (C) 2014 Electronic Frontier Foundation * * Privacy Badger is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundatio...
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"); // ***...
let SelectFlexible = function ($element, options) { this.$body = $(document.body); if ($element.data('select-flexible') != null) { this.$body.off('.select_flexible-' + this.id); this.$container.off('.select_flexible'); $element.data('select-flexible').$container.remove(); $...
const WORDS = [ // 3-letter Words "Ace", "Act", "Add", "Ads", "Age", "Aid", "Ail", "Aim", "Air", "Ale", "All", "App", "Arc", "Arm", "Art", "Ash", "Ask", "Awe", "Axe", "Bad", "Bag", "Ban", "Bar", ...
var fs = require('fs'), EventEmitter = require('events').EventEmitter, utils = require('util'); var SECTION_DEFAULT = 'DEFAULT'; var ConfigParser = function(defaults) { EventEmitter.call(this); this._state = {}; this._defaults = {}; this._loadedFiles = []; this._loadQueue = null; this._watchFiles = ...
(function($) { var highlighter = function highlighter(item) { return (settings.displayText) ? item[settings.displayText] : item; }; settings = { minLength: 3, source: [], highlighter: highlighter, displayText: null, anchorLink: null, fitToElement: ...
class Paramaterize { constructor() { this.scene = '0'; this.debug = false; this.dx = 320; this.dy = 0; this.dwidth = 500; this.dheight = 500; this.sx = 80; this.sy = 0; this.swidth = 480; this.sheight = 480; this.webcamWidth = 627; this.webcamHeight = 470; // dx Number: the x-coordinate of ...
/** * This background page handles the sending requests and dealing with responses. * Passes are exchanged with the server containing blinded tokens for bypassing CAPTCHAs. * Control flow is handled in the listeners. Cryptography uses SJCL. * * @author: <NAME> * @author: <NAME> */ /* exported handleCompletion *...
let CompositeDisposable = require('atom').CompositeDisposable , actions = require('./actions') , pkg = require('../package.json'); let action, cmd; let OvertypeMode = (function() { let conFncName = [ 'debug', 'log', 'info', 'warn', 'error' ]; function deep...
import React, { useState, useEffect } from 'react' import PropTypes from 'prop-types' import { SEARCH_PART_OF_SPEECH_ANY, SEARCH_BY_ALPHABET, SEARCH_BY_CATEGORY, SEARCH_BY_CUSTOM, SEARCH_BY_PHRASE_BOOK, SEARCH_DATA_TYPE_PHRASE, SEARCH_DATA_TYPE_WORD, SEARCH_TYPE_DEFAULT_SEARCH, SEARCH_TYPE_APPROXIMAT...
"use strict"; var defined = require('./defined'); var defaultValue = require('./defaultValue'); var sortObject = require('./sortObject'); var schema3 = require('./schema3Resolver'); var schema4 = require('./schema4Resolver'); var style = require('./style'); var enums = require('./enums'); module.exports = generateMark...
#!/usr/bin/nodejs var http = require("http"); var url = require("url"); var fs = require("fs"); var os = require("os"); var child = require("child_process"); function sendResponse(request, response, httpcode, contenttype, body) { process.nextTick(function() { response.writeHead(httpcode, { "Content-Type" ...
const escapeRegExp = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), playTable = Object.assign($('<div class="play-table">')[0], { contextMenu: null, storedPiles: {}, selectedCards: [], injectedStylesheet: Object.assign($("<style>")[0], { setRules: funct...
/* UFONet - DDoS Botnet via Web Abuse - 2013/2014/2015 - by psy (<EMAIL>) You should have received a copy of the GNU General Public License along with UFONet; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ // this variable defines the delay between eac...
const pet_items = require('../pet_items') const ignored_items = require('./ignored_items') const reforge_stones = require('./reforge_stones') const ignored_enchantments = require('./ignored_enchantments') const essence_upgrades = require('./essence_upgrades') const { forgeItemTimes } = require('../mining') const { ti...
import { getDistance, Vec2, vecTripleProduct, support } from '../../common/math'; import GJK from './GJK'; import EPA from './EPA'; // 根据接触位置(碰撞流形)的类别, 选择接触点(裁剪碰撞流形) function contactRouter(contact) { let P; // 接触点 // console.log(JSON.stringify(contact)); if (contact.featureA.type === 'point' || contact.fe...
var Joi = require('joi'); var Boom = require('boom'); var Promise = require('bluebird'); var jwt = require('jsonwebtoken'); var fs = require('fs'); var path = require('path'); var url = require('url'); var urlencode = require('urlencode'); var includes = require('array-includes'); var uid = require('uid-safe'); var _ =...
/* global Common, SSEH, Cdraw, objects, groups */ function Panel(par, dest, moons, rings) { var c, WIDTH = SSEH.BOXWIDTH, HEIGHT = SSEH.BOXWIDTH/2, font = "normal bold 13px Arial, Helvetica, sans-serif", _dest = dest, _parent = par, _moons, _rings, RCOL = "#fcc", PCOL = "#ffc", radius, y = HEIGHT-70, ge...
const log = require("../utils/log"); const calc = require("../utils/calc"); const { DerivativeProviders, ethToken, DerivativeStatus, WhitelistType, DerivativeType } = require("../utils/constants"); const BasicIndex = artifacts.require("OlympusBasicIndex"); const Rebalance = artifacts.require("RebalanceProvid...
import React, { Component } from 'react'; import Layers from "./Layers"; import "./Sidebar.css"; import Buffer from './tools/Buffer'; import Dissolve from './tools/Dissolve'; import Union from './tools/Union'; import Intersect from './tools/Intersect'; import Difference from './tools/Difference'; import Extract_Feature...
function extensionUpdate() { var oldVer = options.EXT_Version, newVer; console.log('Quest Raspberry (V' + oldVer + ')'); browser.runtime.sendMessage({action: 'getDetails'}, function (response) { newVer = response.version; // update storage browser.storage.sync.set({ ...
import _pt from "prop-types"; function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _exten...
var cubeRotation = 0.0; // will set to true when video can be copied to texture var copyVideo = false; //main(); // // Start here // function main() { const canvas = document.getElementById('webgl-draw'); const gl = canvas.getContext('webgl'); // If we don't have a GL context, give up now if (!gl) { aler...
const { BrowserWindow, Notification, Menu, app, dialog, TouchBar, shell, ipcMain } = require('electron') const { TouchBarLabel, TouchBarButton, TouchBarSpacer, TouchBarPopover, TouchBarGroup, TouchBarSlider, TouchBarSegmentedControl } = TouchBar const path = require('path') const url = req...
var menu; var table_page; //name of page that have to get data from db var complex_page; var command_map; var action = ""; var selected_search_field = ""; var dialog; $(document).ready(function() { dialog = document.querySelector('dialog'); menu = ['home', 'publisher', 'book', 'book-no-bought', 'issue', 'ord_li...