code stringlengths 2 1.05M |
|---|
path = require('path');
module.exports = {
mongo: {
dbUrl: 'https://api.mongolab.com/api/1', // The base url of the MongoLab DB server
apiKey: '4fb51e55e4b02e56a67b0b66' // Our MongoLab API key
},
security: {
dbName: 'ascrum', // The name o... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Florent Cailhol @ooflorent
*/
"use strict";
exports.STAGE_BASIC = -10;
exports.STAGE_DEFAULT = 0;
exports.STAGE_ADVANCED = 10;
|
var dl = require('datalib'),
df = require('vega-dataflow'),
ChangeSet = df.ChangeSet,
Base = df.Graph.prototype,
Node = df.Node, // jshint ignore:line
GroupBuilder = require('../scene/GroupBuilder'),
visit = require('../scene/visit'),
config = require('./config');
function Model(cfg) {
t... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _actions = require('../actions');
var describeArraySplice = function describeArraySplice(reducer, expect, _ref) {
var fromJS = _ref.fromJS;
return function () {
it('should work with empty state', function () {
var state ... |
define([
'./intern'
], function (intern) {
intern.useSauceConnect = false;
intern.environments = [
{ browserName: 'firefox' },
{ browserName: 'chrome' }
];
return intern;
}); |
/**
* Copyright (c) 2014-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 st... |
/*
* /MathJax/localization/ce/TeX.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* 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/L... |
#!/usr/bin/env node
'use strict';
const {execRead, logPromise} = require('../utils');
const run = async () => {
const version = await execRead('npm info react@canary version');
return version;
};
module.exports = async params => {
return logPromise(run(params), 'Determining latest canary release version');
}... |
CKEDITOR.plugins.setLang("codesnippet","ko",{button:"코드 스니펫 삽입",codeContents:"코드 본문",emptySnippetError:"코드 스니펫은 빈칸일 수 없습니다.",language:"언어",title:"코드 스니펫",pathName:"코드 스니펫"}); |
if (typeof Object.create === 'function') {
// implementation from standard node.js 'util' module
module.exports = function inherits(ctor, superCtor) {
ctor.super_ = superCtor
ctor.prototype = Object.create(superCtor.prototype, {
constructor: {
value: ctor,
enumerable: false,
writable: true,
con... |
var wns = require('../lib/wns.js')
, assert = require('assert')
, templateSpecs = require('./templates.js').specs
, recordLiveSession = false
, createResults = recordLiveSession ? undefined : require('./createResults.js').results
, createBindingResults = recordLiveSession ? undefined : require('./createBindin... |
import Delta from 'quill-delta';
import Parchment from 'parchment';
import Quill from '../core/quill';
import logger from '../core/logger';
import Module from '../core/module';
let debug = logger('quill:toolbar');
class Toolbar extends Module {
constructor(quill, options) {
super(quill, options);
if (Array... |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview The "wysiwygarea" plugin. It registers the "wysiwyg" editing
* mode, which handles the main editing area space.
*/
(function()
{
// Lis... |
export { default } from './List';
|
define({
"_widgetLabel": "확대/축소 슬라이더"
}); |
console.warn("warn -",`Imports like "const headspace = require('simple-icons/icons/headspace');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siHeadspace } = require('simple-icons/icons');" instead`),module.exports={title:"Headspace",slug:"headspace",get svg(){return'<svg role="img" ... |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2012, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license jqGrid 4.15.0 - free jqGrid: https://github.com/free-jqgrid/jqGrid
* Copyright (c) 2008-2014, Tony Tomov, tony@trirand.com
* Copyright (c) 2014-2017, Oleg Kiriljuk, oleg.kiriljuk@ok-soft-gmbh.com
* Dual licensed under the MIT a... |
var request = require('request'),
fs = require('fs'),
uglify = require('uglify-js');
var source = fs.readFileSync('simplewebrtc.js').toString();
request.get('http://signaling.simplewebrtc.com:8888/socket.io/socket.io.js', function (err, res, body) {
if (!err && body && body.length) {
fs.writeFile(... |
var searchData=
[
['getactiveprofilermodules',['GetActiveProfilerModules',['../classv8_1_1_v8.html#a94e8ce52e976b58d5cbdb23d2abe894e',1,'v8::V8']]],
['getadditionsroot',['GetAdditionsRoot',['../classv8_1_1_heap_snapshots_diff.html#a10e4bfa3a4598438ac90f1c8ba8f1c79',1,'v8::HeapSnapshotsDiff']]],
['getbottomuproot'... |
/* *
*
* (c) 2017 Highsoft AS
* Authors: Lars A. V. Cabrera
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../parts/Globals.js';
/**
* Creates an arrow symbol. Like a triangle, except not filled.
* `... |
/*jslint node: true*/
/*jslint expr: true*/
/*global describe, it*/
"use strict";
var should = require('should');
var emoji = require('../index');
describe("emoji.js", function () {
describe("get(emoji)", function () {
it("should return an emoji code", function () {
var coffee = emoji.get('coffee');
... |
import{createStyled,shouldForwardProp}from"@material-ui/system";import defaultTheme from"./defaultTheme";const rootShouldForwardProp=o=>shouldForwardProp(o)&&"classes"!==o,slotShouldForwardProp=shouldForwardProp,styled=createStyled({defaultTheme:defaultTheme,rootShouldForwardProp:rootShouldForwardProp});export default ... |
import invariant from 'invariant';
export default function registerSource(type, source, manager) {
const registry = manager.getRegistry();
const sourceId = registry.addSource(type, source);
function unregisterSource() {
registry.removeSource(sourceId);
};
return {
handlerId: sourceId,
unregiste... |
/*!
Name: Scrollgress
Dependencies: jQuery
Author: Michael Lynch
Author URL: http://michaelynch.com
Date Created: August 20, 2014
Last Updated: August 20, 2014
Licensed under the MIT license
*/
!function(s){s.fn.scrollgress=function(o){if(!this.length)return this;var t={height:"5px",color:"#ff0000",success:function()... |
// prng4.js - uses Arcfour as a PRNG
function Arcfour() {
this.i = 0;
this.j = 0;
this.S = new Array();
}
// Initialize arcfour context from key, an array of ints, each from [0..255]
function ARC4init(key) {
var i, j, t;
for(i = 0; i < 256; ++i)
this.S[i] = i;
j = 0;
for(i = 0; i < 256; ++i) {
j... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.d3_selection = {})));
}(this, function (exports) { 'use strict';
var namespaces = {
svg: "http://www.w... |
/**
* @license Highcharts JS v6.0.5 (2018-01-31)
* Wind barb series module
*
* (c) 2010-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcha... |
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof module === 'object' && typeof module.exports === 'object') {
module.exports = factory(require('jquery'));
} else {
factory(jQuery);
}
}(function(jQuery) {
/*! TableSorter (FORK) v2.28.10 *//*... |
// JSHint stuffs:
/* global __dirname: false, require: false, JSON: false, process: false */
/*========================================
= Requiring stuffs =
========================================*/
var gulp = require('gulp'),
concat = require('gulp-concat'),
con... |
/**
* @fileoverview Rule to check that spaced function application
* @author Matt DuVall <http://www.mattduvall.com>
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
... |
var fs = require('fs')
var path = require('path')
var webpack = require('webpack')
module.exports = {
devtool: 'inline-source-map',
entry: fs.readdirSync(__dirname).reduce(function (entries, dir) {
if (fs.statSync(path.join(__dirname, dir)).isDirectory())
entries[dir] = path.join(__dirname, dir, 'app.j... |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2010, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... |
version https://git-lfs.github.com/spec/v1
oid sha256:a466e1cf070ed99ea72542719bd551bd83e63e1bc3d0bd0f8c8130e4699f17ae
size 4076
|
/**
* Wipe Database before tests are run and
* after tests are run to ensure a clean test environment.
*/
var Adapter = require('../../../lib/adapter'),
config = require('./config');
// Global Before Helper
before(function(done) {
dropTable(done);
});
// Global After Helper
after(function(done) {
dropTabl... |
var fs = require('fs');
var path = require('path');
var async = require('async');
var debug = require('debug')('node-inspector:ScriptFileStorage');
var MODULE_HEADER = '(function (exports, require, module, __filename, __dirname) { ';
var MODULE_TRAILER = '\n});';
var MODULE_WRAP_REGEX = new RegExp(
'^' + escapeRegex... |
/*
This file is part of Ext JS 4
Copyright (c) 2011 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p... |
function die(status) {
// http://kevin.vanzonneveld.net
// + original by: Brett Zamir (http://brett-zamir.me)
// - depends on: exit
// % note 1: Should be considered expirimental. Please comment on this function.
// * example 1: die();
// * returns 1: null
return this.exit(status);
}
|
/*
* Copyright (c) 2012 - present Adobe Systems Incorporated. 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
* ... |
/**
@module ember
@submodule ember-templates
*/
import isEnabled from 'ember-metal/features';
import { keyword } from 'htmlbars-runtime/hooks';
import closureAction from 'ember-routing-htmlbars/keywords/closure-action';
/**
The `{{action}}` helper provides a way to pass triggers for behavior (usually
just a funct... |
alert('Lotus!'); |
loadIonicon('<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M427 234.625H167.296l119.702-119.702L256 85 85 256l171 171 29.922-29.924-118.626-119.7H427v-42.75z"/></svg>','md-arrow-back'); |
foo ?? 1;
|
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.dayjs_plugin_updateLocale=n()}(this,function(){"use strict";return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return(n?Object.keys(n):[]).forEach(function(e){o[e]... |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;const orange={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var _default=or... |
'use strict';
var acorn = require('acorn');
var walk = require('acorn/dist/walk');
// polyfill for https://github.com/marijnh/acorn/pull/231
walk.base.ExportNamedDeclaration = walk.base.ExportDefaultDeclaration = function (node, st, c) {
return c(node.declaration, st);
};
walk.base.ImportDefaultSpecifier = walk.bas... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno-create-element'), require('inferno-component'), require('inferno'), require('path-to-regexp')) :
typeof define === 'function' && define.amd ? define(['exports', 'inferno-create-element', 'inf... |
import Ember from 'ember';
import { initialize } from '<%= dependencyDepth %>/initializers/<%= dasherizedModuleName %>';
import { module, test } from 'qunit';
var registry, application;
module('<%= friendlyTestName %>', {
beforeEach: function() {
Ember.run(function() {
application = Ember.Application.crea... |
/*!
* OOjs UI v0.8.2
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2015 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2015-02-27T18:02:31Z
*/
/**
* @class
* @extends OO.ui.Theme
*
* @constructor
*/
OO.ui.ApexTheme = function OoUiAp... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v6.2.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() {... |
;(function(undefined) {
'use strict';
/**
* BottleJS v0.6.0 - 2014-10-19
* A powerful, extensible dependency injection micro container
*
* Copyright (c) 2014 Stephen Young
* Licensed MIT
*/
/**
* Unique id counter;
*
* @type Number
*/
var id = 0;
... |
class C {
y = this.#x;
#x;
}
expect(() => {
new C();
}).toThrow();
|
Strophe.Test = {
BOSH_URL: "/xmpp-httpbind",
XMPP_DOMAIN: 'localhost',
PUBSUB_COMPONENT: "pubsub.localhost",
_node_name: "", //node name created in connectCallback function
connection: null, //connection object created in run function
run: function() {
$(document).ready(function(){
... |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == 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://ww... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.3
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? t... |
// SQLite3 SchemaGrammar
// -------
var _ = require('underscore');
var baseSchemaGrammar = require('../../base/sqlite3/schemagrammar').schemaGrammar;
exports.schemaGrammar = _.defaults({
// Ensures the response is returned in the same format as other clients.
handleResponse: function(builder, resp... |
(function($window, L, d3) {
"use strict";
/**
* @method throwException
* @param message {String}
* @param path {String}
* @return {void}
*/
var throwException = function throwException(message, path) {
if (path) {
// Output a link for a more informative messa... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var docBibliorefRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresentational: false,
nameFrom: ['author', 'contents'],
props: {
'aria-describedat': null
},
relatedConcepts: [{
modu... |
(function (root, factory) {
var factorySource = factory.toString();
if (typeof module !== 'undefined') {
module.exports = factory(factorySource);
} else {
//Browser globals case. Just assign the
//result to a property on the global.
root.Quagga = factory(factorySourc... |
export { default } from './StepContent';
export { default as stepContentClasses } from './stepContentClasses';
export * from './stepContentClasses'; |
/*
* Stage.js 0.8.4
*
* @copyright 2015 Ali Shakiba, Piqnt LLC
* @license The MIT License
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global... |
/*!
localForage -- Offline Storage, Improved
Version 1.4.0
https://mozilla.github.io/localForage
(c) 2013-2015 Mozilla, Apache License 2.0
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(... |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Hls=e()}}(function(){var define,module,exports;return... |
/**
* Copyright 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.
*
* @providesModu... |
YUI.add('calendar-base', function(Y) {
/**
* The Calendar component is a UI widget that allows users
* to view dates in a two-dimensional month grid, as well as
* to select one or more dates, or ranges of dates. Calendar
* is generated dynamically.
*
* @module calendar
* @submodule calendar-base
*/
/** Create... |
'use strict';
// https://github.com/imathis/hsl-picker/blob/master/assets/javascripts/modules/color.coffee
var rHex3 = /^#([0-9a-f]{3})$/;
var rHex6 = /^#([0-9a-f]{6})$/;
var rRGB = /^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,?\s*(0?\.?\d+)?\s*\)$/;
var rHSL = /^hsla?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\%\s*,\s... |
/*
* grunt-contrib-connect
* http://gruntjs.com/
*
* Copyright (c) 2013 "Cowboy" Ben Alman, contributors
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
var path = require('path');
var connect = require('connect');
var http = require('http');
var https = require('ht... |
CKEDITOR.plugins.setLang("flash","fi",{access:"Skriptien pääsy",accessAlways:"Aina",accessNever:"Ei koskaan",accessSameDomain:"Sama verkkotunnus",alignAbsBottom:"Aivan alas",alignAbsMiddle:"Aivan keskelle",alignBaseline:"Alas (teksti)",alignTextTop:"Ylös (teksti)",bgcolor:"Taustaväri",chkFull:"Salli kokoruututila",chkL... |
CKEDITOR.plugins.setLang("image2","gu",{alt:"ઑલ્ટર્નટ ટેક્સ્ટ",btnUpload:"આ સર્વરને મોકલવું",captioned:"Captioned image",captionPlaceholder:"Caption",infoTab:"ચિત્ર ની જાણકારી",lockRatio:"લૉક ગુણોત્તર",menu:"ચિત્રના ગુણ",pathName:"image",pathNameCaption:"caption",resetSize:"રીસેટ સાઇઝ",resizer:"Click and drag to resize... |
describe('settings', function () {
var id = 'testContainer';
beforeEach(function () {
this.$container = $('<div id="' + id + '"></div>').appendTo('body');
});
afterEach(function () {
if (this.$container) {
destroy();
this.$container.remove();
}
});
describe('currentRowClassName', ... |
window.testValue = 1;
|
/*~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Copyright (c) 2012 Brett Wejrowski
wojodesign.com
simplecartjs.org
http://github.com/wojodesign/simplecart-js
VERSION 3.0.5
Dual licensed under the MIT or GPL licenses.
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.vidom = f()}})... |
export{default}from"./Portal"; |
/**
* Check if `obj` is an object.
*
* @param {Object} obj
* @return {Boolean}
* @api private
*/
function isObject(obj) {
return null != obj && 'object' == typeof obj;
}
module.exports = isObject;
|
/**
* @license jqGrid English Translation
* Tony Tomov tony@trirand.com
* modified by Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
/*jslint... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... |
/**
* @license Highcharts JS v5.0.12 (2017-05-24)
*
* (c) 2009-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function(High... |
if (global.GENTLY) require = GENTLY.hijack(require);
var Buffer = require('buffer').Buffer
function JSONParser() {
this.data = new Buffer('');
this.bytesWritten = 0;
};
exports.JSONParser = JSONParser;
JSONParser.prototype.initWithLength = function(length) {
this.data = new Buffer(length);
}
JSONParser.protot... |
/*
* jPlayer Plugin for jQuery JavaScript Library
* http://www.jplayer.org
*
* Copyright (c) 2009 - 2013 Happyworm Ltd
* Dual licensed under the MIT and GPL licenses.
* - http://www.opensource.org/licenses/mit-license.php
* - http://www.gnu.org/copyleft/gpl.html
*
* Author: Mark J Panaghiston
* Version: 2.3... |
require('../modules/es6.object.to-string');
require('../modules/es6.array.iterator');
require('../modules/es6.weak-map');
module.exports = require('../modules/_core').WeakMap;
|
require('../../modules/es6.reflect.enumerate');
module.exports = require('../../modules/_core').Reflect.enumerate;
|
(function() {
var define, requireModule;
(function() {
var registry = {}, seen = {};
define = function(name, deps, callback) {
registry[name] = { deps: deps, callback: callback };
};
requireModule = function(name) {
if (seen[name]) { return seen[name]; }
seen[name] = {};
var mod, deps, callb... |
// Copyright 2006 Google 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 in wr... |
/*!
* Bootstrap-select v1.7.0 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2015 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
(function ($) {
'use strict';
//<editor-fold desc="Shims">
if (!String.prototype.includes) {
... |
(function(global) {
var define, requireModule;
(function() {
var registry = {}, seen = {};
define = function(name, deps, callback) {
registry[name] = { deps: deps, callback: callback };
};
requireModule = function(name) {
if (seen.hasOwnProperty(name)) { return seen[name]; }
seen[name] = {};
... |
describe('renderers/webgl/WebGLShaders', function () {
'use strict';
var expect = chai.expect;
it('Module members exist', function () {
expect(PIXI).to.respondTo('CompileVertexShader');
expect(PIXI).to.respondTo('CompileFragmentShader');
expect(PIXI).to.respondTo('_CompileS... |
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... |
//Load Definition files
load("sbbsdefs.js");
if (bbs.online)
if ((user.security.level >= 90)||(client.ip_address == "127.0.0.1")) {
var retry = true;
do {
console.print("\1n\r\n");
console.line_counter = 0;
console.clear();
console.print("\1h\1bString to execute (blank line to cancel)\r\n: \1n");
b... |
"use strict"
const path = require("path")
const debug = require("debug")("route4me-node:examples")
require("../init-examples-suite")
const helper = require("./../../test/helper")
helper.describeIntegration(helper.toSuiteName(__filename), function T() {
this.timeout(5000)
this.slow(3000)
it(path.basename(__filena... |
/** @license ISC License (c) copyright 2016 original and current authors */
/** @author Ian Hofmann-Hicks (evil) */
const hasAlg = require('./hasAlg')
/** isFunctor :: a -> Boolean */
function isFunctor(m) {
return !!m && hasAlg('map', m)
}
module.exports = isFunctor
|
// ==UserScript==
// @id ingress-intel-total-conversion@jonatkins
// @name IITC: Ingress intel map total conversion
// @version 0.26.0.20170210.164403
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL https://raw.githubusercontent.com/ifc... |
var Immutable = require("immutable");
var List = Immutable.List;
var Record = Immutable.Record;
var exports = module.exports = {};
exports.TICKTOCK_GAME_NAME = "ticktock";
class Constant {
static get RESTART() { return 'RESTART'; }
static get MOVE() { return 'MOVE'; }
static get SET_STATE() { return 'SET... |
/* global createSizedArray, pooling */
/* exported poolFactory */
var poolFactory = (function () {
return function (initialLength, _create, _release) {
var _length = 0;
var _maxLength = initialLength;
var pool = createSizedArray(_maxLength);
var ob = {
newElement: newElement,
... |
module.exports = {
DATE: /^"?[\d]{4}-[\d]{2}-[\d]{2}T[\d]{2}:[\d]{2}:[\d]{2}\.[\d]{3}(?:Z|(?:\+|-)[\d]{4})"?$/,
OBJECTID: /^[a-f0-9]{24}$/
};
|
(function() {
'use strict';
var L = (typeof window !== "undefined" ? window.L : typeof global !== "undefined" ? global.L : null);
var corslite = require('corslite');
var polyline = require('polyline');
L.Routing = L.Routing || {};
L.Routing.Valhalla = L.Class.extend({
options: {
serviceUrl: '//... |
class View_Collapsible extends View_Browser {
}
Utility_TraitHelper.extendConstructorWithTraits(View_Collapsible, [
Client_Trait_View_Collapsible
]);
module.exports = View_Collapsible;
|
import {
LIBRARY_PUSH,
LIBRARY_PUSH_SONG,
} from 'shared/actionTypes'
// ------------------------------------
// Action Handlers
// ------------------------------------
const ACTION_HANDLERS = {
[LIBRARY_PUSH]: (state, { payload }) => ({
...state,
result: payload.songs.result,
entities: payload.songs... |
#!/usr/bin/env node
var fs = require("fs-extra");
var path = require("path");
var package = require(path.join("..", "package.json"));
var program = require("commander");
var prompt = require("prompt");
var args = process.argv.slice(2);
program
.version(package.version, "-v, --version")
.usage("[command] [options... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.