text
stringlengths
8.5k
48.7k
import { getData, postData } from '../../utils/api' import { launchObserver, getMe } from '../../utils/utils' import { formatDate, formatNumber } from '../../utils/formatter' import { showDialog } from '../../utils/dialog' import { openAuctionDialog } from './openAuctionDialog' import { openBuildDialog } from './openB...
//jscs:disable // Everything from here down is for core development // This will then be moved into a WebWorker in the future supposedly... var gameDatabase = {}; // Will store game data var summonerDatabase = {}; // Will be used to see who you most play with var summonerMetaDatabase = {}; var summonerFrequencyDataba...
const crypto = require('crypto') const assert = require('assert') const stream = require('stream') // **TODO** You can probably collapse the nodes in the wild map. You don't need // them to be nested. You thought you'd be adding wait properties to the node // but you're tracking that in a different map. // Return the...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import 'babel-polyfill'; import path from 'path'; import e...
import { to } from 'wix-location'; import { formFactor } from 'wix-window'; import { artistsDisplayPageLinkField, defaultArtistImageUrl, maxImageUploads, maxPortfolioImages, MosaicArtistPortfolioDisplayType, ThumbnailsDisplayType } from 'public/constants'; import { elipsisText, showSpinner, stopSpinner} from 'public/a...
import { THREE } from '../threeplugins.js'; import { vec3_to_string, has_meta_keys } from '../utils.js'; import { CONSTANTS } from '../constants.js'; import { is_electrode } from '../geometry/sphere.js'; import { raycast_volume_geneator } from '../Math/raycast_volume.js'; import * as download from 'downloadjs'; // Ele...
/* This script will: 1) Swap out the old compliance CSS/JS 2) Swap out the omega grid for the Foundation grid 3) Some nesting changes for the global/local header 4) A handful of minor CSS edits may be needed for any Service-specific oddities Originally authored on 2016-05-16 For assistance contact <NA...
/****************************************************************************** Copyright (c) 2012, Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must ...
const express = require('express'); const router = express.Router(); const app = express(); const path = require('path'); app.get('/api/catechism_answers', (req, res) => { const catechism_answers = [ {id: 0, question: "What is the chief end of man?", answer: " Man's chief end is to glorify God, and to en...
var Craft=function(options) { this.pos=[0,0]; this.angle=0; this.landed=false; this.mission_start=0; this.mission_end=0; this.mission_elapsed=0; this.mission=false; this.model="f9r-dev"; this.leg_max_mass=80000; // almost a fully fueled dev-1 this.scenario="f9r-dev1"; this.crash_velocity=2;...
import { useEffect, useState, useRef } from "react"; import c from "classnames"; import cookies from "js-cookie"; import { useRouter } from "next/router"; import { useUser } from "../utils/auth/useUser"; import StickyBar from "../components/StickyBar"; import firebase from "firebase/app"; import "firebase/firestore"; i...
const fs = require("fs"); const opcua = require("node-opcua"); const types = require("./node-opcua-types"); //Load config file for this module const generator_config = JSON.parse(fs.readFileSync("config/generator.cfg")); //MTConnect Units to UA EUInfo Map const eumap = generator_config.maps.eu_map; //Category MTConn...
import React, { useState } from "react" import { Button, Card, CardBody, Col, Form, FormFeedback, Input, InputGroup, InputGroupAddon, InputGroupText, Row, Label, Modal, ModalBody, ModalHeader, ModalFooter, } from "reactstrap" import { Elements, StripeProvider } from "react-stripe-element...
import { __assign, __decorate } from "tslib"; import { serialize, serializeAsColor4, serializeAsCameraReference } from "../Misc/decorators"; import { Tools } from "../Misc/tools"; import { Observable } from "../Misc/observable"; import { Color4 } from '../Maths/math.color'; import { Engine } from "../Engines/engin...
'use strict'; const fs = require('fs'); const net = require('net'); const _ = require('lodash'); const async = require('async'); const path = require('path'); const childProcess = require('child_process'); const EventEmitter = require('events'); const config = require('../config'); const log = require('../common/log');...
const ByteBuffer = require('bytebuffer'); const Crypto = require('crypto'); const Events = require('events'); const Extensions = require('websocket-extensions'); const Util = require('util'); const StreamedIncomingMessage = require('./StreamedIncomingMessage.js'); const StreamedOutgoingMessage = require('./StreamedOut...
//获取用户信息 //工具箱 var tools = (function () { //尺寸转换 var sizeToEye = function (size) { var rs = size / 1024 //KB var result; rs = Math.ceil(rs) if (rs > 1000) { rs = rs / 1024 //MB rs = Math.ceil(rs) result = rs + "MB" } else { ...
afHistoryChange = function (newLocation, historyData) { if (newLocation.indexOf("cpview") >= 0) { var tmp = newLocation.split("&"); var view = tmp[0].split("=")[1]; var param = tmp[1]; if (param.indexOf('!') >= 0) { param = param.replace('params=', ''); } else {...
dictwords = ["contacting 0 16 160", "passmark 0 39 172 1 10 64", "software 0 32 168 1 10 64 2 10 16", "top 0 10 32 1 10 32 2 10 32 3 10 16 4 10 64", "previous 0 10 32 2 10 32 3 10 16 4 18 96", "australian 0 10 32", "head 0 10 32", "office 0 10 32", "pty 0 10 32", "ltd 0 10 32", "suite 0 18 24", "202 0 10 16"...
// {renderIf(this.state.tipe != 'SWTIN' || this.state.tipe != 'SWTOUT') ( // )} import React, { Component } from 'react'; import { Image, TouchableOpacity,Platform, Text, StatusBar,Clipboard , View, SafeAreaView, Alert, Modal, ActivityIndicator, FlatLi...
#!/usr/bin/env node // Simple CLI HTTP Test Script // Requests a URL via HTTP GET continuously, up to N iterations using N threads // Usage: wperf URL --max 1000 --threads 1 --cache_dns 0 --keepalive 0 --timeout 5 --verbose 0 --warn 1.0 // Copyright (c) 2016 - 2019 by <NAME>, MIT License /* <Help> Usage: wperf URL [O...
import { useState } from "react"; import { Card, Col, Row, Table, Typography, } from "antd"; import Echart from "../components/chart/EChart"; import LineChart from "../components/chart/LineChart"; import {useEffect} from 'react'; import { getDeviceDataAll} from '../components/api/device'; function Home()...
function class_funciones(){ var table; this.loadajax = function(sec, title){ if(sec == undefined) sec = 10; if(title == undefined) title = 'Espere Por Favor'; $.blockUI ({ css: { border: 'none', padding: '20px', backgroundColor: ...
// // TapZ Incremental // main.js // import * as Sentry from "@sentry/browser"; import { Integrations } from "@sentry/tracing"; import Save from "./save" import Shop from "./shop" import { formatNumber } from "./utils" // Data Elements const BrainsSellSpan = document.getElementsByClassName("brains-sell")[0] const ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // external dependencies const fs = require("fs"); const request = require("request-promise"); const httpStatus = require("http-status"); const uuid = require("uuid/v1"); // local dependencies const store = require("../db/store"); const iam = ...
/** * * 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 2 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be...
/*===========================================================================*/ // Get Elevation Along Path // Sample map by ThinkGeo // // 1. ThinkGeo Cloud API Key // 2. Define Global Variable // 3. Map Control Setup // 4. Elevation Setup // 5. Chart Setup // 6. Event Listeners // 7. Tile Loading Event...
"use strict"; /* Copyright (c) 2013 <NAME> - Free to use for any purpose: MIT License*/ var path = require('path') var Url = require("url") var proto = require('proto') var Future = require('async-future') var SourceMapConsumer = require('source-map').SourceMapConsumer var processResults = require('./processResults'...
"use strict"; import {DIRECTION, Helpers, Vector} from "./helpers.js"; import {CHUNK_SIZE_X} from "./chunk.js"; import rendererProvider from "./renders/rendererProvider.js"; import {Mth} from "./helpers.js"; import {FrustumProxy} from "./frustum.js"; import {Resources} from "./resources.js"; import {BLOCK} fro...
'use strict'; var showMarkers = { trainingClasses: new Boolean(), computerRetail: new Boolean(), freeWifi: new Boolean(), publicComputers: new Boolean() }; var tmp = {}; // showMarkers.freeWifi = new Boolean(); // showMa...
//Triangulations variable stores the order of the triangles vertices var triangulations = [0]; //Colors of triangles var tColors = []; //Modes for different brushes var mode = 1; //Colors of all the squares generated by splitSquare(); Which is used to generate cubic poly art. //Very quick and rudimentary method to d...
'use strict'; /** * @copyright Copyright 2020, <NAME>, All rights reserved * @author <NAME> <<EMAIL>> * @version 0.0.1 * * [On browser Audio Recognizer] * Purpose: * - Model comparison ( Available models are transformer, monica ) * - On browser speech recognition ( i.e. without communication with server ) * ...
'use strict' module.exports = { parse: parse, } /* LIST IF ISO CODES FOR EACH COUNTRY/TERRITORY */ var _countries = [] _countries['AFG'] = 'Afghanistan' _countries['ALB'] = 'Albania' _countries['DZA'] = 'Algeria' _countries['ASM'] = 'American Samoa' _countries['AND'] = 'Andorra' _countries['AGO'] = 'Angola' _countr...
import React, { Component } from 'react'; //import ReactDOM from 'react-dom'; import 'antd/dist/antd.css'; import Cookies from 'universal-cookie' // import {callApi_py} from '../../util/apiCaller' import { Steps, Button,Form} from 'antd'; import qs from 'qs'; import cookie from 'react-cookies' import Page0 from './Pag...
console.log("Hey Steve, here's what you're logging to the console"); //repaint page based on user choice from dropdown selector function dropdownChoice() { "use strict"; document.getElementById("textbox").value = ""; document.getElementById("number").value = ""; document.getElementById("output-area").innerHTM...
import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/styles'; import ReactDataSheet from 'react-datasheet'; import SaveIcon from '@material-ui/icons/Save'; import PlayArrowIcon from '@material-ui/icons/PlayArrow'; import ComputerIcon from '@material-ui/icons/Computer'; import Chart from "react-g...
//We insert our objects using this method -- hashing based on vital schema properties potentially //this also checks if objects are well structured from the client var util = require('util'); var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = Schema.Types.ObjectId; var SchemaType = mongoo...
/*jslint devel: true*/ /*global perfis */ // variables var project, beam, mk, concrete, steel, estribo, bitola; var tsd, as, asNec, bw, bwMin, bwMinNovo, bwMinAbs, hMinAbs, fcd; var betax23, betax34, epc, eps, epyd, fyd, Es, fck, fyk, fckForm, fykForm; var d, h, cob, diamAgreg, agreg, diamEstForm, diamEst, diamAgregFo...
//@ts-check const gradients = require('./data/gradients.json'); const fs = require('fs'); const randomNumber = (min, max) => { return Math.floor(Math.random() * (max - min) + min); } const toLinear = (grad) => { var grad_array = grad.gradient; var color = []; grad_array.forEach((elem) => { co...
$j( document ).ready( function() { // BOOKING LIST // Update booking row after frontend rechedule $j( 'body' ).on( 'bookacti_booking_rescheduled', function( e, booking_id, start, end, response ){ var row = $j( '.bookacti-booking-action[data-booking-id="' + booking_id + '"]' ).parents( 'tr' ); if( ! ro...
// Helpers const { BigNumber } = require("@0x/utils"); const { Web3Wrapper } = require("@0x/web3-wrapper"); const { orderHashUtils } = require("@0x/order-utils"); const sinon = require("sinon"); const contractStub = require("./stubs/contract"); const positionStub = require("./stubs/position"); const { time } = require(...
let modInfo = { name: "The Prestige Chain", id: "prestigechain", author: "pg132", pointsName: "points", discordName: "pg132#7975", discordLink: "", initialStartPoints: new Decimal (10), // Used for hard resets and new players offlineLimit: 1, // In hours } // Set your version in num and name let VERSION = {...
// Server API makes it possible to hook into various parts of Gridsome // on server-side and add custom data to the GraphQL data layer. // Learn more: https://gridsome.org/docs/server-api // Changes here require a server restart. // To restart press CTRL + C in terminal and run `gridsome develop` const axios = require...
/* eslint-disable @typescript-eslint/no-use-before-define */ // FIXME: This file has many methods and variables used before they are defined. /* globals fetch */ import { push, replace } from 'connected-react-router' import hash from 'object-hash' import haversine from 'haversine' // Core-utils is preventing typescrip...
/*jslint node: true */ 'use strict'; const crypto = require('crypto') const constants = require('ocore/constants.js'); const conf = require('ocore/conf'); const db = require('ocore/db'); const eventBus = require('ocore/event_bus'); const validationUtils = require('ocore/validation_utils'); const headlessWallet = requ...
function onlyUnique(value, index, self) { return self.indexOf(value) === index; } function median(values) { if (values.length === 0) return 0; values.sort(function (a, b) { return a - b; }); var half = Math.floor(values.length / 2); if (values.length % 2) return values[half]; return (values[half - 1] + v...
// Importações. const express = require('express'); const router = express.Router(); // Conexões. const database = require('../../configs/database').connection; // Models. const Animal = require('../models/Animal'); const AlbumAnimal = require('../models/AlbumAnimal'); const Fo...
// ch3work_2com_Arith.js // for CS319 ch3 exercises: 2's complement arithmetic // Author: <NAME> // Created: 10/15/2019 // Last updated: 10/20/2021 // Copyright reserved //================================== // Global constants and variables //================================== var SIZE = 8; // global...
let languageSet = 'eng' let languageMap = new Map([ ['$about', 'nav-about'], ['$portfolio', 'nav-portfolio'], ['$links', 'nav-links'], ['$contact', 'nav-contact'], ['$aboutText', 'aboutText'], ['$galleryArt', 'gallery-header-art'], ['$galleryWebsities', 'gallery-header-websities'], ['$galleryWebapps', 'gallery-...
const Command = require("../base/Command"); class ArenaWatch extends Command { constructor(Bot) { super(Bot, { name: "arenawatch", category: "Patreon", aliases: ["aw"], permissions: ["EMBED_LINKS"], flags: {}, subArgs: { ...
import React, { Component } from 'react'; import { RestAPI as API } from '@aws-amplify/api-rest'; import { API_NAME } from '../../../utils'; import isEmpty from 'lodash/isEmpty'; import isEqual from 'lodash/isEqual'; import { default as lodashGet } from 'lodash/get'; import cloneDeep from 'lodash/cloneDeep'; import { T...
/* istanbul ignore file */ /* * Based on the work of: Scroller * http://github.com/zynga/scroller * * Copyright 2011, Zynga Inc. * Licensed under the MIT License. * https://raw.github.com/zynga/scroller/master/MIT-LICENSE.txt * */ import {noop, warn, extend} from './index' import Animate, {easeOutCubic, easeI...
'use strict'; /* global CustomEvent */ /** * @fileoverview Interactive map based on fec/fec/static/js/modules/maps.js. Displays color-coded states based on the dataset provided * @copyright 2019 Federal Election Commission * @license CC0-1.0 * @owner fec.gov * @version 1.0 */ /** * @example creation: * this...
'use strict'; exports.__esModule = true; var _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; }; var _createClass =...
var wifiStat1 = [ {"x": 2.02, "y": 10.98, "room": "FT236", "rssi": [-70, -70, -71, -80, -70, -72, -80, -70, -72, -80, -70, -70, -76, -77, -70, -63, -71, -70, -71, -72], "mean": -72.25, "variance": 17.39}, {"x": 2.17, "y": 4.98, "room": "FT222", "rssi": [-80, -81, -80, -80, -80, -80, -81, -80, -70, -81, -80, -70...
/** busTracer **/ (function(){ var _defaults = { fps: 100, pathTime: 10000, point: [], showPoints: true, playing: false, onInit: function(el){}, onChangeBreakpoint: function(data){}, }; $.fn.busTracer = function(options){ if(this.length == 0) return this; if(this.length > 1){ this.each(fun...
//previously this was an async IIFE, and I didn't really understand why, so I put it all into a class //in its current form this doesn't really change much, but if you wanted to break this down into modular services //I think it works better as a class. class UI { constructor() { //convenience selectors, this is not...
import {connDb} from "@/store/connDb"; import axios from "axios"; const state = { //array de sessões(events) events: [], pacientes:[], sessoesPresenca:[], sessoesRelatorio: [], sessoesAcompDia:[] } const getters = { //pega o array de sessões (events) getEvents: state => state.events, ...
/* This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. This file was written by <NAME>. This javascript file is derived from, and is a port of, TinyHack (http://boingboing.net/rob/tinyhack/) by <NAME>. */ // Constants var view_radius = 4; var view_scale = 24; //...
/* <copyright> Copyright (c) 2012, Motorola Mobility LLC. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
// Checa se o carrinho está inicializado if(!sessionStorage.cart) { // Se não existir cria o carrinho usando sessionStorage sessionStorage.setItem('cart', JSON.stringify({items: {}, total: 0, shipping: {}, billing: {}, payment: {}})); } /** * Formata moeda * @param {[type]} n [description] * @return {[type]} ...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var hlimpl = require("../highLevelImpl"); var ya...
export { handleUploadedCSVFiles, exportCSV } import { getViewpoint, getData, getState, download,downloadRadarData, publishRefreshRadar, populateTemplateSelector, createObject, createRating } from './data.js'; import { unselectAllTabs , assignBlipsToSegments,findSectorForRating, getUniqueFieldValues, filterBlip, getList...
/* -*- mode: javascript; tab-width: 8; indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ let gClippings; let gOS; l...
/* ************************************ */ /* Define helper functions */ /* ************************************ */ function assessPerformance() { /* Function to calculate the "credit_var", which is a boolean used to credit individual experiments in expfactory. */ var experiment_data = jsPsych.data.getTrialsOfType('...
$(document).ready(function(){ $('#reload').hide(); $('#modalLoad').hide(); $("#e_c").hide(); $("#guarantor").hide(); $("#load_upload_ambiente").hide(); $("#sucesso_upload_proposal").hide(); $("#modal_reload").hide(); $("#fiador_ec").hide(); $("#sec_click").hide(); //MOSTRADNO A DIV GUARANTOR SE O VALOR DO ...
//import angular from 'angular'; if (!angular) angular = window.angular; /** * Represents Area module containing its components. * @class */ class Area { /** * Area constructor. * @contructor * @param name - the area name. * @param [deps] - module dependencies. * @param [options] - ...
var table; var minVal = 1000; var maxVal = 1000; var col; var countryObjectArray; var isOverBurn = false; var isOverArgues = false; var isOverOut = false; var isOverNeg = false; var isOverSex = false; var isOverAll = false; var isOverCont = false; var isOverDis = false; var isOverNoData = false; var FMGon = true; var...
/* Copyright 2016, 2017 London Stock Exchange 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 b...
/* global APP, $, config, interfaceConfig, JitsiMeetJS */ import UIUtil from '../util/UIUtil'; import UIEvents from '../../../service/UI/UIEvents'; import SideContainerToggler from "../side_pannels/SideContainerToggler"; let roomUrl = null; let emitter = null; /** * Opens the invite link dialog. */ function openLin...
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. <NAME> (1), Dr. <NAME> (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereby granted, free...
"use strict" var VERT_ALIGNMENT = false; var LEFT_TO_RIGHT = true; var ACTIVE = "#2653c9"; var NORMAL = "#7fa2ff"; var FANCY = "#cc22fc"; var POS_COLOR = "#afa2ff"; var ST_COLOR = "#bcd2ff" var SCROLL_ZOOM_INCREMENT = 0.05; var TREE_ = {}; // This map allows us to address the Token object given an ID var VIEW_ENHANCED...
'use strict'; const continents = require('../data/continents.json'), formatUrl = require('url').format, parseUrl = require('url').parse, regions = require('../data/regions.json'), TrieRoute = require('./trie-route'), utils = require('./utils'); /** * Use as a default handler for undefined ro...
// Converts GitHub's preview of job status for each commit from an icon with // a popover to a progress bar with red/yellow/green for failed/pending/success let GITHUB_OAUTH = undefined; let TOKEN_ERROR = "Github OAuth Token is not set for Extra GitHub PR Info extension but 'Show build status' flag is on (visit the ...
/** * Copyright 2017 Tierion * 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, ...
let tableSettings = document.querySelector('.saved-settings-wrapper'); let settingsTemplate = document.getElementById('google_ds_settings'); function btn_edit_map_settings(e) { let id = e.getAttribute('data-id'); const data = { 'method': 'get_map_settings', 'id': id } send_xhr_map_for...
function FullCube_copy(obj, c) { obj.ul = c.ul; obj.ur = c.ur; obj.dl = c.dl; obj.dr = c.dr; obj.ml = c.ml; } function FullCube_doMove(obj, move) { var temp; move <<= 2; if (move > 24) { move = 48 - move; temp = obj.ul; obj.ul = (~~obj.ul >> move | obj.ur << 24 - move) & 16777215; obj.u...
/* * Before you run this command, be sure the Mongo container is up and running. * * The purpose of this script is to update a pre-0.3.11 Unfetter database to 0.3.11. */ const mongoose = require('mongoose'); const argv = require('./cli.service').argv; /* Array of NTCTF attack patterns mapped to ATT&CK attack pat...
import { Draw } from "./draw" import { round } from "./utils" export function drawShearsMomentsAndDeflections(beam, nodes, spans, cases, yCoords, extremes) { // Now go thru the comberns again. Draw the line work this time. const numSpans = spans.length - 1 const [vMax, vMin, mMax, mMin, , , deflMaxCase, deflMin...
/** * Project : Limba * File : common.js * Created by <NAME> * Created on 20 janv. 2011 * Project site : http://code.google.com/p/limba */ /** * Google maps additional JS */ var pois = new Array(); var geocoder; var map; var addedIds = new Array(); var maxi = 0; var currentPos = 0; var direction...
import angular from 'angular'; import d3 from 'd3'; /** * @ngdoc directive * @name NodeLinkGraph * @module components.graph * * @param {$window} $window * @param {$log} $log * @param {Properties} Properties * @param {Nodes} Nodes * @param {Prefixes} Prefixes * @param {Filters} Filters * @param {GraphUtils} ...
const FPS = 30; // frames per second const friction = 0.5; // friction coefficient of space const shipBlinkDuration = 0.1; // in seconds const shipExplodeDuration = 0.3; const shipInvisibilityDuration = 3; // in seconds const shipSize = 30; // height in pixels const shipThrust = 5; // acceleration of the ship px per se...
import { Vec3 } from '../../math/vec3.js'; import { Quat } from '../../math/quat.js'; import { Mat4 } from '../../math/mat4.js'; import { Color } from '../../math/color.js'; import { BoundingBox } from '../../shape/bounding-box.js'; import { BLUR_GAUSSIAN, LIGHTTYPE_DIRECTIONAL, LIGHTTYPE_OMNI, LIGHTTYPE_SPOT...
var id = 0; var books_id = 0; var definition; var containerId; var books; var booksList ; var booksListForWishList ; var booksArray = []; var booksArrayForWishList = []; var typeOfNote = { NOTE:1, BOOKMARK:2, }; //очистка страницы перед пеезагрузкой содержимого function _cleanWindow (){ if ...
"use strict"; //**************************************************************************************************// // BRC Maps Team - SIMS DRC Ebola response // Oct-Nov 2018 // // Task list: // - make background color of cells depend on percentages? //*****************************************************************...
var displaCy = displaCy || {}; function displaCy(options) { this.api = options.api; this.defaults = DEFAULTS; this.container = document.getElementById(this.defaults.containerId); } displaCy.prototype = { run: function(options, onStart, onSuccess, onFinal, onErrors) { var options = options || {...
const { IgnoredError, InputError } = require('../errors/') const { CommandHandler, ReactionHandler } = require('../modules/') const { ReactCommand, ReactInterface } = require('../structures/') /** * The main controlling agent of the bot */ class Agent { /** * Create an Agent * @class * @para...
import hopscotch from 'hopscotch'; import m from 'mithril'; import * as app from "../app"; import * as queryAbstract from './queryAbstract'; import * as queryMongo from "./queryMongo"; import * as datamart from '../datamart/Datamart'; import {TreeAggregate, TreeAugment, TreeImputation, TreeSubset, TreeTransform} from...
var context; var mode = "title"; var seconds_of_this_crap = 0; var pens_to_go = 3; var num_horses; var cussin_sound_available = true; var cussin_frequency = 3000; var next_cuss = 0; var time_since_cussin = 0; var skip_render = false; var fence_images = []; fence_images["horizontal"] = new Image(); fence_images...
import { BaseDriver } from 'appium-base-driver'; import { fs, util } from 'appium-support'; import _ from 'lodash'; import { launch, installApp, removeApp } from 'node-simctl'; import WebDriverAgent from './webdriveragent'; import log from './logger'; import { simBooted, createSim, getExistingSim, runSimulatorReset } f...
import React, { useCallback, useEffect, useRef, useState } from 'react' import styles from './styles.module.css' import { ReactComponent as ClockIcon } from './clock.svg' import { ReactComponent as NightIcon } from './night.svg' import { ReactComponent as DayIcon } from './day.svg' const TimePickerCallout = ({ hours...
import $ from '../core/renderer'; import Color from '../color'; import { isFunction, isPromise } from '../core/utils/type'; import svgUtils from '../core/utils/svg'; import { each as _each, map as _map } from '../core/utils/iterator'; import { extend } from '../core/utils/extend'; import domAdapter from '../core/dom_ad...
/* Cookies borrar anteriores ---------------------------------------- */ $.removeCookie('tp_figuras'); $.removeCookie('tp_figuras_v220'); /* Cookies Nuevo Nombre --------------------------------------------- */ var Cookie_Nombre = "tp_figuras_v250"; /* localStorage borrar anteriores -------------------------------...
'use strict'; // ============================================================================ // Chat Scroller // ============================================================================ import Twilight from 'site'; import Module from 'utilities/module'; const SCROLL_EVENTS = [ 'touchmove', 'scroll', 'wheel',...
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of...
import React, { Component } from 'react'; import Header from '../Header/Header'; import {Link,Redirect} from "react-router-dom"; import axios from "axios"; import Moment from 'moment'; import Modal from "react-bootstrap-modal"; import DataTable, { createTheme } from 'react-data-table-component'; import loadjs from 'lo...
'use strict'; /*eslint-disable no-use-before-define*/ var common = require('./common'); var YAMLException = require('./exception'); var DEFAULT_FULL_SCHEMA = require('./schema/default_full'); var DEFAULT_SAFE_SCHEMA = require('./schema/default_safe'); var _toString = Object.prototype.toStrin...
//HOME $('.DealerModal').attr('id','DealerModal').attr('tabindex','-1').attr('aria-labelledby','myModalLabel');//run b/4 bootstrap js ready $('.OfferDetailsModal').attr('id','OfferDetailsModal').attr('tabindex','-1').attr('aria-labelledby','myModalLabel');//run b/4 bootstrap js ready $(document).ready(function() { //*...
"use strict"; module.exports = { parse: parse }; /* LIST IF ISO CODES FOR EACH COUNTRY/TERRITORY */ const _countries = []; _countries["AFG"] = "Afghanistan"; _countries["ALB"] = "Albania"; _countries["DZA"] = "Algeria"; _countries["ASM"] = "American Samoa"; _countries["AND"] = "Andorra"; _countries["AGO"] = "Angola...
/** * @namespace Sk.builtin * * @description * All the builtin types as well as useful functions */ if (Sk.builtin === undefined) { Sk.builtin = {}; } /** * @constructor * @extends {Sk.builtin.object} * @description * this should never be called as a constructor * instead use {@link Sk.abstr.buildNativeC...