text stringlengths 8.5k 48.7k |
|---|
var siteinfo = [], custom_info = {}, timestamp, site_stats = {}, site_fail_stats = {},
H = location.href.replace('index.html', ''),
MICROFORMATs = [{
MICROFORMAT: true,
url: '^https?://.',
nextLink: '//a[@rel="next"] | //link[@rel="next"]',
insertBefore: '//*[contains(concat(" ",... |
/*
* REOA Addresses for test
*/
var userAddr = '0x408306bca6f0b15da485d8009cb0e12dfe0ef28c';
var ownerAddr = '0x128a8b8c9507aec53d949c53d5be57c4d98f9256';
var contractAddr = '0xaa7De5581188449339058e5908fC0B06e61db3f9';
var version = '3';
/*
* Query weather & date infos
*/
var infos = [];
queryInfos();
/*
* Read... |
import React from "react";
import { connect } from "react-redux";
import TagsInput from "react-tagsinput";
import { PropTypes } from "prop-types";
import FileSelector from "../../main/components/FileSelector";
import SearchCompetition from "../../main/components/SearchCompetition";
import SeasonSelector from "../../mai... |
/*
spfwfss.js
Spherical particle floating on waving fluid surface
<NAME> | <EMAIL>
Nurhayati | <EMAIL>
<NAME> | <EMAIL>
<NAME> | <EMAIL>
20180713
Start creating this application based on slide posted at
https://osf.io/94vsk/
20180714
Continue creating the application.
20180802
Fix water viscosity value... |
import React from 'react';
import {Button, Card, Form, Icon, Input, Popover, Select, Slider, Switch, Tooltip, Alert, Row, Col} from 'antd';
import validator from '../../../common/Loopring/common/validator'
import {generateAbiData} from '../../../common/Loopring/ethereum/abi';
import {configs} from '../../../common/conf... |
var isedit = 1,qmimgstr='',isxiang=1,alldata={},data={};
function othercheck(){}
//函数触发
function oninputblur(name,zb,obj){};
function initbody(){
js.inittabs();
$('body').click(function(){
$('.menullss').hide();
});
$('body').keydown(c.onkeydown);
$('#showmenu').click(function(){
$('.menullss').toggle();
r... |
/**
* Initial setup
*
*/
window.app_state = {
// data from model
all_flows: [], // array of arrays of from-to-sector-value flows (maintain history)
all_gdps: [], // array of objects of player country gdps (maintain history)
// base data loaded at init: will not change
countries: {}, // object map to lookup cou... |
"use strict";
// Packages
const Foswig = require("foswig");
const fitText = require("FitText-UMD");
const prefixes = ["Attraction based gender: ", "Musicgender: "];
const genders = [
":ji",
"¿gender",
"45X",
"46XY",
"Abditusgender",
"Sectiogender",
"Abimegender",
"Abinary",
"Abrogender",
"Absorgen... |
/*
* Copyright (c) 2000-2018 TeamDev. All rights reserved.
* TeamDev PROPRIETARY and CONFIDENTIAL.
* Use is subject to license terms.
*/
/*
This module provides utilities for testing custom elements and JavaScript code
in general.
Functions in this file assume that the
[Chai Assertion Library](http://www.... |
var Clapp = require('../modules/clapp-discord');
var request = require('request-promise');
var fs = require('fs');
var translate = require('google-translate-api');
var Table = require('easy-table');
var client = require('../modules/BFDBReader-node/data_tier_client.js');
var common = require('../modules/Bluubot-common')... |
/*
Copyright (c) 2021 NCC Group Security Services, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditio... |
global.DEG2RAD = 0.0174532925;
global.RAD2DEG = 57.295779578552306;
global.EPSILON = 0.000001;
/**
* Tells if one number is power of two (used for textures)
* @method isPowerOfTwo
* @param {v} number
* @return {boolean}
*/
global.isPowerOfTwo = GL.isPowerOfTwo = function isPowerOfTwo(v)
{
return ((Math.... |
const crawl = require("./src/puppeteer_utils.js").crawl;
const http = require("http");
const express = require("express");
const serveStatic = require("serve-static");
const fallback = require("express-history-api-fallback");
const path = require("path");
const nativeFs = require("fs");
const mkdirp = require("mkdirp")... |
set_state();
/* Get custom refresh interval, default = 30 seconds*/
var refresh_interval = parseInt(document.getElementsByName('refresh_interval')[0].value);
if (!(typeof(refresh_interval) !== 'undefined')) refresh_interval = 30;
if (refresh_interval == null || refresh_interval == NaN) refresh_interval = 30;
else if (... |
'use strict';
import sortBy from 'lodash/sortBy';
const data = {
lookups: {}
};
// ScrollTo
data.scrollItems = [{
target: '#anchorDemo',
trigger: '#navDemo'
}, {
target: '#anchorGetStarted',
trigger: '#navGetStarted'
}, {
target: '#anchorDocumentation',
trigger: '#navDocumentation'
}, {
... |
'use strict'
import Xg from './ex/xg'
import Dom from './inc/dom';
import Music from './inc/music'
import {p,rand,now,post,inQ,ww,wh} from './inc/func'
import Touch from './inc/touch'
import Index from './page/index'
import Play from './page/play'
import Comm from './page/comm'
window.ctx = canvas.getContext('2d');
wi... |
//realtime
//external modules
var cookie = require('cookie');
var cookieParser = require('cookie-parser');
var url = require('url');
var async = require('async');
var LZString = require('lz-string');
var randomcolor = require("randomcolor");
var Chance = require('chance'),
chance = new Chance();
var moment = requir... |
/*
* Copyright (c) 2014-2017 <NAME>
* Apache License Version 2.0, January 2004, http://www.apache.org/licenses/LICENSE-2.0
*/
import {tryCatch, props, setProp, _global,
getPropertyDescriptor, getArrayOf, extend} from '../functions/utils';
import {nop, callBoth, mirror} from '../functions/chaining-functions';
imp... |
"use strict";
/*
* Copyright 2008 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... |
// **********************
// * Sheet Column Index *
// **********************
// Production - https://docs.google.com/spreadsheets/d/1jXtRCoEnnFNWj6_oFlVWflsf-b0jkfZpyhN-BXsv7uo/edit#gid=0
// Should be 1-based for writing to sheet, 0-based when working with arrays
var MANUFACTURER = 0;
var MODEL = 1;
var NAME = 2;
var... |
//pretty self-explanatory don't really need to say much about this file - CreaturePhil
const MAX_REASON_LENGTH = 300;
var cmds = {
sh: 'servercommands',
serverhelp: 'servercommands',
sc: 'servercommands',
servercommand: 'servercommands',
servercommands: function(target, room, user) {
if (!this.canBroadcas... |
'use strict';
var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, '__esModule', {
value: true
});
var React = require('react');
var Trigger = require('rc-trigger');
var KeyCode = require('rc-util/lib/KeyCode');
var arrayTreeFilter = require('array-tree-filter');
var Checkbox ... |
/**
* onedrive
*/
const { URL } = require('url')
const urlFormat = require('url').format
const protocol = 'onedrive'
const crypto = require('crypto')
const querystring = require('querystring')
const support_zone = {
'COM': [
'https://login.microsoftonline.com',
'https://graph.microsoft.com',
'http... |
import React, { Component } from "react";
import { Route, withRouter } from "react-router-dom";
import axios from "axios";
import update from "react-addons-update";
import Konva from 'konva'
import {Image, Rect,} from "react-konva";
import {Storage, StorageInit, URL} from './components/Storage'
import MainPage from '.... |
import { TILE_SIZE } from '../utils/Constants';
export var TemplatedTileLayer = L.TileLayer.extend({
// a TemplateTileLayer is similar to a L.TileLayer except its templates are
// defined by the <extent><template/></extent>
// content found in the MapML document. As such, the client map does not
// 'r... |
/**
* 可拖拽变换组件
* 四个顶点 都是等比缩放 nw ne sw se 以Y轴为参考(敲黑板)
* 四个边点 需判断是否等比缩放 n w e s
*/
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { fromJS } from 'immutable';
import {
Line,
Rotate,
RoDrag,
TransCtrl,
TranContainer,
ContrlArrow,
ArrowLeftTop,
ArrowRightTop,
... |
const _ = require('lodash');
const formatters = require('./src/formatters');
const Logger = require("./src/logger");
// set defaults:
let setup = {
ampscript: {
capitalizeAndOrNot:true,
capitalizeIfFor:true,
capitalizeSet:true,
capitalizeVar:true,
maxParametersPerLine: 4
},
editor: {
ins... |
const GRAPH_STYLE = [
{
selector: 'node',
style: {
'label': 'data(label)',
'shape': 'round-rectangle',
'width': 'label',
'height': 'label',
'padding': 5,
'text-valign': 'center',
}
},
{
selector: 'edge',
... |
const {
map,
filter,
concatMap
} = rxjs.operators;
const {
Observable
} = rxjs;
function computeObjective(evac, population) {
var carrying_sum = population / evac.population_capacity
var density_sum = population / evac.floor_space
return carrying_sum + density_sum;
}
/**
* class defines ... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { withStyles } from 'material-ui/styles'
import ReactPlaceholder from 'react-placeholder'
import Moment from 'moment'
import Grid from 'material-ui/Grid'
import Card, { CardActions, CardContent } from 'material-ui/Card'
import Dialog, {... |
/*
MIT License (MIT)
Copyright (c) <NAME>. All rights reserved.
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, ... |
var _extends =
Object.assign ||
function(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
... |
"use strict";
/*
elm-codegen Gen.elm --output=./dir
-> compile the elm file and run it via the index.js runner
elm-codegen Gen.elm --watch
-> recompile and run when the file changes
elm-codegen install elm/json --output=./dir
-> generate bindings for the elm/json package based on ... |
var GameLayer = cc.Layer.extend({
space: null, //contain all physic
_debugNode: null, //show element physics
_showDebugger: false,
_effectNode: null,
_allOfPets: [],
_testMode: false,
_commontype: startWithType,
_shuffle: shuffleObj,
ctor: function() {
this._super();
... |
var GLOBAL = {
BUCHAREST_CENTER_LAT: 44.437,
BUCHAREST_CENTER_LON: 26.097,
mapDiv: undefined,
map: undefined,
options: undefined,
startMarker: undefined,
endMarker: undefined,
startInfoWindow: undefined,
endInfoWindow: undefined,
startLocation: undefined,
endLocation: undefined,
... |
const util = require('../../helpers/util.helper');
const db = require('../../helpers/db.helper');
const mail = require('../../helpers/mail.helper');
const crypto = require('../../helpers/crypto.helper');
const scrypt = require("scrypt");
const NodeRSA = require('node-rsa');
const async = require('async');
require('dote... |
"use strict";
exports.__esModule = true;
exports.default = exports.Consumer = exports.Provider = void 0;
var _topeka = require("topeka");
var _omit = _interopRequireDefault(require("lodash/omit"));
var _pick = _interopRequireDefault(require("lodash/pick"));
var _propertyExpr = _interopRequireDefault(require("prope... |
const config = require('config')
const fs = require('fs-extra')
const path = require('path')
const express = require('express')
const slug = require('slugify')
const shortid = require('shortid')
const multer = require('multer')
const Ajv = require('ajv')
const ajv = new Ajv()
const axios = require('axios')
const { Rate... |
const glob = require('glob');
const fs = require('fs-extra');
const Promise = require('bluebird');
const webpackModule = require('webpack');
const globalIcons = require('./lib/globalIcons');
const path = require('path');
const express = require('express');
const { stripIndent } = require('common-tags');
module.exports... |
"use strict";
const ECGEN_BASE_PLAYERS = 4; // assume a party size of four
class BestiaryPage extends ListPage {
constructor () {
super({
pageFilter: new PageFilterBestiary(),
sublistClass: "subcreatures",
dataProp: ["creature"],
});
this._multiSource = new MultiSource({
fnHandleData: this._addCrea... |
/* jshint node: true */
'use strict';
var gulp = require('gulp'),
FetchStream = require('fetch').FetchStream,
fs = require('fs'),
inquirer = require('inquirer'),
install = require('gulp-install'),
q = require('q'),
rename = require('gulp-rename'),
replace = require('gulp-replace'),
pkgSettings = requi... |
import Page from 'components/Page';
import {
Col, Row, Table,Label, Input, Button, ButtonGroup, Card, Modal, ModalHeader, ModalBody, ModalFooter,
UncontrolledButtonDropdown, DropdownToggle, DropdownMenu, DropdownItem
} from 'reactstrap';
import React from 'react';
import { Tab, Tabs, TabList, TabPanel } from 'r... |
// ------------------------------------------------
// ------------------------------------------------
// Utils
function get_key(e) {
var keynum;
keynum = (window.event)
? e.keyCode
: ( (e.which) ? e.which : keynum );
return String.fromCharCode(keynum);
}
function get_style(el,style_prop) {
var o = null;
i... |
/**
* @fileoverview Rules around placement of braces.
* @author <NAME>
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var rule = require("../../../lib/rules/brace-on-s... |
/*
* Main PixelPusher JS Code. This includes all functions and
* functionality needed for the web based PixelPusher end user.
*/
var X_SEATS = 3;
var Y_SEATS = 3;
var intervalVar;
var timeout1;
var timeout2;
var timeout3;
var timeout4;
var timeout5;
var isSeatConfirmed = false;
var appInfo;
var sectionValue;
var rowV... |
$(document).ready(function () {
var app_url = $('#app_url').attr('url');
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
/**
* LISTADO DE CLIENTES VEHICULOS
*/
/**
$('#PresupuestosDataTable').DataTable({
dom : "<'row'<'col-sm-3'l><'col-sm-6'f>>" +
"<'row'<'co... |
/* ASTEROIDS - <NAME> - http://www.matthew-e-brown.com/
* Created October 20th, 2018, ~12:00pm until October 25th, 2018, ~4:35PM
* A recreation of the classic Atari 1979 arcade game. */
/* My high score is: 31700 on wave 6 */
/* Boolean variables which are set to true when
* their respective keys are held down, an... |
(function (window) {
"use strict";
//Global configs and functions shared between js
window.UNKNOWN_ERROR = -1;
window.NO_MORE_DATA = -2;
window.MODULE_NOT_FOUND = -3;
window.numberWithCommas = function (x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
};
window.spi... |
/**
* @private
* @module tibetan-sort-js
* @license MIT
* @author <NAME> (Buddhist Digital Resource Center)
*/
/**
* The source of data, a decorated prefix tree (or Trie), that we will fill in
* the init() function.
*
* A trie node is as follows:
* {
* prim: primary weight of the node (optional)
* ... |
// Adapted from nvd3.org Line With View Finder
// http://nvd3.org/examples/lineWithFocus.html
// and multichart http://nvd3.org/examples/linePlusBar.html
import d3 from 'd3';
const twoAxisFocusChart = function() {
"use strict";
//============================================================
// Public Varia... |
/// <reference path = "gl-matrix.d.ts" />
var canvas;
var gl;
var Int;
var MainGraph;
var CurveShader; // @TODO: assets class
var ArushiTexture;
var EquationText;
var Button;
window.onload = function () {
EquationText = document.getElementById("equation");
Button = document.getElementById("button");
canvas ... |
var sales_orderkey;
function saveSalesOrdersHeader() {
var ordernum = $("#sales_order_number").val();
var parent = $("#parent").val();
var ordertype = $("#sales_order_type option:selected").val();
var orderstatus = $("#salesOrderStatus option:selected").val();
var customerid = $("#customer_id option:selected... |
import {Mob} from "./mob.js";
import {DropItem} from "./drop_item.js";
import {ServerChat} from "./server_chat.js";
import {ChestManager} from "./chest_manager.js";
import {WorldAdminManager} from "./admin_manager.js";
import {ModelManager} from "./model_manager.js";
import {PlayerEvent} from "./player_event.js";... |
import React, { PureComponent, Fragment } from 'react';
import { connect } from 'dva';
import Link from 'umi/link';
import router from 'umi/router';
import { Logic } from '@/defaultSettings';
import moment from 'moment-timezone';
import { BugReporter } from 'simple-bug-reporter';
import { formatMessage, getLocale } fro... |
/*
Copywrite 2013, 4thTemple.com, FourthTemple.org.
the idea with this handler is to manage the global location settings
at very least, bounding boxes need to be mantained from the graphics side
*/
// should have some addition methods....
// shouldnt allow a tab to go negative
// should get the max height/widhth of al... |
/*
**********************************************************************************************************************************
*
* Version for browsers:
* Copyright (c) 2013 Andr3as
* Released under MIT license.
*
********************************************************************************************... |
var fees = [];
var fees2 = [];
var flag_create_fpd =0 ;
var table_fpd = $('#id-tbl-fpd').DataTable({
"columnDefs": [
{
'bSortable': true,
"targets": [ 4,9 ],
"visible": false,
"responsive": true,
}
],
"scrollY": "370px",
"scrollCollapse": true,
"paging": false,
});
... |
////////////////////////////////////////////////////////////////////////////////////////////////////
// this will contain all the notification messages to display in the notification log:
var notifications = [];
// this hashmap will contain the last line number we have received data about for running jobs:
var running... |
// gameCore.ai.performMoveHvsAI(2,3,0,3)
var display = {
removeFlag:function(player){
if(player == 1)
playerOneFlag = false;
else
playerTwoFlag = false;
},
//The computer is always player1 (p1)
color:function(quad, node, p1, p2){
if(1<<(quad*5 + node)&p1)
return "C" // for Human
else if(1<<(quad*... |
import {
getBreak,
getCommonCard,
getCommonContainer,
getCommonHeader,
getCommonSubHeader,
getCommonTitle,
getSelectField,
getLabel,
} from "egov-ui-framework/ui-config/screens/specs/utils";
import { showHideAdhocPopup } from "../utils";
import {
getTenantId,
setapplicationType,
... |
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import SplitterLayout from 'react-splitter-layout';
import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import Toolbar from '@material-ui/core/Toolbar';
import LinearProgress from '@material-ui/core/... |
import React from 'react';
const Home = () => {
return (
<svg width="60px" height="100px" viewBox="0 0 313 514" version="1.1">
<title>Home Building</title>
<defs>
<rect id="path-1" x="40" y="117" width="56" height="5"></rect>
<rect id="path-2" x="56" y="144" width="85" height="6"></rect... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _regenerator = require("babel-runtime/regenerator");
var _regenerator2 = _interopRequireDefault(_regenerator);
var _asyncToGenerator2 = require("babel-runtime/helpers/asyncToGenerator");
var _asyncToGenerator3 = _interopRequireDef... |
var iconSize = 48;
var colorChoosePanelStroke = null;
var colorChoosePanelFill = null;
function createContextMenu() {
var contextMenu = new sap.ui.unified.Menu(
{
items: [
new sap.ui.unified.MenuItem( {
text: "Show/hide toolbar",
//ico... |
//todo
// pageURL refURL protocol related functions
// forEachOnArray
var CONSTANTS = require("./constants.js");
var BID = require("./bid.js");
var bidManager = require("./bidManager.js");
var debugLogIsEnabled = false;
/* start-test-block */
exports.debugLogIsEnabled = debugLogIsEnabled;
/* end-test-block */
var v... |
/**
*
* ©2016-2017 EdgeVerve Systems Limited (a fully owned Infosys subsidiary),
* Bangalore, India. All Rights Reserved.
*
*/
/**
* This is the companion js file of the BaseUSer Model. BaseUser model derived from loopback user model
* this has got overriden functions like hasPassword and OTP related functions
... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const Fragment = Symbol("Fragment");
const Text = Symbol("Text");
function createVnode(type, props, children) {
const vnode = {
type,
props,
children,
next: null,
component: null,
... |
'use strict';
/////////////////////////////////////////////////////////////////
// module globals
/////////////////////////////////////////////////////////////////
const fs = require('fs');
const os = require('os');
const tmp = require('tmp');
const child_process = require('child_proces... |
/* *
*
* Highcharts funnel3d series module
*
* (c) 2010-2020 Highsoft AS
*
* Author: <NAME>
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../parts/Globals.js';
import Color from '../parts/Color.js... |
function _typeof(obj) {
"@babel/helpers - typeof";
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && ob... |
/**
Copyright 2015 Couchbase, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... |
// ==UserScript==
// @name Undiscord - Delete all messages in a Discord channel or DM (Bulk deletion)
// @description Extends the discord interface so you can mass delete messages from discord
// @namespace https://github.com/victornpb/deleteDiscordMessages
// @version 4.0
// @match https:/... |
// Generic ANTLR parser class with AST-building functions
// To have an AST also in the case of syntax errors, produce it by adding
// sub-nodes to a parent node, not by returning sub-ASTs (the latter is fine
// for secondary attachments).
'use strict';
const antlr4 = require('antlr4');
const { ATNState } = require(... |
/*
faust2webaudio
Primarily written by <NAME>
During the Spring 2013 offering of Music 420b with <NAME>
A bit during the Summer of 2013 with the help of <NAME>
And finally a sprint during the late fall of 2013 to get everything working
A Special thanks to <NAME> and <NAME>
faust2webaudio is distributed under t... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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 ("va... |
var test = require('tape')
var mingo = require('../dist/mingo')
var samples = require('./support')
var ObjectId = require('bson').ObjectId
var _ = mingo._internal()
var idStr = "123456789abe"
var obj = samples.personData
obj['_id'] = new ObjectId(idStr)
obj['today'] = new Date()
// test configurations
mingo.setup({
... |
var manageOrderTable;
$(document).ready(function() {
$("#paymentPlace").change(function(){
if($("#paymentPlace").val() == 2)
{
$(".gst").text("IGST 18%");
}
else
{
$(".gst").text("GST 18%");
}
});
var divRequest = $(".div-request").text();
// top nav bar
$("#navOrder").addCla... |
// wink-tokenizer
// Multilingual tokenizer that automatically tags each token with its type.
//
// Copyright (C) 2017-20 GRAYPE Systems Private Limited
//
// This file is part of “wink-tokenizer”.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this sof... |
import { apiValue, isDate, mapGet, padInt, $1, enc, resolve, lastRightPart } from "@servicestack/client"
import { MetadataOperationType, AuthenticateResponse } from "../../lib/types"
import { Types } from "./Types"
/*minify:*/
/** @template T,V
@param {*} o
@param {(a:T) => V} f
@returns {V|null} */
export... |
"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
exports.__esModule = true;
exports.TestThenableSync = exports.ITERATOR_GENERATOR = exports.ITERABLE = exports.FUNC = exports.THEN_LIKE = exports.OBJ = exports.ThenType = exports.ValueType = void 0;
var _constr... |
jQuery(document).ready(function($) {
$(".fancybox").fancybox();
// tinymce.init({
// selector: 'textarea', // change this value according to your HTML
// auto_focus: 'element1'
// });
if ($('.lk_menu').length) {
$('html,body').animate({
scrollTop: $('.lk_menu').offset... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
/*
pxCore Copyright 2005-2018 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... |
/**
* Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
* source code is governed by a BSD-style license that can be found in the
* LICENSE file.
*/
/**
* PHASES
* 1) Load next event from server refresh every 30 minutes or every time
* you go to calendar or every time you logout drop ... |
require('cp');
require('elem');
require('./page.css');
const config = require('configModule');
const libs = require('libs');
var tinymce = require('tinymce/tinymce');
require('tinymce/themes/modern/theme');
require('../../../public-resource/tinymce/langs/zh_CN');
require('tinymce/plugins/paste');
require('tinymce/plug... |
/**
* Copyright (c) Lilith Games, Avatar Team, Boom! Party. 2021. All Rights Reserved.
*
* This file is licensed under the MIT License.
* License text available at https://opensource.org/licenses/MIT
*
* @summary Excel转Lua的核心功能
* @author <NAME> <https://github.com/deep-river>
*/
const util = require("util")
... |
function get_intro_condition() {
// mmcguire
// reads intro-choice and adds 'no_intro' class to body, to hide intro and show colorwheel
var body = $('body');
if (localStorage) {
var condition = localStorage.getItem("introCondition");
body.addClass(condition);
}
}
function set_intro_condition() {
... |
import * as PIXI from 'pixi.js-legacy';
import {PixiTextSize} from '../../../utilities';
import {Subject} from 'rx';
import ExpandedState from './expandedState';
import config from '../../whole-genome-config';
import {ColorProcessor} from '../../../utilities';
import {
drawingConfiguration
} from '../../../core';... |
var gulp = require('gulp');
var less = require('gulp-less');
var minifycss = require('gulp-minify-css');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var zip = require('gulp-zip');
var del = require('del');
var fs = require('fs');
var process = require('... |
/*jshint maxerr:10000*/
/*jshint shadow:false*/
/*jshint undef:true*/
/*jshint browser:false*/
/*jshint node:true*/
/*jshint devel:true*/
/*jshint unused:true*/
/*jshint -W119*/
let inclusionsBegin;
var
fs = require('fs'),
path = require("path"),
zlib = require('zlib'),
poly = require("./src/polyfills.mi... |
const Helpers = typeof window === 'undefined'
? /* Node.js */ require('./0-string-value-or-array-helpers')
: /* browser */ StringValueOrArrayHelpers;
const FromGitHubReader = typeof window === 'undefined'
? /* Node.js */ require('./0-default-config-reader-from-github')
: /* browser */ DefaultConfigRead... |
// Copyright 2013 (c) <NAME>
// Use of this source code is governed by the MIT License,
// as found in the LICENSE.txt file.
//徳島県道路通行規制情報 Google Maps API 版 ver0.1 by y.niji 2006/10/29
//徳島県道路通行規制情報 Google Maps API 版 ver0.34 by y.niji 2008/2/3
//徳島県道路通行規制情報 Google Maps API 版 ver0.4 by y.niji 2013/11/15 Google Maps API ... |
dhis2.util.on( 'dhis2.de.event.formLoaded', function( event, ds){
hideProducts();
});
dhis2.util.on( 'dhis2.de.event.completed', function( event, ds){
if ( $.inArray( ds, ['JxJpNfFEKw7'] ) == -1 ) {
return false;
}
var tabIdCollection = ["tbMedication", "medicalSupplies", "familyPlanning", ... |
export const BorderS = 1;
export const BorderM = 2;
export const BorderL = 3;
export const ColorBadgeInfoBackground = "#ecfcfd";
export const ColorBadgeInfoBorder = "#25a8d0";
export const ColorBadgeInfoText = "#1e5f82";
export const ColorBadgeSuccessBackground = "#eaf3e2";
export const ColorBadgeSuccessBorder = "#78be... |
var _ = require('ep_etherpad-lite/static/js/underscore');
var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
var utils = require('./utils');
var paginationPageNumber = require('./paginationPageNumber');
var paginationNonSplit = require('./paginationNonSplit');
var... |
// IP cust --- INSERT
// --- expand state management
function minimize(updh) {
if (retrieveSi(srcdoc, "StatAppBrlyLegDetail", "srefIxBrlyVExpstate") == "mind") return;
setSi(srcdoc, "StatAppBrlyLegDetail", "srefIxBrlyVExpstate", "mind");
// change container heights
getRecwnd().changeHeight("Detail", 30, updh);
... |
//
// <NAME>
//
// global variables
var canvas = null
// webgl context
var gl = null
var bFullScreen = false;
var canvas_original_width;
var canvas_original_height;
const WebGLMacros =
{
AMC_ATTRIBUTE_VERTEX : 0,
AMC_ATTRIBUTE_COLOR : 1,
AMC_ATTRIBUTE_NORMAL : 2,
AMC_ATTRIBUTE_TEXTURE0 : 3
};
// T... |
//console.log// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Vuetify from 'vuetify'
import L from 'leaflet'
import 'vuetify/dist/vuetify.min.... |
const test = require('tape')
const sinon = require('sinon')
const helpers = require('../test/helpers')
const bindFunc = helpers.bindFunc
const Pair = require('../core/Pair')
const Unit = require('../core/Unit')
const curry = require('../core/curry')
const compose = curry(require('../core/compose'))
const isFunction =... |
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.