text
stringlengths
5.97k
41.2k
import React, { Component } from "react"; import InstitutionManager from "./contracts/InstitutionManager.json"; import {INSTITUTION_CONTRACT} from "./config.js" import getWeb3 from "./getWeb3"; import "./App.css"; import "./bootstrap.css"; class App extends Component { state = { storageValue: 0, web3: null, account...
/**************************************************************************** ** @license ** This demo file is part of yFiles for HTML 2.2. ** Copyright (c) 2000-2019 by yWorks GmbH, Vor dem Kreuzberg 28, ** 72070 Tuebingen, Germany. All rights reserved. ** ** yFiles demo files exhibit yFiles for HTML functionali...
"use strict"; let cageEnabled = false; let surfaceEnabled = true; function assert(condition, message) { if (!condition) { message = message || "Assertion failed"; if (typeof Error !== "undefined") { throw new Error(message); } throw message; // Fallback } } class V...
const { EventEmitter } = require('events'); const path = require('path'); const chalk = require('chalk'); const _ = require('lodash'); const Pubsub = require('./Pubsub.js'); const Runtime = require('./Runtime.js'); const Agent = require('./Agent.js'); const getFSClient = require('./FileSystem.js').connect; const helper...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Packager = void 0; const builder_util_1 = require("builder-util"); const builder_util_runtime_1 = require("builder-util-runtime"); const promise_1 = require("builder-util/out/promise"); const events_1 = require("events"); const fs_extr...
import React from 'react'; import { noop } from 'lodash'; import { connect } from 'react-redux'; import compose from 'recompose/compose'; import { withStyles } from '@material-ui/core/styles'; import PropTypes from 'prop-types'; import { SortableContainer, SortableElement, SortableHandle, arrayMove, } from 'rea...
var trips = { places: "", routes: "", routeCount: 0, vehicles: 0 }; var trails = "../"; //var images_start = { subway: trails + "Content/img/pic/metro-small.svg", taxi: trails + "Content/img/pic/cab.svg", rideshare: trails + "Content/img/pic/cab.svg", car: trails + "Content/img/pic/cab.svg", train: trails + "Content/i...
const { Encounter } = require('../models'); const encounter = [ { story: "Thanks for the ride boss, I'm telling ya, I'm the best wingman. I'll communicate messages from the console.", message: "You’ve come across a asteroid belt. You must navigate your way through it.", option1: 'Start Navigating|{"healt...
// 0x07013968 - 0x070139E8 import { gsDPSetTextureImage, gsDPLoadSync, gsDPLoadBlock, gsSPLight, gsSPVertex, gsSP2Triangles, gsSPEndDisplayList, gsSP1Triangle, gsDPPipeSync, gsDPSetCombineMode, gsSPClearGeometryMode, gsDPSetTile, gsSPTexture, gsDPTileSync, gsDPSetTileSize, gsSPDisplayList, gsSPSetGeometryM...
"use strict"; function _typeof(obj) { 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 !== Symbol.prototype ? "sym...
import React, { useCallback, useEffect, useMemo, useState, useContext, useRef, } from 'react'; import * as s from './style.module.less'; import cN from 'classnames'; import { navigate } from 'gatsby'; import characterSet from './data/characterSet.json'; import labels from './data/labels.json'; import Deck...
//============================================================================= // LNM_GameEditorCore.js //============================================================================= /*: * @plugindesc v1.00 The core for plugins that have an in-game editor. * @author <NAME> * * @help * =================...
import Vue from 'vue'; import clone from 'lodash.clonedeep'; import { isFunction, isPlainObject } from '../util/common'; import { createProxy, createGridProxy, player as playerProxy } from './proxies'; import Decimal from '../util/bignum'; import store from './index'; import { noCache, getStartingBuyables, getStartingC...
import {default as d3} from 'd3'; import {Element} from './element'; import {utilsDom} from '../utils/utils-dom'; import {utilsDraw} from '../utils/utils-draw'; import {utils} from '../utils/utils'; import {CSS_PREFIX} from '../const'; import {FormatterRegistry} from '../formatter-registry'; import { d3_transition ...
function Box(anchor, cursor, angle, boundingBox, boxHelper) { this.id = app.generate_new_box_id(); // id (int) of Box this.object_id = 'car'; // object id (string) this.color = hover_color.clone(); // color of corner points this.angle = angle; // orientation of bounding box this.anchor = anchor; // ...
// // SunVox Library (modular synthesizer) // Copyright (c) 2008 - 2020, <NAME> <<EMAIL>>, W<EMAIL>.ru // // // Library init // var sv_scope_buf_mptr = null; const sv_scope_buf_numsamples = 4096; var sv_callback_buf_mptr = null; //output var sv_callback_buf2_mptr = null; //input var sv_callback_buf_numframes = 0; var...
// MODULES // import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import Col from 'react-bootstrap/Col'; import Container from 'react-bootstrap/Container'; import Card from 'react-bootstrap/Card'; import Row from 'react-bootstrap/Row'; import { VictoryAxis, VictoryBar, VictoryChart,...
//if you want to use fullwidth characters, set zenkaku_flag to false const zenkaku_flag = false; // threshold for binarize. //bigger is, sparser. let bin_threshold = 60; //the number of pixels which one character covers. 5 or 8 or 10 or 20 let blockWidth = 5; let blockHeight; if(zenkaku_flag) blockHeight = blockWid...
var GtfsEditor = GtfsEditor || {}; var gpxpath; (function(G, $, ich) { G.RouteStopsView = Backbone.View.extend({ events: { 'submit .stop-details-form': 'save', 'click .stop-find-duplicates-btn': 'findDuplicateStops', 'click .stop-find-duplicates-cancel-btn': 'cancelFindDuplicateStops', 'c...
/// <reference types="@argonjs/argon" /> /// <reference types="three" /> // grab some handles on APIs we use var Cesium = Argon.Cesium; var Cartesian3 = Argon.Cesium.Cartesian3; var ReferenceFrame = Argon.Cesium.ReferenceFrame; var JulianDate = Argon.Cesium.JulianDate; var CesiumMath = Argon.Cesium.CesiumMath; // set u...
const EventEmitter = require('events'); const dgram = require('dgram'); const net = require('net'); const { blake2bInit, blake2bUpdate, blake2bFinal } = require('./blake2b'); // raiblocks version uses 32-byte secret keys instead of 64-bytes const nacl = require('./nacl'); const functions = require('./functions'); con...
var browser = $.getBrowserVersion(); var IEVersion = browser.version; var diag = {}; $(function(){ var resultData=$.parseJSON(decodeURIComponent($("#result").text())); //处理模板字符串 $("script[type='html']").each(function(){ var text=$(this).text(); text=text.replace("/* <![CDATA[ */","")...
const List = require('./listdocEntity'); // const logger = require('./../../applogger'); const nodemailer = require('nodemailer'); // let host = 'localhost:8080'; const cookie = require('react-cookie'); let em = cookie.load('username'); let driver = require('../config/neo4j'); let session = driver.session(); let listCo...
import Vue from 'vue'; import mergeOptions from 'merge-options'; import { Notify, colors } from 'quasar'; import { QTTrack } from './quicktag'; class OneTagger { constructor() { this.WAVES = 180; this.ws = new WebSocket(`ws://${window.location.hostname}:36912`); // WS error this.w...
import fetchJsonp from 'fetch-jsonp'; // import fetch from 'whatwg-fetch'; import Feedback from 'qnui/lib/feedback'; import copy from 'copy-to-clipboard'; import config from 'static/config.js'; // import loadingimg from 'static/loading.gif'; const Toast = Feedback.toast; const webUrl = config.webUrl; // const webUr...
/* * @Author: Sky.Sun * @Date: 2018-01-17 16:07:30 * @Last Modified by: Sky.Sun * @Last Modified time: 2021-03-24 15:57:16 */ const express = require('express'); const app = express(); app.set('view engine', 'pug'); app.set('views', './web/views'); const favicon = require('serve-favicon'); const path = require('...
/** * Created by juri on 2016/11/24. */ require('../less/demo.less'); var GPlayer = function (option) { var o = new Object(); //default config o.defaultOption = { name:'name', musicList: [ { title: 'あっちゅ~ま青春!', author: '七森中☆ごらく部', ...
/* * 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")...
window.onerror = function (message, source, lineno, colno, error) { var fs = require("fs"); var os = require("os"); var jsonError = { "Type": "Error", "Timestamp": new Date().toString(), "Message": message, "Source": source, "StackTrace": "Line: " + lineno + " Col: "...
var wsurl = "ws://172.16.17.32:8888/jsks/server.php"; websocket = new WebSocket(wsurl); function send(type, name, head, message) { var type = type; var name = name; var head = head; var message = message; var msg = { type: type, message: message, name: name, head: hea...
var U, DEBUG = 'DEBUG', RESERVED = '__ASSERT__ __CONTEXT__ __FILTER_ __OUTPUT__ __UTIL__ $_ document false global instanceof null true typeof undefined window'.split( ' ' ).reduce( function( o, k ) { o[k] = true; return o; }, util.obj() ), ba = { blank : function( o ) { return util.empty( o ) |...
var id = 0 document.addEventListener('DOMContentLoaded', function() { var calendarEl = document.getElementById('calendar'); var today = new Date(); var dd = String(today.getDate()).padStart(2, '0'); var mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0! var yyyy = today.getFullYear...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
/* Copyright (c) 2017 Red Hat, Inc. */ var inherits = require('inherits'); var nunjucks = require('nunjucks'); var fsm = require('../fsm.js'); var models = require('./models.js'); var models = require('./models.js'); var core_models = require('../core/models.js'); var app_models = require('../application/models.js'); v...
"use strict"; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; result["default"] = mod; return result; }; var __importDefault = (t...
/** * Created by gkyuchukov on 04.10.17. */ document.onmousemove = function(event) {handleMouseMovement(event)}; var portClickedX = 0; var portClickedY = 0; var tempMouseX = 0; var tempMouseY = 0; var tempSelectedElementPort = null; var translationMode = false; var graphScale = 1.0; var graphPositionX = 0; var ...
import { JSONAPISerializer } from 'ember-cli-mirage'; import { A } from '@ember/array'; import { isEmpty } from '@ember/utils'; import { get } from '@ember/object'; import { dasherize, } from '@ember/string'; import { pluralize } from 'ember-inflector'; import findNestedRelationship from 'ember-mirage-sauce...
/* * Copyright 2021 MeshDynamics. * 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 writ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _assign = require('babel-runtime/core-js/object/assign'); var _assign2 = _interopRequireDefault(_assign); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _definePrope...
import { Engine, Scene, Sound, FreeCamera, Vector3, HemisphericLight, WebXRHitTest, Quaternion, SceneLoader, WebXRState, IWebXRHitResult, // eslint-disable-line WebXRDefaultExperience, // eslint-disable-line WebXRFeaturesManager, // eslint-disable-line DirectionalLight, AbstractMesh, // es...
var ftrs = require('../features'); var _ = require('underscore')._; var hash = require('../utils/hash'); var util = require('../utils/list'); var multilabelutils = require('./multilabel/multilabelutils'); /** * EnhancedClassifier - wraps any classifier with feature-extractors and feature-lookup-tables. * * @param ...
/// <reference path="../inputmask.js" /> /// <reference path="../jquery-2.1.4.js" /> /// <reference path="../jquery.inputmask.js" /> /// <reference path="Base.js" /> function init_chechlists() { $(".check-list[data-url]").each(function (index, element) { var dataURL = $(element).attr("data-url"); ...
import Constants from "../utils/constants"; import Notification from "./notification"; import i18n from "../utils/i18n"; import Log from "../utils/log"; import sleep from "../utils/sleep"; import { parseQuery } from "../utils/helpers"; class UI { quickEditPanelVisible = false; scrollTop = 0; /** * 加载...
const colors = require('vuetify/es5/util/colors').default const title = process.env.npm_package_name.split('-').join(' ') || '' const description = process.env.npm_package_description || '' const keywords = process.env.npm_package_keyword || '' module.exports = { mode: 'universal', /* ** Headers of the page *...
import { NearestFilter, FloatType, BackSide, FrontSide, DoubleSide, WebGLRenderTarget, RGBAFormat, Color, ShaderMaterial, } from '//unpkg.com/three@0.114.0/build/three.module.js'; import { Pass } from '//unpkg.com/three@0.114.0/examples/jsm/postprocessing/Pass.js'; import { ColorResolveShader } from './ColorRe...
// Margin amounts var margin = { top: 10, right: 20, bottom: 30, left: 40 }; var canvasWidth = 1000; var canvasHeight = 500; var barWidth = 20; var barSpacing = 2; var barMaxHeight = 300; var minDelay = -10; var maxDelay = 30; var tooltip = d3.select('body') .append('div') .attr('class', 'tooltip'); lo...
const _ = require('lodash'); const request = require('request'); const log4js = require('log4js'); let commonUtils = require('./common.utils'); let config = require('./../../config'); var e = {}; const logger = log4js.getLogger(global.loggerName); function getSelect(obj, key) { if (typeof obj == 'object') { let ...
import React, {PureComponent} from 'react'; import { Card, Button, Form, Icon, Col, Row, Input, Popover, Table, Divider } from 'antd'; import {connect} from 'dva'; import FooterToolbar from '@/components/FooterToolbar'; import PageHeaderWrapper from '@/components/PageHeaderWrapper'; import DebtForm fr...
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import { withKnobs, text, boolean, number, object } from '@storybook/addon-knobs'; import { Button, Welcome } from '@storybook/react/demo'; //im...
// Inline from gl-matrix // https://github.com/toji/gl-matrix const ARRAY_TYPE = (typeof Float32Array !== 'undefined') ? Float32Array : Array const EPSILON = 0.000001 export const create = () => { let out = new ARRAY_TYPE(16) if (ARRAY_TYPE !== Float32Array) { out[1] = 0 out[2] = 0 out[3] = 0 ou...
let width = 144, height = 16; let renderLedCache = []; let EDSTemplateSet = {}; let EDSDataSet = {}; let EDSImageSet = {}; let EDSTemplates = {}; let EDSData = {}; let EDSImages = {}; let EDSExtraMessageSet = {}; let EDSExtraMessage = {}; for (let x = 0; x < width; x++) { renderLedCache.push([]); for (let y ...
/* * @tanqilin 2016 07 05 * 百度上传插件 * * UploaderPick:"#", //绑定按钮id * UploaderUrl:"", //百度插件地址 * UploaderServer:"", //上传api * UploaderMax:5 //现在最大上传个数 * UploadHiddenField:"" //隐藏域name */ var up...
import { Textcomplete } from "@textcomplete/core" import { TextareaEditor } from "@textcomplete/textarea" import { component, html, useCallback, useEffect, useRef, useState } from "haunted" import { nothing } from "lit-html" import { repeat } from "lit-html/directives/repeat.js" import { get as getTranslation, translat...
const expect = require('expect'); const scope = require('./support/scope'); const selectors = require('./selectors'); const pages = require('./pages'); const { user, ui } = require('./support/services'); const { dbManager } = require('../../routes/managers'); const { CustomJSONSchemaValidator, CustomJSONSchemaValidator...
import * as THREE from './lib/three.module.js'; import { OBJLoader } from './lib/OBJLoader.js'; import { PointerLockControls } from './lib/PointerLockControls.js'; import { OrbitControls } from './lib/OrbitControls.js'; import { GLTFLoader } from './lib/GLTFLoader.js'; export var client = new Colyseus.Client("ws:" + ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Web3 from 'aion-web3'; import { withStyles, Typography, TextField, Grid, Button } from '@material-ui/core' import { Warning } from '@material-ui/icons'; import PrimaryButton from '../PrimaryButton' import * as TransactionUtil from '../...
import { extend, isNullOrUndefined, setValue, getValue, isBlazor, addClass, removeClass } from '@syncfusion/ej2-base'; import { DataManager, Query, DataUtil } from '@syncfusion/ej2-data'; import { showSpinner, hideSpinner } from '@syncfusion/ej2-popups'; import { getObject, getUid } from '@syncfusion/ej2-grids'; import...
/** * Copyright (C) 2018 New York University * University at Buffalo, * Illinois Institute of Technology. * * 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 Lic...
import React from "react"; import { bindLib, sequence, scopeManager } from "../lib"; const { useManagedAttrs } = bindLib(React); const App = () => { const [attrs, manageState] = useManagedAttrs( {}, { items: [ { key: "won", text: "won", children: "won" }, { key: "too", text: "too", chi...
var https = require('https') var querystring = require('querystring') var bot = require('./irc_bot.js') var botb_api = require('./botb_api.js') var config = require('./config.js') var kudos = require('./irc_kudos.js') var memory = require('./memory.js') var request = require('request') var ultrachord = require('./irc_...
import conrad from '../conrad' import sigma from '../sigma.core' import {CustomSigmaEventNames} from "../../../app/objects/sigmaEventListener/customSigmaEvents"; let xCenter let yCenter function determineCenterCoord() { var w = window, d = document, e = d.documentElement, b = d.getElements...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _reactLifecyclesCompat = require("react-lifecycles-compat"); var _Divider = _interopRe...
import React, { useState, useEffect } from "react"; import { Card, CardBody, Table, Container, Button, Label, Row, CardHeader, } from "reactstrap"; import { Form, InputGroup } from "react-bootstrap"; // core components import { Header } from "components/Headers/Header.js"; import API from "../../variabl...
const buttonAlias = { 0: "A", 1: "B", 2: "X", 3: "Y", 4: "Left Bumper", 5: "Right Bumper", 6: "Start", 7: "Select", 8: "Left 3", 9: "Right 3" } const joystickAlias = { 0: "Left Joystick Horizontal", 1: "Left Joystick Vertical", 2: "Left Trigger", 3: "Right Trigger", 4: "Right Joystick Horizontal", 5: "R...
function tryTiles(tiles, grid, restrictTo, prevResult) { // for each space that the first tile fits... // we try to fit remaining tiles onto same row/column if (tiles.length === 0) { return [prevResult]; } var places = grid.getValidPlaces(tiles[0], restrictTo); var prevRow = tiles[0]...
let web3 = new Web3(Web3.givenProvider); let catContractInstance; let marketPlaceInstance; let user; let catContractAddress = "";//enter contract here after migration let marketPlaceContractAddress = "";//enter contract here after migration $(document).ready(function(){ window.ethereum.enable().then(function(accoun...
import React, { Component, Fragment } from 'react'; import styled from 'styled-components'; import cx from 'classnames'; import { formatrChartValue } from './common'; import { timeParticleSizeDropdownData, areaParticleSizeDropdownData, isTimeControl, isAreaControl, isNumberControl } from 'src/pages/worksheet/common/Sta...
#!/usr/bin/env node 'use strict'; const BufferReader = require('./libs/buffer'), chalk = require('chalk'), crypto = require('crypto'), Font = require('fonteditor-core').Font, fs = require('fs'), hummus = require('hummus'), os = require...
/** * * Copyright 2019 The FATE 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 req...
export * from './Accessibility'; export * from './Achievement'; export * from './Action'; export * from './Actions'; export * from './Ad'; export * from './AddCircle'; export * from './Add'; export * from './Aed'; export * from './Aggregate'; export * from './AidOption'; export * from './Aid'; export * from './Alarm'; ...
'use strict'; var getDocument = require("can-globals/document/document"); var global = require("can-globals/global/global")(); var setData = require("can-dom-data"); var dev = require("can-log/dev/dev"); var domEvents = require("can-dom-events"); var domMutate = require("can-dom-mutate"); var domMutateNode = require("...
const fs = require('fs') const chalk = require('chalk') //SILAHKAN EDIT SESUKA KALIAN //SIMPLE MENU exports.simple = (pushname, ucapanWaktu, namabot, prefix) => { return`*Halo Kak ${pushname} 👋* *${ucapanWaktu}* Berikut List Menu Yang Tersedia Di *${global.namabot}* 📚 ${prefix}allmenu 👦 ${prefix}ow...
// https://gist.github.com/szktty/228f85794e4187882a77734c89c384a8 /** * byte arrayを受け取り、clockwork base32 エンコーディングした文字列を返します * @param {Uint8Array} arr - 入力バイト列 * @return {string} - エンコード結果 */ function encode32(arr) { const buffer = arr.buffer; let str = ''; const step = 5; for (let offset = 0; offset < ar...
/** Copyright (c) 2021 MarkLogic Corporation 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 writ...
/** @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://...
"use strict"; 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 = requ...
/* eslint-disable */ const BigInteger = require('big-integer'); import WebDollarCrypto from 'common/crypto/WebDollar-Crypto' import BlockchainGenesis from 'common/blockchain/global/Blockchain-Genesis' import BlockchainMiningReward from 'common/blockchain/global/Blockchain-Mining-Reward' import consts from 'consts/const...
import React, { useState, useEffect } from "react"; import { useRecoilValue, useRecoilState } from "recoil"; import Tabs from "@mui/material/Tabs"; import Tab from "@mui/material/Tab"; import Box from "@mui/material/Box"; import Button from "@mui/material/Button"; import InputLabel from "@mui/material/InputLabel"; imp...
import { cosmetic } from './random.js'; import * as Utils from './utils.js'; import { types, make as MAKE } from './gw.js'; export var color = {}; export var colors = {}; export class Color extends Array { constructor(...args) { if (args.length == 1 && Array.isArray(args[0])) { args = args[0]; } while(arg...
import React, { useState } from "react"; import { DropdownItem, DropdownMenu, DropdownToggle, UncontrolledDropdown } from "reactstrap"; import { ReactiveBase, ReactiveList, MultiDropdownList, DataSearch } from "@appbaseio/reactivesearch"; import styled from "styled-components"; import { useSelector } from "react-redux"...
$(function () { ready(); }) function ready() { const school = JSON.parse(sessionStorage.getItem("target")); showSchool(school); setTitle(school.identity); initialize_Details(school); setUpEventHandlers(school); } function setTitle({ name, type }) { const regex = /[^\w\s]/g; let format...
// (1) use global variables var currentInstructions = []; // list of background to implement var lastSeenInstruction = 0; // timestamp of last received instruction var lastSeenClearPhone = 0; var timeout; // timeout for tracking duration of backgrounds var periodicTimeout; // timeout to keep in touch with google sheet ...
/** * Copyright 2013-2020 BigML * * 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 ...
import {getAll, getDetail} from "./db.js"; const base_url = "https://api.football-data.org/v2/"; const header = "0f365ede2cd440c4a70aae4f7ae3f9c9"; const fetchUrl = (base_url, type, header) => { return fetch(base_url + type, { headers: { "X-Auth-Token": header } }) } // Blok kode yang akan dipanggil jika fe...
/** * Copyright (c) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ jest.dontMock...
// this file stores and updates currently playing clients based on their slot require('rootpath')() const eventhandler = require('src/eventhandler') const db = require('utils/db') const ErrorHandler = require('src/errorhandler') const { groupOperations } = require('utils/groups') const conf = require('conf') con...
hideDiv('call-field'); hideDiv('dialer-box'); hideDiv('dialer-chatbox'); //hideDiv('lead-view'); // to hide any div with specify ID in argument function hideDiv(divId){ jQuery('#'+divId).hide(); } // display call fields function diaplayCallDiv(x){ jQuery('#call-field').toggle(); } function showCallDiv(){ x = ...
/* robot_gui.js - Version 1.0 2013-09-29 An HTML5/rosbridge script to control and monitor a ROS robot Created for the Pi Robot Project: http://www.pirobot.org Copyright (c) 2013 <NAME>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _isNil2 = _interopRequireDefault(require("lodash/isNil")); var _isEqual2 = _interopRequireDefault(require("lodash/isEqual")); var _isFunction2 = _interopRequireDefault(require("lodash/isFunction")); var _is...
"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 ...
// (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 without limitation the // rights to u...
/* * Copyright 2016 Google Inc. * * 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 ...
'use strict'; var width = window.innerWidth; var height = window.innerHeight; var Wrap = Wrap || {}; Wrap.gameplay = function (game) { }; Wrap.gameplay.prototype = { preload: function () { //this.candy; this.timer = 0; this.score = 0; /*backgroung*/ this.back = this.add.sprit...
'use strict'; const escope = require('escope'); const debug = require('debug')('common-shake:analyzer'); const shake = require('../shake'); const walk = shake.walk; const Module = shake.Module; function Analyzer() { // All `Module` instances by resource this.modules = new Map(); // All unresolved `Module` ins...
/* * ArrayBuffer.prototype.slice() */ /*@include util-typedarray.js@*/ /*--- { "custom": true } ---*/ /*=== false 4 41424344 false 3 424344 false 1 44 false 0 false 4 41424344 false 2 4243 false 2 4243 false 3 424344 false 0 false 0 ===*/ function arrayBufferSliceBasicTest() { var b; var buf = ne...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
const {ega, c64} = require("./palette"); const {Textmode, add_sauce_for_ans} = require("./textmode"); const {cp437_to_unicode_bytes} = require("./encodings"); const sequence_type = {UNKNOWN: 0, UP: "A", DOWN: "B", RIGHT: "C", LEFT: "D", MOVE: "H", MOVE_ALT: "f", ERASE_DISPLAY: "J", ERASE_LINE: "K", SGR: "m", SAVE_POS:...
/* Copyright (c) 2014-2016 Northwestern University 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...
import { adjustDST, convertTimeZone } from './time-utils'; import { localeInfo } from '../cldr'; import { DEFAULT_LOCALE, EMPTY } from '../common/constants'; import { errors } from '../errors'; import formatNames from './format-names'; import datePattern from './date-pattern'; import round from '../common/round'; impor...
const path = require('path'); const { PassThrough } = require('stream'); const EventEmitter = require('events'); const Module = require('module'); const fs = require('fs'); const del ...