text stringlengths 5.97k 41.2k |
|---|
//
// 初期値
//
window.DefinePanel("gravity", { author: "<NAME>.", version: "21.08b" });
function consoleWrite(msg) {
if(false) console.log("[gravity] " + msg);
}
var rootDirectory = "C:\\Users\\" + fb.ProfilePath.split("\\")[2] + "\\gravity_panel\\";
consoleWrite("Root Directory: " + rootDirectory);
... |
var vows = require('vows'),
assert = require('assert');
var suite = vows.describe('vg.expression');
function regexEqual(x, y) {
return (x instanceof RegExp) && (y instanceof RegExp) &&
(x.source === y.source) && (x.global === y.global) &&
(x.ignoreCase === y.ignoreCase) && (x.multiline === y.multiline... |
/*!
* Box2D Car Game Example
* http://42games.net/html5games/box2d-car-game/
*
* This is an example game for the book HTML5 Games Development: A Beginning Guide.
*
* Copyright 2011, <NAME>
* <EMAIL>
*
* All Right Reserved.
*/
var carGame = {
// game state constant
STATE_STARTING_SCREEN : 1,
STATE_P... |
/* jshint strict: false */
/* global setInterval, Hammer, clearTimeout */
window._ns_drumgen = {};
var thisInst = window._ns_drumgen;
thisInst.maxStarredPatterns = 15;
thisInst.maxHistory = 100;
function doHealthCheck() {
funcs.getSeed();
$.get("/health?_=" + cseed).done(function() {
$('.healthpanel'... |
import {
_ as _extends,
C as CombinedError,
a as addMetadata,
f as formatDocument,
c as collectTypesFromResponse,
m as makeResult,
b as makeErrorResult,
t as toSuspenseSource,
w as withPromise,
d as createRequest
} from './index-9bb95fa6.js';
export {
C as CombinedError,
d as createRequest,
f as formatDocu... |
// todo show sum of units in troops table
// todo allwo custom troop values(?) how would this affect the time
var DEFAULT_MINUTES = 288;
var DURATION_FACTOR = 0.8845033719;
var DURATION_EXPONENT = 0.45;
var DURATION_INITIAL_SECONDS = 1800;
var UNIT_TYPES = ["spear", "sword", "axe", "light", "heavy"];
var HAUL_VALUES... |
let M_$ = function(data){
/*
*
* */
//Mquery 的初始化方法
/* this.Mquery = function (arg){
// console.log(arg);
//用来存选出来的元素
this.elements=[];
switch(typeof arg){
case 'function' :
this.domReady(arg);
break;
cas... |
//styles
var backgroundColor = "#E9E9E9";
var fontColor = "#131313";
var offFontColor = "#ccc";
var textColor = "#131313";
var linkColor = "#131313";
var offLinkColor = "#ccc";
//var addNodeMode = false;
var chartWidth = 500;
var chartHeight = 500;
var linkWidth = 3;
var blinkTime = 300;
var buttonBoxWidth = 250;
var b... |
import React, { useEffect, useState } from "react";
import Button from "@material-ui/core/Button";
import TextField from "@material-ui/core/TextField";
import Input from "@material-ui/core/Input";
import Grid from "@material-ui/core/Grid";
import GuiTheme from "../../app/gui-theme";
import { withStyles } from "@materia... |
var map;
var radius = 20;
function renderDefaultMap(center, initialZoom)
{
console.log("center: "+center);
console.log("initialZoom: "+initialZoom);
map = new mapboxgl.Map(
{
container: 'map', // container id" +
style: 'mapbox://styles/mapbox/streets-v11', // stylesheet location" +
... |
import React, { useState, useEffect } from 'react';
//helpers
import { check, encode, formatDateTime } from '../utils/helpers';
//components
import Loader from '../components/loader';
import { navigate } from 'gatsby';
import { useDispatch } from 'react-redux';
import { setStored } from '../features/socket/socketSlice... |
//all the buttons
var allButtons = document.querySelectorAll('.btn')
var allButtonsArray = Array.from(allButtons)
//BUTTONS
//digits
var oneBtn = document.querySelector('.one')
var twoBtn = document.querySelector('.two')
var threeBtn = document.querySelector('.three')
var fourBtn = document.querySelector('.four... |
var filteredData;
var container = $("#vis1");
var colorPickerLine = $("#line");
var colorPickerCircle = $("#circle");
var colorPickerButton = $("#colorPick"); //button that changed both line and circle colors
var circleColor = "4682B4"; //COLOR OF THE CIRCLE COLOR PICKER is preset to steelblue
var lineColor = "ff0000"... |
'use strict';
var model = {};
var CotorraAppURL = UX.UrlApp;
UX.CompanyAssistant_cotorra = {
Initialize: async () => {
UX.Loaders.SetLoader('.company-selection .content');
var fiscalRegimes = [];
await $.ajax({
url: CotorraAppURL + '/companyassistant/GetFiscalRegimes',
... |
/* eslint-disable
array-bracket-spacing,
func-names,
max-len,
no-cond-assign,
no-mixed-operators,
no-nested-ternary,
no-param-reassign,
no-restricted-syntax,
no-return-assign,
no-sequences,
no-shadow,
no-sparse-arrays,
no-undef,
no-underscore-dangle,
no-unused... |
import _ from 'lodash';
import * as d3 from 'd3';
import * as topojson from 'topojson-client';
import * as tps from 'topojson-simplify';
import partyColor, { partyFill } from '../../map/color';
import { isTablet } from '../size';
function D3Map(
CountryTopoJson,
viewport, // [w, h, cx, cy, bw, bh]
push,
initE... |
// https://dev.to/nedsoft/testing-nodejs-express-api-with-jest-and-supertest-1km6
// https://www.npmjs.com/package/supertest
// https://visionmedia.github.io/superagent/
// https://stackoverflow.com/questions/31892295/trying-to-post-multipart-form-data-with-node-js-supertest
const fs = require('fs')
const path = requi... |
// ==UserScript==
// @namespace https://tampermonkey.myso.kr/
// @name 네이버 블로그 키워드 노출순위 모니터링
// @description 네이버 블로그의 최근 유입 키워드의 노출순위를 모니터링 할 수 있습니다.
// @copyright 2021, myso (https://tampermonkey.myso.kr)
// @license Apache-2.0
// @version 1.1.29
// @updateURL https://github.com/myso-kr/kr.... |
import Vue from 'vue';
var LayerType;
(function (LayerType) {
LayerType[LayerType["BottomToCenter"] = 0] = "BottomToCenter";
LayerType[LayerType["Right"] = 1] = "Right";
LayerType[LayerType["Custom"] = 3] = "Custom";
LayerType[LayerType["Page"] = 4] = "Page";
})(LayerType || (LayerType = {}));
var scr... |
import * as arceasy from 'arceasy'
const run = () => {
const view = arceasy.obj.view
const externalRenderers = arceasy.obj.constructors.externalRenderers
const Extent = arceasy.obj.constructors.utils.Extent
const QueryTask = arceasy.obj.constructors.utils.QueryTask
const Query = arceasy.obj.constru... |
var Schema, UNDEF,
copy = require( 'useful-copy' ),
iter = require( 'useful-iter' ),
type = require( 'useful-type' ),
value = require( 'useful-value' ),
re_falsey = /^false|0$/;
function afterdefine( Schema ) {
var Super = Schema.__super__,
p = Schema.proto... |
const FILE_DATA = "data.json"; // file with all data
const minutesInDay = 24 * 60;
let online_data = {
'eventPrecise': 1, // how long does one period lasts in minutes
'defaultEventMinutes': 30,
'sleepCategory': 'sleep', // this category is used to autofill sleep
'categories': {
'sleep': '#687676'
},
'e... |
var httpsys = require('./httpsys_native')
, events = require('events')
, util = require('util');
// Locally polyfill Buffer.concat for Node.js < 0.8
var bufferConcat = Buffer.concat || function (list) {
if (list.length === 0) {
return new Buffer(0);
} else if (list.length === 1) {
retu... |
const LANG_LOCALSTORAGE_KEY = 'xrb_wallet_lang';
const RAW_TO_XRB = '1000000000000000000000000000000';
const BLOCK_TIMEOUT = 3000;
// Time in milliseconds to wait before checking if block exists on explorer
const BLOCK_PUBLISH_TIME = 5000;
// Try an publish 5 times before giving up
const PUBLISH_RETRIES = 5;
const REMO... |
var url = require('url'),
util = require('util'),
path = require('path'),
fs = require('fs'),
request = require('supertest'),
_ = require('lodash'),
Debuggable = require('../../../../core/lib/debuggable'),
APIDatabase = require('../../../../core/mongodb'),
APIDatabaseFormatter = requir... |
export const getCSSMedia = async imports => {
const {
require: {
queueEvent,
createTimer,
captureError,
phantomDarkness,
logTestResult,
isFirefox
}
} = imports
const gcd = (a, b) => b == 0 ? a : gcd(b, a % b)
const getAspectRatio = (width, height) => {
const r = gcd(width, height)
const... |
/*
simple-irc: IRC socket wrapper class for node.js by <NAME> www.haxed.net
version: 1.0.3
License: MIT
*/
const tls = require( 'tls' );
const net = require( 'net' );
const E = require( './enums.json' );
let network;
function irc( e ){
if( !e ) return { authType: { none: 0, nickServ: 1, saslPlain: 2 } };
if(... |
var Config = require('/libs/Config');
var ripple = require('/libs/Ripple');
var xhr = require('/mods/xhr');
var moment = require('/libs/moment');
moment.locale('es');
var fullW = Ti.Platform.displayCaps.getPlatformWidth();
if (Config.isAndroid) {
fullW = fullW / Ti.Platform.displayCaps.getLogicalDensityFactor();
}
fu... |
import React from "react";
import "../../components/moradas.css";
import "../../components/home.css";
import YoutubeEmbed from "../../components/Youtube/youtube"
import PageTemplate from "../../components/pageTemplate";
import PeGrandeCarousel from "../../components/Carousel/CarouselMoradas/peGrandeCarousel";
const ... |
import {LocalStorageWrapper} from "./storage";
import {loadAssignmentSettings, saveAssignmentSettings} from "./editor/assignment_settings";
/**
*
* @enum {string}
*/
export let StatusState = {
READY: "ready",
ACTIVE: "active",
RETRYING: "retrying",
FAILED: "failed",
OFFLINE: "offline"
};
/**
*... |
import EventEmitter from "event-emitter";
import {extend, defer, windowBounds, isNumber, requestAnimationFrame} from "epubjs/src/utils/core";
import Mapping from "epubjs/src/mapping";
import Queue from "epubjs/src/utils/queue";
import Stage from "epubjs/src/managers/helpers/stage";
import Views from "../helpers/scrolli... |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 <NAME>
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/... |
/*
* Copyright 2012, Mozilla Foundation and contributors
*
* 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 applica... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { TouchableHighlight,ScrollView,View, Text, StyleSheet } from "react-native";
import Panel from './panel.js'
var deep_equal = require('fast-deep-equal');
function cramBtw(arr,sep){
return [...arr].map((e, i) => i < arr.length - 1 ? ... |
/**
* Class that manages the application. Changes between states.
*
* @param canvasId canvasId the id of the canvas element (or place holder).
* @param shaders Shaders for WebGL
* @param initCallback a callback that will be called once all resources are
* loaded.
*/
function App(canvasId, shaders, initCallback... |
const CryptoJS = require('crypto-js');
const USER_AGENT = require('./USER_AGENTS').USER_AGENT;
const axios = require('axios');
const date_fns = require('date-fns');
// console.log('时间戳:', format(new Date(), 'yyyyMMddHHmmssSSS'));
let appId=10028, fingerprint, token, enCryptMethodJD;
let cookie='', cookies... |
let Story = require('./storyModel');
let userService = require('../users/userService');
let User = require('../users/userModel');
let ObjectId = require('mongodb').ObjectId;
let async = require('async');
var Jimp = require('jimp');
let memberPreferenceServices = require('../memberpreferences/memberPreferenceServices');... |
base_url = "http://localhost/share/";
// SCRIPTS DA VIEW login.php
//Verifica se o email está cadastrado após o usuário terminar e inseri-lo
function existeEmail (deveExistir) {
// Está flag é para informar a função que verifica credências se o email foi encontrado ou não pois a função .done do ajax não dita o retorn... |
const config = require("../../config");
const { client } = require(`../../index`)
const { SlashCommandBuilder } = require('@discordjs/builders');
const { logger } = require("../../utils/logger");
const { MessageEmbed } = require("discord.js");
/*
This should be a module that contains a function that performs the bani... |
/*
* Copyright (C) 2019-2021 HERE Europe B.V.
*
* 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... |
// Molly Geolocation code
function submitAutomaticLocation(position, method) {
$('.location').html(gettext('Location found; please wait while we put a name to it.'))
$('.location-accuracy').hide()
$.post(base+'geolocation/', {
csrfmiddlewaretoken: $(csrfToken).find('[name=csrfmiddlewaretoken]').val(),
lon... |
var teamList = [];
var matches = [];
var rankingList = {};
//getLeague.then(function (){
getMatches(leagueId);
getTeam(leagueId);
//});
/*---------------------------------Sort team standings after each matchday-----------------------------------*/
function Team(){
this.played
= this.wins
= this.draws
= this.... |
description("Test the parsing of the -webkit-filter property.");
function jsWrapperClass(node)
{
if (!node)
return "[null]";
var string = Object.prototype.toString.apply(node);
return string.substr(8, string.length - 9);
}
function shouldBeType(expression, className, prototypeName, constructorName... |
// Generated by BUCKLESCRIPT VERSION 5.0.6, PLEASE EDIT WITH CARE
'use strict';
var BTC = require("./BTC.bs.js");
var List = require("bs-platform/lib/js/list.js");
var $$Array = require("bs-platform/lib/js/array.js");
var Utils = require("../../utils/Utils.bs.js");
var Js_exn = require("bs-platform/lib/js/js_exn.js");... |
import React from "react";
// nodejs library to set properties for components
import PropTypes from "prop-types";
// @material-ui/core components
import withStyles from "@material-ui/core/styles/withStyles";
// core components
import GridItem from "components/Grid/GridItem.jsx";
import GridContainer from "components/Gr... |
// TextBox
var TextBox_ID = "";
function TextBox_HandleChange(inst) {
var obj = document.getElementById(TextBox_ID);
if (obj) {
obj.value = inst.getBody().innerHTML;
}
}
// Masks
function Masks_Integer(e) {
var tecla=Masks_getKey(e);
if(tecla > 47 && tecla < 58) {
re... |
/* eslint-disable quotes */
import Line from './Line.js';
import PreviewDrag from './PreviewDrag.js';
import LabelsAxis from './Labels.js';
import { formatDate } from './Utils.js';
//#region Debug
// function renderIcon(container) {
// let el = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
// ... |
/**
* marks all rows and selects its first checkbox inside the given element
* the given element is usaly a table or a div containing the table or tables
*
* @param container DOM element
*/
var marked_row = new Array;
function markAllRows( container_id ) {
var rows = document.getElementById(container_id).g... |
'use strict';
var Logger = require('app/common/logger');
var CONFIG = require('app/common/config');
var SDK = require('app/sdk');
var CardModel = require('app/ui/models/card');
var InventoryManager = require('app/ui/managers/inventory_manager');
var AchievementsManager = require('app/ui/managers/achievements_manager')... |
/*
<NAME> | 2020 | <EMAIL>
Dior Interactive Type Sketches
*/
let bluePalette = ['rgb(5, 5, 20)',
'rgb(197, 197, 199)',
'rgb(155, 150, 150)',
'rgb(143, 155, 170)',
'rgb(42, 57, 102)'];
let pinkPalette = ['rgb(0, 0, 0)',
'rgb(2... |
/* global pako */
"use strict";
let combined_update_channels, extension_version;
const { update_channels } = require('./update_channels');
const wasm = require('./wasm');
// Determine if we're in the tests. If so, define some necessary components.
if (typeof window === "undefined") {
var WebCrypto = require("node... |
/* eslint-disable no-useless-return */
/* eslint-disable no-lonely-if */
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Layer, RegularPolygon, Stage } from 'react-konva';
import Swal from 'sweetalert2';
import PolyOneAnnotation from './components/PolyOneAnnotation';
import PolyO... |
// utility functions
function consoleLog() {
var msg = '';
for (var i = 0; i < arguments.length; i++) {
if (i > 0) msg += ' ';
msg += arguments[i];
}
console.log(msg + '\n');
}
function msgPush() {
if (interrupt) return;
var line = '';
for (var i = 0; i < arguments.length; i++) {
if (i > 0) line += ' ';
... |
//--------------------------------------------------------------------------
// Sortable functions
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
var changePosition = function(requestData, action) {
$.ajax({
'url': action,
'type': 'POST... |
function GetBehaviorSettings()
{
return {
"name": "EaseTween", // as appears in 'add behavior' dialog, can be changed as long as "id" stays the same
"id": "lunarray_Tween", // this is used to identify this behavior and is saved to the project; never change it
"version": "1.6",
"description": "Tween an o... |
const MySQL = require('../../middleware/mysql-service');
const Shared = require('./shared');
const { returnResults, returnSingle, returnError, cleanSelected, getDateOnly } = require('../../middleware/response-handler');
const { getCleanBody, getIdFilter, getMultiFilter, PoolScoreSchema } = require('../../middleware/req... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _LHH = require('./LHH.js');
var _LHH2 = _interopRequireDefault(_LHH);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//全局配置项
var DEF_OPT = {
inheritAttrs: false, //是否把$attrs数据当作... |
import Physijs from "./physi.js"
import OrbitControls from "./controls/OrbitControls.js"
import GLTFLoader from "./GLTFLoader.js"
import * as THREE from "https://unpkg.com/three@0.104.0/build/three.module.js"
let sceneWidth
let sceneHeight
let camera
let scene
let renderer
let dom
let hero
let sun
let ground
let orbit... |
var testConfiguration = browser.params.configuration;
var chaisePage = require('../../../utils/chaise.page.js');
var recordEditHelpers = require('../../../utils/recordedit-helpers.js'), chance = require('chance').Chance();
var exec = require('child_process').execSync;
var moment = require('moment');
// take a look at ... |
export const DestinyProgressionScope = {
Account: 0,
Character: 1,
Clan: 2,
Item: 3,
ImplicitFromEquipment: 4,
Mapped: 5,
MappedAggregate: 6,
MappedStat: 7,
MappedUnlockValue: 8,
};
export const DestinyProgressionStepDisplayEffect = { None: 0, Character: 1, Item: 2 };
export const DestinyScope = { Pro... |
"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProp... |
"use strict";
var world;
var FPS = 60;
var DEBUG_WAVE = false;
(function() {
var player;
var playerBullet = [];
var enemy = [];
var oldEnemy = [];
var powerup = [];
var particles = [];
var particleEmitters = [];
var lives = 5;
var score = 0;
var wave = 1;
var killedInWave;
var powerupGenerated;
var... |
'use strict';
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.definePrope... |
import React, { Component } from "react";
import API from "../utils/API";
import PropTypes from "prop-types";
import { connect } from "react-redux";
import Geocode from "react-geocode";
require("dotenv").config();
var keys = require('../components/Map/key');
const mongoose = require("mongoose");
//Geocode.setApiKey(key... |
// 公共方法
import Vue from 'vue'
import { Message } from 'element-ui'
import moment from 'moment'
import Viewer from 'viewerjs' // 图片预览
/**
* 将date-picker时间范围选择器选择的时间进行格式处理,默认格式为YYYY-MM-DD
* 其时间格式为 'Tue Aug 08 2017 00:00:00 GMT+0800 (中国标准时间)'
*/
export function fliters_time(time, formatString) {
if (time) {
// ... |
import {YAMLError} from "../error.js";
import * as common from "../utils.js";
import {DumperState} from "./dumper_state.js";
const _toString = Object.prototype.toString;
const _hasOwnProperty = Object.prototype.hasOwnProperty;
const CHAR_TAB = 9;
const CHAR_LINE_FEED = 10;
const CHAR_SPACE = 32;
const CHAR_EXCLAMATION ... |
// various modules required
var contentView = require("ui/contentView");
var missedItemsView = require("ui/tableView");
module.exports = function() {
// Format Variables
var IOS_PROGRESS_BORDER_W = '3%';
var IOS_PROGRESS_BORDER_R = '10%';
var IOS_BORDER_RADIUS = '25%';
var IOS_BORDER_WIDTH = '4%';
... |
import React, {Component} from "react";
import MainContainer from "../Style/MainContainer";
import ds from "../../Services/dataService";
import $ from "jquery";
import FullscreenError from "../Style/FullscreenError";
import serverAddress from "../../Services/ServerUrl";
import FullScrrenLoading from "../Style/Fullscree... |
window.URL = window.URL || window.webkitURL;
// deflate
function decode( string ) {
return RawDeflate.inflate( window.atob( string ) );
}
function encode( string ) {
return window.btoa( RawDeflate.deflate( string ) );
}
var container = decode('<KEY>');
var defaultCode = decode('lZDBCsIwEETv+Yo5C5EkmoOfE2ywR... |
import Debug from 'debug'
import getWindow from 'get-window'
import ReactDOM from 'react-dom'
import diffText from './diff-text'
import insertCompositionText from './insert-composition-text'
/**
* @type {Debug}
*/
const debug = Debug('slate:composition-manager')
/**
* Unicode String for a ZERO_WIDTH_SPACE
*
* @... |
const XError = require('xerror');
const GcodeProcessor = require('../../lib/gcode-processor');
const GcodeLine = require('../../lib/gcode-line');
const GcodeVM = require('../../lib/gcode-vm');
const objtools = require('objtools');
const Operation = require('../server/operation');
const pasync = require('pasync');
const... |
var countryNames = [
{id: -1, name: "Northern Cyprus"},
{id: -2, name: "Kosovo"},
{id: -3, name: "Somaliland"},
{id: 4, name: "Afghanistan"},
{id: 8, name: "Albania"},
{id: 10, name: "Antarctica"},
{id: 12, name: "Algeria"},
{id: 16, name: "American Samoa"},
{id: 20, name: "Andorra"},
{id: 24, name:... |
/* eslint-disable no-empty */
"use strict";
/*
* Created with @iobroker/create-adapter v2.0.1
*/
// The adapter-core module gives you access to the core ioBroker functions
// you need to create an adapter
const utils = require("@iobroker/adapter-core");
// Load your modules here, e.g.:
// const fs = require("fs");... |
#! /usr/bin/env node
"use strict";
/* jshint esnext:true, node:true */
const messages_pb = require('protocolbuffers/messages_pb')
, { StorageKey } = messages_pb
, { status: grpcStatus } = require('grpc')
, fs = require('fs')
, mime = require('mime')
, { nodeCallback2Promise } = require('../util/nodeCallback2... |
// Set required modules
const vscode = require('vscode');
const JSDOM = require('jsdom').JSDOM;
const genFunc = require('./genericFunctions');
// Create a new Collection for Diagnostics
// A Diagnostics Collection must be outsides of an function.
const headers_diagColl = vscode.languages.createDiagnosticCollection("ht... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
'use strict';
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Arra... |
const assert = require('assert')
const util = require('../util.js')
const log = require('../logger.js')
const csvtext = '"geo","id001","id002"\n'+
'"name","AK","AL"\n'+
'"pop","100","1000"\n'+
'"pop!!15-20","20","200",\n'+
'"pop!!15-20!!di... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const wheel_chief_1 = require("../utils/wheel_chief/wheel_chief");
const commands_1 = require("./commands");
const updater_1 = require("../utils/wheel_chief/updater");
const utils_1 = require("../utils/utils");
const nbt_1 = require("../utils/... |
import { createGlobalStyle, css } from 'styled-components';
import { rem } from 'polished';
export const theme = {
primary: '#0044e3',
dark: '#010101',
danger: '#F03009',
warning: '#FFE310',
success: '#26dc4e',
light: '#fff',
gray: '#eaeaea',
fontFamilyBase: '\'Inter\', Roboto, Helvetica, Arial, sans-s... |
// ==UserScript==
// @name DS_Timer_Export
// @namespace de.die-staemme
// @version 0.1.5
// @description Export your Attack-Details for DS_Timer
// @grant GM_getValue
// @grant GM_setValue
// @grant unsafeWindow
// @match https://*.die-staemme.de/game.php?*screen=place&try=confirm*... |
import {Time} from "./time";
import {Component} from "./component";
export const ANIMATOR = 'animator';
const KEYFRAMES_PER_SECOND = 6;
const ONE_KEYFRAME = 1 / KEYFRAMES_PER_SECOND;
/**
* An {@code Animator} is a {@code Component} that handles multiple animations. You can play, pause and blend between
* animation... |
import _isEqual from "lodash/isEqual";
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super... |
/**
*
* En Este Script Se Renderiza La Tabla Para Mostrar Las Ordenes de Pago.
* Ordenandolas Por Clasificador, Establecimiento y Concepto de Pago.
* Mostrando Los Datos En Años, Meses y Semanas.
*
* */
/* Clases */
/* Metodos */
"use strict";
var obtener_concepto_compra_gasto = function obtener_concepto_compra_... |
#!/usr/bin/env node
/*
* loctool.js - tool to extract resources from source code
*
* Copyright © 2016-2017, 2019-2021, HealthTap, Inc. and JEDLSoft
*
* 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... |
// var vueApp = new Vue({
// el: '#vueApp',
// data: {
// orderOptions: {
// orderBy: 'year',
// orderReverse: 1,
// showYear: true,
// showTitle: false,
// arrowDirection: false
// },
// searchMovie: {
// title: '',... |
var CORS_PROXY_URL = "https://cors.bridged.cc/";
var CHECK_DOWNLOADS_FINISHED_EVERY_MS = 100;
var MAX_POSTS_PER_REQUEST = 35;
var MIN_POSTS_PER_REQUEST = 10;
/* User options */
var userDownload;
var targetName;
var section;
var maxImageCount;
var nameFormat;
var restrictByScore;
var restrictByScoreType;
var restrictBy... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _lodash = require("lodash");
require("./vendor/leaflet.awesome-markers/leaflet.awesome-markers.css!");
var L = _interopRequireWildcard(require("./vendor/leaflet/leaflet"));
require("./vendor/leaflet.awes... |
/* eslint-disable no-undef */
import React from "react";
import { connect } from 'react-redux';
import { setVariableSelected, setCCAComponentSelected, setCCAComponentSorted } from '../actions';
import _ from "lodash";
// Using scrollintoview jQuery plugin instead of browser built-in functionality (DOM's scrollIntoView... |
import axios from 'axios';
import { useState } from 'react'
import PopUp from './popUp.js'
import "./searchFlights.css";
import Input from '@mui/material/Input';
import Button from '@mui/material/Button';
import * as React from 'react';
import Stack from '@mui/material/Stack';
import Snackbar from '@mui/material/Snackb... |
// The current fallback URL: this can be configured via a DSConfig property of ( dataURL : __url__)
var fallbackDataURL = 'http://www.cardgamedb.com/deckbuilders/androidnetrunner/database/anjson-cgdb-adn18.jgz';
// set to false if you want imagesrc to hotlink directly to CardGameDB.com
var sideLoadImages = true;
// C... |
var nullhistory = []; //log
var index = 0;
var aptprg = "";
var dir = "/";
var ccode = "FFF"
var lastinput = "";
var link = "";
var e = document.getElementById("nullin").onkeydown = function(e){
if (e.keyCode == 13){
var input = document.getElementById("nullin").value.toLowerCase();
if (input != lastinput){
nul... |
'use strict';
var ST = ST || {};
var runTable;
var SHOW_MORE_INCREASE = 100;
ST.MAX_SHOW = SHOW_MORE_INCREASE;
var dateFormatSpecifier = '%m/%d/%Y';
var dateFormat = d3.timeFormat(dateFormatSpecifier);
var dateFormatParser = d3.timeParse(dateFormatSpecifier);
ST.numberFormat = d3.format('.2f');
ST.ChartCollectio... |
//자바스크립트의 this는 호출한 객체를 가리킨다? 기본 window
let dispatchWindow;
let warehouseId;
function dispatchOutbound(requestId) {
console.log(getContextPath() + "/wms/outbound/dispatch");
this.requestId = requestId;
console.log("출하 지시창 오픈. requestId : " + requestId);
dispatchwindow = window.open(getContextPath() + "/wms/outboun... |
$(function(){
var albopop = {};
var nonClickedMarker = L.icon({
iconUrl: 'node_modules/leaflet/dist/images/marker-icon.png',
shadowUrl: 'node_modules/leaflet/dist/images/marker-shadow.png',
popupAnchor: [0, -35],
});
var clickedMarker = L.icon({
iconUrl: 'a... |
var width = d3.select("div.brain").node().getBoundingClientRect().width,
height = 600,
clone1;
var path = d3.geo.path(),
force = d3.layout.force()
// force2 = d3.layout.force().size([width, height]);
var dotSide = 7,
dotSep = 1,
logoXPadding = 2 * dotSide,
... |
import binarySearch from './binarysearch';
import { Leaf, InternalNode } from './nodes';
import Path from './path';
import {
fastMap,
getEmptyIterator,
tail,
boundedChunk,
extend,
makeOwnerID,
tagOwnerID,
makeRef,
isSet,
normalizeRangeSpec,
} from './utils';
import {
ORDER,
... |
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use stric... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =... |
/* <NAME>
Solar System */
// List of objects in scene:
var scene = null
var camera = null
var renderer = null
var solarSystem = null
// Stars:
var sun = null
//Planets:
var mercury = null
var venus = null
var earth = null
var mars = null
var jupiter = null
var s... |
import React, { Component } from "react";
import {
Text,
StyleSheet,
View,
Dimensions,
SafeAreaView,
TouchableOpacity,
FlatList,
Image,
TextInput,
ActivityIndicator,
ToastAndroid,
Alert,
} from "react-native";
import Icon from "react-native-vector-icons/FontAwesome";
import Entyp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.