text
stringlengths
3.22k
29.5k
import ElementOperations from './ElementOperations' import Sizeable from './Sizeable' import Node from './Node' import Scene from './Scene' import Motor from './Motor' import {isInstanceof} from './Utility' import { Camera as ThreeCamera, } from 'three' let threeObject3d = null let domPlane = null // We explicitl...
/** * Copyright 2014 Flipkart Internet Pvt. Ltd. * * 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 ...
'use strict'; var Js_primitive = require("./js_primitive.js"); var Belt_internalBuckets = require("./belt_internalBuckets.js"); var Belt_internalBucketsType = require("./belt_internalBucketsType.js"); function size(prim) { return prim.size; } function copyBucketReHash(hash, h_buckets, ndata_tail, _old_bucket) { ...
var _ = require('lodash'); var logoUrl = require('./logo.png'); var moment = require('moment-timezone'); require('plugins/timelion/directives/cells/cells'); require('plugins/timelion/directives/fullscreen/fullscreen'); require('plugins/timelion/directives/interval/interval'); require('plugins/timelion/directives/expre...
import { fileURLToPath } from 'url'; import register from './fixtures/register.json'; import { fixtureFromRepository } from './lib/model.js'; import plugins from './plugins/plugins.json'; const websiteUrl = process.env.WEBSITE_URL || `http://localhost:${process.env.PORT || 3000}/`; export default { telemetry: true...
'use strict'; function isKnownPotion(item, tempPlayer) { if (!tempPlayer) tempPlayer = player; if (item.matches(OPOTION)) { if (tempPlayer.knownPotions[item.arg]) { return true; } } return false; } function learnPotion(item) { if (item.matches(OPOTION)) { player.knownPotions[item.arg] =...
// Index file used for the main builds, which does not include legacy plugin names // Once es/ buld is removed, then this file will be renamed to index.js import { pluginFactory } from '../utils/plugins'; // Component group plugins import { AlertPlugin } from './alert'; import { BadgePlugin } from './badge'; import { ...
'use strict'; var addressHelpers = require('base/checkout/address'); var cleave = require('base/components/cleave'); /** * updates the billing address selector within billing forms * @param {Object} order - the order model * @param {Object} customer - the customer model */ function updateBillingAddressS...
import React, {Fragment} from 'react' import {connect} from 'react-redux' import Dialog from '@material-ui/core/Dialog' import DialogActions from '@material-ui/core/DialogActions' import DialogContent from '@material-ui/core/DialogContent' import DialogContentText from '@material-ui/core/DialogContentText' import Dialo...
var _ = require('underscore'); var Backbone = require('backbone'), $ = require('jquery'), strategyTpl = require('../templates/_entityTradePortfolioHistroy.tpl'), TradePortfolio = require('../models/TradePortfolioHistroy'); var config = require('../conf'); var d3 = require('d3'); Backbone.$ = $; exports = module...
#!/usr/bin/env node const fs = require('fs') const readline = require('readline') const path = require('path') const DefaultDirectives = require('./defaults.js').directives class MacroError extends Error { constructor (cx, message) { super(`${message} (${cx.source}:${cx.node.lineNo})`) this.cx = cx } } c...
import { isObject, isEqual } from 'lodash-es'; import { delegate } from './nextbone.js'; function getPathSegments(path) { const pathArr = path.split('.'); const parts = []; for (let i = 0; i < pathArr.length; i++) { let p = pathArr[i]; while (p[p.length - 1] === '\\' && pathArr[i + 1] !== undefined) { ...
/** * @fileoverview 创建widget类 * @author liweitao */ 'use strict'; var _ = require('lodash'); var fs = require('fs'); var path = require('path'); var chalk = require('chalk'); var inquirer = require('inquirer'); var Base = require('../base'); var Util = require('../../util'); var request = require('request'); var del...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" :...
import React, { useState } from "react"; import Grid from '@material-ui/core/Grid'; import Typography from '@material-ui/core/Typography'; import TextField from '@material-ui/core/TextField'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import Checkbox from '@material-ui/core/Checkbox'; import Rad...
// test-onmd-X.js // // Generic Object Namespace Manager (onm) data model declaration object test suite. // // This module implements a generic test suite for Object Namespace Manager (onm) // data model declaration objects. If you're taking a dependency on the onm module, // it is strongly recommended that you execute...
import { EMAILPATTERN, PHONEPATTERN } from "../../constants/data-validation-patterns"; import Input from '../atoms/Input'; import Textarea from '../atoms/Textarea'; import React from 'react'; function encode(data) { return Object.keys(data) .map((key) => encodeURIComponent(key) ...
import FlatQueue from 'flatqueue'; const ARRAY_TYPES = [ Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array ]; const VERSION = 3; // serialized format version export default class Flatbush { static from(data) { if (!(data insta...
/* * * authors by 储涛 on 15/12/7 * version 1.1.4 */ //引入插件 var gulp = require('gulp'), less = require('gulp-less'), htmlmin = require('gulp-htmlmin'), uglify = require('gulp-uglify'), minifyCss = require('gulp-minify-css'), livereload = require('gulp-livereload'), copy = require('gulp-copy')...
/* * Copyright © 2019 Lisk Foundation * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated...
import React from 'react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import classNames from 'classnames'; // Components import History from './components/History'; import Node from './components/Node'; import Menu from './components/Menu'; // Constants import * as ViewMode...
var $ = require("jquery"); var url = require("url"); var loading = require("./loading"); var platform = require("./platform"); var gitbook = window.gitbook; var usePushState = typeof history.pushState !== "undefined"; /* Get current scroller element */ function getScroller() { if (platform.isSmallScreen()) ...
/*globals exports, require */ 'use strict'; var check = require('check-types'), report; exports.analyse = analyse; function analyse (ast, walker, options) { // TODO: Asynchronise var settings, currentReport, clearDependencies = true, scopeStack = []; check.assert.object(ast, 'Invalid syntax tree'); ...
import Framebuffer from './framebuffer'; import Texture from './texture'; import { formatValue, log, assert } from '../utils'; // Local constants, will be "collapsed" during minification // WebGL1 const GL_FLOAT = 0x1406; const GL_FLOAT_VEC2 = 0x8B50; const GL_FLOAT_VEC3 = 0x8B51; const GL_FLOAT_VEC4 = 0x8B52; cons...
"use strict"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enu...
function addOnloadHandler(elementObject, functionObject) { if(typeof(appLog) != 'undefined') { //appLog("addOnloadHandler: " + elementObject.id); } if(document.addEventListener) { elementObject.addEventListener('load', function(e) { functionObject(elementObject); }, false); } else { if(documen...
import cax from 'cax' import { scaleLinear } from '../../common/scale' import Axis from '../../axis/src' const { Rect, Group } = cax const defaultOption = { vertical: true } class Bar extends Group { constructor (data) { super() //根据 data 计算标尺 const len = data.datasets.length const axisConfig...
const Axios = require('axios'); const FileType = require('file-type'); const ContentType = require('content-type'); const IconvLite = require('iconv-lite'); const cheerio = require('cheerio'); const PdfParse = require('pdf-parse'); const OFFICEPROPS = require('officeprops'); const PARSE_PDF_OPTIONS = { // ...
const posCode = ['001','002','003','004','005','006','007','008','009','010','011','012']; const posName = ['教授','准教授','講師','助教','特任教授','特任准教授','特任講師','特任助教','特定教授','特定准教授','特定講師','特定助教']; const posName_en = ['Professor','Associate Professor','Associate Professor (Lecturer)','Assistant Professor','Specially Appointed P...
function share(id){ /// urls from https://blog.bufferapp.com/social-media-icons var ww = 700, wh=500; var servicenames = {tw: 'Twitter', fb: 'Facebook', gp: 'GooglePlus', li: 'LinkedIn' }; var services = { tw: {url:'https://twitter.com/intent/tweet?riginal_referer=%URL%&text=%TXT%&url=%URL%&via=who'}, fb: {u...
/* MIT License Copyright (c) 2017 <NAME> Copyright (c) 2017 - 2018 SuperNET Copyright (c) 2019 <NAME> 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 limita...
import { guardMacroK } from './unit/index.js' import { waitStatePending } from './interface/index.js' import { status } from './database.js' const wait = ms => new Promise(resolve => setTimeout(resolve, ms)) const vup = async ({ vdb, macro, info, num, INTERVAL, log, io }) => { await wait(INTERVAL - ((new Date()).ge...
var _ = require('lodash'); var STK = null; var THREE = null; var log = require('../lib/logger')('SSCServer'); var DEFAULT_WIDTH = 1024; var DEFAULT_HEIGHT = 768; function __init() { // Make sure we pull in STK (do this on demand) if (!STK) { log.info('Initializing STK-SSC'); STK = require('../../ssc/stk-s...
/*! * router * Copyright(c) 2013 <NAME> * Copyright(c) 2014 <NAME> * MIT Licensed */ 'use strict' /** * Module dependencies. * @private */ var debug = require('debug')('router') var qs = require('querystring') var flatten = require('array-flatten') var Layer = require('./lib/layer') var mixin = require('util...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose"; import PropTypes from 'prop-types'; import addOneClass from 'dom-helpers/addClass'; ...
// Need for React and Redux import React, { Component } from "react"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import { Link } from "react-scroll"; import { setTasksAction } from "../../actions/chorelistActions"; import DropdownMembers from "./DropdownMembers"; import DropdownChorelist...
const gradientsPlugin = require('tailwindcss-plugins/gradients'); const plugin = require('tailwindcss/plugin'); const checTablesPlugin = require('./tailwind-plugins/tables'); const checTypeographyPlugin = require('./tailwind-plugins/typography'); const checIconSizePlugin = require('./tailwind-plugins/iconSize'); const ...
/** * Cisco Meraki CMX Receiver to DynamoDB * * This inline AWS Lambda function will act as a Meraki CMX receiver. * The receiver will first respond to a GET request, sending the validator key to Meraki * Once validated, Meraki will perodically (30-60 seconds) send a JSON message containing WiFi and/or BLE observa...
import MVT from 'ol/format/MVT'; import {replayDeclutter} from "ol/render/canvas/ReplayGroup"; import {getSquaredTolerance, renderFeature} from "ol/renderer/vector"; import CanvasReplayGroup from "ol/render/canvas/ReplayGroup"; const Cesium = require('cesium/Cesium'); const Rbush = require('rbush'); const mvtParser = ...
"use strict" var llimit = 0; var rlimit = 0; var rmax; var listOfJobs = new Array(); var listOfResults = new Array(); var mode; function maxWidth(){ return Math.max.apply(Math,listOfResults.map(function(result){return result.runtime;})) } // constructor for Job object function Job(id, result, types) { this.i...
const moment = require('moment'); const chartHelper = require("./chartHelper"); const constants = require("./constants"); const log4jsHelper = require('./log4jsHelper'); const twitterHelper = require("./twitterHelper"); const logger = log4jsHelper.getLogger('deaths'); const days = constants.days(); const directory =...
var Vehicle = pc.createScript('vehicle'); Vehicle.attributes.add('wheels', { type: 'entity', array: true, title: 'Wheels' }); Vehicle.attributes.add('maxEngineForce', { type: 'number', default: 2000, title: 'Max Engine Force' }); Vehicle.attributes.add('maxBrakingForce', { type: 'number', ...
import React from 'react'; import { NavLink } from 'react-router-dom'; import {connect} from 'react-redux'; import PropTypes from 'prop-types'; import { changeCalendarStatus, changeCalendarColor, refreshMessage } from '../../services/actions/events'; import CircleModal from './circlemodal'; import { confirmAlert } fro...
// Copyright 2013 the V8 project authors. All rights reserved. // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple 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: // 1. Redistributions o...
import React, { useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { useTranslation } from "react-i18next"; // validation Formik import * as Yup from "yup"; import { Formik } from "formik"; import yupconfig from "../../../yupconfig"; import { InputField, SwitchField, Inpu...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.SubmitController = undefined; 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, ke...
const fs = require("fs"); const eleventyNavigationPlugin = require("@11ty/eleventy-navigation"); const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); const pluginRss = require("@11ty/eleventy-plugin-rss"); const readingTime = require("eleventy-plugin-reading-time"); const format = require("date-fns...
/** * QuizController * * @module :: Controller * @description :: A set of functions called `actions`. * * Actions contain code telling Sails how to respond to a certain type of request. * (i.e. do stuff, then send some JSON, show an HTML page, or redirect to another URL) ...
/* 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 may not use this f...
/* global ga */ const defaultConfig = { /* See description below */ trackingId: null, /* See description below */ debug: false, /* See description below */ anonymizeIp: false, /* See description below */ customDimensions: {}, /* See description below */ resetCustomDimensionsOnPage: [], /* See des...
Function.prototype.$asyncbind = function $asyncbind(self, catcher) { "use strict"; if (!Function.prototype.$asyncbind) { Object.defineProperty(Function.prototype, "$asyncbind", { value: $asyncbind, enumerable: false, configurable: true, writable: true }); } if (!$asyncbind.tram...
import React from 'react'; import ReactDOM from 'react-dom'; import classNames from 'classnames'; import BaseComponent from '../core/BaseComponent'; import './Marqueen.less'; class Marqueen extends BaseComponent { static displayName = 'Marqueen'; static defaultProps = { step: 15, step...
import React, { Component } from 'react' import PropTypes from 'prop-types' import { Wrapper as AriaWrapper, Button as AriaButton, Menu as AriaMenu, MenuItem as AriaMenuItem, } from 'react-aria-menubutton' import uniqueId from 'lodash/uniqueId' import styled, { withTheme } from 'styled-components' import { def...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LoadingIndicator = exports.loadingIndicatorCSS = exports.IndicatorSeparator = exports.indicatorSeparatorCSS = exports.ClearIndicator = exports.clearIndicatorCSS = exports.DropdownIndicator = exports.dropdownIndicatorCSS = exports.Do...
import { $, $isAsync, $async, $await } from '../../../generate/async.macro.cjs'; import { $awaitError } from '../../../generate/test.macro.cjs'; import { $ensureIterable, $iterableCurry } from '../$iterable.js'; import { $wrap, $unwrap } from '../../test/$helpers.js'; describe($`ensureIterable`, () => { if ($isAsyn...
var dat = require('dat-gui'); var Stats = require('stats.js'); var css = require('dom-css'); var raf = require('raf'); var THREE = require('three'); var OrbitControls = require('./controls/OrbitControls'); var settings = require('./core/settings'); var math = require('./utils/math'); var ease = require('./utils/ease...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const events_1 = require("events"); const fs = require("fs"); const path = require("path"); const JSON5 = require("json5"); const p = require("pify"); const lodash_1 = require("lodash"); const DEFAULT_RC = { glslangValidatorPath: 'glslangV...
const { asyncTriePut, newTrie, createRLPHeader, createRLPTransaction, createRLPReceipt, encodeToBuffer, } = require("../utils"); const fs = require("fs"); const {BaseTrie: Trie} = require("merkle-patricia-tree"); const {burn, claim, confirm} = require("./common"); const initNetwork = require("./...
const expression = document.getElementById('screen'); const num=[]; for(let i=0;i<10;i++ ){ num[i]=document.getElementById(i); } const mult=document.getElementById('*'); const divide=document.getElementById('/'); const add=document.getElementById('+'); const sub=document.getElementById('-'); const equal=document.getE...
$(function () { $('.i-checks').iCheck({ checkboxClass: 'icheckbox_square-green', radioClass: 'iradio_square-green' }).on('ifChecked', function (event) { var status = $('input[name="spec_type"]:checked').val(); if (status == 1) { $('#show_more_spec').addClass('hide'); ...
'use strict'; import template from './template'; import css from './css'; let version = '4.3.5'; class NodeTplPlus { constructor(options) { this.data = {}; this.tpls = {}; this.scripts = {}; this.options = Object.assign({ openTag: '<?', closeTag: '?>', library: 'commonjs', // umd ...
import Vec3 from './Vec3'; class Mat3 { constructor() { this.d = new Array(9); this.sauvegardePrecedente = []; this.empilement = 0; this.init(); } init() { for (let i = 0; i < 9; i += 1) { this.d[i] = 0.0; } this.sauvegardePrecedente = []; this.empilement = 0; return th...
/* * 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 may n...
"use strict"; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ Object.defineProperty(exports, "__esModule", { value: true }); var compiler_1 = require("@angular/compi...
//Store the Table Body var tBody = document.querySelector('tbody'); //Store the HTML template for to do list and completed table var itemTemplate = document.querySelector('#itemTemplate'); //Set Collapse Buttons To Correct State var collapseButton = document.querySelector('#collapseButton'); collapseButton.querySelec...
const TAG = `commands` const client = require('./client') const Spinner = require('cli-spinner').Spinner const Table = require('cli-table'); const log = require('@arbiter/dumb-lumberjack')() // const ledger = require('./ledger.js') const wallet = require('./wallet') const { btc, ltc, eth } = require('./daemons-manager'...
'use strict' const expect = require('chai').expect const {ao} = require('../1.test-common.js') const helper = require('../helper') const semver = require('semver') const mongoose = require('mongoose') const Schema = mongoose.Schema const pkg = require('mongoose/package') // use built-in Promise, replacing mongoose'...
let _ = require('isa.js') let mqtt = require('mqtt') let Harcon = require('harcon') let { MODE_REQUEST } = require('harcon/lib/Communication') let Barrel = Harcon.Barrel let Communication = Harcon.Communication let { clean } = Communication let Cerobee = require('clerobee') let clerobee = new Cerobee( 16 ) const SEP...
const acorn = require('acorn'); const console = require('./console'); // Match sub-tree pattern on the given AST (return on any one match) // ast: JavaScript AST generated by `acorn.parse()` // pattern: our custom subtree pattern to match with the AST // callback: `function(captureId, astNode) { ... }` invoked when `...
// # Demo Canvas 052 // Create and use a RawAsset object to modify an image asset // [Run code](../../demo/canvas-052.html) import * as scrawl from '../source/scrawl.js' import { reportSpeed, addImageDragAndDrop } from './utilities.js'; // Get Scrawl-canvas to recognise and act on device pixel ratios greater than 1...
//define consol if not exists if ( typeof console == 'undefined' ) console = { log: function(str) {} }; //shortcut to o3_lang._, checks if o3_lang is defined function o3_lang_( value, language ) { return typeof o3_lang == 'undefined' ? value : o3_lang._( value, language ); } //shortcut to o3_lang.n_, checks if o3_l...
// uniTip - written by <NAME> for Unit Interactive // // uniTip is based on qTip: // qTip - CSS Tool Tips - by <NAME> // http://qrayg.com var uniTipTag = "a"; //Which tag do you want to uniTip-ize? Keep it lowercase. No spaces around commas.// var uniTipClass = ""; //Which classes do you want to uniTip-ize? If you lea...
'use strict'; // Again, you can get rid of all of this logic to replicate what a tags can do. //get player names var getPlayer1 = localStorage.getItem('setP1'); var getPlayer2 = localStorage.getItem('setP2'); var getPlayer3 = localStorage.getItem('setP3'); var getPlayer4 = localStorage.getItem('setP4'); function mat...
'use strict'; exports.__esModule = true; var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn'); var _possibleConstructorReturn3 = _interopR...
/** * @fileoverview Radial plot component. * @author <NAME>. * FE Development Lab <<EMAIL>> */ import geom from '../../helpers/geometric'; import calculator from '../../helpers/calculator'; import chartConst from '../../const'; import pluginFactory from '../../factories/pluginFactory'; import snippet from ...
var root = null; var useHash = true; // Defaults to: false var hash = '#!'; // Defaults to: '#' var router = new Navigo(root, useHash, hash); router .on('/counter', function () { onActivity3() }) .resolve(); const HomeAct = new Dreble.Activity({ name: "Home", code: ` <d-navbar position="top"> <img...
import { EventEmitter } from 'events'; import { deepMerge } from './../utils.js'; const allChars = 'QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm1234567890_-+()[]{}\\/|\'\";:.,?~'; const getPixelRatio = (ctx) => { const dpr = window.devicePixelRatio || 1; const bsr = ctx.webkitBackingStorePixelRatio ||...
const _ = require('lodash'); const Game = require ("./game.js").Game; const room = require ("./room.js"); const arc = require("./arc.js"); const Noun = require("./noun.js").Noun; const c = require("./categories.js"); const Room = room.Room; const Arc = arc.Arc; const Dynamite = require("./dynamite.js").Dynamite; func...
'use strict' /** * Module Dependencies * @ignore */ const BinaryHex = require('./BinaryHex') const Reader = require('./Reader') const Writer = require('./Writer') const BufferReader = require('./BufferReader') const BufferWriter = require('./BufferWriter') const HexReader = require('./HexReader') const HexWriter = ...
// Shamelessly stolen from // https://github.com/Nichodon/tech_guy/blob/master/cocnept-designs/v2/directory.js // Too lazy to convert to 2 space indent, so I made it 5-space for no reason but // to intentionally make it uglier /** * Represents a DOM element in the directory. */ class DirectoryItem { constructor...
import SimpleMng from 'components/Rebue/SimpleMng'; import React, { Fragment } from 'react'; import { connect } from 'dva'; import { Button, Form, Card, Input,Popconfirm, DatePicker, Divider, Checkbox, Col, Row, Table } from 'antd'; import PageHeaderLayout from '../../layouts/PageHeaderLayout'; import XyzAreaSendOrgFor...
import getProp from '../../../utils/getProp'; import { getImageUrl } from '../../../utils/get-image'; import { DEFAULT_ERROR, ENCRYPTED_CARD_NUMBER, ENCRYPTED_EXPIRY_DATE, ENCRYPTED_EXPIRY_MONTH, ENCRYPTED_EXPIRY_YEAR, ENCRYPTED_SECURITY_CODE, ENCRYPTED_PWD_FIELD } from './lib/configuration/...
// Set variables for page elements (local except for highscoreDiv) var highscoreDiv = document.querySelector("#highscore"); let gameTimerEl = document.querySelector("#gameTimer"); let quesTimerEl = document.querySelector("#quesTimer"); let mainEl = document.querySelector("#details"); let secEl = document.querySelector(...
import Storage from '../utils/storage'; import BigNumber from 'bignumber.js'; import {loadAccount, getServer, getMinBalance} from '@pigzbe/stellar-utils'; import {getWolloBalance, KIDS_UPDATE_GOAL, saveKids, updateKidBalance} from './'; import { TRANSFER_TYPE_TASK, TRANSFER_TYPE_PRESENT, TRANSFER_TYPE_ALLOW...
"use strict"; exports.__esModule = true; exports.default = BaseBarGroup; var _propTypes = _interopRequireDefault(require("prop-types")); var _react = _interopRequireWildcard(require("react")); var _scale = require("@visx/scale"); var _isChildWithProps = _interopRequireDefault(require("../../../typeguards/isChildWi...
//---------------------INIT---------------------------------------- //Backend const Database = require("./database.js"); const Helpy = require("./Commands/Helpy.js"); const Advice = require("./Commands/Fun/advice.js"); const fs = require("fs"); const Discord = require("discord.js"); const INTENT = Discord.Inte...
import { ElementRef, Renderer2, Input, Component, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { DomHandler } from 'primeng/dom'; import { RouterModule } from '@angular/router'; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c...
var querystring = require('querystring'); var got = require('got'); // safely get access to a nested element of object o // return null if some property doesn't exist at any level const getNested = (o, p) => p.reduce((xs, x) => (xs && xs[x]) ? xs[x] : null, o) let languageSupport = require('./languages');...
function checkClassname($el) { const className = $el.attr('class'); expect(className).to.exist; expect(className.includes('.')).to.be.false; expect(className).to.have.length.greaterThan(0); } function checkImageSize($img, max) { expect($img[0].naturalWidth).to.be.greaterThan(0); expect($img[0].width).to.be...
/* global Mapillary:false */ import * as d3 from 'd3'; import _ from 'lodash'; import rbush from 'rbush'; import { utilRebind } from '../util/rebind'; import { d3geoTile } from '../lib/d3.geo.tile'; import { utilDetect } from '../util/detect'; import { geoExtent } from '../geo/index'; import { svgIcon } from '../svg/in...
// Created by <NAME>, (Twitter: @SyntopiaDK, web: hvidtfeldts.net). /* MIT License Copyright (c) 2018 <NAME> 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 withou...
import React from "react"; import { Text, View, } from "native-base"; import { transaction } from "mobx"; import {observer} from "mobx-react"; import styles from "../Styles.js"; import { ScrollView, TouchableOpacity, Image, StyleSheet } from "react-native"; //import ModalComponent from "react-native-modal-c...
'use strict' const functionNameSupport = require('function-name-support') const constants = require('../constants') const getObjectKeys = require('../getObjectKeys') const ObjectFormatter = require('../formatUtils').ObjectFormatter const hasLength = require('../hasLength') const recursorUtils = require('../recursorUt...
Object.defineProperty(exports, "__esModule", { value: true }); var _uniqueId2 = require("lodash/uniqueId"); var _uniqueId3 = _interopRequireDefault(_uniqueId2); var _isObject2 = require("lodash/isObject"); var _isObject3 = _interopRequireDefault(_isObject2); var _isFunction2 = require("lodash/isFunction"); var ...
var _ = require('lodash'); var fs = require('fs'); var path = require('path'); var converter = require("color-convert"); var DeltaE = require('../node_modules/delta-e'); var mkdirp = require('mkdirp'); var sendPostRequest = require('request').post; var serveFile = function(req, res) { var fileName = req.params[0]; ...
/** 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 may not use...
import _ from 'lodash' import {BunsenModelPath} from './utils' /** * Convert a model reference to a proper path in the model schema * * hero.firstName => hero.properties.firstName * foo.bar.baz => foo.properties.bar.properties.baz * * Leading or trailing '.' mess up our trivial split().join() and aren't valid any...
import { isundef, istrue, isvalid, numberWithCommas, dateToString, tickCount, nvl, estimateValueType, tryParseNumber } from './common.js'; /** * DataGrid에서 사용할 기본적인 데이터 소스. * - 메모리 상에 모든 데이터를 관리 * - 컬럼 편집 가능 * - 레코드 편집 가능 * - 컬럼 확장 가능 * - 레코드 추가/삭제 가능 * - 데이터를 컬럼 단위로 관리함 * * props: { * title: Option...
const TEXT = 3; // HTML DOM node type for text nodes const RENDER_BATCH_SIZE = 100; // Number of annotations to render in one frame const uniqueItems = items => Array.from(new Set(items)) export default class Highlighter { constructor(element, formatter) { this.el = element; this.formatter = formatter; ...
$(function(){ $("#baseForm :text").css('border','1px solid #95b8e7'); $("#baseForm select").css('border','1px solid #95b8e7'); $("#loan_no").val(loanNo); searchData('/crowdfunding/getBackSetList.html?loanNo='+loanNo); $("input[name='backType']").click(function(){ if($(this).val()=='S'){ $("#transFee...