text
stringlengths
8.5k
48.7k
/** * Created by phanmduong on 9/11/17. */ import React from 'react'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import * as classActions from './classActions'; import Loading from '../../components/common/Loading'; import FormInputText from '../../components/common/FormInputText';...
/** * DevExtreme (cjs/ui/context_menu/ui.context_menu.js) * Version: 21.2.5 * Build date: Mon Jan 17 2022 * * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; exports.default = void 0; var ...
/** * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ var CURRENT_URL = window.location.href.split('?')[0], $BODY = $('body'), $MENU_TOGGLE = $('#menu_toggle'), $SIDEBAR_MENU ...
'use strict'; const PromiseManager = require('../core/promiseManager'); const { callApi } = require('../util/common'); const { locationData } = require('../util/location'); Entry.EXPANSION_BLOCK.weather = { isInitialized: false, api: '/api/expansionBlock/weather/', date : new Date(), apiFail: {}, ...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
// nodes from neo-mon and happy nodes var nodesg = [ {"id": "http://seed1.aphelion-neo.com:10332", "ip": "172.16.58.3", "color": "red" }, //0 {"id": "http://seed2.aphelion-neo.com:10332", "ip": "192.168.127.12", "color": "red" }, {"id": "http://seed3.aphelion-neo.com:10332", "ip": "192.168.127.12", "color": "re...
// Object holding functions for 3d math var math3d = new function() { // Return the identity matrix (a matrix with diagonal 1's so each row and column will always have a 1 once) this.identityMatrix = function() { return new Float32Array( [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]); } this.s...
var t_on = { 'apiChart': 1, 'subsChart': 1, 'serviceTimeChart': 1, 'tempLoadingSpace': 1 }; var currentLocation; var chartColorScheme1 = ["#3da0ea", "#bacf0b", "#e7912a", "#4ec9ce", "#f377ab", "#ec7337", "#bacf0b", "#f377ab", "#3da0ea", "#e7912a", "#bacf0b"]; //fault colors || shades of red var chartCo...
//<editor-fold> << GLOBAL VARIABLES >> ------------------------------------- // const W = 330; const H = 180; const BTN_W = 217; const BTN_H = 50; const LEFT = 50; const H2 = 106; const H3 = 177; const TOP = 35; const BTN_FNT_SZ = 14; //</editor-fold> >> END GLOBAL VARIABLES END ///////////////////////////////// //<e...
//常规类型 var intTypes_ = { "char":"int", "short":"int", "int":"int", "long":"int64_t", "int8":"char", "int16":"short", "int32":"int", "int64":"int64_t", "uint8":"unsigned char", "uint16":"unsigned short", "uint32":"unsigned int", "uint64":"uint64_t" }; var boolTypes_ = { "boolean":"bool", "bool":"bool" }; var realTy...
const rollupResolve = require('rollup-plugin-node-resolve'); const rollupCommonJs = require('rollup-plugin-commonjs'); const requireHacker = require('require-hacker'); const htmlMinifier = require('html-minifier'); const htmlTypings = require('html-typings'); const uglifyCSS = require('uglifycss'); const watch = requir...
//"use strict"; var appControllers = angular.module('appControllers', []); //Controlador de la vista inicial appControllers.controller('MainCtrl', ['$scope', '$route', '$location', '$http', '$mdDialog', '$mdToast', 'paramService', 'Constants', function ($scope, $route, $location, $http, $mdDialog, $mdToast, param...
function CGame(oData){ var _bUpdate = false; var _bPlayerTurn; var _bSplitActive; var _bDoubleForPlayer; var _bDealerLoseInCurHand = false; var _iInsuranceBet; var _iTimeElaps; var _iMaxBet; var _iMinBet; var _iState; var _iCardIndexToDeal; var _iDealerValueCard; var ...
const Vector = require('./src/Vector'); const Geodetic = require('./src/Geodetic'); const ObsSet = require('./src/ObsSet'); const Time = require('./src/Time'); const Maths = require('./src/Math'); const SGPObs = require('./src/SGPObs'); const Solar = require('./src/Sol...
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, resolveComponent, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, computed, ref, watch, normalizeStyle, withModifiers, Teleport, createVNode, Transition, withCtx, withDirectives, vShow, toRefs, to...
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, de...
import { SHAPE_BOX, SHAPE_SPHERE, SHAPE_CYLINDER, SHAPE_PLANE, BODY_DYNAMIC, BODY_STATIC } from '../constants'; import { InfoDisplay, printError } from './Utils'; import { BruteForceBroadPhase } from '../collision/broadphase/BruteForceBroadPhase_X'; import { SAPBroadPhase } from '../collision/broadphase/sap/SAPBroadP...
// // WebTablet.js // // Created by <NAME> on 8/8/2016 // Copyright 2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // /* global getControllerWorldLocation, Tablet, WebTablet:true, HMD, Setting...
var cate, childCate, task; var cateText = [{"id": 0,"name": "默认分类","child": [0]},{"id": 1,"name": "百度IFE","child": [1, 3]}], childCateText = [{"id": 0,"name": "默认子分类","child": [],"father": 0},{"id": 1,"name": "task001","child": [0, 1, 2],"father": 1},{"id": 3,"name": "task002","child": [3],"father": 1}], taskTe...
`use strict`; /** * Dancing☆Onigiri スキンjsファイル */ /** * タイトル画面 [Scene: Title / Melon] */ function skinTitleInit() { // 背景矢印 // $id(`lblArrow`).left = `0px`; g_headerObj.setColorType1 = [`#6666ff`, `#66cccc`, `#000000`, `#999966`, `#cc6600`]; g_headerObj.setColorType2 = [`#000000`, `#6666ff`, `#cc...
import * as d3 from "d3-selection"; import { allNotes, allNotesEnh, COLOURS, COLOURS_MERGE, Tunings } from './constants'; import { Scale, Note, Chord, transpose, Interval } from "@tonaljs/tonal"; function checkIndex (inversion, index) { let output = false; switch (inversion) { case '1': output = in...
COLORING_ARR = ['red', 'green', 'nodata'] var cluster_view_tooltip_base = ""; var cluster_view_tooltip_base = '<div class="legendrow"><img src="/cloud/static/images/bluebox.png">Pending</div><div class="legendrow"><img src="/cloud/static/images/yellowbox.png">Starting</div><div class="legendrow"><img src="/cloud/static...
const socket = io(); let aCards; const _xhr = new XMLHttpRequest(); _xhr.open("GET", "/cards"); _xhr.onload = () => { if (_xhr.status === 200) { aCards = JSON.parse(_xhr.responseText); } }; _xhr.send(); const oStates = { READY: "ready", RUNNING: "running", BLOCKED: "blocked", PAUSED: "...
var ryu; var checkingId; var ga; var backDrop; var alex; function sheetLoaded() { if (ryu.isLoadComplete() == true && backDrop.isLoadComplete() && alex.isLoadComplete()) { clearInterval(checkingId); ga.play(); } } function ready() { window.scrollTo(0, 1...
import { g as _assertThisInitialized } from './defaultTheme-426619e3.js'; import { _ as _extends, a as _objectWithoutPropertiesLoose } from './objectWithoutPropertiesLoose-1048eeae.js'; import './index-9a858da8.js'; import { _ as _objectWithoutProperties } from './objectWithoutProperties-94ce8121.js'; import { a as _to...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { isEqual, difference } from 'lodash'; // JS files import L from 'leaflet'; import leafletPip from '@mapbox/leaflet-pip/leaflet-pip'; import 'leaflet.heat/dist/leaflet-heat'; import 'leaflet.markercluster/dist/leaflet.markercluster...
// ==UserScript== // @name AMQ-UI-Rearranger // @namespace https://github.com/blissfulyoshi // @version 0.4.2 // @description Create a Song Counter in AMQ // @match https://animemusicquiz.com/ // @grant GM_xmlhttpRequest // @connect pastebin.com // @connect script.google.com // ...
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { ret...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.imageSelectFormItem = exports.passwordFormItem = exports.emailFormItem = exports.mobileFormItem = exports.nameFormItem = exports.inputAreaFormItem = exports.buttonFormItem = exports.textFormItem = exports.selectFormItem = exports....
// This is the main.js; // The main purpose of the program is the visually display diffrent sort methods. // // Implemented sorts: // * Selection sort // * Insertion sort // * Merge Sort // * Heap Sort // * Quick Sort // * Shellsort // // Possible future versions: // * https://en.wikipedia.org/wiki/Sorting_a...
/* * Copyright (c) 2008-2018 ToI-Planning, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this lis...
/* * Orwell http://github.com/gettocat/orwell * Platform for building decentralized applications * MIT License * Copyright (c) 2017 Nanocat <@orwellcat at twitter> */ var bitpony = require('bitpony') var networkEvents = require('../network') var appEvents = require('../app') var protocolEvents = require('../proto...
#! /usr/bin/env node 'use strict'; var Canvas = require('canvas'); var fs = require('fs'); var StringDecoder = require('string_decoder').StringDecoder; var parse = require('csv-parse'); var sh = require("shelljs"); var path = require('path'); var cwd = sh.pwd(); // set up node-easel, including creating a global DOM f...
// Copyright 2017-2018 by <NAME> for Autolotto. // This is hereby released under the terms of the BSD 3-clause license, the MIT/X11 license, and the Apache 2.0 license. // This code is all for document images and is unlikely to work well on other types of images. const logician = require("./logician.js"); const geome...
'use strict'; //TODO: (maybe) instead of destroying sliders in resetLadder, delete handles. this way functions aren't redefined each time ladder is reset //TODO: make slider handle value not on slider (by appending an element) //TODO: give ladder lines colors based on the loop they are in //temporary global to figure...
/*声明三个自定义js方法*/ /*不区分大小写的判断包含, 用于搜索文章标题过滤文章*/ jQuery.expr[':'].contains = function (a, i, m) { return jQuery(a).text().toUpperCase() .indexOf(m[3].toUpperCase()) >= 0; }; /*区分大小写,用于搜索标签过滤文章*/ jQuery.expr[':'].contains_tag = function (a, i, m) { var tags = jQuery(a).data("tag").split(","); return...
// Policy: // do not rely on external library, incl jQuery etc. const defConfig = { arrow_width: 5, arrow_head: 10, data_api: undefined, data_interval: 60, image_file: "", image_width: 0, image_height: 0, image_font: 10, image_legend_x: 20, image_legend_y: 20, image_legend_r: 5, image_legend_s...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var tslib_1 = require('tslib'); var React = tslib_1.__importStar(require('react')); var styles_css_1 = require('./styles.css'); var utils_1 = require('../utils'); var classnames = function (base, other) { return other ? base + ' ' + other : ...
/*与后台数据交互 start*/ var addInterestUsed = $("#addInterestUsed").val(); var bonusUsed = $("#bonusUsed").val(); var voucherUsed = $("#voucherUsed").val(); $("#btnsave").on('click',function() {//立即投标 if($(this).hasClass("invest-btn")){ tender(); } }); $(function(){ $( '.countdown-tag' ).each(function(){ v...
/** * Copyright © <NAME>. * * This source code is licensed under the Commercial License found in the * LICENSE file in the root directory of this source tree. */ import React, { createRef } from 'react'; import Region from '@inovua/reactdatagrid-community/packages/region'; import InovuaDataGridColumnLayout from '@...
/*global plupload ,mOxie*/ /*global ActiveXObject */ /*exported Qiniu */ function QiniuJsSDK() { this.detectIEVersion = function() { var v = 4, div = document.createElement('div'), all = div.getElementsByTagName('i'); while ( div.innerHTML = '<!--[if gt IE ' + ...
// TRAYENDO LOS PERMISOS DEL ROL SELCCIONADO EN LA VISTA TABLEPERMISSIONS $.ajaxSetup({headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }}); //variables universales var configLanguageDatatable = { "info":"_TOTAL_ Registros", "search": "Buscar", "paginate":{ "next": "Siguiente", "pr...
const Pbf = require("pbf"); const { WidevineCencHeader } = require("./protos/widevine_cenc_header.proto"); const { SignedMessage, License } = require("./protos/license_protocol.proto"); const c = require("centra"); const { createConnection } = require("net"); const CryptoJS = require("crypto-js"); require("cryptojs-ext...
import { copy } from "fs-extra"; import uuid from "uuid/v4"; import BankedData, { MIN_DATA_BANK, GB_MAX_BANK_SIZE, MBC1, MBC5 } from "./bankedData"; import { walkScenesEvents, findSceneEvent, walkEventsDepthFirst, eventHasArg } from "../helpers/eventSystem"; import compileImages from "./compileImages"; ...
/* eslint-disable no-debugger */ /** * Copyright (c) 2015-present, Zippy Technologies * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-types'; import { findDOMNode } from 'react-d...
/** * # Beatle是什么 * * Beatle是一套基于状态管理机制构建用户界面的框架。采用自底向上增量开发的设计。Beatle 的核心库关注视图结构和视图状态。同时Beatle借助一些前端优秀设计方案,帮你在开发前端应用时节省下大量时间。 */ import React from 'react'; import path from 'path'; import ReactDOM from 'react-dom'; import propTypes from 'prop-types'; import {BrowserRouter, HashRouter, MemoryRouter, Router, widthRou...
$(document).ready(function ($) { $('.input-positive').mask("0#"); $(".input-money").priceFormat({ limit: 12, allowNegative: false }); $('.input-data').mask('99/99/9999'); $(".input-money-3-decimais").priceFormat({ limit: 12, centsLimit: 3, allowNegative: fa...
import { remove, resetBlazorTemplate, blazorTemplates, isBlazor } from '@syncfusion/ej2-base'; import { isNullOrUndefined, extend } from '@syncfusion/ej2-base'; import { DataManager, Query, Deferred, Predicate, DataUtil } from '@syncfusion/ej2-data'; import { ValueFormatter } from '../services/value-formatter'; import ...
import Avatar from "@material-ui/core/Avatar"; import Badge from "@material-ui/core/Badge"; import Button from "@material-ui/core/Button"; import Card from "@material-ui/core/Card"; import CardContent from "@material-ui/core/CardContent"; import CardHeader from "@material-ui/core/CardHeader"; import CardMedia from "@ma...
/** * @author <NAME> */ //var svg = d3.select("body").append("svg").attr("width", width + margin.left + margin.right).attr("height", height + margin.top + margin.bottom).append("g").attr("transform", "translate(" + margin.left + "," + margin.top + ")"); //Definition aller Basisvariablen und -bestandteile function ba...
/** * TODO: docstrings * TODO: miniquery for content_script.js */ /** * Get a the HTML string listing all the <option>tag</option> of all known tags, * setting the <option>'s "selected" attribute according to the paper's own tags * @param {object} paper The paper whose options' HTML string are being created * @...
/* * This file is part of Adblock Plus <http://adblockplus.org/>, * Copyright (C) 2006-2013 Eyeo GmbH * * Adblock Plus is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * Adblock Plus is dist...
let globalState = { intersecting: false, selecao: null, atual: 'portas' } let utils = { cameraTransforms: { 'portas': { 'entrada': {x:0,y:90,z:0}, 'recepcao13': {x:0,y:0,z:0}, 'entrada11': {x:0,y:90,z:0} }, 'entrada11': { 'portas': {x:0,y:-100,z:0}, 'recepcao11': {x:0,y:180,z:0} }, 'recep...
"use strict"; // Routine iniziale $(document).ready(function () { loadPagina(); }); // Caricamento pagina function loadPagina() { let par = window.location.search.substring(1).split('&'); let lez = par[0].split('='); let corso = par[1].split('='); // da cambiare in caso la lezione non venga aperta da ...
var database = []; var nodesbase = []; var years = {}; var Boxes = []; var circles = null; var texts = null; var paths = null; var svg; var container; var force; var mouseOverTool; var zoom; var allForcenodes = {}; var forceNodes = []; var types = []; var color; var allnodes = {}; var changedNodes = []; var connect...
//更多搜索条件按钮! var searchParams = '';//初始化数据 // 搜索按钮 $("#s_btn1").click(function() { $('#tblMain').grid("fnPageChange", "first"); }); //搜索条件 回车 触发 $('#frmSearch input').keydown(function(e){ if(e.keyCode==13){ $('#tblMain').grid("fnPageChange", "first"); } }); function genSearchParams(){ searchParams = $("#frmSear...
////////////////////////////////////////////////////////////////////////////////////////// // ___ _ ___ // // | | \/ | ) | | This software may be modified and distri- // // O- |- | | - | | |- -O bute...
import express from 'express'; const router = express.Router(); export const getLists = async (req, res) => { try { res.status(200).json({ "Test": "Success" }); } catch (error) { res.status(404).json({ message: error.message }); } } export const getList = async (req, res) => { try { const { list...
/*! * sha512.js - SHA512 implementation for bcrypto * Copyright (c) 2017-2019, <NAME> (MIT License). * https://github.com/bcoin-org/bcrypto * * Parts of this software are based on indutny/hash.js: * Copyright (c) 2014, <NAME> (MIT License). * https://github.com/indutny/hash.js * * Resources: * https://e...
let app = { init: () => { app.controlsManager = new ControlsManager(noControls); app.cfgLoad(); document.addEventListener('keydown', (e) => {app.controlsManager.kdmDelegate(e)}); document.addEventListener('keyup', (e) => {app.controlsManager.kumDelegate(e)}); window.addEventL...
/** Draw till You Are Satisfied!!! <NAME> This is project is about simulation and I want users to enjoy and have fun drawing their own kaleidoscope and generating their own art piece! */ // Array variable (empty list) let pointsList = []; let linesList = []; let leftScreen, rightScreen; // Variables for dividing ca...
// Your web app's Firebase configuration // For Firebase JS SDK v7.20.0 and later, measurementId is optional var firebaseConfig = { apiKey: "<KEY>", authDomain: "cs204finalproj.firebaseapp.com", databaseURL: "https://cs204finalproj-default-rtdb.asia-southeast1.firebasedatabase.app", projectId: "cs204fin...
function filterFunc(event) { var inputString = event.target.value.toUpperCase().trim().split(' '); var rows = document.querySelector("#fullTable tbody").rows; for (var i = 0; i < rows.length; i++) { for (var j = 0; j < rows[1].cells.length - 4; j++) { for (var taxa = 0; taxa < inputStrin...
/** * Copyright 2022 The WPT Dashboard Project. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ import { load } from '../node_modules/@google-web-components/google-chart/google-chart-loader.js'; import '../node_modules/@polymer/paper-but...
// ==UserScript== // @name DMMGirl // @namespace null // @description DMM.R18/mono/dvd tweak for non-member: show big cover, preload sample picture, local wishlist, remove member functions... // @version 1.1.9 // @grant GM_addStyle // @include http*://www.dmm.co.jp/* // @include...
/* * Copyright (C) 2013 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 fableLib = require("./lib"); var constants = require("./constants"); var customPlugins = require("./babelPlugins"); // In the browser this should be set to a falsy value var fs = require("fs"); var path = require("path") || require("./path"); // Don't use default values as they would block options from fableconf...
var restify = require("restify"); const cheerio = require("cheerio"); const axios = require("axios"); const nodeEval = require("node-eval"); var QuillDeltaToHtmlConverter = require("quill-delta-to-html") .QuillDeltaToHtmlConverter; const emotes = { "1": { "EmoteId": 1, "Name": "Smile", "Url": "https://fil...
'use strict'; var Constants = require('Constants'); var ModelInstance = require('model/ModelInstance'); var Object3DUtil = require('geo/Object3DUtil'); var PubSub = require('PubSub'); var ScenePriors = require('scene/ScenePriors'); var SearchCon...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Image, Platform, StyleSheet, TouchableOpacity, View, Text, ViewPropTypes, Animated } from 'react-native' import Video from 'react-native-video'; import Icon from 'react-native-vector-icons/MaterialIcons'; import IconF...
var xmlRequest; function selfRedirect(){ window.location.reload(); } function CreateXMLHttpRequest() { try { xmlRequest = new XMLHttpRequest(); } catch(tryMS) { try { xmlRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch(otherMS) { try { ...
/* * The MIT License * * Copyright 2017 bitchunk. * * 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, modif...
var start_edge_smoothing = false; function AttractPoints() { currentTime = performance.now(); $("#info_div").append(" <br/> Smoothing Point Cloud: "); attraction_threshold = mesh.geometry.boundingSphere.radius * guiControlPanel.attraction_threshold; // 0.02; find_threshold = mesh.geometry.bou...
/** * @license * Copyright 2012 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
var table = null; var colName = 0; var colPrios = 1; var colWishlist = 2; var colLoot = 3; var colRecipes = 4; var colRoles = 5; var colNotes = 6; var colClass = 7; var colRaidGroup = 8; var colRaidsAttended = 11; var colBenchedCount = 12 var colArchetype = 13; var allItems...
import gifshot from 'gifshot'; import FileSaver from 'file-saver'; import PromiseEach from 'promise-each'; import config from 'config'; import timestampOnElement from './util/timestamp'; import { send as sendMessage, on as onMessage } from './util/messaging'; import * as secureDomify from './util/secureDomify'; import ...
// @flow import React, { Component } from 'react' import { Link } from 'react-router-dom' import routes from '../constants/routes' import styles from './Home.scss' import classnames from 'classnames' const electron = require('electron') const ipc = require('electron').ipcRenderer; const ipcRenderer = electron.ipcRender...
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2013, Dash Industry Forum. * All rights re...
/* * decaffeinate suggestions: * DS101: Remove unnecessary use of Array.from * DS102: Remove unnecessary code created because of implicit returns * DS104: Avoid inline assignments * DS202: Simplify dynamic range loops * DS205: Consider reworking code to avoid use of IIFEs * DS207: Consider shorter variations of ...
/* This module provides code to display table (and assoc index) structures */ function Statuser() { this.statusOf = function (schema, name, typ, role, priv) { var t = statusTree[role]; if (!t) return ''; t = t[schema]; if (!t) return ''; t = t[typ]; if (!t) re...
import React, { Component } from 'react'; import { BarChart, ResponsiveContainer, Bar, XAxis, YAxis, CartesianGrid, Tooltip as RechartsTooltip, Legend } from 'recharts'; import Tabs from '../base/forms/Tabs'; import TabItem from '../base/forms/TabItem'; import withSegmentOverrides from '../../../common/providers/withSe...
var player = ''; var image = []; $(document).ready(function (){ confirm_restart_game(); player = new Player(); var is_player_loaded = player.load_player(); if (is_player_loaded){ calculateEverythingFromLastUpdate(); displayNavBarStat(); if ($("#resource").length){ displayResources(); ...
var wse = null; var lastColor = "#eeeeee"; var peers = { } var nodeModel; var reconnectId; var reconnectDelay = 5000; var CHAT = CHAT || { testMode:false, countPackets:false, PARAMS: { chatKey:"k" }, DATA:{ chatKey:null }, VIDEO: { userPermittedAutoplay:...
const fs = require("fs"); const graph = { nodes: [ { id: "Myriel", group: 1 }, { id: "Napoleon", group: 1 }, { id: "Mlle.Baptistine", group: 1 }, { id: "Mme.Magloire", group: 1 }, { id: "CountessdeLo", group: 1 }, { id: "Geborand", group: 1 }, { id: "Champtercier", group: 1 }, { id: "...
"use strict"; var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _typeof = typeof Symbol === "function" && _typeof2(Symbol...
import * as basic from "../scripts/basics.js"; import * as notify from "../scripts/notify.js"; import * as navigationBar from "../scripts/navigationBar.js"; import * as videoButton from "../scripts/videoPlayerButtons.js"; import * as showAvailableVideos from "../scripts/showAvailableVideos.js"; import * as currentVideo...
/**************************************************************************** Copyright (c) 2017-2018 <NAME> Software Co., Ltd. https://www.cocos.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, world...
/** * @author HTsao */ //login starts here var attempt = 3; // Variable for counting login attempts. 3 attempts total // function for login button. function validate(){ var username = document.getElementById("username").value; var password = document.getElementById("password").value; if ( username == "DaVinci" && ...
/* ------------------------------------------------------------------ * node-echonet-lite - core.js * * Copyright (c) 2016-2018, <NAME>, All rights reserved. * Released under the MIT license * Date: 2018-06-21 * ---------------------------------------------------------------- */ 'use strict'; var mBuffer = require...
var floodChart; var firstDate; var stationList = new Array(); var lang = 'en'; var chartLabels = { en: { dates: [], levels: ['Advisory', 'Watch', 'Warning', 'Flood'], yAxis: 'Water level (m)', }, fr: { dates: [], levels: ['Avis', 'Veille', 'Avertissement', 'Crue'], yAxis: "Niveau des eaux (m)", } }; $(...
// various tools by <NAME> // tests: tests/tess-snips.js var fs = require('fs'); var urlModule = require('url'); var http = require('http'); var https = require('https'); var querystring = require('querystring'); var firstWeek = new Date('Monday January 3, 2011 08:00'); // week #1 = 1st of january 2010 // privacy he...
/*! * Vuxtra.js v0.1.5 * (c) 2017-2017 <NAME> * Released under the MIT License. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var express = _interopDefault(require('express')); var path = require('path'); var path__default = _in...
/** * Core Data Source Javascript * * * @author <NAME> <<EMAIL>> * @see ands/datasource/_data_source * @package ands/datasource * */ $(function(){ /* * suffix is determined in footer.php * Example: #!/browse/lists/ * #!/view/115 * #!/edit/115 * #!/delete/115 */ $(window).hashchange(fu...
var version = '1.10.3'; /*------------------------------------------------------------------------------ vars.js ------------------------------------------------------------------------------*/ var jsonData, courseIndex, yearIndex, docLink, urlCourse, urlYear, urlDoc, urlCourse2, urlYear2, urlDoc2, selectedCourse, se...
function translate_text(text) { if (text == null || text == "null" || text == "None") { return null } text = text.toUpperCase() text = text.replace('-', '') text = text.replace('-', '') // To catch second, if in string if (text == 'FRONT') { text = 'F' } else if (text == 'BACK') { text = 'B'...
/** * Pulled from createLogType inline script into this file * by amclean on 2018-03-20. * * This script handles all the required js for ajax calls on the logbooks page. * Modified by amclean on 2018-03-20 */ var row_drake = null; /** * Gater all the field data from the base form and the weather form. */ func...
/* eslint-disable camelcase */ const { decode, getLevelByXp, getLevelByAchievement, getSlayerLevel } = require('../../utils/SkyblockUtils'); const { skyblock_year_0, skills, skills_achievements } = require('../../utils/Constants'); const { single } = require('../../utils/removeSnakeCase'); const SkyblockInventoryItem =...
/** * Copyright 2019-2020 BigML * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
var closetPresenter = { isInitialized: false, share: 121200, carouselLeft: null, carouselRight: null, user: null, wishListClosetId: 2, priceAlertFrequency: null, isBusy: false, busyInterval: null, init: function(){ closetPresenter.isInitialized = true; if (closetPresenter.user != null){ ...
"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...