text
stringlengths
5.97k
41.2k
var COLORSET = [[180, 200, 190], [190, 24, 53], [217, 183, 37], [0, 91, 58], [0, 33, 157], [83, 39, 106]]; var beads = []; //beads object array /*{ date: '', day: '', type: '', intensity: '', duration: '', note: 'string', color: 'rgba()', //color from type, alpha from intensity filling: 'image', rad:...
const dreadedDuo = [ [ // Section 1 - Right Hand 'EFB/URP', // 1 'UFB/ERP', // 2 'EPG/UBL', // 3 'UPG/EBL', // 4 'UPG/EBLS', // 5 'UBLS/EPG', // 6 'EBL/UGT', // 7 'UBL/-BGT', // 8 ], [ // Section 2 - Left Hand ...
var Buffer = require('buffer').Buffer; var util = require('util'); var C = exports.Constants = require('./constants.js'); exports = module.exports; var tools = exports.tools = {}; // Converts a single decimal value to a Hex string, padding with leading zeros as required. // e.g. 100 would become '64' and 8 would ...
// Hard-coded constants used for the game (i.e. for cities, names, resource demand and supply etc.) const introductionText = [ "1492: Columbus.\n1497: <NAME>.\n 1522: Magellan.\n\nThe Age of Exploration opened up much more than just new coastlines. Spices became more valuable than ever, with the Indian Ocean trade fl...
const signaturesmodule = require('./signatures.js'); const execSync = require('child_process').execSync; const fetch = require('node-fetch'); const fs = require('fs'); var DIR_TMPWEBPACK = __dirname+"/../tmpwebpack/"; var DIR_DATABASES = __dirname+"/../dbs/"; var signatures = []; var DEBUG = true; function compareVer...
/** * App para la predicción marítima. * */ /** * Variables globales. * */ //Variable global que almacena el número de días de los que se disponen predicción meteorológica var num_days = 0; //Variables globales para almacenar las coordenadas geográficas de la zona seleccionada. var lat = 37.9...
const isBrowser = require('is-browser') let canvas = null let ctx2d = null const W = 250 const H = 860 const M = 10 const LINE_H = 16 const FONT_H = 11 const FONT = FONT_H + 'px Droid Sans Mono, Andale Mono, monospace' function ms(time) { var f = Math.floor(time * 10) / 10 var s = '' + f if (f % 1 === 0) s += '....
import tinycolor from "tinycolor2"; import percentile from "percentile"; import { GPU, input } from "gpu.js"; import { rfft2d, irfft2d } from "./kissfft"; // require("log-timestamp"); function getStandardDeviation(array) { const n = array.length; const mean = array.reduce((a, b) => a + b) / n; return Math.sqrt( ...
const { Env, def, get, set, getSym } = require('./env'); const Nil = { proc: () => Nil, str: 'nil', }; const nilToUndefined = x => x === Nil ? undefined : x; const toStr = expr => BuiltIn.str.proc([expr]); const isTrue = val => (val !== false && val !== Nil); const isStream = val => val && val.next ? true : f...
const fs = require('fs'); const rc = require('rc'); const extend = require('deep-extend'); const editorconfig = require('editorconfig'); const DEFAULTS = extend({}, require('./constants/defaults')); const MESSAGES = require('./constants/messages'); const PATTERNS = require('./constants/ignorePatterns'); const MAPPINGS...
// ==UserScript== // @name MangaDex Mass Editor v2 (definitely not) Beta // @namespace https://github.com/Xnot/userscripts // @version 2.02 // @icon https://mangadex.org/images/misc/default_brand.png?1 // @description mass edit script but it doesn't make me want to kill myself when I look at th...
var storeData = {}, //contains storeData, chosen storeId, and chosen tag domainData={}, loggedIn = 'unknown', sessionKey = undefined, username = '', isEnabled = true, // Keep the enabled/disabled state of extension graphDataMap = {}, // Keeps earnings graph data in store ==> graphData and earnin...
/** Mixin: Barefoot.APIAdapter.Server * The server mixin for the <APIAdapter> takes the specified apiRoutes and does * two things: * * Create RESTful API routes with Express.JS, callable via HTTP * * Map server-side API calls to the correct local callback * * The creation of the Express.JS routes is done on initi...
import React, { Component } from 'react'; import { Row, Col } from 'react-flexbox-grid'; import CopyToClipboard from 'react-copy-to-clipboard'; import ReactTooltip from 'react-tooltip'; import { connect } from 'react-redux'; import Button from '@material-ui/core/Button'; import { bindActionCreators } from 'redux'; impo...
import { decrypt, generatePrivate, getPublic } from '@toruslabs/eccrypto' import { get, setAPIKey, setEmbedHost } from '@toruslabs/http-helpers' import BN from 'bn.js' import { ec as EC } from 'elliptic' import stringify from 'json-stable-stringify' import memoryCache from 'memory-cache' import { keccak256, toChecksumA...
import { __decorate } from 'tslib'; import { Directionality, BidiModule } from '@angular/cdk/bidi'; import { EventEmitter, Directive, ElementRef, ViewContainerRef, ComponentFactoryResolver, Renderer2, Host, Optional, Input, Output, Component, ChangeDetectionStrategy, ViewEncapsulation, ChangeDetectorRef, NgModule } fro...
'use strict'; const queueContainer = document.querySelector('.queue__container'); const container = document.querySelector('.chosen-playlist__container'); const title = document.querySelector('.chosen-playlist__title'); const sortable = document.querySelector('#sortable1') const videoCont = document.querySelector('.ch...
const { validationResult, body } = require('express-validator'); const moment = require('moment'); const PdfMakePrinter = require('pdfmake/src/printer'); const pdfMake = require('pdfmake/build/pdfmake.js'); const pdfFonts = require('pdfmake/build/vfs_fonts.js'); pdfMake.vfs = pdfFonts.pdfMake.vfs; const Observation = ...
var build = require('./lib/build.js') var calcIndex = require('./lib/calc-index.js') var types = require('./lib/types.js') var overlapTest = require('bounding-box-overlap-test') var once = require('once') var pull = require('pull-stream/pull.js') var collect = require('pull-stream/sinks/collect.js') var nextTick = proc...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { chainPropTypes } from '@mui/utils'; import appendOwnerState from '.....
var GlideFilterVariables = Class.create(GlideFilterHandler, { _setup: function (values) { this.maxValues = 1; this.id = this.tr.tableField + "." + guid(); this.catID = "item_option_new.cat_item." + guid(); this.listenForOperChange = true; this.rightOperand = values; }, ...
/* Timeframe, version 0.3.1 * (c) 2008-2011 <NAME> * (c) 2012 <NAME> * Freely distributable under the terms of an MIT-style license. * ------------------------------------------------------------- */ // Checks for localized Datejs before defaulting to 'en-US' var Locale = { format: (typeof Date.CultureInfo =...
var _ = require('underscore'); var Backbone = require('backbone'); var $ = require('jquery'); var AdminCommunityFormTemplate = require('../templates/admin_community_form_template.html'); var AdminCommunityAddBureauOfficeTemplate = require('../templates/admin_community_add_bureau_office_template.html'); var AdminCommun...
'use strict' var CONST = require('../model/const.js'); var Model = require('../model/model.js'); var Inside = require('../assets/inside.js'); var Inputs = require('../triggers/inputs.js'); var Questions = require('../model/questions.js'); var InterfaceUtil = require('../assets/interface-utils.js'); var Helper = requir...
$("<style type='text/css'> .tooltip {z-index: 30000} .tourBuilder td { vertical-align: text-top } .tourBuilder span[rel='tooltip'] {cursor: pointer; color: #FFF; font-size: 14px} .tourBuilder { overflow-y: auto; overflow-x: hidden; color: #FFF; font-size: 11px; background-color: #333; padding: 10px; opacity: 0.9; posit...
import { arc, line as d3line, lineRadial } from "d3-shape"; import { cancelNodesRequest, getNodes, getRootNode, getTreeHighlight, receiveNodes, requestNodes, resetNodes, setRootNode, treeThreshold, } from "../reducers/tree"; import { scaleLinear, scaleLog, scalePow } from "d3-scale"; import { scheme...
// setTimeout(function(){ // baocao(); // alert(123) // }, 10000); function like(id,client_id) { var html='<li class="_54ni __MenuItem duyen_click_like" data-client_id="'+client_id+'" data-duyen="true" role="presentation" data-ft="{&quot;tn&quot;:&quot;W&quot;}">\n' + '\t<span class="_54nc" title="Gửi ph...
import _ from '@lodash'; import { amber, blue, brown, green, red } from '@material-ui/core/colors'; // TODO: PARAMETRIZAR ESTE DATO; export const COTIZACION_DOLLAR = 6600; export const languageConfig = { header: { actions: '' }, body: { emptyDataSourceMessage: 'Sin datos' }, toolba...
/** * Arakny Interface - Dropdown Component */ import { AIEvent } from '../../utils/utils.js'; import dom from '../../utils/dom'; import "./types"; function AIDropdowns(selector, options) { let elements = selector; if (typeof selector === 'string') elements = document.querySelectorAll(selector); elements.forEa...
#!/usr/bin/env node /** * (C) Copyright 2017 o2r-project * * 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 app...
import * as THREE from 'three'; import { fullscreenGeometry, fullscreenVertexShader, } from './common.js'; import {getRenderer} from '../renderer.js'; export const poisonFragmentShader = `\ uniform float iTime; uniform int iFrame; uniform vec3 iResolution; // uniform vec3 uColor1; // uniform vec3 uColor2...
var game = new Phaser.Game(800, 600, Phaser.AUTO, 'gameDiv', { preload: preload, create: create, update: update }); function preload() { game.load.image('background', '../images/StarBackground.png') //Background game.load.spritesheet('player', '../images/glowShips.png', 344, 164, 10) //Player Character ...
'use strict'; /** * Recipe engine is an event driven machine. * * Algorithm * For 7 sequential phases, beginning with data import * DataImport generates a list of datasources. * For each datasource, the rest of the phases are run sequentially. */ // given recipe // IS AN EVENT EMITTER // error : error messages ...
//pragma PKGS: game 'use strict'; var SDK = require('app/sdk'); var Scene = require('app/view/Scene'); var RSX = require('app/data/resources'); var CONFIG = require('app/common/config'); var Animations = require("app/ui/views/animations"); var audio_engine = require('app/audio/audio_engine'); var NavigationManager = r...
// src/list/BoxScene.js import React, {Component} from "react"; import {connect} from "react-redux"; import classnames from "classnames"; import {mobileCheck} from "../utils/helpers"; import Cookies from "js-cookie"; import {clearHtml, getCursorMentionMatch} from "./_component/Input" import OutsideClickHandler from "r...
import React, {Component, Fragment} from 'react'; import ReactDOM from 'react-dom'; import {ROUTE} from './Route'; import axios from 'axios'; import '../../css/style.css'; import '../../../public/js/dataTables.bootstrap4.min'; import '../../../public/js/jquery-confirm'; import '../../../public/js/script'; import '../.....
import React, {useState, useEffect} from 'react'; import { ScrollView, View, Text, Picker, Platform, Dimensions, } from 'react-native'; import { withTheme, TextInput, Button, RadioButton, ActivityIndicator, HelperText, } from 'react-native-paper'; import DatePicker from 'react-native-datepicker'...
var cs_prive=window.location.pathname.match(/\/ecrire\/$/)!=null; jQuery.fn.cs_todo=function(){return this.not('.cs_done').addClass('cs_done');}; // variable modifiable afin d'initialiser l'ouverture d'un onglet if(typeof(onglet_actif)=='undefined') var onglet_actif = ''; // variable modifiable afin de choisir la bali...
/* * AddressFmt.js - Format an address * * Copyright © 2013-2015, 2018, JEDLSoft * * 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 *...
import React, { useEffect, useRef, useState } from 'react' import PropTypes from 'prop-types' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faArchive, faArrowLeft, faBars, faCog, faFileAlt, faFolder, faSitemap } from '@fortawesome/free-solid-svg-icons' import { Breadcrumb, Button, Dropdown, ...
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating // requestAnimationFrame polyfill by <NAME>. fixes from <NAME> and <NAME> // MIT license (function () { var lastTime = 0; var vendors = ['ms', 'moz'...
'use strict'; var isChannelReady = false; var isInitiator = false; var isStarted = false; var turnReady = false; var localStream; var pc; var remoteStream; var peerNumber; var peerSocketId; var ICEreceived; var fileDataReceived; var receiveChannel; var bitrateDiv = document.querySelector('div#bitrate')...
/*global MersenneTwister*/ 'use strict'; var twister = new MersenneTwister(); var SS = {PRELOAD: 0, READY: 1, PLAYING: 2, LOST: 3, WON: 4}; var minesweeper = { settings:{ mine_count: 50, cols: 30, rows: 16 }, timer: undefined, status: SS.PRELOAD, state_history: [], m...
const m = require("moment"); const { convertToFirebaseTimestamp, convertMomentToFirebaseTimestamp, getEnvMode, getWorkingCapital, getPosition, recordTradeForBacktestFarnsworth, saveNewBuyPosition, updatePosition, updateWorkingCapital, updateTradeCounter } = require("../../Firebase"); const { log, logNews, logError } =...
p5.disableFriendlyErrors = true; // GLOBAL GENERAL STATE let drawWindows = true; // Set this to false for the real event, we don't need to waste GPU resources on drawing the windows when they're real var drawFPS = false; var fps = 0; var doGlitch = true; // This section contains state that is shared between many or a...
const redisType = require("ioredis"); const scripto = require('redis-scripto'); const path = require('path'); const pgp = require('pg-promise')(); const inventory_key = "Inventory"; const default_schema = "public"; pgp.pg.types.setTypeParser(20, BigInt); // This is for serialization bug of BigInts as strings. const In...
TheWalkingLady.Game = function (game) {}; var score = 0; var scoreText; var faller; var soundEffects; var gameMusicIsPlaying = false; var powerup; // speedNumber controls the walk speed. 1 = slow, 2 = normal, 3 = fast. var speedNumber = 2; var powerupSpawnInterval = [8000, 9000, 13000]; var badItemSpawnInterval = [60...
/* eslint-disable no-mixed-operators */ import config from 'config'; import moment from 'moment'; import forEach from 'lodash/forEach'; import htmlParser from 'react-markdown/plugins/html-parser'; export const millisToSeconds = ( millis, digits = 2 ) => { if ( typeof millis !== 'number' ) { throw new Error( '_mi...
var request = new XMLHttpRequest(); request.open('GET','js/sources.json'); request.responseType = 'json'; request.send(); var request1 = new XMLHttpRequest(); request1.open('GET','js/audio.json'); request1.responseType = 'json'; request1.send(); if (window.localStorage.getItem('name')){ $('.pr-text').tex...
'use strict'; var _index = require('/Users/zhangqian/Documents/flavia/postcss-assert/node_modules/babel-runtime/regenerator/index.js'); var _index2 = _interopRequireDefault(_index); var _slicedToArray2 = require('/Users/zhangqian/Documents/flavia/postcss-assert/node_modules/babel-runtime/helpers/slicedToArray.js'); ...
// // This is the map. // import React, {useState, useEffect, useRef} from 'react'; // eslint-disable-line no-unused-vars import PropTypes from 'prop-types' import {connect} from 'react-redux' import {setMapCenter} from '../actions' import {Container, Row, Col, Button, Tooltip, ListGroup, ListGroupItem} from 'reactstra...
var wid, hei; var transitionDuration = 800; var started = false; var data = []; var memberships = []; var scales = {}; var totals = {}; var maxYear, minYear = 0; var vis; var padding = { top: 40, right: 30, bottom: 30, left: 240 } var barHeight = 10; var defaultPopPercent = .08; var boxHeight = 35; var totalmembership...
"use strict"; const workerpool = require('workerpool'); const B64_URL_CHARSET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" // https://github.com/digitalbazaar/forge/blob/master/lib/prime.worker.js#L14 const SMALL_PRIMES = [3n, 5n, 7n, 11n, 13n, 17n, 19n, 23n, 29n, 31n, 37n, 41n, 43n, 47n, 53n...
require('bootstrap'); require('../less/insert/insert.less'); require('./insert/jquery.tagsinput'); require('../less/setting.less'); var common = require('./common'); var loadGoogleMapsApi = require('load-google-maps-api-2'); var UrlSearchParams = require('url-search-params'); var params = new UrlSearchParams(location....
/* Greynir: Natural language processing for Icelandic Page.js Scripts for displaying tokenized and parsed text, with pop-up tags on hover, name registry, statistics, etc. Copyright (C) 2021 <NAME>. This software is licensed under the MIT License: Permission is hereby granted, free of charg...
"use strict"; let K0 = 1; initEmptyScene(sceneElements); load3DObjects(sceneElements.sceneGraph); requestAnimationFrame( computeFrame ); // Set up resize window window.addEventListener('resize', resizeWindow); function changeWireframe(value) { if(value===true) { for(let name in sceneElements.models)...
import L from 'leaflet' import 'leaflet-rotatedmarker' import "leaflet/dist/leaflet.css"; import 'leaflet.gridlayer.googlemutant' // https://github.com/Leaflet/Leaflet/issues/4968 import iconUrl from 'leaflet/dist/images/marker-icon.png'; import icon2xUrl from 'leaflet/dist/images/marker-icon-2x.png'; import iconShado...
var util = require('util'); var querystring = require('querystring'); var express = require('express'); var url = require('url'); var async = require('async'); var conn = require('starmutt'); var cache = require('memory-cache'); var config = require('config'); var jsonld = require('jsonld'); var n3util = require('n3')....
/** 模块名 */ var modelname = "作业步骤计次"; var servicePath="procedureStepCount.do" $(function(){ $("input.ui-button, a.ui-button").button(); $("#cond_px, #input_px").select2Buttons(); /*为每一个匹配的元素的特定事件绑定一个事件处理函数*/ $("#searcharea span.ui-icon").bind("click", function() { $(this).toggleClass('ui-icon-circle-triangle-n')...
import React from "react"; import f from "lodash/fp"; import { ColumnKinds, DefaultLangtag, Directions, Langtags } from "../../constants/TableauxConstants"; import { KEYBOARD_TABLE_HISTORY } from "../../FeatureFlags"; import { canUserChangeCell } from "../../helpers/accessManagementHelper"; import { doto, mayb...
; /* * Common variables and functions. */ jQuery(document).ready(function(){ /* * Function remove all "multiplied_example" containers on page before send request. */ jQuery('#update-nav-menu .button-primary, .mm_theme_options_form .button-primary').click( function( event ) { ;jQuery( '.multiplied_example' )...
//#12.00Aa WDGraphe.JS //VersionVI: 30A150063j // Le seul support technique disponible pour cette librairie est // accessible a travers le service "Assistance Directe". // Manipulation d'un bouton On/Off du champ de saisie function WDBarreBoutonOnOffGraphe (oObjetParent, oBouton, sCommande) { // Si on est pas dans l...
//TODO: var request = require('request'); var _ = require('underscore'); var $c = require('cheerio'); $(function(){ //获取对应文章 function getArticle(album){ if(album == undefined) { console.log('unknown album'); return; } request.get('http://music.douban.com'+album,{ headers: { 'User-Agent': 'Mozilla/5...
import r from '@hat-open/renderer'; import * as u from '@hat-open/util'; import * as datetime from './datetime'; import * as state from './state'; import * as table from './common/table'; import * as menu from './common/menu'; import * as details from './common/details'; import * as filter from './common/filter'; ex...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* Copyright 2016 First People's Cultural Council 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 w...
var tinyMCEInstance = null; var editorContainerDiv = null; var editorAndCommentsContainerDiv = null; var commentsContainerDiv = null; var autoSaveIntervalInSeconds = 60; /** * Reads all block types from the select-Component in HTML and returns them as array. * @returns {String[]} Array of string containing all possi...
var Frame = require('./frame') , Hand = require('./hand') , Pointable = require('./pointable') , Finger = require('./finger') , CircularBuffer = require("./circular_buffer") , Pipeline = require("./pipeline") , EventEmitter = require('events').EventEmitter , gestureListener = require('./gesture').gestureL...
import React, { Component } from 'react' import PropTypes from 'prop-types' import { FormattedMessage, FormattedHTMLMessage } from 'react-intl' import api from '../../consts' import { store } from '../../main/app' import { Checkbox, FormControlLabel, FormGroup, Dialog, DialogActions, DialogContent, Dialo...
'use strict' const EventEmitter = require('events').EventEmitter const qs = require('querystring') const util = require('util') const uuid = require('uuid') const _ = require('lodash/fp') const semver = require('semver') const BN = require('./bn') const E = require('./error') const version = require('../package.json...
/* * Copyright 2013 Apigee Corporation. * * 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, pub...
/** * Copyright 2015-2016 Unicity International * * 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 l...
var Promise = require('bluebird'); var asp = require('bluebird').promisify; var fs = require('graceful-fs'); var path = require('path'); var url = require('url'); var readdirp = require('readdirp'); var detectFormat = require('./node-transformer').detectFormat; var parseCJS = require('./node-transformer').parseC...
var log4js_utils = require('./log4js-utils'); var logger = log4js_utils.logger(); var loggerSignaling = log4js_utils.loggerSignaling(); var send_email_utils = require('./send-email-utils'); var listOfUsers = {}; var roomList = {}; var shiftedModerationControls = {}; var ScalableBroadcast; //maximum member of users =...
// Initialize Demo let JSSDKDemo = null; $(document).ready(() => { JSSDKDemo = new Demo(); JSSDKDemo.start(); }); function Demo() { const self = this; // Use self inside of methods to ensure that the Demo object is referenced when calling public members // These are the states that the demo can be in thi...
"use strict"; const {promisify} = require("util"); const fs = require("fs"); const path = require("path"); const url = require("url"); const {getLocaleFromPath, isTranslated, translate, getPageLocales, getLocaleFromHeader} = require("../lib/i18n"); const {existsSync} = fs; const {parsePage} = require("../lib/parser"...
var APP = APP || {}; APP.UI = (function () { // 'constants' var SVG_WIDTH = 500, SVG_HEIGHT = 500; var GridCell = React.createClass({ displayName: "GridCell", // generates a color to represent the trait of the currently selected feature generateColor: function () { var colors = ['#e60000...
import { all, call, put, takeEvery, takeLatest, throttle, select, } from 'redux-saga/effects' import { push } from 'connected-react-router' import Api, { Transforms } from '_/ovirtapi' import { saveToLocalStorage } from '_/storage' import sagasConsole from './console' import sagasOptions from './options...
var chessBoard; var game; var computerTurn = false; var logger; var searchDepth; //{ captured, color, flags, from, piece, san, to } function setup() { frameRate(5); noCanvas(); let chessParams = { draggable: true, position: 'start', onMouseoverSquare: onMouseoverSquare, onMouseoutSquare: onMouse...
function empty() { } ; var ec2_httpclient = { handler : null, uri : null, auxObj : null, serviceURL : null, accessCode : null, secretKey : null, timers : {}, USER_AGENT : "Elasticfox/1.7-000116", API_VERSION : "2010-06-15", VPN_CONFIG_PATH : "http://ec2-downloads.s3.amaz...
// IP cust --- INSERT // --- view initialization and refresh function initDet() { contdoc = doc.getElementById("_cont").contentDocument; // IP initDet --- BEGIN initCpt(contdoc, "CptBrt", retrieveTi(srcdoc, "TagDlgWdbeRlsStareptrDet", "CptBrt")); refreshRbu(contdoc, srcdoc, "RbuBrt", "FeedFDetRbuBrt", retrieveCi(...
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
/* * DurationFmt.js - Date formatter definition * * Copyright © 2012-2015, 2018, JEDLSoft * * 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/LICEN...
//Modified Infinity Dimensions var idBaseCosts = [null, 10, 100, 1e10, 1e20, 1e140, 1e200, 1e250, 1e280] var idCostMults = [null, 10, 100, 1e10, 1e20, 1e140, 1e200, 1e250, 1e280] function buyIDwithAM(t) { let d=player["infinityDimension"+t] let c=d.costAM if (getAmount(1)<1) { alert("You need to buy 1 of first No...
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import FastImage from 'react-native-fast-image'; import { Text, View, Image, TouchableOpacity, ScrollView, FlatList, Dimensions, StyleSheet, } from 'react-native'; import {bindActionCreators} from 'redux'; import {connect} fro...
/** * @module olcs.core */ import {linear as linearEasing} from 'ol/easing.js'; import olLayerTile from 'ol/layer/Tile.js'; import olLayerImage from 'ol/layer/Image.js'; import {get as getProjection, transformExtent} from 'ol/proj.js'; import olSourceImageStatic from 'ol/source/ImageStatic.js'; import olSourceImageWM...
const assert = require("assert"); const removeSlash = require("remove-trailing-slash"); const looselyValidate = require("@segment/loosely-validate-event"); const serialize = require("serialize-javascript"); const Queue = require("bull"); const axios = require("axios"); const axiosRetry = require("axios-retry"); const m...
/** * createIT main javascript file. */ var $devicewidth = (window.innerWidth > 0) ? window.innerWidth : screen.width; var $deviceheight = (window.innerHeight > 0) ? window.innerHeight : screen.height; var $bodyel = jQuery("body"); var $navbarel = jQuery(".navbar"); var $topbarel = jQuery(".ct-topBar"); /* ========...
/* * 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 * to you under the Apache License, Version 2.0 (the * "License"); you ma...
// jQuery Plugin // version 0.2, Dec 18th, 2014 // by <NAME> var validLetters = [ ',',';','Q','[','\\', 'd','f','g','h','i', 'j','k','l','n','q', 'r','s','u','w','x' ]; function isValidLetter(letter) { return validLetters.indexOf(letter) >= 0; } (function($) { $.plate = function(element, options) { var default...
const pxls = require('./pxls'); const fs = require('fs'); const FileType = require('file-type'); const DWebp = require('cwebp').DWebp; const Jimp = require('jimp'); module.exports = { async board(x = 0, y = 0, width, height) { const board = pxls.board(); if ((x === undefined || x === null) && (y === undefined ||...
// Global variables const { Message, TextChannel, CategoryChannel, MessageEmbed, MessageAttachment, Sticker } = require("discord.js"); const { ipcRenderer } = require("electron"); const messageArea = document.querySelector('discord-messages'); const messageField = document.querySelector('#messageField'); const guildHea...
var _ = require('underscore'); var swig = require('swig'); var path = require("path"); var naturalSort = require("javascript-natural-sort"); var nodemailer = require("nodemailer"); var csv = require('csv'); var emailSender = require('../services/email-dispatcher.js'); var ApartmentProvider = require('../models/A...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
/*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 <NAME> * Released under the MIT license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD define(['jquery'], factory); } else if (typeof exports === 'object') { ...
// Karte mit bestimmtem Mittelpunkt und Zoom-Eigenschaften erzeugen var laengenGrad = 69.500; var breitenGrad = 35.500; var kartenMittelpunktKoordinaten = [breitenGrad, laengenGrad]; var zoomStufe = 1.5; var karte = L.map('Karte', { zoomControl: true, minZoom: 2, maxZoom: 4 }).setView(kartenMittelpunktKoordinaten...
import React from 'react'; import { Alert, AsyncStorage, Dimensions, StyleSheet, View, ScrollView, FlatList, TouchableOpacity, RefreshControl } from 'react-native'; import { Header, FormInput, Text, Icon, Avatar } from 'react-native-elements'; import Tts from 'react-native-tts'; import Voice from 'react-native-voice'; ...
/* Library Object */ const vachan = {} /* Promise States - Diagrammatic Representation: Promise -> Pending -> resolve() -> Fulfilled <- - | | Either State it is v | Resolved reject() -> Rejected <- - - -...
class Graphs { static PatternNodeName = `[.\\dA-KM-Za-zА-Яа-я]{1}[.\\d\\wА-Яа-я]{0,}` static Palette = { Default: "#1995AD", Start: "#F52549", Finish: "#6af030", Unusing: "#BCBABE", Using: "#1E434C", } constructor(content) { this.Reconsctruct(content) } /* == PUBLIC == */ // Reset All V...
"use strict"; const os = require("os"); const path = require("path"); const pFinally = require("p-finally"); const pMap = require("p-map"); const pPipe = require("p-pipe"); const pReduce = require("p-reduce"); const semver = require("semver"); const getAuth = require("npm-registry-fetch/auth"); const Command = requir...