text
stringlengths
5.97k
41.2k
function createDefaultScrollbar (direction, interactive, type) { var scrollbar = document.createElement('div'), indicator = document.createElement('div'); if ( type === true ) { scrollbar.style.cssText = 'position:absolute;z-index:9999'; indicator.style.cssText = '-webkit-box-sizing:border-box;-moz-box-sizing...
// Detect Browser const mathPI = 3.141592653589793 const isChrome = mathPI ** -100 == 1.9275814160560204e-50 const isFirefox = mathPI ** -100 == 1.9275814160560185e-50 const braveBrowser = async () => { const brave = ( 'brave' in navigator && Object.getPrototypeOf(navigator.brave).constructor.name == 'Brave' && ...
var currentCounts={ newsFeed:{currentCount:1,topLimit:1,bottomLimit:1}, newsTopic:{currentCount:1,topLimit:1,bottomLimit:1}, newsChannel:{currentCount:1,topLimit:1,bottomLimit:1} }; var verticalColumns={1:"newsChannel",2:"newsTopic",3:"newsFeed"}; var verticalCount=3; var rssFeeds={ CNN:{ Top_...
const CODE_PRECISION_NORMAL = 10; const CODE_PRECISION_EXTRA = 11; // A separator used to break the code into two parts to aid memorability. const SEPARATOR_ = '+'; // The number of characters to place before the separator. const SEPARATOR_POSITION_ = 8; // The character used to pad codes. const PADDING_CHARACTER_ ...
/* Copyright 2010 University of Toronto Copyright 2010-2011 OCAD University Licensed under the Educational Community License (ECL), Version 2.0 or the New BSD license. You may not use this file except in compliance with one these Licenses. You may obtain a copy of the ECL 2.0 License and BSD License at https://github...
/** Features * 1) highlights red box when it is hit by crosshair * 2) red box and blue balken can be increased by trigger * 3) teleport by click on ground * * vrmode * 0) carrier (good working draft) * 1) world transform (tricky and incomplete) */ // Find the latest version by visiting https://unpkg.com/three....
if (isNodeJS()) { global.blake2b = require('./blake2b.js') global.fetch = require('node-fetch'); } const nanoProfile = (function () { 'use strict'; let nanoProfile = {} let registered_blocks = {} let accountsImagesRegisters = [] let accountsImages = [] let synchronized = false let startSynchronizati...
/* Copyright 2020 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbo...
#!/usr/bin/env node "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 ...
var babel = require('systemjs-babel-build').babel; // the SystemJS babel build includes standard presets var es2015 = require('systemjs-babel-build').presetES2015; var es2015Register = require('systemjs-babel-build').presetES2015Register; var modulesRegister = require('systemjs-babel-build').modulesRegister; var stage...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _assign = require('babel-runtime/core-js/object/assign'); var _assign2 = _interopRequireDefault(_assign); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _int...
import React, { Component } from "react"; import { Link, graphql } from "gatsby"; import Layout from "../components/layout"; import SEO from "../components/seo"; import RoundButtonPages from "../components/roundButtonPages"; import RoundButtonPagesMail from "../components/roundButtonPagesMail"; import "../scss/global.s...
'use strict' var mdescape = require('markdown-escape') var assert = require('assert') const PARSERS = require('./parsers') var sentenceSplitter = require("sentence-splitter") const out = console.log const MARKER_START = '/**' const MARKER_START_SKIP = '/***' const MARKER_END = '*/' /* ------- util functions ------- ...
/** * DevExtreme (ui/file_manager/ui.file_manager.js) * Version: 19.2.4 * Build date: Tue Nov 19 2019 * * Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var _createClass = function() { function...
/* This file is part of OmniDB. OmniDB is open-source software, distributed "AS IS" under the MIT license in the hope that it will be useful. The MIT License (MIT) Portions Copyright (c) 2015-2020, The OmniDB Team Portions Copyright (c) 2017-2020, 2ndQuadrant Limited Permission is hereby granted, free of charge, to ...
//http://stackoverflow.com/questions/6598945/detect-if-function-is-native-to-browser var isFuncNative = function isFuncNative(f) { return !!f && (typeof f).toLowerCase() === "function" && //jshint maxlen=300 (/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*...
/* DT v1.0 June 26, 2008 <NAME>, http://danvk.org/DT/ http://code.google.com/p/DT/ Instructions: - Download this file - Add <script src="DT.js"></script> to your HTML. - Add class="draggable" to any table you might like to reorder. - Drag the headers around to reorder them. This is code was based on: - <NA...
const express = require("express"); const fs = require("fs"); const crypto = require("crypto"); const aes = require("aes-js"); const argon2 = require("argon2"); const mime = require("mime"); const path = require("path"); const moment = require("moment"); const multer = require("multer"); const helmet = require("helmet"...
//https://github.com/mdn/web-speech-api/blob/master/speech-color-changer/script.js try { var SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition; var recognition = new SpeechRecognition(); var SpeechGrammarList = window.SpeechGrammarList || window.webkitSpeechGrammarList var S...
var __extends = this && this.__extends || function () { var e = function (t, n) { return (e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (e, t) { e.__proto__ = t } || function (e, t) { for (var n...
#!/usr/bin/env node //! Chess.com (c) 2020 "use strict"; var spawnSync = require("child_process").spawnSync; var execFileSync = require("child_process").execFileSync; var params = get_params({booleans: ["no-chesscom", "debug-js", "h", "help", "help-all", "f", "force", "force-linking", "b", "bin", "colors", "no-color...
var hiscore = moment(1800000); var score = moment(0); var start_time = moment(); var raccoon1; var raccoon2; var ant; var cong; var result_score; var result_frame = 0; var START_X = 25; var START_Y = 25; var ant_x = START_X; var ant_y = START_Y; var ant_r = 3; var ant_save = 0; var ant_WAIT = 40; var ant_nomove = 0...
const { format } = require('timeago.js') const Discord = require('discord.js'); const mongo = require('../mongo') const userSchema = require ('../schemas/user-schema') const fs = require('fs'); const Nodesu = require('nodesu'); //const { apiKey, token } = require('../config.json') const osu = require('node-osu'); cons...
/* eslint no-empty: 0 */ "use strict"; const log = require('electron-log'); const WalletShellApi = require('./ws_api'); const { setIntervalAsync } = require('set-interval-async/fixed'); const exec = require('child_process').exec; const execSync = require('child_process').execSync; const killer = require('tree-kill'); ...
/** *@description 服务主线程入口 *@updateTime 2014-02-20/28 添加日志管理 */ var exec = require('child_process').exec; var watch = require('./watch'); var spawn = require('child_process').spawn; var fs = require("fs"); var dns = require('dns'); var os = require('os'); var sys = os.platform(); var async = require("async"); var ho...
// This is an exmaple test file. Hardhat will run every *.js file in `test/`, // so feel free to add new ones. // Hardhat tests are normally written with Mocha and Chai. // We import Chai to use its asserting functions here. const { expect } = require("chai") const { ethers } = require('hardhat') // `describe` is a ...
function dialog_conve_fracc() { $("#vw_conve_fracc").dialog({ autoOpen: false, modal: true, width: 950, show: {effect: "fade", duration: 300}, resizable: false, position: ['auto',50], title: "<div class='widget-header'><h4>.: CONVENIO DE FRACCIONAMIENTO :.</h4></div>", butto...
import React from "react"; import { StyleSheet, Text, View, Image, TouchableOpacity, StatusBar, Animated, Easing, Dimensions, PanResponder, ActivityIndicator } from "react-native"; import { Icon, Toast } from "native-base"; import firebase from "react-native-firebase"; import { color, dataFood }...
//sources["police"]="/police-man100.png"; //sources["bg"]="/mountainsbg.jpg"; //sources["poney"]="/poney.png"; //sources["heart"]="/heart.png"; var client; var STATE = {LOAD : 0 , GAME : 1}; var state = STATE.LOAD; var theme = {backgroundColor: "#c6e8f3", loading: "#009bce", nonLoading: "#002a3c", gamefont: "gamefont...
// This file is automatically compiled by Webpack, along with any other files // present in this directory. You're encouraged to place your actual application logic in // a relevant structure within app/javascript and only use these pack files to reference // that code so it'll be compiled. import '../stylesheets/appli...
/** * MyCMS - Main server App to handle all mycms tasks */ const assert = require('assert'); const { v4: uuidv4 } = require('uuid'); const numeral = require('numeral'); const fetch = require('node-fetch'); const extract = require('extract-zip'); const ejs = require('ejs'); const fs = require('fs'); const path = requ...
// 最初に表示するページ // var default_paper = "C02-1045"; index.php で指定する // 表示中の論文とページ var current_paper = null; var current_page = 0; // 最初のページが 1 なので注意 var npages = 0; // 表示中の論文のページ数 var current_layout = 0; // レイアウト var papers; // 起動時の初期設定 $(document).ready(function() { var papersPromise = (function getPapers() { ...
// Variables used by Scriptable. // These must be at the very top of the file. Do not edit. // icon-color: red; icon-glyph: camera-retro; /* ----------------------------------------------- Script : ig-latest-post.js Author : <EMAIL> Version : 2.0.2 Description : Displays the latest instagram post of a s...
#!/use/bin/env node 'use strict'; /** * Kado - Web Application System * Copyright © 2015-2019 <NAME>, NULLIVEX LLC. All rights reserved. * Kado <<EMAIL>> * * This file is part of Kado and bound to the MIT license distributed within. */ const K = require('../../../index') const program = require('commander') const...
const fs = require('fs'); const path = require('path'); const { grey, red } = require('chalk'); const { web3, contract, artifacts, config } = require('hardhat'); const { assert, addSnapshotBeforeRestoreAfter } = require('../contracts/common'); const { toUnit, fromUnit } = require('../utils')(); const { knownAccounts, w...
; flagPopoverEvents = false; jQuery(document).ready(function(){ tooltipManage(); modalConfirm(); loading(); homeManage(); var $ = jQuery; //Plugin timeago $('time').timeago(); $('.main-select2').select2({}); $('#loading-zone,#loading-zone-co...
/** * THIS IS AN AUTO GENERATED FILE, CHANGES COULD BE OVERWRITE */ export { default as Barometer } from "./Barometer/component"; export { default as Alien } from "./Alien/component"; export { default as Celsius } from "./Celsius/component"; export { default as Cloud } from "./Cloud/component"; export { default as Cl...
import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import MD5 from 'MD5'; import { UncontrolledTooltip } from 'reactstrap'; import { gettext, siteRoot, mediaUrl, canGenerateShareLink, canGenerateUploadLink } from '../../utils/constants'; import { Utils } from '../../utils/utils'; import { seaf...
'use strict'; const cover = require('@mapbox/tile-cover'); const grid = require('../util/grid'); const token = require('../text-processing/token'); const termops = require('../text-processing/termops'); const tilebelt = require('@mapbox/tilebelt'); const centroid = require('@turf/point-on-feature'); const DEBUG = proce...
import {getOpponentFormations, getOpponentMatchesForTeam} from '../../../storeUtil'; import {getPlayerStats} from '../../../models/TeamModel'; import {getRankingDestroyer} from '../../other/EndOfSeason/PlayerAchievements'; export function buildHtml(user, compFilter, matches, prevMatches) { // console.log('m', matche...
/*creating styles for classes and subclasses in table*/ function create_class (class_name, ...style_content) { let style = document.createElement('style') style.setAttribute('type', 'text/css') style.setAttribute('id', 'style_'+class_name) if (style_content.length > 0) { if (style_content[0][0] == '{') style.inn...
var hudContext; var latestCanvas; var userId; var sessionId; var allowDrawCircle = true; var handColors = { 0: { "leftFistOpen": "rgba(0,255,0,0.5)", "leftFistClosed": "rgba(0,128,0,0.5)", "rightFistOpen": "rgba(0,255,0,0.5)", "rightFistClosed": "rgba(0,128,0,0.5)" }, 1: ...
// This file is required by the index.html file and will // be executed in the renderer process for that window. // All of the Node.js APIs are available in this process. const electron = require('electron'); const app = electron.remote; const ipc = electron.ipcRenderer; const toxcore = require('toxcore'); const emojio...
import React from 'react'; // import ServerTable from 'react-strap-table'; import ServerTable from '../ServerTable'; import { AiFillEdit } from "react-icons/ai"; import Spinner from "../Spinner"; import { Grid, Form, TextArea, Button, Header, Message, Icon } from "semantic-ui-react"; import ...
var socket = $.atmosphere; var secondsSinceLoad = 0; function Start() { BuildWidgets(); CheckStates(); GetWeather(); CheckTrashDay(); StartTime(); } function StartTime() { var today = new Date(); $("div.clock").html((twelveHour == true ? (today.getHours() % 12 || 12) : today.getHours...
/* * @Author: zulezhe * @Date: 2021-02-23 09:28:45 * @LastEditors: zulezhe * @LastEditTime: 2021-02-23 09:28:48 * @Description: In User Settings Edit * @FilePath: \canvas\07.demo收集\好玩的水滴\blob.min.js */ var BlobWorld = new (function () { function b(f, h) { var d = new Blob(); d.position.x = f...
export const MY_CONST_OBJECT = {}; export const FORM_VALIDATION_MESSAGES = { EN: { name: { required: "Name is required", number: "Name connot contain numbers", maxlength: "Name cannot be longer than 50 characters.", alphanumeric: "Letters only please", lettersonly: "Letters only ple...
const socketio = require('socket.io'); const fs = require('fs'); const mysql = require('mysql'); const crypto = require('crypto'); const os = require('os'); const utils = require('node-os-utils'); const cpu = utils.cpu; const db = require('./models/findDB'); var exec = require('child_process').exec, child; const aut...
var multiVariableNeuralNetworkTrainer = function (numberOfInputNodes, svg_el, table_el, dataPoints, labels, weights, bias, ...
var file = document.querySelector('#getfile'); var edl = document.querySelector('#edl'); var png = document.querySelector('#png'); var esa = document.querySelector('#esa'); var title = document.querySelector('#title'); var filename; var Braille = tactileGraphic(); Braille.setCanvas('a'); // ブラウザのUAを小文字で取得 v...
Element.prototype.remove = function() { this.parentElement.removeChild(this); } Number.prototype.formatBytes = function() { var units = ['B', 'KB', 'MB', 'GB', 'TB'], bytes = this, i; for (i = 0; bytes >= 1024 && i < 4; i++) { bytes /= 1024; } return bytes.toFixed(2) + u...
$(document).ready(function() { //$('#reTable').DataTable(); getRecordNum(); $.ajax({ url: "/api/zonelist", type: "GET", dataType: "json", success: function(reponse) { var str = ''; var zoneList = reponse; $.each(zoneList, function(i, n){ //alert(i); for(var idx in n){ //alert(n[idx].id...
import { SelectAll } from '@material-ui/icons'; import {setOpen} from './loading'; import {createAction, handleActions} from 'redux-actions'; import {orderClips} from '../lib/orderClips'; import {addMessage} from './app'; import { initTreeByDate, initTreeByTitle, initDateSelections, initAreaSelectio...
/** * @함수명: onLoad * @작성일: 2014. 09. 29. * @작성자: * @설명: 로딩 및 Event * @param */ $(document).ready(function(){ tabsOnIndex["Home"]={"m_no" :'',"url" :"/10/100-500","title" :"Home"}; $("#handle").click(function(){ if($("#aside").width() == 0){ $("#aside").animate({"width":"160"}); $("#cont...
const { html2json } = require("html2json"); const { readFileSync, writeFileSync, existsSync } = require("fs"); const { sync } = require("glob"); const { resolve } = require("path"); const event_types = { "tap": 1, "change": 1, "click": 1, "dblclick": 1, "input": 1, "keydown": 1, "keypress"...
import { max, min, sum, clone } from './functions/util.js'; class Property { constructor() { } TYPES = { // 本局 AGE: "AGE", // 年龄 age AGE /* CHR: "CHR", // 颜值 charm CHR INT: "INT", // 智力 intelligence INT STR: "STR", // 体质 strength STR ...
/* * To Do List application by <NAME> * listItem.js module * last edited 11/10/16 */ var app = app ? app : {}; var storedTasksString = window.localStorage .getItem('submittedTasks'); if (!storedTasksString) { var storedTasks = {}; window.localStorage.setItem('submittedTasks', JSON .stringify(stored...
const path = require("path"); const fs = require("fs"); const root = path.resolve(path.join(__dirname, "..")); const packagesRoot = path.join(root, "docs", "src", "packages"); const redirects = { server: { msg: { package: "server", name: `"osc/msg"`, }, // quit: { // name: "msg.quit" ...
/* --------------------------------------------- */ /* Author: http://codecanyon.net/user/CodingJack */ /* --------------------------------------------- */ (function($) { var videoSwf = "../swf/video_fallback.swf", initialVolume = 75, htmlControls = '<div class="cj-vid-play-pause">' + '<span class=...
'use strict'; // EIP-CIP-V1 3.5, page 3-53 const { InvertKeyValues } = require('../../../../utils'); const { ClassCodes } = require('../constants'); const CIPRequest = require('../request'); const EPath = require('../epath'); /** EIP-CIP-V1 3-5.5, page 3.56 */ const ServiceCodes = { ForwardClose: 0x4E, // Closes a...
var SCgEditMode = { SCgModeSelect: 0, SCgModeEdge: 1, SCgModeBus: 2, SCgModeContour: 3, SCgModeLink: 4, /** * Check if specified mode is valid */ isValid: function (mode) { return (mode >= this.SCgModeSelect) && (mode <= this.SCgModeContour); } }; var clipScgText = "c...
import { __assign } from "tslib"; /* eslint-disable */ import Vue from 'vue'; import { CtlTree } from './CtlTree'; import { CtlTreeTable } from './CtlTreeTable'; import { CtlTab } from './CtlTab'; import { CtlDataview } from './CtlDataview'; // import { CtlECharts } from './CtlECharts' import { CtlButton } from './CtlB...
var User = require("./User"); var schedule = require("node-schedule"); var io = require('socket.io'); var gameConfig; var gameDao = require("./../dao/gameDao"); var log = require("./loginfo").getInstand; var Sever = function(_config){ gameConfig = _config; //当前比赛剩余时间 //this.MatchTime = -100; this.isSendEndMsg = ...
const net = require('net'); const BigInt = require('big-integer'); const version = 'SSH-2.0-JH_1.0\r\n'; const MIN = 1024; const PREFERED = 1024; const MAX = 8192; const config = { kex: "diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1", server_host_key: "ssh-rsa,ssh-dss...
$(function(){ // var map; // load_map(); // alert(new Date(1472722187000).Format('yyyy-MM-dd')); myTable.setTableRefresh(function(data){ TableRefresh(this); }).setShowModalEditCustom(function(data){ ShowModalEditCustom(data); }).setShowModalAddCustom(function(){ ShowModalAdd...
const natural = require('natural'); const fs = require('fs'); const diacritics = require('diacritics'); const Numbermap = require('./numbermap').Numbermap; const requestPromise = require('request-promise'); // let StemmedNumbermap = {}; const tokenizer = new natural.OrthographyTokenizer({ language: "pt" }) const class...
/*jshint node:true*/ "use strict"; /* *! Capability helpers */ // var avCodecRegexp = /([D ])([E ])([VAS])([S ])([D ])([T ])\s+([^=\s][\S]*)\s+(.*)/g; const ffCodecRegexp = /([D.])([E.])([VAS])([I.])([L.])([S.])\s+([^=\s][\S]*)\s+(.*)/g; const ffEncodersRegexp = /\s+\(encoders:([^\)]+)\)/; const ffDecodersRegexp = ...
var Noble = require('noble'); var Service, Characteristic; var SUPERLIGHTS_SERVICE = "ffb0"; var SUPERLIGHTS_RGB_CHARACTERISTIC = "ffb2"; module.exports = function(homebridge) { Service = homebridge.hap.Service; Characteristic = homebridge.hap.Characteristic; homebridge.registerAccessory("homebridge-superlights",...
/** * Resize function without multiple trigger * * Usage: * $(window).smartresize(function(){ * // code here * }); */ (function($,sr){ // debouncing function from <NAME> // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ var debounce = function (func, threshold, exe...
var connect_button = document.getElementById('connect-button') var server_button = document.getElementById('server-button') var settings_button = document.getElementById('settings-button') var alert = document.getElementById("alert") var version_alert_text = document.getElementById("version-alert-text") var overloaded_...
/*globals console, RTCPeerConnection, webkitRTCPeerConnection */ /*globals mozRTCPeerConnection, RTCSessionDescription, RTCIceCandidate */ /*globals mozRTCSessionDescription, mozRTCIceCandidate */ /*globals ArrayBuffer, Blob */ /*jslint indent:2,sloppy:true,node:true */ /** * DataPeer - a class that wraps peer connect...
var fs = require('fs'); const async = require('async'); var sax = require("sax"); const csv = require('csv-parser'); var skosReader = require('../../backoffice/skosReader.') var crawler_LOC = { readCsv: function (filePath, lines, separator, callback) { var jsonData = []; var startId = 100000; ...
'use strict' const config = require('config') const Database = require('better-sqlite3') const db = new Database(config.get('data.treatments')) // https://github.com/JoshuaWise/better-sqlite3/issues/102#issuecomment-369468174 db.prepare(`ATTACH DATABASE '${config.get('data.collections')}' AS z3collections`).run() db....
var page=0; var lastpage=0; var per_page=5; var section; var sort_by; var sort_by_nr = Array(); var sort_by_st = Array(); var sort_asc=1; var guildid = 0; var char_list = 0; var guild_list = 0; var RealmID = 0; var dots=0; function wait() { try { var dt=''; dots++; for(i=0;i<dots;i++) dt+='.'; if(dots>...
/* * Cloth Simulation using a relaxed constraints solver */ // Suggested Readings // Advanced Character Physics by <NAME>en Character // http://freespace.virgin.net/hugo.elias/models/m_cloth.htm // http://en.wikipedia.org/wiki/Cloth_modeling // http://cg.alexandra.dk/tag/spring-mass-system/ // Real-time Cloth Anima...
/*! * Copyright 2017 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 required by appli...
/* See LICENSE file for terms of use */ 'use strict' import concat from 'lodash/concat' import extend from 'lodash/extend' import forEach from 'lodash/forEach' import indexOf from 'lodash/indexOf' import isArray from 'lodash/isArray' import max from 'lodash/max' import min from 'lodash/min' import diff_match_patch fro...
var CSSModeling = function () {}; CSSModeling.groups = {}; CSSModeling.less_icon = "@"; CSSModeling.scss_icon = "$"; CSSModeling.css_icon = "--"; CSSModeling.var_prefix = ""; CSSModeling.process = function ( data , preprocessor_type ) { CSSModeling.data = data; if ( preprocessor_type == "less" ) { ...
var $j = jQuery.noConflict(); var firstLoad = true; function perPageBindings () { "use strict"; content = $j('.content_inner'); initAccordion(); initAccordionFullWidth(); initProgressBars(); initAjaxCounter(); initTabs(); initMessages(); initFlexSlider(); backButtonInterval(); backToTop(); fit...
// ====================== // || || // || BallBot App || // || || // ====================== // By <NAME>, jirva.net // // The connectivity aspects of this app are based on the 'LightBlue Bean Basic' app by Evothings AB // // BLE scratch bank usage: // scratch1...
const menuIcon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAABBUlEQVRo3u2WvU4CURSExx8qYyEsvdrQ2FhDqHgHwjtYGBofwyfYwkobOqOJnR0J9CQ8ApuYCN1mdagIFrILdxIXk/lut9m9Z3Lm3tkDGGOMKZmD3x/zz0odlt0BC7AACzje4p0empvyooAFXvEe9CXX64YZw0nZWu0UakEfR0KHK2irZ2AiWUzMVAsu+cbvQAM+GbOWb4F/RhZgAcUCLjD8eSt3WikeUVVzYESN...
"use strict"; var ownPropertiesOf = require("./utils").ownPropertiesOf; var toArray = require("./utils").toArray; var $ = require("ember").$; exports["default"] = Definition; var ALL_MACRO = '$all'; var SAME_MACRO = '$same'; var INITIAL_MACRO = '$initial'; var INITIALIZED = 'initialized'; var TRANSITIONS...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
"use strict"; self.addEventListener('message', function(e) { var imageWidth = e.data.imageWidth; var imageHeight = e.data.imageHeight; var equationToEval = e.data.equationToEval; var tinyX = e.data.tinyX; var largeX = e.data.largeX; var tinyY = e.data.tinyY; var largeY = e.data.largeY; var points = ...
import * as tf from '@tensorflow/tfjs'; var model; async function initModel(){ console.log("start to load model for uploaded videos"); toggleLoadingUI(true); model = await tf.loadLayersModel('http://localhost:8080/model_classification/model.json'); toggleLoadingUI(false); console.log("model for uploaded vid...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _isEqual2 = _interopRequireDefault(require("lodash/isEqual")); var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _AnimateManager = _...
/** * * MIT License * * Copyright 2021 Shogun, 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, copy, mod...
/* * . .o8 oooo * .o8 "888 `888 * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo * 888 `888""8P `888 `888 d88' `888 d88' `88b d88( "8 888 .8P' * 888 888 888 888 8...
import $ from "jquery"; import _ from "underscore"; import Backbone from "backbone"; import addLogging from "utils/add-logging"; import _l from "utils/localization"; //============================================================================== /** @class Mixin to add logging capabilities to an object. * Desig...
import MathAtom from '../core/mathAtom.js'; import Lexer from '../core/lexer.js'; import ParserModule from '../core/parser.js'; import Span from '../core/span.js'; import Shortcuts from './editor-shortcuts.js'; const SAMPLES = { '\\mathrm': '\\mathrm{x=+3.14, x\\in A}', '\\mathbf': '\\mathbf{x=+3.14, x\\in A}'...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getMergedConfig = getMergedConfig; exports.default = void 0; var _bluebird = _interopRequireDefault(require("bluebird")); var _lodash = require("lodash"); var _inherits = _interopRequireDefault(require("inherits")); var _tableRe...
import * as C from './constant'; import U from './utils'; import en from './locale/en'; var L = 'en'; // global locale var Ls = {}; // global loaded locale Ls[L] = en; var isDayjs = function isDayjs(d) { return d instanceof Dayjs; }; // eslint-disable-line no-use-before-define var parseLocale = function parseLoc...
import { filter } from 'lodash'; import { BallTriangle } from 'react-loader-spinner'; import { Icon } from '@iconify/react'; // import { sentenceCase } from 'change-case'; import { useState, useEffect } from 'react'; import axios from 'axios'; import plusFill from '@iconify/icons-eva/plus-fill'; import { Link, Routes, ...
/*! * @posva/vuefire-core v2.3.4 * (c) 2020 <NAME> * @license MIT */ /** * Walks a path inside an object * walkGet({ a: { b: true }}), 'a.b') -> true * @param obj * @param path */ function walkGet(obj, path) { // TODO: development warning when target[key] does not exist return path.split('....
"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, privateMap) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return privateMap.get(receiver); }; var __classPrivateFieldSet = (this && th...
const path = require('path') const { fs, slash } = require('saber-utils') const { log } = require('saber-log') const { SyncWaterfallHook } = require('tapable') const { readJSON } = require('./utils') const ID = 'vue-renderer' class VueRenderer { constructor(api) { this.api = api // In dev mode pages will be...
// Global vars var DATA_URL = 'delegates.json'; var JUMBO_THRESHOLD = 800; var pymChild = null; var isMobile = false; var isJumbo = false; var parties = []; var lastUpdated = ''; var delegateData = []; var overallData = []; var candidateFull = []; candidateFull['Clinton'] = '<NAME>'; candidateFull['Cruz'] = '<NAME>'; ...
/****************************************************************************** * * Copyright (c) 2017, the Perspective Authors. * * This file is part of the Perspective library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ // Import this dire...
/** * @module ol/renderer/webgl/PointsLayer */ import BaseVector from '../../layer/BaseVector.js'; import GeometryType from '../../geom/GeometryType.js'; import VectorEventType from '../../source/VectorEventType.js'; import ViewHint from '../../ViewHint.js'; import WebGLArrayBuffer from '../../webgl/Buffer.js'; impor...