text
stringlengths
5.97k
41.2k
var loading = { show: function () { if ($('#globalLoading').length) { return; } $('<div id="globalLoading" class="global_loading">' + '<div class="inner"></div><div class="inner"></div></div>').appendTo('body')[0].addEventListener('touchmove', function (e) { ...
/** * Appcelerator Drillbit * Copyright (c) 2010 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ var TFS = Titanium.Filesystem; var TA = Titanium.App; var Drillbit = Titanium.Drillbit; var ...
var gulp = require('gulp'), runSequence = require('run-sequence').use(gulp), _ = require('./misc/tasks/util'), html2js = require('gulp-angular-html2js'), eslint = require('gulp-eslint'), concat = require('gulp-concat'), insert = require('gulp-insert'), uglify = require('gulp-uglify'), cl...
/** * Created by jpt on 2018/7/17 0017. */ import React, { Component } from 'react'; import { connect } from 'dva'; import { Row, Col, Icon, Card, Form,Input, message, Popconfirm, Divider, Select, Button, notification, Modal, Tabs, Table, Radio, DatePicker, Tooltip, Menu, Dropdown } from 'antd'; import numeral from...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { AuthenticationError, NotSupported } = require ('./base/errors'); // --------------------------------------------------------------------------- module.exports = class ...
"use strict"; var get_tile_angle = function (_gid) { var rotate = (_gid >> 29) & 0x7; var tile_angle; switch (rotate) { case 5: tile_angle = 90; break; case 6: tile_angle = 180; break; case 3: tile_angle = 270; break; default: tile_angle = 0; break; ...
var api = mapshaper; var utils = api.utils; var cli = api.cli; var geom = api.geom; var internal = api.internal; var Bounds = api.internal.Bounds; var UserError = api.internal.UserError; var message = api.internal.message; internal.writeFiles = function(files, opts, done) { var filename; if (!utils.isArray(files) ...
import {checkSupport as checkSupport_} from '../core/core'; import {CoreInterface as CoreInterface_} from '../core/interface'; import {utils as utils_} from '../core/utils/utils'; import UI_ from './ui/ui'; import Autopilot_ from './autopilot/autopilot'; import ControlMode_ from './control-mode/control-mode'; import P...
/* * TERMS OF USE: MIT License * * 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, modify, merge, p...
var app = angular.module('frontendApp', ['ngRoute', 'actionControllers' ,'ngAnimate', 'ngSanitize', 'mm.foundation', 'ajoslin.promise-tracker', 'pasvaz.bindonce', 'pascalprecht.translate', 'frontendService', 'dataService']); var translationsEN = { //VARIABLE_REPLACEMENT: 'Hi {{name}}', DELETE: 'Delete', DELETE_B...
import knex from '../knex'; /* eslint-disable import/no-cycle */ import Proposal from './Proposal'; /* eslint-enable import/no-cycle */ import User from './User'; import Request from './Request'; import Discussion from './Discussion'; // eslint-disable-line import/no-cycle import { canSee, canMutate, Models } from '....
const semver = require('semver'); const fs = require('mz/fs'); const exitHook = require('async-exit-hook'); const child_process = require('child_process'); const Rusha = require('rusha'); const logger = require('./logger'); const hashRe = /^[a-fA-F0-9]{40}$/; /** * Represents and provides an interface to an execut...
import useMediaQuery from "@material-ui/core/useMediaQuery"; import React from "react"; import {getSong, getSongDetails} from "./functions/SongsUtility"; import {AddMediaSession} from "./functions/Helper/MediaSession"; // import {Cast, Events} from "./functions/Cast/Cast"; import endPoints from "./api/EndPoints/EndPoin...
/** * postService **/ var Bluebird = require("bluebird"); var h = require("whispeerHelper").default; var Promise = require("bluebird"); var validator = require("validation/validator"); var Observer = require("asset/observer"); var SecuredData = require("../asset/securedDataWithMetaData").default var State = require("a...
// // Function to draw segments of the doughnut // function drawSegment (canvas, innerRadius, outerRadius, startAngle, endAngle, fillColor) { var context = canvas.getContext('2d'); // Segment variables var x = canvas.width / 2; var y = canvas.height / 2; // Draw connected arcs context.beginPath...
/*----------------------------------------------------*/ /* Global Params: ------------------------------------------------------ */ const VERBOSE = true; const CONST_LOST_COM_TIMEOUT_100MS = 50; // 5 [s] // const CONST_ELEKTRA_JSON_URL = "http://192.168.0.227:8000";//"/elektra.json"; const CONST_ELEKTRA_JSON_URL = "ht...
'use strict'; const Wikia = require('node-wikia'); const AlertEmbed = require('../embeds/AlertEmbed'); const Broadcaster = require('./Broadcaster'); const ConclaveChallengeEmbed = require('../embeds/ConclaveChallengeEmbed'); const DarvoEmbed = require('../embeds/DarvoEmbed'); const EnemyEmbed = require('../embeds/Ene...
var Backbone = require("backbone"); var _ = require("underscore"); require("uploader.less"); var BaseViews = require("./../views"); var Models = require("./../models"); var AddContentView = BaseViews.BaseListView.extend({ template: require("./hbtemplates/add_content_dialog.handlebars"), item_view:"uploading_content"...
/** * Copyright (c) 2014 Intel Corporation * * 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 ...
/** * * (c) Copyright Ascensio System SIA 2020 * * 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 l...
// Support for Google Analytics if ( document.location.protocol !== "file:" && document.location.protocol !== "qthelp:" && document.location.host !== "localhost" && document.location.host !== "127.0.0.1") { var _gaq = _gaq || []; _gaq.push(["_setAccount", "UA-39516363-1"]); _gaq.push(["_trac...
/********************************* * Calculate the chance driven development of assets over time * * ********************************/ function Init(){ // Initialize basic variables and array data in a new input object // mu: mean of the return rate, defaults to 5% // sigma: variation of the return rate: the larger th...
//this loads feeds depending on its config when called to from the main module //to minimise activity, it will track what data has been already sent back to the module //and only send the delta each time //this is done by making a note of the last published data of feeds sent to the module tracked at the feed leve...
const querystring = require('querystring'); const { errors, versioning, s3middleware } = require('arsenal'); const constants = require('../../constants'); const services = require('../services'); const { metadataValidateBucket } = require('../metadata/metadataUtils'); const collectCorsHeaders = require('../utilities/co...
$(document).ready(function() { $(window).keydown(function(event){ if(event.keyCode == 13) { event.preventDefault(); return false; } }); }); var files = []; // Add events $('input[type=file]').on('change', prepareUpload); function prepareUpload(event) { $.each(event...
import { scaleOrdinal } from "d3-scale"; import _ from "lodash"; import React, { Fragment } from "react"; import { declare_panel } from "src/panels/panel_declarations/common_panel_utils"; import { InfographicPanel } from "src/panels/panel_declarations/InfographicPanel"; import { HeightClipper, create_text_maker_c...
'use strict'; // Imports dependencies and set up http server const express = require('express'), bodyParser = require('body-parser'), app = express().use(bodyParser.json()), // creates express http server dotenv = require('dotenv'), request = require('request'); global.fetch = require("node-fetch"); doten...
import { Image, Platform, ScrollView, StyleSheet, Text, TextInput, TouchableOpacity, View, ActivityIndicator } from 'react-native' import React, { Component } from 'react' import validate from 'src/services/validate' import ContentView from 'src/modules/addReview/components/ContentView' import Autocomplete fro...
"use strict"; var Page1 = { MSG_TYPE: 0, MSG_RACE_TIME: 1, MSG_TIME_OF_DAY: 2 }; function WebSocketTest() { if ("WebSocket" in window) { var ws = new WebSocket("ws://localhost:9980/ws"); ws.onopen = function () { ws.send("START RACE"); }; ws.onmessage = function (evt) { var msg = ...
/* * Container component * All data handling & manipulation should be handled here. */ import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import FontAwesomeIcon from '@fortawesome/react-fontawesome'; import { expectedUses } from '../actions/expected...
/** * A Connector exposes the interface toward the webserver * to manage multiple conversations */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const debug = require("debug"); const debuglog = debug('dbconnector'); const assert = require("assert"); const path = require('path'); const ...
var messageTable = null; var current_msg_id = null; var MSG_FIELD_COUNT = 0; var message_list = []; var message_obj = {}; var jsEditor = null; $(document).ready(function () { loadMessageDef(); $('body').removeClass('bg-white'); document.getElementById('importFile') .addEventListener('change', ge...
import React, { Component } from 'react' import cx from 'classnames' import { Icon, Grid, Table, Card, Button, Form, Input, Select, DatePicker, TimePicker, Popper } from '@hi-ui/hiui' import './index.scss' // import axios from 'axios' const delay = (timeout = 1000) => new Promise(resolve => setTimeout(() => resolve(),...
/* global $, window, document, getPageTemplate, createDataGridInstance, createPanel, parseUrl, GLOBAL_JSON, loadJsonFile, updateUrlHash, hitsRenderer, headerTemplate, urlParams, pageName, queryUrlParamsByPrefix, updateUrlParams, clearUrlParamsByPrefix, isValueAboveThreshold, isValueBelowThreshold, isValueInRange, isVal...
import { drawing as draw } from '@progress/kendo-drawing'; import PieSegment from './pie-segment'; import PieChartMixin from '../mixins/pie-chart-mixin'; import { ChartElement, Ring, Box, Point } from '../../core'; import { OUTSIDE_END, FADEIN, COLUMN } from '../constants'; import { bindSegments, evalOptions } from '...
function callAPI(word) { console.log('couldn\'t find locally'); let dictionary_data = []; let capturedWordsDataArr = []; chrome.storage.local.get(['dictionary_data'], function(res) { if (res.dictionary_data) if (res.dictionary_data.length > 0) { dictionary_data = res....
// By <NAME> /* * Helper for aggregating data * @data: The data from the csv to aggregate */ function aggregateByRound(data){ var arrayOfJeopardyQuestions = d3.nest() arrayOfJeopardyQuestions = d3.nest() .key(function(data) { return data.Round; }) .entries(data); return arrayOfJeopardyQuestions; } ...
var emptyData = [[]], defaults = { // User interaction callbacks mouseover: function (data, i) {}, mouseout: function (data, i) {}, click: function (data, i) {}, // Padding between the axes and the contents of the chart axisPaddingTop: 0, axisPaddingRight: 0, axisPaddingBottom: 5, ...
var sixmodel = require('./sixmodel.js'); var Null = require('./null.js'); var Hash = require('./hash.js'); function basic_type_object_for(HOW) { var st = new sixmodel.STable(this, HOW); this._STable = st; var obj = new st.obj_constructor(); st.WHAT = obj; sixmodel.mark_as_type_object(obj); return obj; } ...
/* * Copyright (c) 2017 HERE Europe B.V. * All rights reserved. */ 'use strict'; const geofencing = require('./geofencing'); const matrixrouting = require('./matrixrouting'); const tollcost = require('./tollcost'); const isolinerouting = require('./isolinerouting'); const routematching = require('./routematching')...
import 'whatwg-fetch'; import { stringify } from 'query-string'; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }...
'use strict'; const Logger = require('../connection/logger'); const BSON = require('../connection/utils').retrieveBSON(); const MongoError = require('../error').MongoError; const MongoNetworkError = require('../error').MongoNetworkError; const mongoErrorContextSymbol = require('../error').mongoErrorContextSymbol...
import React, { useState } from "react"; import $ from "jquery"; // @material-ui/core import { makeStyles } from "@material-ui/core/styles"; import Icon from "@material-ui/core/Icon"; // @material-ui/icons import Update from "@material-ui/icons/Update"; // core components import GridItem from "components/Grid/GridItem...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const virtual_websocket_client_1 = require("./virtual-websocket-client"); const utils_1 = require("../utils/utils"); const message_1 = require("./message"); const ws_event_1 = require("./ws-event"); const error_1 = require("../utils/error"); c...
'use strict'; var Reflux = require('reflux'); var dataSourceStore = require('../stores/dataSource.js'); var config = appMode === 'app' ? global.config : require('../config/config.js'); var presentationsStore = require('../stores/presentations.js'); var PeopleActions = require('../actions/people.js'); var importPackage...
//define chess pieces var blank = "%c "; /***** black pieces *****/ var B_pawn = "%c♟️ "; var B_knight = "%c♞ "; var B_rook = "%c♜ "; var B_bishop = "%c♝ "; var B_king = "%c♚ "; var B_queen = "%c♛ "; /***** white pieces *****/ var W_pawn = "%c♙ "; var W_knight = "%c♘ "; var W_rook = "%c♖ "; var W_bishop = "%c♗ "; var...
/* * Customised Workspaces extension for Gnome 3 * This file is part of the Customised Workspaces Gnome Extension for Gnome 3 * Copyright (C) 2021 A.D. - http://kronosoul.xyz * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
'use strict'; const Url = require('url'); const Util = require('util'); const Juzz = require('juzz'); const Joi = require('@hapi/joi'); const debug = require('debug')('Funzz'); const LoadFuzzDb = require('./fuzzing-db.js'); const chance = new (require('chance'))(); const utils ...
const api = {} // 文件上传 api.upload = '/res/upFile' api.uploadOnline = '/res/upOnlineFile' api.moduleGetPrice = '/money/getModuleChou' api.role = { list: '/role/list', add: '/role/add', del: '/role/del', edit: '/role/mod', getByNoType: '/moduleUser/listModuleUserNoRole', // 商户无角色职工列表包括角色名 getByRoleId: '/modul...
/* * oneGunTwoSpells */ (function() { // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating // requestAnimationFrame polyfill by <NAME>. fixes from <NAME> and <NAME> // MIT license var...
import React from 'react'; import './style.scss'; import { setFollowsMap, setLikesMap } from '../HomePage/homeActions'; import { setLoginModalVisibility } from '../AuthModal/authActions'; import logo from '../static/img/logo.png'; import topOverlay from '../static/img/top_shadow_overlay.png'; import { connect } from...
// AJAX-Solr demo gallery slider var Manager; var jssor_slider1; // Add these includes // <script src="jssor/js/jquery-1.9.1.min.js"></script> // <script src="jssor/js/jssor.core.js"></script> // <script src="jssor/js/jssor.utils.js"></script> // <script src="jssor/js/jssor.slider.js"></script> // <script src="ajax-s...
'use strict'; const thingAssert = require('thing-assert'); const THING_METHOD_LENGTH = Symbol('THING#MethodLength'); const THING_RESP_CODE_LENGTH = Symbol('THING#RespCodeLength'); const THING_FUNCTION_LENGTH = Symbol('THING#FunctionLength'); const THING_VALUE_FIXED_LENGTH = Symbol('THING#ValueFixedLength'); const THIN...
/** * Author: CatOnly * Welcome to my github * https://github.com/CatOnly */ // -- Main Functions ------------------------------------------------------------------ var G = new GlobalVar(1, 0.3); // easy:0.7 standard:0.3 hard:0.1 var stage = new createjs.Stage("theStage"); var scoreBoard =...
String.prototype.trunc = function(n) { return this.substr(0, n-1) + (this.length > n ? '&hellip;' : ''); }; function msieversion() { var ua = window.navigator.userAgent; var msie = ua.indexOf("MSIE "); if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // If Internet Explorer, ...
langResources['Add'] = ['追加','添加']; langResources['Subscribe'] = ['購読','添加']; langResources['get all tweets'] = ['全ツイートを取得','获取所有发言']; langResources['Please specify a list like "@user/list".'] = ['リストを"@user/list"の形式で指定して下さい。','请使用"@user/list"的格式指定List']; langResources['Lists'] = ['リスト','列表']; langResources['subscribin...
import patronymiques from './donnees/patronymes.js'; import {masculins, feminins} from './donnees/prenoms.js'; import {types as tVoies, odonymiques as nVoies} from './donnees/voirie.js'; import {insee_p, departement_p, region_p, nombreVilles, ville,inseeCommune, inseePostal, communeInsee, departementNom, communes, c...
$(window).scroll(function() { //控制导航 if ($(window).scrollTop() < 0) { $('#headdiv').stop().animate({ "top": "0px" }, 200); $('.nav2 .mmm').css("padding-top", "20px"); $('.nav2 .sub').css("top", "0px"); $('.top02').css("height", "60px"); } else { $('#headdiv').stop().animate({ "top": "0px" ...
/** * List of Forte Number * @see https://en.wikipedia.org/wiki/List_of_pitch-class_sets * */ var fortemap = new Map() fortemap.set("[0,1,2]", "3-1"); fortemap.set("[0,1,3]", "3-2"); fortemap.set("[0,1,4]", "3-3"); fortemap.set("[0,1,5]", "3-4"); fortemap.set("[0,1,6]", "3-5"); fortemap.set("[0,2,4]", "3-6"); for...
"use strict"; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; function _defaults(obj, defaults) ...
import React, {useContext, useState, useEffect} from "react"; import { Form, Table, Input, Pagination, Tooltip, Icon, Button, Select, InputNumber, DatePicker, Checkbox, Divider, Popover, List, } from 'antd'; import 'antd/lib/form/style'; import 'antd/lib/table/style'; import 'antd/lib/input/...
// --------------------------------------------- // // ------- 3D PONG built with Three.JS --------- // // -------- Created by <NAME> ----------- // // -------- Three.JS is by Mr. doob ----------- // // --------------------------------------------- // // ------------------------------------- // // ------- GLOBAL VARI...
/* jslint node: true */ 'use strict'; const Config = require('./config.js').get; const art = require('./art.js'); const ansi = require('./ansi_term.js'); const Log = require('./logger.js').log; const asset = require('./asset.js'); const ViewController = require('./view_controller.js').ViewController; const Errors = re...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2015, Louis.chu * 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 o...
import dayjs from "dayjs"; import customParseFormat from "dayjs/plugin/customParseFormat"; import relativeTime from "dayjs/plugin/relativeTime"; import React, { lazy, Suspense, useMemo } from "react"; import useSWR from "swr"; import { careSummary } from "../../utils/api"; import { OXYGEN_TYPES } from "../../utils/con...
var DIMENSIONS = { 'padding': 10, 'arcrad': 10, 'fontsize': 15 }; function railroad(grm) { function Point(x, y) { this.x = x; this.y = y; } var rules = {}; grm.forEach(function(instr) { if (instr.rules) { if (!rules[instr.name]) { rules[...
function isDisplayed(element) { var originalElement = element; while (element && element.parentNode) { var display = element.getStyle('display'); if (display === 'none') { return false; } element = $(element.parentNode); } return true; } var IE8 = Prototype.Browser.IE && navigator.userAg...
/* * Copyright 2013 Apereo Foundation (AF) Licensed under the * Educational Community 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicabl...
var __plugins = [] var __lookupLists = {} __lookupLists.transitions = ['Fade', 'Cut', 'Luma Wipe'] function selectPanel(pnl, t) { $(".header .menu button").removeClass("button-selected") $(t).addClass("button-selected") $(".panel").hide() $(".panel-" + pnl).show() } startApp(); __programmes = [] __o...
$(document).ready(function () { /** * multilanguage plugin * @type Lang */ window.lang = new Lang(); lang.dynamic($('#langCode').val(), '/plugins/jquery-lang-js-master/langpack/' + $('#langCode').val() + '.json'); lang.init({ defaultLang: 'en' }); lang.change($('#langC...
const Discord = require("discord.js"); const challenge = require('./../../commands/fun/challenge.js'); const Weapon = require('./Weapon.js'); const UserInfo = require('./../../models/user/User.js'); const Economy = new (require("./../../structures/user/Economy.js")); const Constants = require("./../../util/Constants.js...
var events = require('events') var pipe = require('eventemitter-pipe') var async = require('async') var bitcore = require('bitcore-lib') var p2p = require('bitcore-p2p') var inherits = require('inherits') var EventEmitter = events.EventEmitter var PublicKey = bitcore.PublicKey var TxoCache = 'TODO: This should be a pa...
var has_focus = true; var is_connected = false; window.onblur = function() { has_focus = false; } window.onfocus = function() { has_focus = true; changeFavicon("/images/favicon.png"); } document.head || (document.head = document.getElementsByTagName('head')[0]); function changeFavicon(src) { var link = document....
import React from 'react' import styled from 'styled-components' const EditorCss = styled.div` .medium-insert-images, .mediumInsert { text-align: center; } .medium-insert-images figure, .mediumInsert figure { margin: 24px 0 24px 0; display: block; } .medium-insert-images figure img, .mediumInsert fig...
/////////////Start////////////// var base = 0; var loggedInUser = []; var loggedInFakeUser = ["fake","fake"]; init(); function init() { eventListeners(); checkedOption(); //baseQuestions(); //html(); } function html() { var result = Math.round(personBaseValue()*100)/100; document.getElem...
import React, { useEffect, useState } from "react"; import Modal from "../Modal/index"; import ConfirmationForm from "../ConfirmationForm/index"; import DropdownMenu from "../DropdownMenu/index"; import Button from "../Button/index.js"; import FormMode from "./Constants/FormMode"; import ViewType from "./Constants/View...
import { createStore } from "vuex"; import axiosClient from "../axios"; const tmpSurveys = [ // { // id: 100, // title: "TheCodeholic Youtube Channel content", // slug: "thecodeholic-youtube-channel-content", // status: "draft", // image:"http://pbs.twimg.com/profile_images/1118059535003017221/9Z...
//---------------------------------// // GLOBAL VARIABLES // //---------------------------------// var board, wordArr, wordBank, wordsActive, boardMap, focusChar, focusIndex = null, mode, wordElementsAcross, wordElementsDown; var answers = []; var Bounds = { top: 0, right: 0, b...
/*- * * This file is part of Oracle NoSQL Database * Copyright (C) 2014, 2018 Oracle and/or its affiliates. All rights reserved. * * If you have received this file as part of Oracle NoSQL Database the * following applies to the work as a whole: * * Oracle NoSQL Database server software is free software: yo...
var localizedStrings = {} $(document).ready(function() { getLocalizedString(['BUTTON_ADD','BUTTON_EDIT','BUTTON_DONE','BUTTON_REMOVE','CONFIG_SAVED','ACTION_SUCCESSFUL','ADMIN_SECTION_REMOVE_PROMPT','ADMIN_SECTION_ADD_PROMPT']); $('#message').hide(); }); function getLocalizedString(key) { if (...
var args = require("optimist") .usage("$0 --stats <statsfile> --out <outfile>") .demand(["out", "stats"]) .alias({"out": "o", "stats": "s"}) .describe({ "out": "The file to output with data." , "stats": "The stats file to parse."}) .argv , fs = require("fs") , path = re...
/* * jsonizer * Copyright 2015 * Authors: <NAME>. * All Rights Reserved. * Use, reproduction, distribution, and modification of this code is subject to the terms and * conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php * * Project: https://github.com/leolmi/node-jsoni...
// Create Compare Tables and Charts var allData = {}; var tableData = {}; var selectionData = {}; var addNewBrandToIndex; var MAX_TABLE_COLUMNS = 3; var CHART_WIDTH = 180; var CHART_HEIGHT = 110; function compareDataLoaded(data) { console.log(data); allData = data; // Get unique brand names tableData.brands = getU...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s....
// datatable_checker datatable = null; $(function(){ // datatable日本語化 $.extend( $.fn.dataTable.defaults, { language: { url: "http://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Japanese.json" } }); // ウマ娘リスト作成 umamusu_array = $.map(window.umamusu, function(value, index){ return {...
function availableID(id) { if (!(document.getElementById(id))) { return id; } for (i=2; true; i++) { if (!(document.getElementById(id+i))) { return id+i; } } } function term2string(i){ switch (i%3) { case 0: term = "Fall"; break; case 1: term = ...
var g_grupos = []; var g_mapGrupos = new Map(); var g_grupoReposicion = []; function cambioLoaded(event){ bringDB(); movePageBack(); modalsOpen(); } $(function () { $('[data-toggle="tooltip"]').tooltip() }) function modalsOpen() { $('#asistenciaModal').on('show.bs.modal', function (event) { ...
var URL = require('url'); var querystring = require('querystring'); var path = require('path'); var Events = require('./events.js'); var lcc = require('./lcc.js'); var debug = false; var impl = {}; var profiles = { 'rest': require('./profile/rest') }; var hasFormData = false; try { hasFormData = 'FormData' in wind...
/** * Created by strawmanbobi * 2018-02-04 */ var ROW = 8; var COL = 8; var SCOPE = 5; var size = null; var blank = 2; var FONT_TYPE = 'Arial'; var STATE_PREPARE = 0; var STATE_RUNNING = 1; var STATE_FINISHED = 2; var winGame = false; var INIT_SCORE = 1000; var gameState = STATE_PREPARE; var bgInitated = false;...
 // ********************************** // * Copyright 1998 by <NAME> * // * All rights reserved * // ********************************** var BarWidth; var ChartWidth; //price bar charts var DataTableWidth = 300; //price data table var ExcursionRatio; //var FirstTopIndexLinkWritten; //var BarPaddingImage; //var...
import RuleMaker from '@/components/rules/RuleMaker.js' import PomodoroRule from '@/components/rules/PomodoroRule.js' import RemoteRule from '@/components/rules/RemoteRule.js' import TaskRule from '@/components/rules/TaskRule.js' import TimeRule from '@/components/rules/TimeRule.js' import assert from '@/assert.js...
import { Injectable, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; /** * Created by ahsanayaz on 08/11/2016. */ var BROWSERS = { CHROME: 'chrome', FIREFOX: 'firefox', SAFARI: 'safari', OPERA: 'opera', IE: 'ie', MS_EDGE: 'ms-edge', FB_MESSANGER: 'fb-messa...
import { r as registerInstance, h } from './index-d29ca497.js'; import { c as createCommonjsModule, a as commonjsGlobal, g as getDefaultExportFromCjs, s as state, T as Typography, C as ComponentRenderer } from './index-ca4d34ea.js'; var browserPonyfill = createCommonjsModule(function (module, exports) { var global = t...
// @flow import React, { Component } from 'react'; import './App.css'; import { Grid, Button, Panel, DropdownButton, MenuItem, Label, Form, FormControl, FormGroup, InputGroup, Media, Checkbox } from 'react-bootstrap'; const STATION_DATA = [ {name: "松戸駅", latitude:35.7849593, longitude:139.8983253}, {name: "北松戸駅", ...
Ext.namespace('pantry_user_management_js'); // Declare a custom VType Ext.apply(Ext.form.VTypes, { // This function validates input text AlphaNumU: function(v) { return /^[a-z0-9_\.]+$/i.test(v); }, // This is the tooltip message ...
const Capi = require('qcloudapi-sdk') const tencentAuth = require('serverless-tencent-auth-tool') const _ = require('lodash') const { Component } = require('@serverless/core') const { CreateApi, ModifyApi, CreateService, CreateUsagePlan, ModifyUsagePlan, CreateApiKey, BindSecretIds, BindEnvironment, ...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
'use strict'; /*** A class to interact with the browser and configure audio-related UI elements like source/sink selectors, players, and drop targets. */ class AudioUI { constructor(setupFunction) { const dcr = Object.getOwnPropertyDescriptors(Object.getPrototypeOf(this)); for (const method in dcr) if (('c...
import React, { useEffect, useContext, useRef } from 'react'; import styled, { css } from 'styled-components'; import { motion } from 'framer-motion'; import { StaticQuery, graphql, navigate } from 'gatsby'; import queryString from 'query-string'; import { Box, Flex, Text } from 'rebass/styled-components'; import { con...
// console.log = () => {} // const consoleLog = console.log // console.log = (msg) => {consoleLog("WORKER>>>", msg)} // let N = 0 // let cancel_work = false // console.log("onmessage", N) // throw "error" onmessage = (e) => { const msg = e.data console.log(`message received: ${msg.code} (${msg.id})`); con...