text
stringlengths
5.97k
41.2k
import * as helpers from './helpers'; import {BasicChart} from './basic-chart'; let d3 = require('d3'); export default class PoliticalDonorChart extends BasicChart { constructor(chartType, ...args) { super(); require('./chapter5.css'); let p = new Promise((res, rej) => { d3.csv('data/uk_political_...
const linkify = require("linkifyjs") import ModHead from "components/ModHead" require("linkifyjs/plugins/hashtag")(linkify) const linkifyHtml = require("linkifyjs/html") import escapeHtml from "escape-html" import { Fragment, useEffect, useState } from "react" import Loading from "components/Loading" import { bind } fr...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isConformant = void 0; var tslib_1 = require("tslib"); var accessibility_1 = require("@fluentui/accessibility"); var react_bindings_1 = require("@fluentui/react-bindings"); var react_component_ref_1 = require("@fluentui/react-component...
'use strict'; const githubApi = require('./github'); const github = githubApi.service; const debug = require('debug')('reviewbot:bot'); const config = require('./config'); const Promise = require('promise'); const async = require('async'); let enforce = (repo, reviewsNeeded) => { return new Promise(function(resolve, ...
/*jslint node: true */ "use strict"; var _ = require( 'lodash' ); var _async = require( 'async' ); var _storage = require( './storage.js' ); var _archiving = require( './archiving.js' ); var _db = require( './db.js' ); var _constants = require( './constants.js' ); var _object_hash = require( './object_hash.js'...
'use strict'; const Queue = require('queue'); const uuid = require('uuid'); const dateFormat = require('../../utils/date_utils').dateFormat; const parseError = require('error_parser'); const moment = require('moment'); const _ = require('lodash'); module.exports = function module(context, messaging, exStore, stateSto...
"use strict"; const dataService = require('../../../lib/DataService.js').rebbl , express = require('express') , util = require('../../../lib/util.js'); class PlayoffsApi{ constructor(){ this.router = express.Router({mergeParams: true}); this.bracket = [ {league:'REBBL - REL', division:'Season 17 - Div...
window.$ = window.jQuery = require('jquery'); require('bootstrap-sass'); /** * @preserve jQuery flipcountdown plugin v3.0.5 * @homepage http://xdsoft.net/jqplugins/flipcountdown/ * (c) 2013, <NAME>. */ /******************计时器插件******************/ (function($){ jQuery.fn.flipCountDown = jQuery.fn.flipcountdown = fu...
/* * Author: <NAME> (<EMAIL>) * ----- * Copyright 2021 Fachwerk */ /** * @typedef {import('../types').Runtime} Runtime * @typedef {import('../types.js').TransportAdapter} TransportAdapter * @typedef {import('../types.js').Transport} Transport * @typedef {import('../types').TransportMessage} TransportMessage *...
const aStar = require('./a-star'); const SEARCH_TIMEOUT = 50; const COST_HEAVY = 1000; const COST_MODERATE = 250; const COST_LIGHT = 100; let state = {}; // Handle start requests module.exports.start = function(req, res) { state = req.body; // Response data var data = { color: "#000000", name: "<NAME>...
import { ipcRenderer, shell, remote } from 'electron' import toml from 'toml' import fs from 'fs' import getUri from 'get-uri' import temp from 'temp' import AdmZip from 'adm-zip' import getPort from 'get-port' import path from 'path' import request from 'request' import Vue from 'vue' import Vuetify, { VApp, VCont...
//Global var c = { DEBUG: false, MAX_POINTS: 30, POINTS_REQUIRED: [0,5,6,11,12,17], TREE_MAX_INDEX: [ masteryData[0][masteryData[0].length-1].masteries[masteryData[0][masteryData[0].length-1].masteries.length-1].index, masteryData[1][masteryData[1].length-1].masteries[masteryData[1][masteryData[1].lengt...
/*==================================================* $Id: slideshow.js,v 1.16 2003/10/14 12:39:00 pat Exp $ Copyright 2000-2003 <NAME> http://slideshow.barelyfitz.com/ 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 Fr...
/* eslint-disable */ // This file is for local manual testing of report generation with carbone // requirements: // 1. node version ^8 // 2. npm install carbone // How to use: // 1. specify template source file // 2. specify rendered report file // 3. specify data in json format (it is prepopulated with NOW json) // 4....
var game2d = require('com.ti.game2d'); var _ = require('/lib/Underscore'); var BounceAnimation = require("modules/AnimationHelper").BounceAnimation; var android = !!Ti.Android; function applyProperties(obj, props) { if (android) { for (var key in props) obj[key] = props[key]; } else { obj.applyProperties(props...
import React from "react"; import PropTypes from "prop-types"; import { Breadcrumb, Button, Dropdown, Icon, Menu, Modal, Popconfirm, Popover, Select, Tooltip, message } from "antd"; import ClassNames from "classnames"; import Base from "components/main/Base"; import Page from "components/main/Pag...
import R from 'ramda'; import deepmerge from 'deepmerge'; import escape, { dateParse } from './escape'; import { date, string, number, Collection, Model, Computed } from './types'; import { SELECT, DISTINCT, AS, FROM, WHERE_OR_AND, LEFT_JOIN_ON, GROUP_BY, ORDER_BY, DOT, STAR, AGGRAGATION_METHOD...
import React, { Component } from "react"; import Cookie from "./Cookie"; import "./App.css"; class App extends Component { constructor(props) { super(props); this.state = { fortunes: [ "So toss away stuff you don't need in the end, but keep what's important and know who's your friend.", ...
import React, { useEffect, useReducer, useRef, useContext, useCallback, useState, } from 'react' import PropTypes from 'prop-types' import { ChoiceList, Button, TextField, FormLayout, Select, ButtonGroup, } from '@shopify/polaris' import ReactJSONView from 'react-json-view' import { withFormik }...
// SCSS constants ported over for javascript. const KW_CSS_SETTINGS = { "color0" : "#222" , "color1" : "white" , "color2" : "#EE7" , "color0-v2" : "#333" , "color2-v2" : "#EEC522" , "header-height" : "4rem" } var kwUpdatingChapter = false; var kwCurrentResult = -1; $(function(){ loadFont();...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _extends2 = _int...
/** Not exactly parser, more like the second-stage scanner (although we can theoretically hotswap the code here with a real parser in the future... but for a little URL-finding utility abstract syntax trees may be a little overkill). URL format: http://en.wikipedia.org/wiki/URI_scheme Email format: http://en.wik...
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-------------------------------------------------...
import React from 'react'; import _ from 'lodash'; import axios from 'axios'; import { CascadeColumns, BG, CellWrapper, FreeCellArea, FoundationArea } from './theme'; import { Title } from '../H1/theme'; import Cascade from '../Cascade'; import Button from '../Button'; import FreeCell from '../FreeCell'; import Foundat...
import React,{useEffect, useState, useRef} from 'react'; import Player from './Player'; import Chat from './Chat'; import PlayList from './PlayList'; import Members from './Members'; import styles from './room.module.css'; import config from '../../config'; import { useLocation } from "react-router-dom"; import LocalSt...
import { getActor } from "./actor.js"; import { awakenCommand } from "./halloween.js"; const COMMANDS = { // Chat commands "e": emoteCommand, "m": emoteCommand, "em": emoteCommand, "emote": emoteCommand, "me": memoteCommand, "memote": memoteCommand, "o": oocCommand, "oc": oocCommand...
import { Feiloppsummering } from 'nav-frontend-skjema'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Field, formValueSelector, reduxForm, SubmissionError } from 'redux-form'; import Alertstripe from 'nav-frontend-alertstriper'; import { Ho...
import React from 'react'; import {connect} from 'dva'; import {routerRedux} from 'dva/router'; import {Modal, Button, DatePicker, message, Tooltip, Table} from 'antd'; import PageHeaderLayout from '../../../layouts/PageHeaderLayout'; import SearchPanel from '../../commonTool/SelectPanelTool/SearchPanel'; import Search...
import punycode from 'punycode/punycode'; import abi from 'human-standard-token-abi'; import BigNumber from 'bignumber.js'; import * as stcUtil from '@starcoin/stc-util'; import { DateTime } from 'luxon'; import { addHexPrefix } from '../../../../app/scripts/lib/util'; import { BARNARD_CHAIN_ID, PROXIMA_CHAIN_ID, ...
import * as React from 'react'; import { useId } from '@react-lit/auto-id'; import { getDocumentDimensions, getOwnerDocument, makeId, useComposeRefs, composeEventHandlers, } from '@react-lit/helper'; import { Portal } from '@react-lit/portal'; import { VisuallyHidden } from '@react-lit/visually-hidden'; import { u...
'use strict'; /* ===== Configuration ======== */ var API_KEY = null; // API KEY HERE! var SEARCH_DELAY = 500; // in milliseconds var SLIDER_INTERVAL = 500; // in ms var SCROLL_TRIGGER = 300; // in pixels, before hitting the bottom /* ============= Global Variables ============= */ var state = "watching"; var play...
/** Copyright (c) 2012 <NAME> MIT License: 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, publish, dist...
console.log("ui.js loaded"); var c,g; var stars; var textColour,sFont,mFont,lFont,tFont; var wid,hei; var map; var best; //var hasReqAnimFrame; var upArrowDown,rightArrowDown,leftArrowDown; var mainPwr,sidePwr,mpbRect,spbRect; var inTitle,inGame,inEnd,inPause; var keyMode,touchMode; var otPos,ntPos; var tstr,pauseR...
/* * Copyright (c) 2021 gematik GmbH * * 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 agre...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
console.clear(); // ===================================== class App { constructor(opts) { this.opts = Object.assign({}, App.defaultOpts, opts); this.physixBodies = []; this.rotation = { x: 0, y: 0 }; this.mobile = false; this.world = new World(); this.physix = new Physix(); this.ball = n...
"use strict"; var n_stars = 150; var starfield = null; var starship = null; var cross = null; var boom = []; var KEY_LEFT = false; var KEY_RIGHT = false; var KEY_FIRE = false; var hit_lock = false; function setup() { let canvas = createCanvas(windowWidth, windowHeight); canvas.parent(document.querySelector(".underl...
// <NAME> 2018-2019 const MAXCARDSHELD = 11 let deck_collection = [] let deck = [] let player_hand = [] let split_hand = [] let dealer_hand = [] let balance = 2500 let player_bet = split_bet = 0 let player_turn = true let player_stand = split_stand = false function updateTheme(theme) { if(theme == "light") { ...
/* gifWriter.js ============ */ // (c) <NAME> <<EMAIL>>, 2013. // // https://github.com/deanm/omggif // // 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 ...
/** * @license * Copyright 2016 The AMP HTML Authors. 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 * * Un...
var Insert = require('./commands').Insert , Update = require('./commands').Update , Remove = require('./commands').Remove , Query = require('../connection/commands').Query , copy = require('../connection/utils').copy , KillCursor = require('../connection/commands').KillCursor , GetMore = require('../connect...
/* jslint node: true */ 'use strict'; // ENiGMA½ const Log = require('./logger.js').log; const { MenuModule } = require('./menu_module.js'); const { pipeToAnsi, stripMciColorCodes } = require('./color_codes.js'); const stringFormat = require('./string_format.js'); c...
'use strict'; const process = require('node:process'); const { Collection } = require('@discordjs/collection'); const { Routes } = require('discord-api-types/v9'); const BaseClient = require('./BaseClient'); const ActionsManager = require('./actions/ActionsManager'); const ClientVoiceManager = require('./voice/ClientV...
#!/usr/bin/env node var ejs = require('ejs') var fs = require('fs') var mkdirp = require('mkdirp') var sortedObject = require('sorted-object') var path = require('path') var program = require('commander') var readline = require('readline') var util = require('util') var MODE_0666 = parseInt('0666', 8) var MODE_0755 =...
/*eslint-env node */ 'use strict'; var http = require('http'), httpProxy = require('http-proxy'), validUrl = require('valid-url'), parseUrl = require('url').parse, path = require('path'), _ = require('lodash'), bunyan = require('bunyan'), cluster = require('cluster'), hash = require('object-hash'), ...
/** * Copyright 2019 The AMP HTML Authors. 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 require...
"use strict"; var should = require( 'chai' ).should(); var crypto = require( 'crypto' ); var Packet = require( '../packets/Packet' ); var PacketSpec = require( '../packets/PacketSpec' ); describe( 'PacketSpec', function() { var unsignedSpec = new PacketSpec([ { name: 'uint8_1', type: 'uint8' }, ...
"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 ...
/* global callstats */ import browser from '../browser'; import GlobalOnErrorHandler from '../util/GlobalOnErrorHandler'; const logger = require('jitsi-meet-logger').getLogger(__filename); /** * We define enumeration of wrtcFuncNames as we need them before * callstats is initialized to queue events. * @const * @...
import _extends from "@babel/runtime/helpers/esm/extends"; import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import { createElement } from "@wordpress/element"; /** * External dependencies */ import classn...
"use strict"; var extend = require('xtend'); var invariant = require('invariant'); var zipObject = require('zip-object'); var Promise = require('any-promise'); var path_1 = require('path'); var url_1 = require('url'); var fs_1 = require('../utils/fs'); var parse_1 = require('../utils/parse'); var find_1 = require('../u...
import graphlib from 'graphlib'; import { line, curveBasis, select } from 'd3'; import erDb from './erDb'; import erParser from './parser/erDiagram'; import dagre from 'dagre'; import { getConfig } from '../../config'; import { log } from '../../logger'; import erMarkers from './erMarkers'; import { configureSvgSize } ...
'use strict'; /* global hivemind RoomPosition OBSERVER_RANGE SOURCE_ENERGY_CAPACITY */ const interShard = require('./intershard'); const PathManager = require('./remote-path-manager'); const Process = require('./process'); const utilities = require('./utilities'); const preserveExpansionReasons = false; /** * Deci...
/** * @type {{toolbar: *[][]}} * we are setting a global default for the summernote objects that we are going to be working with around the system * anywhere that requires a summernote will be utilising these options so we have a sense of standardisation and not * re-using and recreating the same set of options on ever...
var b=true; var smsVcode = 0; var phoneReg = /(^[1][3][0-9]{9}$)|(^[1][4][0-9]{9}$)|(^[1][5][0-9]{9}$)|(^[1][8][0-9]{9}|17[0-9]{9}$)/; var forbidden_prefix = "xnw";//系统保留字符 $(".reg_btn").bind("click", function() { $('html,body').animate({ 'scrollTop' : '0' }, 300); }); $(".loginBtn").bind("click", func...
'use strict'; var compileSchema = require('./compile') , resolve = require('./compile/resolve') , Cache = require('./cache') , SchemaObject = require('./compile/schema_obj') , stableStringify = require('fast-json-stable-stringify') , formats = require('./compile/formats') , rules = require('./compile/rules...
function lineGraph(canvas, graphData) { // Order the readings graphData.readings = orderReadings(graphData); // Get the infomation about the scaleing var scaleInfo = calculateLineScale(canvas, graphData); // Plot the graph drawLineGraph(canvas, scaleInfo, graphData); } function orderReadings(graphData) { // T...
app.ready(function () { $("#jsgrid-basic").jsGrid({ height: "100%", width: "100%", filtering: true, inserting: false, editing: false, sorting: true, paging: true, autoload: true, pageSize: 8, pageButtonCount: 5, noDataContent: "...
///BUGS: // FINISHED! Will not update for new selections if map area does not change // Will not work well if route is too long // No geolocation yet // Add filter for time of arrival // FINISHED! Search bar in mobile screen // remove simmilar addresses var directionsDisplay; var directio...
const fs = require("fs"); const DIR = __dirname; //C:\PROJECTS\KRYPTOBITZ const width = 1000; const height = 1000; const TOTAL_CARDZ = 22; //how many cards will be generated. const SET_TXT = "set002" //used for path output name convention-. let OS_META_MODEL = { //OpenSea metadata namePrefix : "KRYPTOBITZ", ...
$(document).ready(function() { //初始化页面 initPageUI(); //绑定事件 bindEvents(); }); //初始化页面 function initPageUI() { $("#holderCertType").css("width", "200px"); $("#holderCertType2").css("width", "200px"); $("#insuredCertType").css("width", "200px"); $("#insuredCertType2").css("width", "200px"); ...
function minimum(array) { var minval = array[0]; array.map(function(v, i, a) { if (!v && v!=0) { return minval; } if (v < minval || (!minval && minval !== 0)) { minval = v; } }) return...
import _ from 'lodash'; import { retryInterval } from 'asyncbox'; let commands = {}, helpers = {}, extensions = {}; const NETWORK_KEYS = [['bucketStart', 'activeTime', 'rxBytes', 'rxPackets', 'txBytes', 'txPackets', 'operations', 'bucketDuration'], ['st', 'activeTime', 'rb', 'rp', 'tb', 'tp', 'op', 'bucketDuration']...
'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; viewModel.app = new Object(); var app = viewModel.app; app.de...
var SearchableMapLib = SearchableMapLib || {}; var SearchableMapLib = { // parameters to be defined on initialize() map_centroid: [], defaultZoom: 9, filePath: '', fileType: '', csvOptions: '', listOrderBy: '', recordName: '', recordNamePlural: '', debug: false, // internal properties radius:...
"use strict"; const svg = "m44,434c18,-33 19,-66 15,-111c-4,-45 -37,-104 -39,-132c-2,-28 11,-51 16,-81c5,-30 3,-63 -36,-63"; function main() { const opt = getQueryParams(); const curvePoints = parseSVGPath(svg); // Get A WebGL context /** @type {HTMLCanvasElement} */ const canvas = document.quer...
/* * * * Timeline Series. * * (c) 2010-2021 Highsoft AS * * Author: <NAME> * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; var __extends = (this && this.__extends) || (function () { var extendStatics = functio...
/* Globals */ let CURRENT_RULES_TEXT; let NO_RULES_TEXT; let NO_EMPTY_TEXT; let NO_DUPS_TEXT; let NO_CYCLES_TEXT; let MISMATCHED_SUBDOMAINS_TEXT; let MISMATCHED_PROTOCOLS_TEXT; let MISMATCHED_SUBSTITUTIONS_TEXT; /* End Globals */ /* Note: 'Rule' refers to the combination of the source and destination domains. */ /* M...
const electron = require('electron'); var SeeleClient = require('../api/seeleClient'); seeleClient = new SeeleClient(); const fs = require('fs'); const json = JSON.parse(fs.readFileSync(seeleClient.langPath.toString()).toString()); var lang = document.getElementById("lang").value let loadingBalances = false; addLoadEv...
const { MessageEmbed } = require("discord.js"); require("moment-timezone") let Stat = require("../../models/stats"); let sunucuayar = require("../../models/sunucuayar"); let xpData = require("../../models/stafxp"); let uyarıData = require("../../models/uyarı"); let puansystem = require("../../models/puansystem"); l...
const user = require('../user/user.model'); const Response = require('../../utils/response'); const Joi = require('joi'); const Users = require('../user/user.model'); let Projects = require('../project/project.model') let mongoose = require('mongoose') let Focusgroup = require('../focusGroup/focusGroup.model') let Hots...
var bpmn_datagrid; var bpmn_dialog; var model_dialog; var model_form; var model_width = 0; var group_datagrid; //加载grid数据 $(function () { $("#jqGrid").jqGrid({ url: OLMT_CTX+'/rest/processMgr/process/listProcess', datatype: "json", colModel: [ {name : 'id',label : '...
import React, { Component, Fragment } from 'react'; import { connect } from 'dva'; import router from 'umi/router'; import { Row, Col, Form, Input, Select, Icon, Button, Collapse, DatePicker, PageHeader, Radio, } from 'antd'; import prompt from '@/components/Prompt'; import moment from 'moment' im...
'use strict'; // Your client side JavaScript code goes here. // This file is included in every page. // List is the class all state management throughout the client side, with state being the global instance of List let state; class List { constructor(rows){ this.rows = rows this.showForm = fals...
const { booleans, colors, extrusions, primitives, transforms } = require('@jscad/modeling') const { subtract, union } = booleans const { colorize, cssColors, hexToRgb, rgbToHex } = colors const { extrudeLinear } = extrusions const { cylinder, cuboid, roundedRectangle } = primitives const { rotateX, rotateY, rotateZ, t...
function _getCssList(css) { var list = {}, reg = /\s*([\w\-]+)\s*:([^;]*)(;|$)/g, match; while ((match = reg.exec(css))) { var key = _trim(match[1].toLowerCase()), val = _trim(_toHex(match[2])); list[key] = val; } return list; } function _getAttrList(tag) { var list = {}, reg = /\s+(?:(...
'use strict'; var json2html, moment = require('moment'), Moment = moment, // querystring = require('querystring'), merge = require('util-extend'), pluralize = require('pluralize'); pluralize.addIrregularRule('category', 'categories'); // if (typeof module !== 'undefined' && module.exports) { // json2html = req...
var sentinel = ee.ImageCollection("COPERNICUS/S2_SR"), roi = /* color: #98ff00 */ /* shown: false */ ee.Geometry.Point([72.43224767218874, 34.49236657665233]), sent = ee.ImageCollection("COPERNICUS/S1_GRD"), geometry = /* color: #d63000 */ /* shown: false */ ee.Geometry.Point([72.4...
const mysql2 = require('mysql2'); module.exports = { /** * Attaches to database with specified connection information, and immediately * returns a stage object that you can use to queue up SQL statements * with query() and execute(). */ stage: (connectionInfo) => { return new DbSta...
/** * Copyright 2018 The Pennsylvania State University * @license Apache-2.0, see License.md for full text. */import{html,PolymerElement}from"./node_modules/@polymer/polymer/polymer-element.js";import"./node_modules/@polymer/iron-icon/iron-icon.js";import"./node_modules/@polymer/iron-icons/iron-icons.js";import"./li...
/* * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * in FIPS PUB 180-1 * Version 2.1-BETA Copyright <NAME> 2000 - 2002. * Other contributors: <NAME>, <NAME>, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt/md5 for details. */ /* * Configurable ...
require('rootpath')(); var logger = require('config/winston'); const path = require('path'); var appRoot = require('app-root-path'); var User = require('app/models/user'); var Project = require('app/models/project'); var Comment = require('app/models/comment'); var Document = require('app/models/document') var Docume...
import { GeoJSON } from 'ol/format' import * as ol from 'ol' import { K, I, uniq } from '../../shared/combinators' import undo from '../undo' import Feature from './Feature' import URI from './URI' import evented from '../evented' import * as clipboard from '../clipboard' import selection from '../selection' import * ...
import { ɵɵdefineComponent, ɵɵviewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ɵɵgetCurrentView, ɵɵelementStart, ɵɵlistener, ɵɵtext, ɵɵelementEnd, ɵɵelement, ɵɵrestoreView, ɵɵreference, ɵɵadvance, ɵɵproperty, ɵsetClassMetadata, Component, ViewChild, ɵɵtextInterpolate1, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgM...
// Key code constants var KEY_END = 35; var KEY_HOME = 36; var KEY_LEFT = 37; var KEY_UP = 38; var KEY_RIGHT = 39; var KEY_DOWN = 40; var KEY_A = 65; var config = { transition: null }; const ARROWS = [KEY_LEFT, KEY_UP, KEY_RIGHT, KEY_DOWN]; const TYPE_AHEAD_TIMEOUT = 500; const options = val => { if (Arr...
/* * Copyright (c) 2018heyiamhasan * Author:heyiamhasan * This file is made for CURRENT TEMPLATE */ jQuery(document).ready(function(){ "use strict"; // here all ready functions marox_tm_hamburger(); marox_tm_imgtosvg(); sting_images(); marox_tm_magnific_popup(); marox_tm_jarallax(); marox_tm_portfolio...
/* * @license * Your First PWA Codelab (https://g.co/codelabs/pwa) * Copyright 2019 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://w...
var gallery_arr = new Array(); $(document).ready(function () { //jquery /* Check if we are in edit mode and the required modules are available and then customize the toolbar */ if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) { //mw.loader.using( 'user.options', function () { if ( m...
var con; const DATE = require("./utils/date"); const STOCK = require("./utils/stock"); const sqlBuilder = require("./utils/sqlBuilder"); const FS = require("fs"); //let DATA = JSON.parse(FS.readFileSync("data.json", "utf8")); const hushen300 = [ '603993', '603986', '603858', '603833', '603799', ...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ // flowlint ambiguous-object-type:error 'use strict'; var _interopRequireDefault = require("@babel/runtime/helpe...
var cellCount = 100, cellWidth = 44, cellHeight = 40, cellMarginTop = 1, cellMarginBottom = 8, cellMarginLeftRight = 1, glyphMargin = 5, pixelRatio = window.devicePixelRatio || 1; var pageSelected, font, fontScale, fontSize, fontBaseline, glyphScale, glyphSize, glyphBaseline; function enab...
import * as THREE from 'https://threejs.org/build/three.module.js'; import { GLTFLoader } from 'https://threejs.org/examples/jsm/loaders/GLTFLoader.js'; var Composer; let stats, fxaaPass; const objects = []; const selects = []; let gui; const spheres = []; export var id; export var scene; export var expModel; ex...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); import 'jquery-ui/ui/widgets/datepicker.js'; import ImageCompressor fr...
import React, { Component } from 'react'; import ReactTooltip from "react-tooltip"; import ProgressStatusBar from '../../components/progress/ProgressStatusBar'; import '../Form.css'; import './Form2Fill.css'; import DefaultService from "../../service/default.service"; import RespondentListSelect from "../../components/...
// const UI = window.classes.UI; const AppIcon = require('../../icons/AppIcon.js'); const AppUI = require('../../../utils/AppUI.js'); // const NewMessageEmoji = require('./NewMessageEmoji.js'); const Menu = require('../utils/Menu.js'); const Upload = require('./Upload.js'); class NewMessage extends AppUI { construct...
var test = require('tape'); var mobx = require('..'); var map = mobx.map; var autorun = mobx.autorun; var iterall = require('iterall'); test('map crud', function(t) { global.__mobxGlobal.mobxGuid = 0; // hmm dangerous reset? var events = []; var m = map({ a: 1}); m.observe(function(changes) { events.push(change...
$(function() { // open predefined item on page load $('.accordion__item--opened').children('.accordion__content').show(); $(document).on('click', '.js-accordion__title', function() { var $thisContent = $(this).next(); // hide content of all other accordion items $(this).closest('.js-accordion__item...
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
import { URL } from 'url'; import { checkParamOrThrow } from 'apify-client/build/utils'; import { checkParamPrototypeOrThrow } from 'apify-shared/utilities'; import log from 'apify-shared/log'; import { RequestQueue, RequestQueueLocal } from '../request_queue'; import { addInterceptRequestHandler, removeInterceptReques...
window.onload = function() { var explainScheduleLink = document.getElementById("explain_schedule"); explainScheduleLink.onclick = function() { var explanationText = document.getElementById("schedule_explanation"); if (explanationText.style.display === "none") { explanationText.style.display = "block...