text
stringlengths
5.97k
41.2k
//TODO: theme/marrom require("./bootstrap"); import auth from "./plugin/auth"; auth.initialize() window.Vue = require("vue"); import Chart from 'chart.js' import VueChartkick from 'vue-chartkick' import Vuetify from 'vuetify' import VueRouter from "vue-router"; import App from "./views/Layout.vue"; import { EventBus }...
// // CORS logic based on: https://github.com/spenibus/cors-everywhere-firefox-addon // "use strict"; // let videocollegeHelper = { // transactions: {}, // contains requests/responses // init: () => { // chrome.webRequest.onBeforeSendHeaders.addListener( // videocollegeHelper.requestHandl...
var fs = require('fs'); var utils = require('./utils'); exports.Graph = function () { var me = this; var _edges = []; var knownNodes = {}; utils.readListOfObjects('data/contacts/known_nodes.tsv').forEach(function (node, index) { node.index = index; knownNodes[node.Name] = node; }) me.calculateEdges = func...
var j$ = jQuery.noConflict(); var callType = ''; var callStartTime; var phoneHeight = 350; sforce.interaction.cti.enableClickToDial(); sforce.interaction.cti.onClickToDial(clickToDialCallback); sforce.interaction.cti.enableClickToDial(); ...
import React, { useEffect, useState, useCallback, useMemo } from "react"; import clsx from "clsx"; import { makeStyles } from '@material-ui/core/styles'; import IconButton from '@material-ui/core/IconButton'; import TextField from '@material-ui/core/TextField'; import Paper from '@material-ui/core/Paper'; import Typog...
jQuery(document).ready(main) var map; var lastgeojsonLayer = null; var photogeojson = null; var lastphotoLayer = null; var lc = null; var formupload = $("#uploadfile"); var viewparcel = 0; var miniMap; $(window).resize(function() { if ($(window).width() <= 600 ) { miniMap._minimize(); } }); function getde...
// - Requires - var child_process = require( 'child_process' ); var files = require( "./server/files.js" ); var fs = require( 'fs' ); var PNG = require( 'pngjs' ).PNG; // - Global variables - var isAppEnding = false; var currentFrameCallback = null; // Current screen state var videoIsValid = false; var framesT...
'use strict'; 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]; } } } return target; }; /* eslint-disable no-undef */ window.onload = ...
const express = require('express'); const bodyParser = require('body-parser'); const jade = require('jade'); const mysql = require('mysql'); const fs = require('fs'); const path = require('path'); const crypto = require('crypto'); const router = express.Router(); const cryptoKey = "Crowcial만 알 수 있는 비밀 키"; const device...
import styled from "@emotion/styled"; import axios from "axios"; import BoardDeleteModal from "components/board/admin/BoardDeleteModal"; import ThemeSelectionModal from "components/board/admin/ThemeSelectionModal"; import {Banner} from "components/board/BoardBanner"; import ColorPickerContainer from "components/commons...
import $ from 'jquery'; import * as d3 from 'd3'; import * as main from '..'; import { segmentColors, getCurrentSegmentId, highlightModel } from './listSegments'; import { showCurrentData } from '../ui'; let brushes = []; var layerTypeData = ['Conv2d','ReLU','Conv2d','ReLU','MaxPool2d', 'Conv2d','ReLU','Conv2d','ReLU'...
function latSorter(a, b) { aNS = a.slice(-1); bNS = b.slice(-1); aNum = Number(a.slice(0, -2)); bNum = Number(b.slice(0, -2)); if (aNS == 'S') { aNum = -1*Number(aNum) } if (bNS == 'S') { bNum = -1*Number(bNum) } if (aNum < bNum) return -1; if (aNum > bNum) return 1; return 0; } fun...
import React, { Component } from 'react' import { StyleSheet, View, ImageBackground, FlatList, Platform, Dimensions, BackHandler, NativeModules } from 'react-native' import { connect } from 'react-redux' import I18n from 'i18n-js' import Modal from 'react-native-modal' import Icon from 'react-native-vector-icons/Ionico...
var input_options = new Vue({ store: store, el: "#input_options", data:{ recording_state: false, }, methods:{ shosetu_henshu: function(event){ let url_for_updateroom = "https://kou.hongo.wide.ad.jp:3341/change_num_of_bar"; let params_n_bar = {}; pa...
// This file is required by the index.html file and will // be executed in the renderer process for that window. // No Node.js APIs are available in this process because // `nodeIntegration` is turned off. Use `preload.js` to // selectively enable features needed in the rendering // process. const {remote, ipcRenderer...
import { QIter, SyntaxError } from "@appassembly/shared" import { lex } from "./lexer" /* Implements a Pratt parser to construct the AST with precedence climbing. References: https://crockford.com/javascript/tdop/tdop.html https://eli.thegreenplace.net/2010/01/02/top-down-operator-precedence-parsing http://effbot.org...
var args = arguments[0] || {}; var edit = args.edit || false; var post_group = args.post_group || false; var p_id = args.p_id || ""; var refreshName = args.refreshName || null; var num = args.g_id || 0; var num1 = 0; var u_id = Ti.App.Properties.getString("u_id")||""; var my_group = Alloy.createCollection("my_group"); ...
title = "Extinction"; description = ` hit asteroids into dinos avoid friendlies`; characters = [ //a: asteroids (AKA rockArray) ` llll ll lll l ll l lll ll llll `, //b: UFO (AKA player) ` ppp ppppp l l l ppppp ppp `, //c: UFO (AKA player) ` ppp ppppp l l ppppp pp...
let vscode; try { vscode = acquireVsCodeApi(); } catch (error) { } var templateFile, moduleNode, route, deleteConnection, modifyConnection; var modifyModule = false; var modifySystem = false; var modifyRoute = false; var beforeDropOpen = false; var connectionDrapStop = false; var routings = new Map(); const posti...
const socket = io(); let player; let currentCompPower = 0; let playerOrders = []; let servers = []; const ACTIONS = { "DEFEND": 0, "ACQUIRE": 1, "RANSOM": 2, "PAY_RANSOM": 3, "WIPE_SERVER": 4, "SCAN": 100 }; socket.on('findKey', function (msg) { setTimeout(function () { if (msg.toS...
/* MIT License Copyright(c) 2018 <NAME>, 2018 EOSIoT, 2020 Measurement Earth 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, co...
var _ = require('lodash'); var crypto = require('crypto'); var debug = require('debug')('cache'); var events = require('events'); var marshal = require('@momsfriendlydevco/marshal'); var timestring = require('timestring'); var util = require('util'); /** * Constructor for a cache object * @param {Object} options Setti...
import { timeDay as a, timeSunday as b, timeMonday as c, timeThursday as d, timeYear as e, utcDay as f, utcSunday as g, utcMonday as h, utcThursday as i, utcYear as j } from "d3-time"; function k(a) { if (0 <= a.y && a.y < 100) { var b = new Date(-1, a.m, a.d, a.H, a.M, a.S, a.L); b.setFullYear(a.y)...
var args = arguments[0] || {}; var current_point; var loading = Alloy.createController("loading"); var ObjDate = new Date(); var estimate_time = Ti.App.Properties.getString('estimate_time') || ObjDate.getTime()/1000; var waiting_time = 20; var yes_no = ""; var sound_no = Ti.Media.createSound({url:"/sound/bloop_x.wav"})...
/* global $ */ /** * Represents a scene with grids. * @constructor */ var Scene = function (options) { //the canvas html element var canvas = document.getElementById("canvas"); //the context for drawing on canvas var ctx = canvas.getContext("2d"); var lineWidth = options.hasOwnProperty('lineWidth') && !...
function cookie() { this.domain = ''; this.path = '/'; this.name = 'bolha:allow_cookies'; this.expire = 0; this.expireSessionTime = 1800; this.secure = false; this.init = setEvents; this.curtain = curtain; this.cookie = { undecided : 'undecided', allowAll : 'all', ...
/*DO NOT HOST THIS SCRIPT ON YOUR OWN SERVER*/ var szmvars=""; var iom = iom || (function () { var dummySite = "dummy", baseUrl = "de.ioam.de/tx.io", baseUrlLSO = "de.ioam.de/aid.io", eventList = ["", "inst", "open", "clse", "play", "stop", "fowa", "bakw", "recd", "paus", "forg", "bakg", "dele", "re...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; window.onload = function () { var game = new CodeBarWar.Co...
var React = require('react'); var HotelList = require('./hotel-list.js'); var TopSlider = require('./top-slider.js'); var Router = require('react-router-ie8'); var SKMap = require('../config/SKMap.js'); var Filter = React.createClass({ render: function() { var self = this; return ( <div className="filter-box...
/** * JS script to generate the lattice visualization using D3.js. * * Thanks to <NAME> for his tutorials about force directed graphs using D3.js. * https://tomroth.com.au/d3 */ // ##### Variables and parameters used for the visualization // The state of an attribute set const ATTRIBUTE_SET_STATE = { EXPLORED...
// MomentJS time library import moment from 'moment-timezone'; // random useragent generator import randomUseragent from 'random-useragent'; import SocksProxyAgent from 'socks-proxy-agent'; import HttpsProxyAgent from 'https-proxy-agent'; // a basic debug log wrapper import DebugLog from './debugPrint'; // include o...
/* global chrome */ import h from './hyperscript.js'; import * as dom from './dom.js'; import dragula from 'dragula'; require('dragula/dist/dragula.css'); import lightdown from 'lightdown'; chrome.options = {}; chrome.options.base = {}; chrome.options.fields = {}; const addH3 = (option) => h('h3', option.desc); con...
// <!-- prettier-ignore-start --> import './ConstrucTAOSurfaceShader.js' import loadAsset from './loadAsset.js' import { positions } from './positions.js' // Zea Engine dependencies stored in new const variables. View the API to see what you can include and use. const { Scene, GLRenderer, Vec3, Color, Xfo, Ray, resour...
// Constants. var Decorator = { // CSS selectors action: "action", // action based highlight reason: "reason", // reason based highlight reason_2: "reason_2", // alternative reason based highlight ...
// Copyright (c) 2016-2018, BuckyCloud, Inc. and other BDT contributors. // The BDT project is supported by the GeekChain Foundation. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // ...
// JavaScript Document // 字符上限截取 function subString(str, len, hasDot){ var newLength = 0; var newStr = ""; var chineseRegex = /[^\x00-\xff]/g; var singleChar = ""; var strLength = str.replace(chineseRegex,"**").length; for(var i = 0;i < strLength;i++){ singleChar = str.charAt(i).toString...
var utils = require('../utils.js'), is = utils.is; var C = require('../constants.js'), Strings = require('../loc.js').Strings; var engine = require('engine'), InfoBlock = require('./infoblock.js'); //fade modes var FADE_NONE = 0, FADE_IN = 1, FADE_OUT = 2; // Controls // ------------------------...
//added airtable, in table.js added async module 'use strict' const express = require('express') const Slapp = require('slapp') const ConvoStore = require('slapp-convo-beepboop') const Context = require('slapp-context-beepboop') ////ALBIADD const request = require("request") var Airtable = require('./airtable/lib/ai...
const GCO = {}; GCO.length = 3; let limit = 1; let plane; let points; let contour; let contours = new THREE.Group(); let pointsOfIntersection; let contourGroup; var tolerance = 0.001; GCO.contourPoints = undefined; THREE.Vector3.prototype.equals = function(v, tolerance) { if (tolerance === undefined) { retu...
import { useEffect, useRef, useState } from "react"; import { signIn, getSession } from "next-auth/react"; import styled from "styled-components"; import configForm from "@data/configForm.json"; import { ConfigSkeleton } from "@shared/ConfigSkeleton"; import dayjs from "dayjs"; import "dayjs/locale/sq"; dayjs.locale...
/** * Copyright 2015 - Present, Yahoo Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import { listen } from 'subscribe-ui-event'; import { IS_CLIENT, IS_PROD } from '../utils/variables'; imp...
 //-------------------------------------------------------------------------------------- //************************** Don't change these properties ***************************** //-------------------------------------------------------------------------------------- // Dynamsoft DWT Events Start var _iWidth = 580; ...
let DataService = (function () { let accessor = new WeakMap(); let privObj = new Map(); class dataService{ constructor () { accessor.set (this, privObj); } insertPair (k,v) { let priv = accessor.get(this); priv.set (k, v); } getData (q) { let priv ...
import { sort } from './vdom'; import { cloneNode, appendChild, appendChildren, removeChild, createElement, querySelector, querySelectorAll } from './node-ops'; import { throttle, debounce, getIntByAttr, refactorCell, replaceColGroup, createTabelWrapper, getEmptyIndexInArray } from './util...
let settings = localStorage.getItem('fv-settings'); settings = (settings) ? JSON.parse(settings) : {size: 2, mode: 'Latin'}; let fonts = localStorage.getItem('fv-fonts'); fonts = (fonts) ? JSON.parse(fonts) : { /* Chrome lists all installed fonts. Some of them do not support the selected language, and some re...
import React from 'react'; import PropTypes from 'prop-types'; import Modal from 'react-modal'; import { Link, browserHistory } from 'react-router'; import { Mutation } from 'react-apollo'; import gql from 'graphql-tag'; import { Radio, RadioGroup } from 'react-radio-group'; import moment from 'moment'; import DatePick...
"use strict"; var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault"); var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.getTypeFields = exports.propertyFieldEx...
(function ($) { var urlPrefix = "/Admin/"; //#region 快速搜索 ///params /// 参数名 说明 默认值 /// delay setInterval 的第二个参数 100 /// maxCount 计数器 9 ///gridJqObj datagrid null $.fn.quickSearch = fun...
var canvas; var canvasContext; var ballX = 50; var ballY = 50; var ballSpeedX = 10; var ballSpeedY = 4; var player1Score = 0; var player2Score = 0; const WINNING_SCORE = 3; var showingWinScreen = false; var paddle1Y = 250; var paddle2Y = 250; const PADDLE_THICKNESS = 10; const PADDLE_HEIGHT = 100; //C...
//获取打印机数量 function getPrinterCount(LODOP) { return LODOP.GET_PRINTER_COUNT(); }; //获取打印机 function getPrinterName(LODOP,iPrinterNO) { return LODOP.GET_PRINTER_NAME(iPrinterNO); }; /** 小票打印 */ //no,name,vac,price,pay,time,insurance function printtips(data){ if(!data){ layer.msg("参数异常,打印失败",{icon:1}); return f...
/* tetr*s-lite game piece - combine GamePiece and GameGrid - place pieces Assume a playfield that is 9x18 squares and needs a boundary around it, so that's like 11x20. Try a square of 25x25 pixels. (c) 2020 <NAME> Todo: - implement collapsing row (also need a test for a full row) */ const GRID_X = ...
// Import the required helper functions from Assets.js import { loadFromFile, allSpritesLoaded, allSoundsLoaded, getSound, getSoundMap, getSprite } from './Assets.js'; const keys = [-2,-1,71,67,87,65,83,46,81,68,82,89,85,84,61,69,13,32,27,37,39,38,49,50,51,52,53,16,17,187,189,78,73,66]; const ...
var ORMNaviCurrentMessage = null; var ORMNaviCurrentOrder = null; /** * * @param {string} api * @param {Object} data * @param {Function} callback */ function sendDataToNavi(api, data, callback) { showLoading(); var p = $.post(api + ".php", { username: $("#username").val(), factory: $("#factory").val(),...
import React from 'react' import { Parser } from 'acorn' import { Link } from 'gatsby' import Layout from '../components/layout' import { Component } from 'react'; import styles from './index.module.css'; class InputParameter extends Component { update_to_var() { this.props.varupdate_fn( this.input_varn...
//////////////////////////////////////// // define window event //////////////////////////////////////// window.addEventListener("load", function(){ initEvent(); threeStart(); }); //////////////////////////////////////// // define initEvent() //////////////////////////////////////// var stopFlag = true; var rest...
/* title: 弹框标题; width: 弹框宽; Height: 弹框高; ishave_cancel: 判断是否需要取消按钮(0:不需要;1:需要); ok_action_type: 点击确定按钮执行操作类型(1:url self模式跳转;2、url top模式跳转;3:执行js函数); ok_action: 点击确定按钮后的操作(可以传入url【sysutem/userlist.aspx】,也可以传入js方法【adduser()】,如果传入空字符串不执行任何操作); cancel_action_type: 点击确定按钮执行操作类型(1:url self模式跳转;2、url top模式跳...
var query_id = null; var query_name = null; var query_list = []; var queryEditor = null; var resultEditor = null; var defaultQuery = { 'MODEL' : '{"query":{"bool":{"must":[{"match":{"domainkey":"' + DOMAIN_KEY + '"}}]}},"from":0,"size":10}', 'MESSAGE' : '{"from":0,"size":10}', 'RECORD' : '{"from":0,"size"...
/* if (typeof define !== 'function') { var define = require('amdefine')(module); } define(["./jsgui-html-core"], function(jsgui) { */ var jsgui = require('./jsgui-html-core'); var stringify = jsgui.stringify, each = jsgui.eac, tof = jsgui.tof, is_defined = jsgui.is_defined; var Control = jsgui.Control, C...
const port = chrome.runtime.connectNative('com.google.chrome.nubox'); // to keep track of encrypted returns from nucypher // (for uploads to ipfs). let ipfsEncrypts = {}; const Logging = { key: 'nuBox.logging', addLog: (cmd, type, message, args) => { return new Promise((resolve) => { const datetime = m...
const containerType = { "root": 0, "object": 1, "array": 2 }; function isMultipleItems(schema) { if (Array.isArray(schema) && schema.length > 1) { return true; } if (schema.hasOwnProperty('type') && schema.type === 'array' && schema.hasOwnProperty('items') && sch...
import React, { Component } from 'react'; import './App.css'; import { Metamask, Gas, ContractLoader, Transactions, Events, Scaler, Blockie, Address, Button } from "dapparatus" import Web3 from 'web3'; import queryString from 'query-string'; import axios from 'axios'; import Miner from './components/miner.js'; import T...
(function() { var timeouts = []; var messageName = "zero-timeout-message"; function setZeroTimeout(fn) { timeouts.push(fn); window.postMessage(messageName, "*"); } function handleMessage(event) { if (event.source == window && event.data == messageName) { event.stopPropagation(); if (timeouts.length >...
"use strict"; const panels = require("./panels"); const pathnames = require("./pathnames"); const ids = require("./ids_dom_elements"); const equation_editor = require("./equation_editor"); const storage = require("./storage"); const EquationEditorAction = require("./equation_editor").EquationEditorAction; const Equatio...
/////////////////////////////////////////////////////////////////////////// /////////////////////////////////// HEAT MAP ////////////////////////////// /////////////////////////////////////////////////////////////////////////// var colorScale, countScale, xScaleHeatMap, yScaleHeatMap, yearGroups, countries, g_circles v...
let getInputValues = false; let serverResponse = false; const validCharacters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; let s3 = null; let dateDate = new Date(); let dateCurrent = dateDate.getFullYear()+'-'+(dateDate.getMonth()+1)+'-'+dateDate.getDate(); const regNormalSuffix = /(\.jpg|\.jpeg...
/*! * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file. */ /* globals navigator */ import bowser from 'bowser'; import LoggerProxy from '../common/logs/logger-proxy'; import { AUDIO_INPUT, VIDEO_INPUT, PEER_CONNECTION_STATE, MEDIA_TRACK_CONSTRAINT } from '../constants'; import Config from '../con...
import $ from 'jquery'; import Dropzone from 'dropzone'; import { config, translations } from 'grav-form'; let request = {}; // translations const Dictionary = { dictCancelUpload: translations.PLUGIN_FORM.DROPZONE_CANCEL_UPLOAD, dictCancelUploadConfirmation: translations.PLUGIN_FORM.DROPZONE_CANCEL_UPLOAD_CON...
const { Vec3 } = require('vec3') const nbt = require('prismarine-nbt') const Move = require('./move') const cardinalDirections = [ { x: -1, z: 0 }, // West { x: 1, z: 0 }, // East { x: 0, z: -1 }, // North { x: 0, z: 1 } // South ] const diagonalDirections = [ { x: -1, z: -1 }, { x: -1, z: 1 }, { x: 1, ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; exports.internalCascaderProps = internalCascaderProps; exports.multipleCascaderProps = multipleCascaderProps; exports.singleCas...
/* * View constructor */ function View(arg, vmName) { var self = this; if (!(self instanceof View)) { return new View(arg, vmName); } self.handleNodeTree = arg; self._handles = []; self._triggerTable = {}; self.vmName = vmName; self.id = $.uid(); // console.group(self.id)...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Input, Output, Optional, ViewChildren, NgModule } from '@angular/core'; import { __decorate } from 'tslib'; import { Directionality, BidiModule } from '@angular/cdk/bidi'; import { Subject, of } from 'rxjs'; imp...
/* eslint-disable */ // until logging in works, use variable to change views var logged_in = true; var availableDates = document.getElementById('date-buttons'); var dateButtons = document.getElementsByTagName('button'); var inputForm = document.getElementsByTagName('form'); var bookingsTable = document.getElementById...
import R from 'ramda'; import isObject from 'lodash/isObject'; import isFunction from 'lodash/isFunction'; import forEach from 'lodash/forEach'; import get from 'lodash/get'; import isArray from 'lodash/isArray'; import template from 'lodash/template'; import startCase from 'lodash/startCase'; import isNil from 'lodash...
let express = require("express"); let router = express.Router(); let ObjectId = require("mongodb").ObjectID; let slotMaster = require("./slotMasterModel"); let logins = require("../loginInfo/loginInfoModel"); let notificationSetting = require("../notificationSettings/notificationSettingsModel"); const CelebManagerServi...
var transports = []; connectivtyTestResults = {}; portTestInProgress = false; /** * Functions to run on document load */ jQuery(document).ready(function() { jQuery(postman_input_sender_email).focus(); initializeJQuerySteps(); // add an event on the plugin selection jQuery('input[name="input_plugin"]').click(fun...
/** * Yeah this isn't the prettiest code, but it's just a simple docs generator */ /* eslint-disable no-process-exit, id-length, no-console, @typescript-eslint/no-var-requires, @typescript-eslint/explicit-function-return-type, no-sync */ const fs = require('fs') const path = require('path') const outdent = require('...
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 ? "symbol" : typeof o...
/** * AudioBuffer class * * @module audio-buffer/buffer * */ 'use strict' var isAudioBuffer = require('is-audio-buffer') var inherit = require('inherits') var util = require('audio-buffer-utils') var AudioBuffer = require('audio-buffer') var extend = require('object-assign') var nidx = require('negat...
const { append, cons, first, isEmpty, isList, length, rest, map, } = require("fl-extended"); const M = "M"; // mask function make(data, attribute) { //console.log(Object.assign({}, data, attribute)) return Object.assign({}, data, attribute); } /*Contrato: list, funcion -> number Propósito: esta fu...
/** * Copyright 2015, Yahoo Inc. * Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.TouchBackend = undefined; var _extends = Object.assign || function (target) { for (var i = 1; i < ar...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
'use strict'; const assert = require('assert'); const mm = require('..'); const optimize = (pattern, options) => { return mm.braces(pattern, Object.assign({ optimize: true }, options)); }; describe('braces - compiled', () => { describe('extglob characters', () => { it('should expand braces (in extglobs) when...
/* Copyright (c) 2016 <NAME>, released under the CeCILL-B license (French BSD license) (http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt). */ import {inherits as ol_inherits} from 'ol' import ol_interaction_Interaction from 'ol/interaction/Interaction' import ol_style_Style from 'ol/style/Style' import ...
$(document).ajaxComplete(function () { $("[id=contenedorEspera]").each(function () { $(this).fadeOut(500); }); docReady(); }); $(document).ajaxStart(function () { mostrarEspera("Por favor espere."); }); $.ajaxSetup({ statusCode: { 500: function () { mostrarError("<span ...
const express = require('express'); const formatPath = require('url-join'); const pickDeep = require('lodash-pickdeep'); const cloneDeep = require('lodash.clonedeep'); const omit = require('lodash.omit'); const httpStatuses = require('http-status-codes'); const objectPath = require('object-path'); const dot = re...
/** * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const vscode = require("vscode"); const IRCController_1 = require("./IRCController"); const gitChannel_1 = require("./gitChannel"); const fs = require("fs"); const fetch = require('node-fetch'); const ini = require('ini'); let html = 'Loading....
var app = angular.module("app", ["firebase", "ngMaterial", "ngRoute"]) .config(function($mdIconProvider, $mdThemingProvider, $routeProvider, $locationProvider) { $mdIconProvider .defaultIconSet("./images/svg/avatars.svg", 128) .icon("menu" , "./images/svg/menu.svg" , 24) .icon("share" , ...
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty'; import styler from 'stylefire'; import sync from 'framesync'; function clamp(value, min, max) { return Math.min(Math.max(value, min), max); } function lerp(value1, value2, amount) { return (1 - amount) * value1 + amount * value2; } function...
var _iLeft, _iTop, _iRight, _iBottom; //These variables are used to remember the selected area function pageonload() { InitMessageBody(); initMessageBox(false); //Messagebox initCustomScan(); //CustomScan initiateInputs(); } function InitMessageBody() { var MessageBody = document.getEl...
import React, { Component } from "react"; import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import { blueGrey } from '@material-ui/core/colors'; import LoteriaNormalContract from "./contracts/LoteriaNormal.json"; import LoteriaRetirableContract from "./contracts/LoteriaRetirable.json"; import...
/* client.js Project 1 (ISTE 754) Created by <NAME> */ var sel, val, div, para, paratxt, opt, txt, item, lastelem, radioInput; var arr = new Array(); var local = false; // Checks if localStorage is available and sets the local variable accordingly if( window.localStorage ){ local= true; } function crea...
'use strict'; const path = require('path'); const buildUtils = require('@vercel/build-utils'); const consola = require('consola'); const fs = require('fs-extra'); const resolveFrom = require('resolve-from'); const semver = require('semver'); const rc9 = require('rc9'); const ufo = require('ufo'); const jiti = require(...
import {Box3dTrack} from '../point_cloud/point_cloud_tracking.js'; import {SatItem, SatLabel} from '../sat.js'; import {Box3d} from '../point_cloud/box3d.js'; import {SatPointCloud} from '../point_cloud/sat_point_cloud.js'; import * as THREE from 'three'; import * as jQuery from 'jquery'; /** * Create a mock SatPoint...
window.onload = init; // CANVAS let canvas; let context; // POSSIVEIS GLOBAIS let win_size = [0, 0]; let mpos = [0, 0]; let offset = [0, 0]; let randomColor; let radios = 0; // DIVS MOVE let ddh; let div_dinamic; let win_id = 3; let mdown; let main; let b_i; let b_t; let btn_i; let islc, islh; ...
#!/usr/bin/env node // libraries const yargs = require('yargs'); const argv = yargs .option('readdress', { alias: 'r', description: 'Throw away current addressing and readdress from source', type: 'boolean' }) .option('skipstats', { alias: 's', description: 'Do not save stats to database', ...
// * eslint-disable no-unused-vars */ /** * Generates an array of color strings. * @param {Number} qnt - Determines how many colors you want. * @return {Array} List of colors Strings "rgba(r, g, b)". */ function generateColors(qnt) { const colors = []; for (let i = 0; i < qnt; i++) { colors.push( /...
/** * Copyright 2019 Adobe. All rights reserved. * This file is licensed to you 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 appl...
'use strict'; /** * This code sample demonstrates an implementation of the Lex Code Hook Interface * in order to serve a bot which manages dentist appointments. * Bot, Intent, and Slot models which are compatible with this sample can be found in the Lex Console * as part of the 'MakeAppointment' template. * * Fo...