text stringlengths 5.97k 41.2k |
|---|
const fs = require("fs");
const path = require("path");
const crypto = require("crypto");
const parsFunc = require("./parseFunc");
const basePath = require("./basePath");
const callFunc = require("./callFunc");
let sec;
const setup = (relpath, {key, iv}, backupinterval=60)=>{
sec = {key: Buffer.isBuffer(key... |
//During the test the env variable is set to test
process.env.NODE_ENV = 'test';
//Require the dev-dependencies
let chai = require('chai');
let chaiHttp = require('chai-http');
let server = require('../index').app;
// async function start() {
// await require('../index').startServer();
// }
// start();
var exp... |
'use strict';
const names = [
[
// Month: January
['Laimnesis','Solvita','Solvija'],
['Indulis','Ivo','Iva','Ivis'],
['Miervaldis','Miervalda','Ringolds'],
['Spodra','Ilva','Ilvita'],
['Sīmanis','Zintis'],
['Spulga','Arnita'],
['Rota','Zigmārs','Juliāns','Digmārs'],
['Gatis','Ivan... |
/** @module common/legacySchema */
import d3 from 'd3';
const statusConv = {
Queued: 'ready',
'In progress': 'running',
Aborting: 'running',
Aborted: 'aborted',
Completed: 'done',
Failure: 'failure'
};
const dataTypeConv = {
datatable: 'nodes',
connection: 'edges'
};
function v07_to_v08_nodes(json... |
/*--------------------------------------------------
Data Type: AudioClipReader
Description: This object is used to read audio
from a file into an AudioClip object.
---------------------------------------------------*/
// Should make the reader and writer functions AppObjects that can be used as children... |
// ----------
const NORMAL_JSON_FILE = "./zodiac_federal_mp.json";
const ELEMENTS_JSON_FILE = "./zodiac_federal_mp_elements.json";
const PROVINCES_JSON_FILE = "./zodiac_federal_mp_provinces.json";
const UNKNOWN_JSON_FILE = "./zodiac_federal_mp_unknown.json";
const NORMAL_JSON_FR_FILE = "./zodiac_federal_mp_fr.json";
... |
var util = require('../util');
var Model = require('./Model');
var arrayDiff = require('arraydiff');
module.exports = Query;
Model.INITS.push(function(model) {
model.root._queries = new Queries();
if (model.root.fetchOnly) return;
model.on('all', function(segments) {
var map = model.root._queries.map;
f... |
require("./scss/forms.scss");
const smalltalk = require("../minortalk/lib/smalltalk");
export var icons = {};
icons.bold = require("./svg/text_bold.svg");
icons.italic = require("./svg/text_italic.svg");
icons.underline = require("./svg/text_underline.svg");
icons.strike = require("./svg/text_strike.svg");
icons.su... |
function Point() {
'use strict';
this.x = 0;
this.y = 0;
}
function Vector(x,y) {
'use strict';
this.x = x;
this.y = y;
}
function Color() {
'use strict';
this.r = 0;
this.g = 0;
this.b = 0;
this.a = 0;
}
function Particle() {
'use strict';
this.position = new Point();
this.direction = new Vector(0,0)... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Layer = void 0;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _cloneDeep = _interopRequireDefault(require("lodash/cloneDeep"));
var _forEach = _interop... |
var fs = require('fs');
var _ = require('lodash');
var filesRead = 0;
var quarterbackProjectionColumn = 15;
var tailbackProjectionColumn = 14;
var wideoutProjectionColumn = 14;
var tightEndProjectionColumn = 14;
var kickerProjectionColumn = 16;
var defenseProjectionColumn = 12;
var fanduelArray, allQuarterbacks, allTa... |
/**
* ConversationModel
* For managing structured conversations, which could be blog posts
* or actual IBIS trees
*/
'use strict';
var types = require('../../node_modules/tqtopicmap/lib/types'),
icons = require('../../node_modules/tqtopicmap/lib/icons'),
properties = require('../../node_modules/tqtopicma... |
/** The MIT License
Copyright 2020 <NAME> / SousLesens <EMAIL>
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, ... |
/*
* This module is responsible for sending URLs to the
* server for further process.
*/
var server_url = "http://simorgh.filovirid.com/url_check";
chrome.runtime.onMessage.addListener(sendserver);
function sendserver(request,sender,sendResponse){
// get the tabid of the sender
tabid = sender.tab.id
/*
... |
/*************************************************************************/
/* library_pandemonium_input.js */
/*************************************************************************/
/* This file is part of: */
/* ... |
//@ts-nocheck
import React, { Component } from "react";
import { Dimensions, FlatList, Platform, ScrollView, SectionList, StyleSheet, View, Keyboard, TextInput, UIManager, TouchableOpacity, TouchableHighlight, TouchableNativeFeedback, TouchableWithoutFeedback, } from "react-native";
import Animated, { abs, add, and, ca... |
/*****
* Global var declarations
*****/
var app = {
viewmodel: new ViewModel() // Set up a namespace + reference to the view model
},
infowindow, // For the info window on the map
map, // For the Google Maps view
streetview; // For the Google Street View view
/*****
* This is the Knockout viewmod... |
var DEMO_TRACKS = [
{artist: "Digikid84", title: "Continuum", url: "http://cs4806.vk.me/u20109882/audios/fc7df7dfae28.mp3"},
{artist: "Electric Six", title: "Danger! High Voltage!", url: "http://cs4592.vk.me/u507070/audios/e913c75ba0be.mp3"},
{artist: "Scissor Sisters", title: "I Don't Feel Like Dancin'", url: "http... |
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
// Copyright (c) 2015-2016 <NAME>
import fs from 'fs';
import path from 'path';
import electron from 'electron';
import isDev from 'electron-is-dev';
import installExtension, {REACT_DEVELOPER_TOOLS} from 'e... |
/*
* Copyright (c) 2020. by o0River0o. All rights reserved.
* Codes here may not be used for any non-commercial or commercial uses without getting approved by the original author.
* Any use of code from this project should declare the original source it's from
*
*/
const express = require('express')
const router ... |
const start = '<p>\
You are in a forest. Sunlight needles between branches of pine and leafless \
maple, dying the snow a light shade of sherbet. You have walked for quite some \
time, and you think that the sky will dim to night within two hours. \
A new moon will hide its pale face in the shadow of the earth; your li... |
/* eslint-disable react/destructuring-assignment */
/* eslint-disable guard-for-in */
/* eslint-disable no-case-declarations */
/* eslint-disable no-restricted-syntax */
/* eslint-disable no-plusplus */
/* eslint-disable no-shadow */
/* eslint-disable no-unused-vars */
/* eslint-disable eqeqeq */
/* eslint-disable pref... |
import { LightningElement, api, wire, track } from 'lwc';
import { NavigationMixin } from 'lightning/navigation';
import { getObjectInfo } from 'lightning/uiObjectInfoApi';
import { getRecord } from 'lightning/uiRecordApi';
import { constructErrorMessage, extractFieldInfo, isNull, isUndefined, getNamespace } from 'c/ut... |
import React, { useState } from 'react'
import Helmet from 'react-helmet'
import { Link as GatsbyLink } from 'gatsby'
import Layout from '../components/layout'
import Breadcrumbs from '../components/Breadcrumbs'
import {
AspectRatioBox,
Button,
Box,
Flex,
Heading,
Grid,
Icon,
Image,
... |
import React, { useState, useEffect , useRef} from 'react';
import Layout from "../components/navigation/layout/layout";
import SEO from "../components/seo";
import classes from '../styles/immigration.module.scss';
import Select from '../components/ui/select/select';
import Input from '../components/ui/input/input';
... |
import {
ipcMain
} from 'electron'
import {
resolve
} from 'path'
import i18n from '../../comm/i18n'
import {
isDev,
isOSX
} from "../../comm/is";
const pkg = require('../../../package.json')
// this.$ipc.send('new-window', 'http://localhost:9080/#/RTCP2P', 'RTCP2P')
let rtcplugin_self = null;
export class... |
const Syntax = require("../core/Syntax");
class JSXElement extends Syntax{
makeProperty(attrs, level=0, top=true ){
const props = [];
const computed = [];
const isArr = Array.isArray(attrs);
for(var n in attrs){
if( isArr ){
let value = attrs[n];
... |
/* eslint-disable no-restricted-globals */
import { useState } from "react";
import { clipboard } from "electron";
import videoExtensions from "video-extensions";
import imageExtensions from "image-extensions";
import iconv from "iconv-lite";
import moment from "moment-jalaali";
import {
DEFAULT_THEME_COLOR,
defau... |
'use strict';
require('source-map-support').install();
const DefaultContext = require('../../build/jel/DefaultContext.js').default;
const ApproximateNumber = require('../../build/jel/types/ApproximateNumber.js').default;
const JelBoolean = require('../../build/jel/types/JelBoolean.js').default;
const Fraction = requir... |
function main(){
//getProcessos
let p1 = [document.getElementById('p1Chegada').value, document.getElementById('p1Pico').value, document.getElementById('p1Prioridade').value]
let p2 = [document.getElementById('p2Chegada').value, document.getElementById('p2Pico').value, document.getElementById('p2Prioridade')... |
var $tagContactsTable, $contactsModalTable;
var tagContactsdataTable, contactsModaldataTable;
var tagSelect;
var tagUsersSelect;
var contacts;
var tableFilters = {};
$(function () {
$tagContactsTable = $('#tag_contacts_table');
var $tagForm = $('#tag_form'),
$tagId = $('#tag_id'),
$tagSelectBo... |
/* *
*
* (c) 2009-2021 <NAME>
*
* Sonification functions for chart/series.
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import Earcon from './Earcon.js';
import Instrument from './Instrument.js';
import Point from... |
"use strict";
const fs = require('fs');
const path = require('path');
const util = require('util');
const convert = require('../baseConverter.js').jan.ConvertBase;
const helpFunctions = require('../helpFunctions.js').jan;
const libClass = require('../libClass.js')
const Homey = require('homey');
//import * as lib fro... |
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
... |
import Chess from "../lib/chess";
import Vue from 'vue';
import Vuex from 'vuex'
import * as MyFn from "../modules/functions";
import * as apiCalls from "../modules/ajaxCalls";
Vue.use(Vuex)
var userId = $("#userId").val();
const store = new Vuex.Store({
state: {
gameMode: 0,
game: null,
... |
import * as PIXI from 'pixi.js';
import { Howl } from 'howler';
import { Rectangle } from 'yy-intersects';
import EXAMPLE from '../FinishScreen/example.png';
import ARROWS from '../FinishScreen/arrows.png';
import FROGG from '../FinishScreen/frog.png';
import HEADPHONES from '../FinishScreen/headphones.png';
import Sc... |
import React, { useState,useEffect,useContext } from 'react';
import MaterialTable from 'material-table';
import {CChart, CChartLine} from '@coreui/react-chartjs'
import Typography from '@material-ui/core/Typography'
import { Grid, CircularProgress , makeStyles,TextField, MenuItem} from '@material-ui/core';
import Back... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.__RewireAPI__ = exports.__ResetDependency__ = exports.__set__ = exports.__Rewire__ = exports.__GetDependency__ = exports.__get__ = exports.adapterFactory = exports.JasmineAdapter = undefined;
var _isExtensible = require('babel-ru... |
var startImageIndex = 0;
var maxImagesLimit = 50;
var thumbWidth = 300;
var columnMargin = 10;
var columnWidth = thumbWidth + columnMargin;
var columns = [];
var imagesData;
var images = [];
String.prototype.format = function() {
var args = arguments;
return this.replace(/{(\d+)}/g, function(match, number) {
... |
/*
* Copyright (C) 2019 kirenj
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distribute... |
new require('styles/dark')
let audio = require('services/audio')
let socket = require('services/socket')
let wav = require('codecs/wavdecoder')
class Base{
constructor() {}
}
class Example extends Base{
constructor() {
super()
// only available AFTER super!
this.prop = 10
}
method() {
super.method()
}
... |
$(function(){
//{{{ 游戏快速操作部分
// 选号按钮点击事件
$('input.code').live('click', function(){
var $this=$(this);
if($this.is('.checked')){
$this.removeClass('checked');
}else{
$this.addClass('checked');
}
// 重新计算总预投注数和金额
gameCalcAmount();
});
// IE下禁止下连接、按钮、单选框和复选框获得焦点
if($.browser.msie){
$('a, ... |
/** Terminal.js
* A Linux terminal emulator written in JavaScript
* Supports: Scrolling, AutoTyping, Cursor, and custom input evaluation
* Uses jQuery, might create a version sans jQuery
* terminal should be functional and reactive to input.
* Constructor Parameters:
* AutoTyper: specify an auto typer configuration
* s... |
export let types = [
"Helmet",
"Chestplate",
"Leggings",
"Boots",
"Sword",
"Bow",
"Ring",
"Amulet",
"Potion",
"Gem",
"Meat",
"Drop"
]
export let rarities = [
"Common",
"Uncommon",
"Rare",
"Epic",
"Legendary",
]
export let itemNames = {
"Chestplat... |
// TODO : ADD LOGS
// *********** IMPORTS *********
// Express
const express = require("express");
const app = express();
// Settings and Credentials
const fs = require("fs");
var settings = JSON.parse(fs.readFileSync("./settings.json"));
var cred = JSON.parse(fs.readFileSync("./credentials.json"));
// Export
const... |
import React from 'react';
import { StyleSheet, Text, View,TouchableHighlight, AsyncStorage } from 'react-native';
import './global';
import Chain3 from 'chain3';
import {registerUser, removeItem} from './api/accountApi';
import {loginUser} from './api/accountApi';
import {chargeToken} from './api/accountApi';
import {... |
////
//// Determine if the rules in the rules file are true. Complain if not.
//// Usage like:
//// : npm install
//// : node ./check-runner.js -i ./rules.txt
//// : node ./check-runner.js -i ./rules.txt -o ./docs/index.html
//// : node ./check-runner.js -i ./test/rules-tiny.txt -o ./docs/index.html
////
// General.
v... |
/**
* Uselessly rotates your cursor.
* ... with mad respect to CraigIsCool.com for the first version
* @param {Object} [options] - Some options. Sane defaults provided.
* @param {int} [options.speed=40] - ms, how often do we rotate the cursor?
* @param {$} [options.target=*] - cursor change affects what on the pag... |
market_cap = [{
"change": 0.06,
"close": 15.13,
"name": "SVL",
"value": "39901667030.38"
}, {
"change": 0.05,
"close": 1.89,
"name": "AMG",
"value": "967480198.65"
}, {
"change": 0.06,
"close": 3.06,
"name": "CPJ",
"value": "3366000000.00"
}, {
"change": 0.0,
"clo... |
// TODOS
// -[x] Add editing panel + styles from symbiota label generator
// -[x] Method to add fields from csv and not from array
// -[x] Add methods/event listeners for dragging fields
// -[x] Add methods to refresh field list when dragged
// -[x] Create formatting controls
// -[x] Add controls methods
// -[x] Add li... |
/*
* Copyright (c) 2015, 2020 <NAME>
* All rights reserved.
*
* This source code is licensed under the BSD 3-Clause license found in the
* LICENSE file in the root directory of this source tree.
*/
const menuManager = new MenuManager();
const uiManager = new UIManager();
const preferences = new Preferences();
le... |
"use strict";
class MathsTree {
constructor (referenceNode, cloneChildren) {
if (typeof referenceNode === "undefined") {
this.operation = null;
this.data = null;
this.parent = null;
this.children = [];
} else {
this.operation = referenceNode.operation;
this.data = referenceNode.data;
this.par... |
/* eslint-disable react/no-unused-state */
import React, { Fragment, Component } from 'react';
import { Text, View, ScrollView, Alert, KeyboardAvoidingView, Platform } from 'react-native';
import { injectIntl } from 'react-intl';
import Slider from '@esteemapp/react-native-slider';
import get from 'lodash/get';
import... |
var viewBackLeaveQueryInit = false;
var backLeaveListArr = [];
var backLeaveDetailObj = {};
var signToWithdrawReason;
$("#viewBackLeaveQuery").pagecontainer({
create: function(event, ui) {
/********************************** function *************************************/
//獲取銷假單列表——<LayoutHeader... |
/**
* @file Functions related to distributions computation.
* @author <NAME> <<EMAIL>>
*/
/* Start Wrapper private methods - Unit tests usage only */
self.norminv_ = function(p, extendedPrecision) { return norminv_(p, extendedPrecision); }
self.normcdf_ = function(x) { return normcdf_(x); }
self.erf_ = function(x... |
/*! @license ©2014 <NAME> - Multimedia Lab / iMinds / Ghent University */
/** A FirstTriplePatternIterator builds bindings by reading matches for a triple pattern. */
var MultiTransformIterator = require('../iterators/MultiTransformIterator'),
rdf = require('../util/RdfUtil'),
Logger = require('../util/Executi... |
// This set of components wraps and styles the Juniper component and is
// the injection point for instances of <codeblock>
import React, { useState } from 'react';
import { StaticQuery, graphql } from 'gatsby';
import styled, { css, keyframes } from 'styled-components';
import AnimateHeight from 'react-animate-height... |
var opts = {
width: 1000,
height: 600,
view_mode: 'tag'
}
var svg = build_svg(opts)
var view = build_view(opts)
var base = {
nodes: view.nodes,
links: view.links,
}
var base_instances = {
nodes: [],
links: []
}
// test nodes
//for(var i = 0; i < 0; i++) {
// base.nodes.push({id:'I'+i, fake:true})
... |
// Multiplayer stuff -----------------
const HOST = "http://localhost";
const PORT = 8000;
import Player from '/imports/player.js';
import Human from './imports/human.js';
import Deck from './imports/deck.js';
import Game from './imports/game.js';
import Speaker from './imports/speaker.js';
import * as tools f... |
const uuidv1 = require('uuid/v1');
const fs = require('fs-extra');
const uuidv4 = require('uuid/v4');
const crypto = require('crypto');
const request = require('request');
const shortid = require('shortid');
const moment = require('moment');
const Clarifai = require('clarifai');
const cheerio = require('cheerio');
cons... |
'use strict';
var fs = require('fs');
var express = require('express');
var jade = require('jade');
var couchbase = require('couchbase');
var _ = require('underscore');
var Q = require('q');
var AWS = require('aws-sdk');
AWS.config.region = 'us-east-1';
var ViewQuery = couchbase.ViewQuery;
var ENTRIES_PER_PAGE = 30;
... |
var fs = require('fs');
var gameid = "asdf";
fs.readFile("gameid.txt", {encoding: 'utf-8'}, function(err,data){
if (!err) {
gameid = data;
} else {
console.log(err);
}
});
//var gameid = 'h09u';
var io = require('/usr/local/lib/node_modules/socket.io/node_modules/socket.io-client');
var... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.__RewireAPI__ = exports.__ResetDependency__ = exports.__set__ = exports.__Rewire__ = exports.__GetDependency__ = exports.__get__ = undefined;
var _isExtensible = require('babel-runtime/core-js/object/is-extensible');
var _isExte... |
var img_path = img_path || "/pk10/",
zy = zy || {},
socket, ifa_height = ifa_height || 650;
zy.kb0init = function() {
var a = '<input placeholder="' + (lang_cfg.tips || '车道/车号/金额') + '" type="text" id=\'Message\'/>';
a += '<img src="' + site_url + '/Public/images/kb.png" class="keybord">';
a += '<sp... |
const diffBotAnalyze = require('../../utils/pageparser').diffBotAnalyze,
Sequelize = require('sequelize'),
_ = require('lodash'),
sequelizeConnection = require('../model/sequelize.js'),
Jimp = require('jimp'),
pareLinksHtml = require('../../utils/pageparser').pareLinksHtml,
isValidURI = require(... |
var ASSET_VERSION = (new Date()).getTime();
var BASE_PATH = 'assets/';
var player;
var facing = 'left';
var jumpTimer = 0;
var cursors;
var floor;
var jumpButton;
var bg;
var desk;
var lamp;
var glass;
var smallTable;
var gift;
var cat;
var gameHouse = function (game) {
}
gameHouse.prototype = {
init: function(s... |
//functions to convert hex to rgb values
function hexToR(h) {
return parseInt((cutHex(h)).substring(0, 2), 16) / 255;
}
function hexToG(h) {
return parseInt((cutHex(h)).substring(2, 4), 16) / 255;
}
function hexToB(h) {
return parseInt((cutHex(h)).substring(4, 6), 16) / 255;
}
function cutHex(h) {
return (h.... |
// Copyright <NAME>, Web Site Design s.r.o. (www.petersirka.sk)
//
// 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, c... |
const Discord = require("discord.js");
const client = new Discord.Client();
const fs = require("fs");
const ms = require('ms')
const path = require("path");
const giveaways = require("discord-giveaways")
const prefix = "#g";
client.on("ready", () => {
console.log("I'm ready !");
giveaways.launch(client, {
... |
var $ = jQuery;
function maxAdmin()
{ }
maxAdmin.prototype = {
//initialized: false,
colorUpdateTime: true,
colorPalettes: true,
fields: null,
button_id: null,
form_updated: false,
tabs: null,
}; // MaxAdmin
maxAdmin.prototype.init = function () {
this.button_id = $('input[name="button_id"]').val();
... |
/*
*
* PictogramsView
*
*/
import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import ImmutablePropTypes from 'react-immutable-proptypes'
import { connect } from 'react-redux'
import { injectIntl, FormattedMessage } from 'react-intl'
import View from 'components/View'
import DivSearchBox... |
/// <reference types="@types/jasmine" />
const { BPlusTree, BinaryWriter, BinaryBPlusTree, BlacklistingSearchOperator } = require('../src/btree');
const { ID } = require('acebase-core');
// require('jasmine');
describe('Unique Binary B+Tree', () => {
// Tests basic operations of the BinaryBPlusTree implementation
... |
import OnUseEffect from "./onUseEffects.js";
export default class TokenHotbar2 extends Application {
static registerTokenHotbar() {
if (!game.dsa5.apps.tokenHotbar) game.dsa5.apps.tokenHotbar = new TokenHotbar2()
}
constructor(options) {
super(options);
this.combatSkills = ["selfC... |
/* List 资金管理/结算查询 */
// ==================
// 所需的各种插件
// ==================
import React from "react";
import { connect } from "react-redux";
import { bindActionCreators } from "redux";
import P from "prop-types";
import {
Form,
Button,
Icon,
Input,
Table,
message,
InputNumber,
Cascader,
Modal,
Ra... |
//nano-base32 from https://github.com/termhn/nano-base32/blob/d6b160aba47595180b67cc8a30096a11525e4010/index.js
//blake2b from https://github.com/emilbayes/blake2b/blob/f0a7c7b550133eca5f5fc3b751ccfd2335ce736f/index.js
const alphabet = '13456789abcdefghijkmnopqrstuwxyz'
/**
* Encode provided Uint8Array using the Na... |
'use strict';
const cloneDeep = require('lodash/cloneDeep');
const uuidv4 = require('uuid/v4');
const subscriptionHelper = require('../helpers/subscriptionHelper');
const arrayHelper = require('../helpers/arrayHelper');
const consoleHelper = require('../helpers/consoleHelper');
const stepModules = require('../writer/... |
'use strict'
const common = require('../common.js');
const app = require('../../app.js');
const logger = require('../logger.js');
const db = require('../db.js');
const schedule = require('node-schedule');
const sleep = require('sleep-promise');
const request = require('request');
exports.description = 'Dota... |
const WEBKIT = '-webkit-'
const MOZ = '-moz-'
const MS = '-ms-'
const FLEX = 'flex-'
const $1 = '$1'
const $2 = '$2'
function charCodeAt(s, code) {
return s.charCodeAt(code)
}
function replace(s, i, o) {
return s.replace(i, o)
}
function indexOf(s, a, b) {
return s.indexOf(a, b)
}
function substring(s, a, b) {
... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
/**
* Porsche.js is licensed under the MIT license. If a copy of the
* MIT-license was not distributed with this file, You can obtain one at:
* http://opensource.org/licenses/mit-license.html.
*
* @author: <NAME> (<EMAIL>)
* @license MIT
* @copyright <NAME>, 2015
*/
"use strict";
var Class = require("../class");
var E... |
/**
* @properties={typeid:24,uuid:"827314D4-D66D-438E-B2CF-D256456A1F74"}
*/
function setUp() {
scopes.sharedTestUtils.setUp();
}
/**
* @properties={typeid:24,uuid:"E8912F18-F70E-49AC-BD02-8BA67F31CD8A"}
*/
function tearDown() {
scopes.sharedTestUtils.tearDown();
}
/**
* @properties={typeid:24,uuid:"4DE2... |
import React from 'react'
import getTranslation from '../../../../i18n/'
import AttributeTable from './AttributeTable'
import ReportMaps from './ReportMaps'
import UnitTable from './UnitTable'
import InfoText from './InfoText'
import ReportLegend from './ReportLegend'
import { featureRequest } from '../../helper'
impor... |
"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 ... |
/**
* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... |
/**
* @licstart The following is the entire license notice for the
* Javascript code in this page
*
* Copyright 2020 Mozilla Foundation
*
* 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... |
import React, {useState, useEffect, useRef, useCallback} from 'react';
import * as d3 from 'd3';
import {
preprocessTimeseries,
sliceTimeseriesFromEnd,
} from '../utils/common-functions';
import {useResizeObserver} from '../utils/hooks';
import {formatNumber} from '../utils/common-functions';
function TimeSeries(p... |
const React = require('react')
const { Component } = React
const h = require('react-hyperscript')
const Tooltip = require('../tooltip.js')
const TabBar = require('../tab-bar')
const { checkExistingAddresses } = require('./util')
const { getCurrentKeyring, ifContractAcc, isValidAddress } = require('../../util')
const To... |
// Signs-in.
function signIn() {
// Sign in Firebase using popup auth and Google as the identity provider.
var provider = new firebase.auth.GoogleAuthProvider();
firebase.auth().signInWithPopup(provider);
}
// Signs-out.
function signOut() {
// Sign out of Firebase.
firebase.auth().signOut();
}
// Initiate ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _table = _interopRequireDefault(require("../../table"));
var _xeUtils = _interopRequireDefault(require("xe-utils/methods/xe-utils"));
var _conf = _interopRequireDefault(require("../../conf"));
var _tools = ... |
/** ***********************************************
* Copyright (c) 2018 Ansible, Inc.
*
* All Rights Reserved
************************************************ */
const JOB_TEMPLATE_ALIASES = ['job_template', 'Job Template'];
const WORKFLOW_TEMPLATE_ALIASES = ['workflow_job_template', 'Workflow Job Template'];
con... |
"use strict";
/*
* Copyright 2007 ZXing authors
*
* 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 a... |
/*
new syntax:
#foo and `foo match the string object 'foo' (it's also accepted in my JS)
'abc' match the string object 'abc'
'c' match the string object 'c'
``abc'' match the sequence of string objects 'a', 'b', 'c'
"abc" token('abc')
[1 2 3] match the array object [1, 2, 3]
foo(bar)... |
import fs from 'fs';
import path from 'path';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import glob from 'tiny-glob/sync.js';
import vite from 'vite';
import { rimraf } from '../../utils/filesystem.js';
import { deep_merge } from '../../utils/object.js';
import { print_config_conflicts } from '../config... |
'use strict';
// ---------------------------------------------------------------------------
const Exchange = require ('./base/Exchange');
const { ExchangeError, AuthenticationError } = require ('./base/errors');
// ---------------------------------------------------------------------------
module.exports = class... |
import React from 'react'
import './bootstrap.min.css'
import './styles.css'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import { Form, Field } from 'simple-react-form'
import ArrayComponent from 'simple-react-form-material-ui/lib/array'
import Text from 'simple-react-form-material-ui/lib/text'
... |
import React, { Component } from 'react';
import { withTranslation } from 'react-i18next';
// import { MdEdit, MdDone, MdClear } from "react-icons/md";
import { apiPostVerify,
// apiGetWithdrawCurrency,
apiGetWithdrawBank,
apiGetWithdrawReceipt,
apiPostWithdrawConfirm
} from ... |
/**
* File: core.js
* Created Date: Sunday January 14th 2018
* Author: modifided from http://mj89sp3sau2k7lj1eg3k40hkeppguj6j-a-sites-opensocial.googleusercontent.com/gadgets/ifr?url=http://www.gstatic.com/sites-gadgets/iframe/iframe.xml&container=enterprise&view=default&lang=en&country=ALL&sanitize=0&v=1cbf636963b6... |
import async from 'async';
import _ from 'underscore';
import lodash from 'lodash'
import groupByTime from 'group-by-time';
import {xhrDashBoardClient, AccountsURL} from '../xhrClient'
const queryLabels = ['equalTo', 'notEqualTo', 'greaterThan', 'startsWith'];
import {browserHistory} from "react-router";
export const ... |
"use strict";
var CP437_TO_UNICODE = {
0:0, 1:9786, 2:9787, 3:9829, 4:9830, 5:9827, 6:9824, 7:8226,
8:9688, 9:9675, 10:9689, 11:9794, 12:9792, 13:9834, 14:9835, 15:9788,
16:9658, 17:9668, 18:8597, 19:8252, 20:182, 21:167, 22:9644, 23:8616,
24:8593, 25:8595,26:8594, 27:8592, 28:8735, 29:8596, 30:9650, ... |
const ONCLICK_PURGABLE_MODIFIERS = new Set(['modifier_doppelganger_mimic']);
var BossDropVoteTimers = [],
HookedAbilityPanelsCount = 0;
const goldLabel = findDotaHudElement('ShopButton').FindChildTraverse('GoldLabel');
const abilitiesPanel = findDotaHudElement('abilities');
const minimapBlock = findDotaHudElement('... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.