text
stringlengths
5.97k
41.2k
/* * * Copyright 2015, 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 condi...
import { DICE_HTML_SIDES, NULL_POINTS, PLAYER_PATHS, START_POINTS } from "./constants"; import { LudoAlert, LudoPlayer } from './engineUtils'; import { TinyEmitter } from "tiny-emitter"; Array.prototype.random = function () { return this[Math.floor(Math.random() * this.length)]; } String.prototype.toProperCase = ...
// States var STATE = { NONE: - 1, ROTATE: 0 }; var state = STATE.NONE; // switches var contentboxes = 0; // var renderer, scene, camera, controls, stats; var nEnd = 0, nMax, nStep = 90; var geometry = []; var mesh = []; var wind = false; var steps = 100; var timelineCount = 12; var initialized = false; var time = ...
/* * This code is coupled with the Census search typeahead HTL. * * It is framework-less and should remain that way for the foreseeable future to aid other, non-AEM census pages to utilize it. * * As such, it does not inject any dependencies. * */ var CensusSearchTypeahead = (function() { // DO NOT INJECT F...
'use strict'; // -------------------------------------------------------------------- // Imports // -------------------------------------------------------------------- const test = require('tape-catch'); const ohm = require('..'); const common = require('../src/common'); const testUtil = require('./testUtil'); // ...
let xml2js = require('xml2js'); let fs = require('fs'); // Load the game itself let parser = new xml2js.Parser(); let game = require('./game'); let ecsComponents = require('./ecsComponents'); let ecs = require('./ecs'); module.exports = { xmlCallback: function () {}, readXMLFile: function () { // Populate the ...
const _set = require('lodash.set'); const _get = require('lodash.get'); const camelCase = require('lodash.camelcase'); module.exports = Thunder => { const implementation = { name: 'order-detail' }; implementation.options = () => ({ order: '', // Order ID to render updateTransactions: true, //...
// $Id$ /* * Maze generator CraftScript for WorldEdit * Copyright (C) 2010, 2011 sk89q <http://www.sk89q.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 Free Software Foundation, either version 3 of the Lice...
var FormGlblData = { FormObjData: null, TrnTypKy: 1, AccessLvlKy: 1, ConfiLvlKy: 1, TrnKy: 1, AllDefalutValueObj: null, GotItemRate: 0 }; OPENLodingForm(); LoadGloabData(); function LoadComboAndDateTime() { LoadDateAndTime(); LoadCombo(); } function LoadDateAndTime() { $("#Hdr...
/* eslint-disable react/no-multi-comp,no-case-declarations,no-bitwise */ import React, { PureComponent } from 'react'; import { FormattedHTMLMessage, FormattedMessage, injectIntl } from 'react-intl'; import PropTypes from 'prop-types'; import { Input, AutoComplete, Select, Button, Icon, message } from 'antd'; import ...
"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...
var JS_LNG_1 = "IMPORTANT : L'application n'a pas pu initialiser le plugin permettant de gérer le son. Par conséquent, il est possible que certaines parties du site ne fonctionnent pas correctement.<br />Type d'erreur"; var JS_LNG_2 = "Souhaitez vous vraiment <span class=\"rouge\">supprimer</span...
/* Script: Clientcide.js The Clientcide namespace. License: http://www.clientcide.com/wiki/cnet-libraries#license */ var Clientcide = { version: '773', setAssetLocation: function(baseHref) { if (window.StickyWin && StickyWin.ui) { StickyWin.UI.refactor({ options: { baseHref: baseHref + '/stickyWinHTM...
/* Code modified from: http://www.lostdecadegames.com/how-to-make-a-simple-html5-canvas-game/ using graphics purchased from vectorstock.com */ /* Initialization. Here, we create and add our "canvas" to the page. We also load all of our images. */ let canvas; let ctx; canvas = document.createElem...
function promise(url, method, params) { // const params = { username: 'example' }; return fetch(url, { method: method, headers: { 'Content-Type': 'application/json', 'X-CSRF-TOKEN': document.head.querySelector("meta[name=csrf-token]").content }, body: (pa...
/* Copyright 2018 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 in writing, software dis...
"use strict"; FW_version["svg.js"] = "$Id: svg.js 20860 2019-12-31 12:20:15Z rudolfkoenig $"; var svgCallback={}; if(!svgNS) { var svgNS = "http://www.w3.org/2000/svg"; var svg_initialized={}, lastHidden; var svg_db, svg_dbtbl = "SVG_KEYVALUE", svg_pastedata, svgCounter=0; } function svg_initDb(nextFn) { if(w...
var game; var gameOptions = { tileSize: 200, tweenSpeed: 50, tileSpacing: 20, localStorageName: "StarMerge" } var ROW = 0; var COL = 1; var scorePass = 0; window.onload = function() { var gameConfig = { type: Phaser.CANVAS, width: gameOptions.tileSize * 4 + gameOptions.tileSpacing * 5,...
$(function() { //Sidebar /* //Open $('#slide-submenu').on('click',function() { $(this).closest('.list-group').toggle('slide',function(){ $('.mini-submenu').toggle('slide'); }); }); */ /* //Open/Close Toggle $('.mini-submenu').on('click',function(){ $...
// https://w3c.github.io/media-source/#append-window // https://developer.mozilla.org/en-US/docs/Web/API //https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_delivery // 각종 팁 // # Setting up adaptive streaming media sources //https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_delivery...
var http = require('http'), config = require('./config.js'), EventEmitter = require('events'), util = require('util'), xslt = require("libxslt"), xml = xslt.libxmljs, fs = require('fs'), spawn = require('child_process').spawn, path = require('path'), moment = require('moment'), Q = require('q'); va...
var QUnit = require('qunitjs'); var locale = require('devextreme/localization').locale; var dateLocalization = require('devextreme/localization/date'); var dxVersion = require('devextreme/core/version'); var compareVersions = require('devextreme/core/utils/version').compare; require('../src/date'); if(Intl.__disableR...
var currentNodeUrl = ''; var allNodeUrls = []; function openNextPage() { var index = allNodeUrls.indexOf(currentNodeUrl) + 1; if(index >= allNodeUrls.length) return; var nextNodeUrl = allNodeUrls[index]; $('.sitemapPageLink[nodeUrl="' + nextNodeUrl + '"]').click(); } function openPreviousPage() { ...
import React from "react"; import { Button, Wizard, WizardContextConsumer, WizardFooter } from "@patternfly/react-core"; import { defineMessages, FormattedMessage, injectIntl, intlShape } from "react-intl"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import NotificationsApi from "../../da...
var FormGlblData = { FormObjData: null, TrnTypKy: 1, AccessLvlKy: 1, ConfiLvlKy: 1, TrnKy: 1 } $(document).ready(function () { GetFormObjData(); }); $('#HdrSec1_DatTo_Val').on('change', function () { loadDates(); }); $('#HdrSec1_DatFrom_Val').on('change', function () { loadDates(); }); function GetFormObjData()...
import React, { Component } from 'react'; import { EditorState, ContentState, convertToRaw, convertToHTML, } from 'draft-js'; import './App.css'; import MyEditor from './Editor'; import Login from './Login'; import Banner from './components/Banner/Banner'; import Nav from './components/Nav/Nav'; import Loading ...
// ==UserScript== // @name Melvor Idle automation // @namespace Melvor // @version 0.12.2.022 (for Melvor 0.12.2) // @description Aleviates some of the micro management // @downloadURL https://raw.githubusercontent.com/Katorone/AutoMelvorIdle/raw/master/melvor.user.js // @author Katorone // @mat...
'use strict'; var getBuiltins = require('builtins'); var fs = require('fs'); var path = require('path'); var process = require('process'); var globals = require('globals'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var getBuiltins__default = /*...
"use strict"; const path = require("path"); const Rules = require(path.resolve(__dirname, "./rules.js")); const RULES_DIRECTORY = path.resolve(__dirname, "../rules/"); const utilities = require("./utilities.js"); class Context { constructor(target, room, user, command, originalCommand, time) { this.target = targe...
//@program /* Copyright 2011-2014 Marvell Semiconductor, 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 applicab...
import React, {Component} from 'react'; //import DataTable from './DataTable'; import Switch from '@material-ui/core/Switch'; import Slider from '@material-ui/core/Slider'; import Checkbox from '@material-ui/core/Checkbox'; import { withStyles } from '@material-ui/core/styles'; import FormControlLabel from '@material-...
import { createPopper } from "@popperjs/core"; import { emojiUrlFor } from "discourse/lib/text"; import { Promise } from "rsvp"; import { cancel, later, run, schedule } from "@ember/runloop"; import { createWidget } from "discourse/widgets/widget"; import CustomReaction from "../models/discourse-reactions-custom-reacti...
// ***************************************************************************** // Notices: // // Copyright � 2019 United States Government as represented by the Administrator // of the National Aeronautics and Space Administration. All Rights Reserved. // // Disclaimers // // No Warranty: THE SUBJECT SOFTWARE IS PRO...
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ // Client-side scripting to support DSpace Choice Control // IMPORTANT NOTE: // This version of choice...
/*! * Searchable Map Template with Google Fusion Tables * http://derekeder.com/searchable_map_template/ * * Copyright 2012, <NAME> * Licensed under the MIT license. * https://github.com/derekeder/FusionTable-Map-Template/wiki/License * * Date: 12/10/2012 * */ var MapsLib = MapsLib || {}; var MapsLib = { /...
var repos = []; var issues; var loadedIssues; var minSentinel = { gissue: { order: 0 }}; var maxSentinel = { gissue: { order: 100 }}; function getQueryParam(name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regexS = "[\\?&]" + name + "=([^&#]*)"; var regex = new RegExp(regexS); var results =...
'use strict'; var Light = require( 'osg/Light' ); var Notify = require( 'osg/notify' ); var MACROUTILS = require( 'osg/Utils' ); var CompilerFragment = { _createFragmentShader: function () { // Call to specialised inhenrited shader Compiler var roots = this.createFragmentShaderGraph(); va...
/* * DEMO HELPERS */ /** * debugData * * Pass me a data structure {} and I'll output all the key/value pairs - recursively * * @example var HTML = debugData( oElem.style, "Element.style", { keys: "top,left,width,height", recurse: true, sort: true, display: true, returnHTML: true }); * * @param Object o_Data ...
import { __extends } from "tslib"; import { deepMix, each, find, get, head, isBoolean, last } from '@antv/util'; import { COMPONENT_MAX_VIEW_PERCENTAGE, COMPONENT_TYPE, DIRECTION, LAYER } from '../../constant'; import { CategoryLegend, ContinuousLegend } from '../../dependents'; import { DEFAULT_ANIMATE_CFG } from '../...
const fs = require('fs'); const stringifyCsv = require('csv-stringify/lib/sync'); const readXlsxFile = require('read-excel-file/node'); const convertToObject = require('read-excel-file/schema'); const {isoDate} = require('./utils.js'); const {percentForState} = require('./population.js'); const removeRowsForDates = (...
const assert = require("assert"); const PerseusMarkdown = require("../../perseus-markdown.jsx"); import TreeTransformer from "../tree-transformer.js"; // TODO(davidflanagan): // Come back to this file convert the require() calls to imports describe("Individual lint rules tests", () => { function testRule(rule, ma...
import $ from "jquery" import * as qdb from "./globals" import { BusEvent } from "../../consts"; function s4() { return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1) } function guid() { return ( s4() + s4() + "-" + s4() + "-" + s4() + "-" + s4() + "-" + s...
/* * Copyright 2019 Adobe * 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, * then your use, modification, or distribution of...
/** * Main handler functions for API logic executed by the background script */ import utils from "./utils"; //wait 2 minutes for pending intents to connect const pendingIntentTimeout = 2 * 60 * 1000; //collection of queued intents to apply to tabs when they connect let pending_intents = []; //collection of queud...
import crypto from 'crypto'; import fs from 'fs'; import console from 'console'; import requestretry from 'requestretry'; import docopt from 'docopt'; import semver from 'semver'; import proxy from 'proxy-agent'; import truncate from 'truncate-middle'; import md5 from 'md5'; import pLimit from 'p-limit'; import { EC2Cl...
import BaseElement from '../core/BaseElement'; import DiagramElement from '../diagram/DiagramElement'; import ConnectionIntersectionResolver from './ConnectionIntersectionResolver'; import Geometry from '../utils/Geometry'; import { EVENT as SHAPE_EVENT } from '../shape/Shape'; import { EVENT as RESIZE_EVENT } from '.....
var maxHabilidades = 3; var numActualHabilidades = 1; var habilidades = []; var optionHabilidades = document.querySelector('.select__habilidades'); var buttonAddSelect = document.querySelector('.button__add-select'); buttonAddSelect.addEventListener('click', createSelect); var fieldsetSelects = document.querySelector('...
"use strict"; var $ = require('../../utils/elements.utils'), prime = require('prime'), request = require('agent'), zen = require('elements/zen'), domready = require('elements/domready'), bind = require('mout/function/bind'), rtrim = requ...
function Stack(name) { var stack; this.stack = []; this.id = name; this.topToken = function(n) { return this.top(n).getRoot().children[0]; } this.updateAll = function(label, id) { for (var i in this.stack) { var tree = this.stack[i]; this.t...
// Common var socket = io.connect(); var room = null; var gender; var clothes = { 'manuel': { top: ['Grey Solid Tshirt', 'Roadster Striped Tshirt'], bottom: ['Blue Rugged Jeans', 'Blue Navy Shorts'], foot: ['White Sneakers', 'Red High Ankle Shoes'] }, 'stacy': { top: ['Striped Sweater', 'Floral ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sleep = sleep; exports.nextTick = nextTick; exports.triggerAfterWait = triggerAfterWait; exports.timeoutPromise = timeoutPromise; exports.createDeadline = createDeadline; exports.timeoutAfterDeadline = timeoutAfterDeadline; exports....
import Shader from '../../low_level/shaders/Shader'; import DecalShader from './DecalShader'; import Vector4 from '../../low_level/math/Vector4'; import Vector3 from '../../low_level/math/Vector3'; export class PBRPrincipledShaderSource { FSDefine_PBRPrincipledShaderSource(in_, f, lights, material, extraData) { ...
/** * * MainLayoutPage.react.js * * This component is the skeleton around the actual pages, and should only * contain code that should be seen on all pages. (e.g. navigation bar) * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently suppo...
"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...
// start the popup specefic scripts // safe to use $ var old_tb_remove = window.tb_remove; var tb_remove = function() { old_tb_remove(); }; jQuery(document).ready(function($) { window.avada_tb_height = (92 / 100) * jQuery(window).height(); window.avada_fusion_shortcodes_height = (71 / 100) * jQuery(window).height()...
export default { defer, deferSet, delay, delayChain, each, filter, funnel, inspect, map, once, props, reduce, rethrow, retry, some, specific, tap, wrapFunction, }; function toReadonlyArray(arr) { /* istanbul ignore else */ if (typeof arr.ma...
import React from 'react'; class Mttt extends React.Component{ componentDidMount(){ //set styles var allLines = document.getElementById('svg-container').getElementsByTagName('line'); for(var t of allLines){ t.setAttribute('stroke',"#2975d9"); t.setAttribute('str...
/** * Author : <NAME> * nama file : gateinout.js * file module : jquery.min.js */ //variabel global var daftar = {}; var daftarMessage = {}; var daftarId = { 0:'daftar-nim', 1:'daftar-nama', 2:'daftar-kunci', 3:"daftar-kuncire", 4:'daftar-apes', 5:'daftar-ntelp', 6:'daftar-foto', 7:'daftar-trans', ...
'use strict'; /* globals jQuery, Search, BASEDIR, setTimeout, L, document, window, $ */ /** * init */ var autocomplete, prepareAndSearch = null; var maps = []; //used for "raemliche Eingrenzung" /** * Searchfield simple search function * @type {Search} */ var search = new Search(); search.setBasedir(BASEDIR)...
/*############################################################### DEPENDANCES ###############################################################*/ // Utilisation des fonctionnalités en ligne de commande var cli = require('caporal'); var colors = require('colors'); // Parser des différents formats de données...
var CHAR_DARK = './assets/image/god_of_what_dark.png'; var CHAR_BRIGHT = './assets/image/god_of_what_bright.png'; var MAP_DATA = "" + "404040404040404040404040404040----------4040--404040404040404040404040------40404040404040404040404040404040" + "\n" + "60*B------------------------------------------------@D---------...
/* eslint-disable */ // Generated by gulp svg-icon - do not modify manually import React, {Component} from 'react'; import PropTypes from 'prop-types'; const iconList = [ 'advarsel-sirkel-fyll', 'feil-sirkel-fyll', 'hamburger', 'help-circle', 'help-circle_hover', 'info-sirkel-fyll', 'ok-sirkel-fyll', ...
// Adobe Illustrator to Canvas found at: http://blog.mikeswanson.com/ai2canvas function init() { var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); ctx.strokeStyle = "#484848"; draw(ctx); } function draw(ctx) { // logo/logorectangle ctx.save(); ctx.beginPath(); ctx.m...
$.fn.extend({ cat_slide:function(options){ var defaults = { slider:null }, opt = $.extend(defaults,options),$slider_btn = $(this); $slider_btn.on("click",function(){ var slider_arrow = $slider_btn.find("i"); if(slider_arrow.hasClass("icon-arrowD")){ opt.slider?opt.slider.slideDown(300):console.log...
function wb_form_validateForm(formId, values, errors) { var form = $("input[name='wb_form_id'][value='" + formId + "']").parent(); if (!form || form.length === 0 || !errors) return; form.find("input[name],textarea[name]").css({backgroundColor: ""}); if (errors.required) { for (var i = 0; i < errors.required....
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _vue = require("vue"); var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2")); var...
"use strict"; /** * Copyright 2012 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
// 获取所有符合表达式的可渲染的元素 const getCanRenderEles = (root, expr) => { let arr = Array.from(root.querySelectorAll(expr)) if (root instanceof Element && meetsEle(root, expr)) { arr.push(root); } return arr; } // 去除原元素并添加定位元素 const postionNode = e => { // let textnode = document.createTextNode(""); ...
/* * @Author: @vedatbozkurt * @Date: 2020-04-10 16:28:03 * @Last Modified by: @vedatbozkurt * @Last Modified time: 2020-07-17 02:50:27 */ import Vue from 'vue' import VueI18n from 'vue-i18n' // Vue.use(VueI18n) // Ready translated locale messages const messages = { en: { hello: 'hello', ho...
//------------------------------------------------------------------------------ // Hier werden die Spaltenköpfe zusammengebaut. // Sie sind abhängig von den Tags, die in der Einstellungen-Sidebar angegeben // werden können. function buildTableHead(){ var tableTheadRow = $("#result-table thead tr"); var wantedFiel...
const instance_skel = require('../../instance_skel'); const WebSocket = require('websocket').client; /** * Companion instance for controling For.A Hanabi Switchers * * @extends instance_skel * @since 1.0.0 * @author <NAME> <<EMAIL>> */ class instance extends instance_skel { /** * @param {EventEmitter} system ...
/**************************************************************************** * Copyright 2020 EPAM Systems * * 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...
import mongoose from 'mongoose'; import async from 'async'; import mongoosePaginate from 'mongoose-paginate'; import TaxonRecordNameVersion from '../models/taxonRecordName.js'; import add_objects from '../models/additionalModels.js'; import mapElements from '../models/elementNames.js'; import Property from '../models/p...
const debug = require('debug')('ring-mqtt') const utils = require( '../lib/utils' ) const colors = require('colors/safe') const RingPolledDevice = require('./base-polled-device') const { clientApi } = require('../node_modules/ring-client-api/lib/api/rest-client') const P2J = require('pipe2jpeg') const net = require('ne...
//jshint esversion: 6 const APP_NAME = "speedyMath"; const DM = new DataManager(APP_NAME); const TYPES = [ "integer", "decimal", "fraction", "exponent" ]; const OPERATIONS = [ { name: "addition", sign: "+" }, { name: "subtraction", sign: "-" }, { name: "mul...
/** * Copyright (c) 2014,Egret-Labs.org * 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 c...
var time_periods = []; var count = 0; var update_rate = 9; var time_period = 0; var border = 20; var max_time_period; var current_player_data; var player_ranks = new Object(); var player_colors = new Object(); var img_arch_cape; var img_arch_logo; var img_arch; var img_hero_mattock; function setup() { split_raw_data...
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import * as commonActions from '../../state/commonActions'; import * as dialogActions from '../../state/dialogActions'; import Icons from '../Icons/Icons'; import InputTextHRM from '../InputTex...
#!/usr/bin/env node /* Copyright 2016 SRI International Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
function BranchData() { this.position = -1; this.nodeLength = -1; this.src = null; this.evalFalse = 0; this.evalTrue = 0; this.init = function(position, nodeLength, src) { this.position = position; this.nodeLength = nodeLength; this.src = src; return this; } ...
(function( // Reliable reference to the global object (i.e. window in browsers). global, // Dummy constructor that we use as the .constructor property for // functions that return Generator objects. GeneratorFunction, // Undefined value, more compressible than void 0. undefined ) { var hasOwn = Object...
class ILevelData { } class Level { constructor(index) { this._index = 0; this.width = 1; this.height = 1; this.values = []; this._index = index; } open() { $.ajax({ url: "./views/level.html", success: (data) => { Page.Cl...
function comprobarUsuario() { limpiar(); eliminarGame(); com.srvComprobarUsuario(); mostrarNavLogin(); } function mostrarInfoGeneral(){ limpiar(); //mostrarIntro(); var cadena="<div id='logo'>" cadena=cadena+"<img src='cliente/recursos/logo.png' class='img-circle' style='width:50%' alt='l...
// TODO: remove top-level side effect. registerSimpleEvents(); registerEvents$2(); registerEvents$1(); registerEvents$3(); registerEvents(); function extractEvents$5(dispatchQueue, domEventName, targetInst, nativeEvent, nativeEventTarget, eventSystemFlags, targetContainer) { // TODO: we should remove...
/** * @module utils * @author <NAME> */ 'use strict'; /** * The variables assigned by the user and their values. * Ex: { 'user1': { 'x': 1 }, 'user2': { 'a': 5 } } * @private */ var variables = {}; /** * Calculates the numeric result of an expression. * * @param {String} operand1 The fir...
"use strict"; /* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
// Copyright 2017 <NAME>. All Rights Reserved. // Copyright 2016 <NAME>. 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/LI...
import Phaser from 'phaser'; import PF from 'pathfinding'; import store from '../store'; import cartesianToIsometric from '../utils/cartesianToIsometric'; import collision from '../utils/collision'; import findLast from 'lodash/findLast'; import $...
//The game id of the last game of the last update: var lastgameid=387485 //Rating calculation parameters: var initialrating=1000 var bonusrating=550 var bonusfactor=60 var participationlimit=10 var participationcutoff=1500 var maxdrop=200 //File names: var databasepath="games_anon_2021_01_16.db" var resultfile="ratin...
"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...
/** * MIT License * * Copyright (c) 2022 International Business Machines * * 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 ...
/** * Resolver methods for resolving local dependencies. */ (function( // Reliable reference to the global object (i.e. window in browsers). global, // Dummy constructor that we use as the .constructor property for // functions that return Generator objects. GeneratorFunction, // Undefined value, more...
//Skip to the middle of the commented HTML section to see the main parsing logic; alternatively Ctrl + F for "parsedHtml" var stepped = 0, chunks = 0, rows = 0; var start, end; var parser; var pauseChecked = false; var printStepChecked = false; $(function() { $('#submit-parse').click(function() { stepped = 0; c...
var mapScale = 5; var mapZoomSlider; var exploration_status = "Waiting for trigger"; var previous_status; var exploration_status_background = "#ffffff"; var max_voltage = 16.4; var min_voltage = 13.0; var explorationGoal; var exploreClient; var result_subscriber; var status_subscriber; var widthThreshold = 500; var jo...
import './vueDatePick.css'; const Format = { re: /[,.\- :\/\\]/, year: 'YYYY', month: 'MM', day: 'DD', hours: 'HH', hours12: 'H', hoursZeroFree: 'GG', hoursZeroFree12: 'G', minutes: 'MI', seconds: 'SS', ampm: 'TT', ampmLower: 'T', format (date, dateFormat) { ...
import * as WebBrowser from 'expo-web-browser'; import moment from "moment"; import React from 'react'; import * as Animatable from 'react-native-animatable' import { Image, Platform, ScrollView, StyleSheet, TouchableOpacity, SectionList, FlatList, View, Span, RefreshControl, AsyncStorage, Co...
//adapted from my SuperCollider UGen TPV //itself based on //Tracking Phase Vocoder following McAulay and Quatieri model from IEEE Trans acoustics, speech and signal processing vol assp-34(4) aug 1986 //ASSUMES BLOCKSIZE <= HOPSIZE can't calculate two FFTs per block function PartialTrack() { // var theta1, omega1, t...
import React, { Component } from 'react'; import { Button, Input, Card, CardBody, CardHeader, CardFooter, Col, Row, Table, InputGroup, InputGroupAddon } from 'reactstrap'; import ProductModal from '../Modal/ProductModal'; import Popup from "reactjs-popup"; import StockModal from '../Modal/StockModal'; let def = {id: '...
import React, { Component } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import ReactModal from 'react-modal' import createContext from 'create-react-context' import { polyfill as reactLifecyclesCompat } from 'react-lifecycles-compat' import Form from './Form' import Button from ...
function string_vctinh(str, length_str) { if (length_str > str.length) { length_str = str.length; } var pos = str.indexOf(' ', length_str); if (pos) { str = str.substr(0, pos); } else { str = str.substr(0, length_str); } return str; } function bodauTiengViet(str) { ...