text
stringlengths
8.5k
48.7k
/* Author: Name:<NAME> Student ID:p2025845 Date started: 9 July 2020 Date completed: */ /*This programme is a hangman game. This game extracts 10 words from word pools depending on any of the 3 theme player chooses. The player can guess the word a letter at a time or the whole word. The player loses a li...
import $ from 'jquery' import Dropy from '../../external/Dropy/dropy' import L_ from '../Basics/Layers_/Layers_' import Map_ from '../Basics/Map_/Map_' import F_ from '../Basics/Formulae_/Formulae_' // rgbaToGFloat from: https://github.com/ihmeuw/glsl-rgba-to-float // License: BSD-3 Clause https://github.com/ih...
/** * 配置: el { 能不能在自己里面drag // 可以放置 onPutSuccess: Function sourceEl,targetEls,rect, // 移动节点可以自定义, 如果在此返回指定的节点,那么 dragSourceExtendClasses 属性不生效 // 此节点为游离的dom节点,没有添加任何节点中 // 节点太小了鼠标没在元素区域内 onDragClone: Function sourceEl // source节点进入(只有drag) onSourceEnter: Function // source节点离开(只有drag) ...
/*! Virtualizor (c) (Softaculous Ltd.) virtualizor.com/license */ /*! HAProxy JS*/ /*! Used in haproxy_theme.php, managevps_theme.php and virtualizor.js */ /*! Created On: 11 May 2017 */ var $vpses, $supported_protocols, $haproxydata, $arr_haproxy_src_ips, $servers; var vdf_elems = ["protocol", "src_hostname", "src_p...
/****************************************************************************** * * This script generates an nmake compatible makefile for Microsoft Visual * Studio. The generated makefile can be used to build the system from a * release of Gambit. To build from a clone of the github repository * some additional ...
import Ember from 'ember'; import ResponsiveNav from '../responsive-nav/component'; import MenuData from '../../utils/menu'; import PreventBodyScroll from '../../mixins/prevent-body-scroll'; var $ = Ember.$; export default ResponsiveNav.extend(PreventBodyScroll,{ testSidebar: false, prefs: Ember.inject.service('pr...
const prod = process.env.NODE_ENV === 'production' const request = require('requestretry').defaults({ fullResponse: false }) const cheerio = require('cheerio') const crypto = require('crypto') const fs = require('fs') const _ = require('lodash') const patchlogs = require('warframe-patchlogs') const ProgressBar = requir...
import DatabaseService from '../services/database-services'; import BookmarkService from '../services/bookmark-services'; import HistoryService from '../services/history-services'; import BrowseConfig from '../services/browse-services'; import angular from 'angular'; import Utilities from '../util/library' import '../u...
/*--------------------------------------------------------------------------------------------- * 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 PropTypes from "prop-types"; import ReactDOM from "react-dom"; import { buildClientSchema, GraphQLSchema, parse, print } from "graphql"; import { ExecuteButton } from "./ExecuteButton"; import { ToolbarButton } from "./ToolbarButton"; import { ToolbarGroup } from "./ToolbarGroup"; impo...
// setup // 1.5 TANK_SIZE = 25; MOBILE_TANK_SIZE = 20; aspect = { PORTRAIT : "PORTRAIT", LANDSCAPE : "LANDSCAPE" } function determineMode() { return window.innerWidth > window.innerHeight ? aspect.LANDSCAPE : aspect.PORTRAIT } function determineTankSize() { return window.innerWidth > window.innerHeigh...
'use strict' const { BDAnimes } = require('./consultas.js'); const { RenderBase } = require('./RenderBase.js'); const { Days, Tipos } = require('./defaults-config.js'); const settings = require('electron-settings'); const { Anime } = require('./Anime'); /** * Clase que se encarga del renderizado de la * vista `Agreg...
// Line rendering style import log from '../../utils/log'; import {Style} from '../style'; import StyleParser from '../style_parser'; import gl from '../../gl/constants'; // web workers don't have access to GL context, so import all GL constants import Texture from '../../gl/texture'; import VertexLayout from '../../g...
import { PennEngine } from "./engine"; import { levensthein } from "./utils"; $.prototype.left = function(){ return Number(this.css("left").replace(/px/,'')); } $.prototype.top = function(){ return Number(this.css("top").replace(/px/,'')); } const VERSION = "2.1.beta"; PennEngine.Prerun( ()=>{ const xppath = win...
/** * @license * Copyright (c) 2021, 2022, Oracle and/or its affiliates. * Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. */ const {app, dialog} = require('electron'); const {getCredentialPassphrase} = require('./promptUtils'); const {copyFile, mkdir, readFile...
// <NAME> / Beautiful Jekyll 2016 // This `isOnScreen` function comes from: // https://stackoverflow.com/a/35435672 $.fn.isOnScreen = function(partial) { //let's be sure we're checking only one element (in case function is called on set) var t = $(this).first(); //we're using getBoundingClientRect to get posit...
var $dtTables = []; var App = function () { // datatables var dt = {}; dt.init = function(options) { let $settings = $.extend(true, { autoUpdate: false }, options); $dtTables[$settings.id] = $('#' + $settings.id).DataTable($settings.settings); if($settings.auto...
import store from '@/store/modules/app' // import { deepClone, filterLineArr } from '@/utils' import { deepClone } from '@/utils' import evaluationOptions from '@/utils/chart-options/evaluation-curve' const { metricTypeMap } = store.state const curveColor = [ '#494ECE', '#24B68B', '#FF8800', '#F23BA9', '#F34...
var map; var defaultWidth = currentWidth = "500"; var defaultHeight = currentHeight = "400"; var defaultCenter = currentCenter = new google.maps.LatLng(0, 0); var lastCenter = "0, 0"; var defaultZoom = currentZoom = 1; var defaultSaturation = currentSaturation = 0; var layer; var anotherLayer; var defaultTableId = c...
'use strict'; var minutesOfDay = function(m){ return m.minutes() + m.hours() * 60; }; function getProperty(obj, prop) { var parts = prop.split('.'), last = parts.pop(), l = parts.length, i = 1, current = parts[0]; while((obj = obj[current]) && i < l) { current = part...
import React from 'react'; import { Context } from './Context'; const getStyles = (element, context) => { const { spx } = context.api; const style = { top: 0, left: 0, pointerEvents: 'auto', position: 'absolute' }; if (element.type === 'video' || element.type === 'carous...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
/** * Creates DOM structures from a JS object (structure) * @author <NAME> <<EMAIL>> * @version 1.0.3 * @repository https://github.com/lenincompres/DOM.create */ Element.prototype.create = function (model, ...args) { if ([null, undefined].includes(model)) return; let contentType = DOM.type(model.content); i...
//Copyright (c) 2015 <NAME> <<EMAIL>> //MIT License: https://raw.githubusercontent.com/Magnitus-/ExpressUser/master/License.txt var Nimble = require('nimble'); var Express = require('express'); var Http = require('http'); var ExpressUser = require('../lib/ExpressUser'); var UserProperties = require('user-properties');...
require("dotenv").config() const { Discord, Client, Intents, MessageEmbed, MessageButton, MessageActionRow, Permissions } = require("discord.js") const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MEMBERS, Intents.FLAGS.GUILD_BANS, Intents.FLAGS.GUILD_MESSAGES, Intents.F...
import { deleteNearSelection } from "./deleteNearSelection.js" import { commands } from "./commands.js" import { attachDoc } from "../model/document_data.js" import { activeElt, addClass, rmClass } from "../util/dom.js" import { eventMixin, signal } from "../util/event.js" import { getLineStyles, getContextBefore, take...
/* account.js <NAME> 9 december 2019 */ let account let editing = false let editable let edits = {} let edit_links_rows = 0 let works = [] let works_start = 0 let works_end = 0 let activities = [] let activities_start = 0 let activities_end = 0 let records = [] let records_start = 0 let records_end = 0 const ACCOUNT_...
import Vue from 'vue' import { testPattern } from '../../utils/patterns.js' import throttle from '../../utils/throttle.js' import { cache } from '../../utils/vm.js' import { hexToRgb, rgbToHex, rgbToString, stringToRgb, rgbToHsv, hsvToRgb, luminosity } from '../../utils/colors.js' import DarkMixin from '../../mixins/...
'use strict' /* eslint-env browser, webextensions */ const browser = require('webextension-polyfill') const { optionDefaults, storeMissingOptions, migrateOptions } = require('./options') const { initState, offlinePeerCount } = require('./state') const { createIpfsPathValidator, pathAtHttpGateway } = require('./ipfs-pa...
// CATALOGUE.JS // shop code var catalogue = { cats : null, // categories gowait : null, actief : null, init_done : false, loading : false, went : false, buy_cat : 0, buy_furni : "", buy_price : "", box_licht : 15, icons_active : { }, newcat : null, addimg : null, aantal : null, blz : 0, // current page ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3 = _int...
/* ADOBE SYSTEMS INCORPORATED Copyright 2013 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, th...
/* dom99 v16.0.0 */ /* Copyright <NAME> 2018. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE.txt or copy at https://www.boost.org/LICENSE_1_0.txt */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /** Creates an element with...
#!/usr/bin/env node // Copyright (C) <2019> Intel Corporation // // SPDX-License-Identifier: Apache-2.0 // packing script const fs = require('fs'); const path = require('path'); const { chdir, cwd } = process; const { execSync } = require('child_process'); const { OptParser, exec } = require('./util'); const optPars...
/** * Created by <NAME> on 5/24/14. */ var fs=require('fs'); var path=require('path'); var neo4j = require("node-neo4j"); var db=getDBInstance(); module.exports.ensureAuthenticated=function (req, res, next) { if (req && req.session && req.session.userDetails) { return next(); } res.redirect('login'); } var er...
'use strict'; const each = require('async-each'); const axios = require('axios'); const moment = require('moment'); const uuid = require('uuid/v4'); const {Command} = require('@dyno.gg/dyno-core'); class Data extends Command { constructor(...args) { super(...args); this.aliases = ['data']; this.group ...
import React, { useEffect, useState, memo } from 'react'; import ToolBar from '../../../components/ToolBar/ToolBar'; import ButtonsSection from '../../../components/ToolBar/ButtonsSection/ButtonsSection'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { MDBContainer, MDBTabPane, MDBTabC...
'use strict'; var _commonjsHelpers = require('./_commonjsHelpers.js'); var path = require('path'); var fs = require('fs'); function toArr(any) { return any == null ? [] : Array.isArray(any) ? any : [any]; } function toVal(out, key, val, opts) { var x, old=out[key], nxt=( !!~opts.string.indexOf(key) ? (val == nul...
'use strict'; var op_add = '+'; var op_sub = '\u2212'; var op_mul = '\xD7'; var op_div = ':'; // Pick a random integer from [a,b). function randrange(a, b) { if (!(a < b)) throw 'ERROR: empty range: a=' + a + ', c=' + c + '.'; let number = Math.floor(Math.random() * (b - a) + a); if (number >= b) number...
// Wialon session var sess = null; // Translate function var translate = null; // units data var unitsData = {}; // map var map = null; // Current user var user = { nm: "", mu: 0, prp: { us_addr_fmt: "0_0_0" }, locale: { wd: 1 } }; var period = 1; var adds; var requestTimestamp; ...
var that = this; function __skpm_run (key, context) { that.context = context; var exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /****...
var Registry = { externalRenderer: false, addExtension(prefix, spec) { Fields.extensions[prefix] = _.normalizeField(spec, Fields.extensions); }, addMetadataField(field, spec) { Fields.metadata[field] = _.normalizeField(spec, Fields.metadata); }, addLinkField(field, spec) { Fields.links[field] = _.normal...
var actionList = require("./action-list"); function fillActions(actions, errors) { var actions = actions || {}; var errors = errors || {}; return `/* description: Parses and executes mathematical expressions. */ /* lexical grammar */ %lex %% [ \\n\\t\\r] return 'White_Space_Char' "<![if gt IE 6]>" ...
const { Client, Collection } = require('discord.js'); const { promisify } = require("util"); const { inspect } = require("util"); const readdir = promisify(require("fs").readdir); const client = new Client(); const fs = require("fs"); const snekfetch = require('snekfetch'); const cheerio = require('cheerio'); const Se...
const gulp = require('gulp'), cp = require('child_process'), glob = require('glob'), fs = require('fs'), path = require('path'), p = require('./package.json'), csv = require('csv-parser'), zip = require('gulp-zip'), svgo = require('gulp-svgo'), puppeteer = require('puppeteer'), outlineStroke = require('svg-ou...
var Address6 = require("ip-address").Address6; var Crypto = require("crypto"); var ffmpeg = require("fluent-ffmpeg"); var FS = require("q-io/fs"); var FSSync = require("fs"); var Path = require("path"); var promisify = require("promisify-node"); var Util = require("util"); var UUID = require("uuid"); var Captcha = req...
/** * This file defines the public interface to the io_manager. It provides object * references that allow programs to communicate with the io_manager_process */ var EventEmitter = require('events').EventEmitter; var util = require('util'); var process_manager = require('process_manager'); var q = require('q'); var...
/* global alert, confirm */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators, compose } from 'redux'; import backend from 'lib/Backend'; import i18n from 'i18n'; import classnames from 'classnames'; import * as galleryAction...
/* * Copyright (c) 2015 <NAME> * Copyright (c) 2015 Joyent, Inc * * 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,...
'use strict'; /* jshint strict: true*/ /* global $, moment, _*/ /** * set up global ajax options */ $.ajaxSetup({ type: 'GET', dataType: 'json', cache: false }); $(document).ajaxStart(function(){ $(".spinner").show(); $(".spinner2").show(); }); $(document).ajaxStop(function(){ $(".spinner").hide()...
$(document).ready(function() { btnTambah = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button type='button' class='btn btn-outline-primary btn-sm' id='btnTambah'><i class='fa fa-plus'></i> Tambah</button>"; btnRefresh = "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button type='button' class='btn btn-outline-success btn-sm' id='btnR...
/** 正则匹配相关信息 */ // 是否邮箱 var isEmail = function isEmail(s) { return /^([0-9a-zA-Z_-])+@([0-9a-zA-Z_-]+(.[0-9a-zA-Z_-]{2,3}){1,2})/.test(s); }; // 是否手机号码 var isMobile = function isMobile(s) { return /^1[0-9]{10}$/.test(s); }; // 是否大陆有效手机号码 var isStrictMobile = function isStrictMobile(s) { return /^[0]?1[3|5][0-9...
var lineColour = '#' + getQSParam().lineColour; var vhlt = getQSParam().vhlt === "true"; var hhlt = getQSParam().hhlt === "true"; var vaxis = getQSParam().vaxis === "true"; var haxis = getQSParam().haxis === "true"; var doTransitions = getQSParam().doTransitions === "true"; var highlightDates = ...
// !! SELECT ELEMENTS IN A MORE DRY WAY // !! Add ALL methods and other properties to weatherDataObj // !! Create better method for applying classes. EX add classes to array and pass them to a function as an arguement //! Moon icon in progress bar stays when changing from dark mode to light mode. // global variable...
/*************** COLORS TO BE ERASED WHEN INSTALLING THE THEME ***********/ $(document).ready(function() { var s = document.createElement("script"); s.type = "text/javascript"; s.src = "/bundles/main/js-plugin/jquery-cookie/jquery.cookie.js"; $("body").append(s); if($.cookie("css")) { ...
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
import { equals, hash, createAtom } from "../fable-core/Util"; import { map } from "../fable-core/Array"; import { ILModuleDef, ILAssemblyManifest, mkILMethodImpls, mkILEvents, mkILProperties, ILMethodImplDef, ILOverridesSpec, mkMethBodyAux, MethodBody, ILMethodBody, mkILTypeDefsFromArray, mkILFields, mkILMethods, ILPa...
// Decoder for Mutelcor LoRaButton payload // For machine parsing set keywords to true, this will give keywords instead of text descriptions var keywords = false; // TTN v3 function decodeUplink(input) { // Decode an uplink message from a buffer (array) of bytes to an object of fields. var decoded = MutelcorL...
const express = require('express'); const WebSocket = require('ws'); const http = require('http'); const url = require('url'); const fs = require("fs"); const path = require("path"); const os = require("os"); const assert = require("assert"); let name = "all"; let elements = JSON.parse(fs.readFileSync(path.join("dat...
var game = require('./lib/game.js'); var express = require('express'); var app = express(); var path = require('path'); var server = require('http').createServer(app); var io = require('socket.io')(server); var port = process.env.PORT || 5000; var rooms = []; var words = [ 'Mono', 'Hormigas', 'Tejón', 'Murci...
import { CULL_FACE_TYPE, BLEND_TYPE, DRAW_SIDE, OBJECT_TYPE, WEBGL_PIXEL_TYPE, WEBGL_PIXEL_FORMAT, WEBGL_TEXTURE_FILTER } from '../../const.js'; import { nextPowerOfTwo } from '../../base.js'; import { Vector3 } from '../../math/Vector3.js'; import { Vector4 } from '../../math/Vector4.js'; import { Plane } from '../../...
var that = this; function __skpm_run (key, context) { that.context = context; var exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /****...
/** * LICENCE[[ * Version: MPL 2.0/GPL 3.0/LGPL 3.0/CeCILL 2.1 * * The contents of this file are subject to the Mozilla Public 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.mozilla.org/MPL/ * * Softwar...
// START RICH TEXT EDIT function kwsTriggerSave() { var rich = (typeof tinyMCE != "undefined") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden(); if (rich) { ed = tinyMCE.activeEditor; if ( ('mce_fullscreen' == ed.id) || ('wp_mce_fullscreen' == ed.id) ) { tinyMCE.get(0).setContent(ed.getContent...
/* * Copyright (c) 2011-2012, Yahoo! Inc. All rights reserved. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ /*jslint anon:true, sloppy:true, regexp:true, nomen:true, stupid:true*/ var pathlib = require('path'), fs = require('fs'), existsSync = fs.ex...
/* * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
var dateFormat = 'EE\nd/M', fontName = 'Linotte-Regular'; var loadingIndicator = '<div class="loading-graph"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div></div>';//'<div class="loading"></div>'; //var employeesShortlistBkp = []; var verticalRanges = { areaBelow: ...
import React, { Component } from 'react' import { connect } from 'react-redux' import { withRouter } from "react-router" import * as topojson from "topojson-client" import * as d3 from "d3" import d3Tip from "d3-tip" import { Spinner } from '../../spin.js' import { setLine, setStop, fetchYelpThunk, fetchMeetupThunk, fe...
"use strict"; /// <reference path="../../../../typings/main.d.ts" /> var fs = require("fs"); var path = require("path"); var index = require("../../../index"); var testUtil = require("../test-utils"); var hlImpl = require("../../highLevelImpl"); var mappings = require("./messageMappings"); var _ = require("unde...
/** * @author <NAME> - http://www.github.com/mkkellogg */ // ======================================= // Trail Renderer // ======================================= import { Object3D, Vector3, Vector4, ShaderMaterial, CustomBlending, SrcAlphaFactor, OneMinusSrcAlphaFactor, AddEquation, ...
// create an initialize an array // accessing array items // manipulating arrays // slice() and splice // array searching and looping // arrays in the DOM 'use strict'; // Create an Initialize an array let values = [1, 2, 3]; // Initialize an array let values2 = Array.of(1, 2, 3); const values3 = ['a', 'b', 'c']; ...
'use strict'; if(process.env.LOCAL !== true){ require('dotenv').load(); } const https = require('https'); const querystring = require('querystring'); var pg = require('pg'); var parse = require('pg-connection-string').parse; var config = parse(process.env.DATABASE_URL); function BarsHandler () { //fi...
// Constants var currentLevel = 1, PLANE_MOVE_SPEED = 0, BIRD_MOVE_SPEED = 50, DEFAULT_SPEED = 500, ANGLE_FACTOR = 0.1, DIRECTION_LEFT = 1, DIRECTION_RIGHT = 2, UNIT = 30, showZoomLevel = false, lastZoom = App.physicsTimeElapsed, numScrollEvents=0, aTimer = new Timer(), s...
// // Copyright 2021 XiaoJSoft Studio. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.md file. // // // Imports. // // Imported modules. const Lc3TblAcSpec = require("./../tables/ac_spec"); const Lc3TblNE = require("./../tables/ne"...
/********************************************************************** * APLICACIONES TELEMÁTICAS. Grado en Ingeniería Telemática. * * 4º Curso. Universidad Re<NAME>. ETSIT. GSyC. * * <NAME>. * *****************************************************...
import React from 'react' import {connect} from 'react-redux' import compose from 'recompose/compose' import withHandlers from 'recompose/withHandlers' import withProps from 'recompose/withProps' import lifecycle from 'recompose/lifecycle' import withState from 'recompose/withState' import withPropsOnChange from 'recom...
import AddColorBackground from "../src/scripts/helper/backgrounds/color-background.js"; import TilePicker from "./tile-picker.js"; import FakeWorld from "./fake-world.js"; import ActionTable from "./action-table.js"; import HellFloorPlan from "./scripts/hell-floor-plan.js"; import FillSimilars from "./fill-similars.js"...
var facebook_val = 19.99; var facebook_everything_val = 49.99; var newsletter_val = 19.99; var biz_card_val = 20; var video_fizz_val = 12.99; var canada_service_val = 29.01; var other_language_newsletter_val = 25; var prospect_system_val = 29.99; var magic_booker_val = 49.99; var personal_unit_app_val = 59.99; var pe...
const moment = require('moment-timezone') const axios = require('axios') const { S2 } = require('s2-geometry') const S2ts = require('nodes2ts') const path = require('path') const pcache = require('flat-cache') const { Mutex } = require('async-mutex') const Controller = require('./controller') require('moment-precise-ra...
/** This is a second course that can be played. Different courses can be set up by loading different tilesets and tilemaps. For Galaxy Jump project. This whole code is a modified version of the part7.html example at http://phaser.io/tutorials/making-your-first-phaser-3-game/part7. If you want to see what every...
/* * This file carries the list of buttons */ var homeButton = [ { title: 'goHome', path: 'images/main_buttons/home.png'} ]; /* Main Buttons' array */ var mainButtons = [ { title: 'Like', path: 'images/main_buttons/smiley_like.png'}, //button: 1, 2 & 3 { title: 'DontLike', path: 'images/main_buttons/smile...
const BN = require('bn.js'); const d3 = require('d3-format'); const Queue = require('better-queue'); const ethAbi = require('ethereumjs-abi'); const crypto = require('crypto'); const Op = require('sequelize/lib/operators'); const Models = require('../../models'); const Utilities = require('../Utilities'); const Graph...
import Base from '../../../Core/Base.js'; import DomClassList from '../../../Core/helper/util/DomClassList.js'; import HorizontalLayoutStack from '../../eventlayout/HorizontalLayoutStack.js'; import HorizontalLayoutPack from '../../eventlayout/HorizontalLayoutPack.js'; /** * @module Scheduler/view/mixin/SchedulerEven...
/*Dashboard2 Init*/ "use strict"; /*****Ready function start*****/ $(document).ready(function(){ if( $('#datable_1').length > 0 ) $('#datable_1').DataTable({ "aLengthMenu": [[4, 8, 12, -1], [4, 8, 12, "All"]], "iDisplayLength": 4 }); }); /*****Ready function end*****/ /*****E-Charts function start*****/ v...
/** * **Scribl Class** * * _sets defaults, defines how to add features * to chart/view and some methods to help * coordinate drawing_ * * <NAME> 2011 */ // globals // if (SCRIBL == undefined) { var SCRIBL = {}; SCRIBL.chars = {}; SCRIBL.chars.nt_color = 'white'; SCRIBL.chars.nt_A_bg = 'red'; ...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @enum {string} */ const NavigationModelItemType = { SHORTCUT: 'shortcut', VOLUME: 'volume', RECENT: 'recent', CROSTINI: 'crostini', ...
/** * Module dependencies */ var util = require('util'); var _ = require('@sailshq/lodash'); var async = require('async'); var flaverr = require('flaverr'); var parley = require('parley'); var forgeStageTwoQuery = require('../utils/query/forge-stage-two-query'); var getQueryModifierMethods = require('../utils/query/...
function len$(a){ return a && (a.len instanceof Function ? a.len() : a.length) || 0; }; var Imba = require('imba'); // externs; var Route = require('./Route').Route; var URLSearchParams = require('../lib/util').URLSearchParams; // check if is web var isWeb = typeof window !== 'undefined'; var ROUTES = {}; // proxy ...
const bencode = require('bencode') const debug = require('debug')('bittorrent-dht') const KBucket = require('k-bucket') const krpc = require('k-rpc') const low = require('last-one-wins') const LRU = require('lru') const randombytes = require('randombytes') const records = require('record-cache') const simpleSha1 = requ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *---------------------------------------------------------------...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.isFactoryClass = exports.LatticeFactory = exports.ValidationResults = exports.CHECK_API_DOCS = exports.CHECK_RESOLVERS = exports.CHECK_SCHEMA = exports.CHECKLIST = undefined; var _entries = require('babel-runtime/core-js/object/ent...
////////// // Globals var production=false; var fixeddataset=true; var fileid=""; var hostname=""; var dataurl=""; if(production && fixeddatset){ fileid = "500"; // PUMS n=2000 subset on Dataverse-demo } if(production && fileid=="") { alert("Error: No fileid has been provided."); throw new Error("Error: ...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, InvalidOrder, AuthenticationError, InsufficientFunds, BadRequest } = require ('./base/errors'); // ---------------------------------------------------------...
import { Dialog, Transition } from "@headlessui/react"; import { // CalendarIcon, // CogIcon, // CollectionIcon, // HomeIcon, MenuIcon, // SearchCircleIcon, // UserGroupIcon, XIcon, } from "@heroicons/react/outline"; import { ChevronLeftIcon, FilterIcon, MailIcon, PhoneIcon, SearchIcon, ...
import React, { Component } from "react"; import DeathrollContract from "./contracts/Deathroll.json"; import Web3 from "web3"; import "./App.css"; class App extends Component { constructor(props) { super(props); this.state = { storageValue: 0, version: "v0.1", web3...
var Calendar = { Start: function() { AddClassDays(); if($('input[name="comercial"]').length) { var id = $('input[name="comercial"]').attr('id'); addEventCalendar(date = $('.calendar').attr('id'),userlist = id); } if(rol == 7) { ...
function BarrettMu(i) { this.modulus = biCopy(i), this.k = biHighIndex(this.modulus) + 1; var t = new BigInt; t.digits[2 * this.k] = 1, this.mu = biDivide(t, this.modulus), this.bkplus1 = new BigInt, this.bkplus1.digits[this.k + 1] = 1, this.modulo = BarrettMu_modulo, this.m...
var resizedd=0; var time_f_arr =[]; jQuery(document).ready(function(){ make_info_circle('.info-c-full-br',0); responsive_check('.info-c-full-br'); calculate_clipped_circle(); //make_info_circle('.info-c-semi-br',0); //responsive_check('.info-c-semi-br'); //part_circle_icon('.info-c-full-br'); //semi_circle_icon(...
"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; }; Object.definePro...
var _ = require('../utils'); var arithmetic = require('./arithmetic'); var bitwise = require('./bitwise'); var branch = require('./branch'); var bytewise = require('./bytewise'); var compare = require('./compare'); var conditional = require('./conditional'); var immediate = require('./immediate'); var interrupts = requ...