code stringlengths 2 1.05M |
|---|
/**
* @license
* v1.2.8
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2019 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https://github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
import { ClientSvcQueryable, MethodParams, property, setProperty, method, obj... |
/**
MIT License
Copyright (c) 2012 - 2017 jonobr1 / http://jonobr1.com
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, ... |
/*
* GoJS v2.0.0-beta9 JavaScript Library for HTML Diagrams
* Northwoods Software, https://www.nwoods.com/
* GoJS and Northwoods Software are registered trademarks of Northwoods Software Corporation.
* Copyright (C) 1998-2018 by Northwoods Software Corporation. All Rights Reserved.
* THIS SOFTWARE IS LICENSED. T... |
/**
*
* Uploads a file to the selenium server.
*
* @param {String} localPath local path to file
*
* @type utility
*
*/
import fs from 'fs'
import path from 'path'
import archiver from 'archiver'
import { CommandError } from '../utils/ErrorHandler'
let uploadFile = function (localPath) {
/*!
* parame... |
import"./chunk-455cdeae.js";import{merge}from"./helpers.js";import{V as VueInstance}from"./chunk-8ed29c41.js";import{r as registerComponent,a as registerComponentProgrammatic,u as use}from"./chunk-cca88db8.js";import"./chunk-b9bdb0e4.js";import{L as Loading}from"./chunk-6d0f2352.js";export{L as BLoading}from"./chunk-6d... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
var name = "Libatious Borage Award";
var collection_type = 0;
var is_secret = 0;
var desc = "Masterfully Cauldronated 1033 Potions";
var status_text = "Potionmaking? You literally wrote the book on potionmaking! Well, not *literally*, but you deserve the award in the name of the a man who did because you? You made ... |
/* globals describe, it, assert */
'use strict';
var customElement = document.querySelector('fin-hypergrid');
describe('<fin-hypergrid>', function() {
describe('fin-hypergrid.js', function() {
it('should have real tests filled out', function() {
assert.equal(customElement, customElement);
... |
const lib = require("./lib");
module.exports = lib.default;
Object.assign(module.exports, lib);
|
/**
* Copyright (c) ActiveState 2013 - ALL RIGHTS RESERVED.
*/
require.config({
baseUrl: "./",
paths: {
jquery: '../vendor/jquery/jquery-1.10.1.min',
underscore: '../vendor/underscore/underscore-1.4.4.min',
'expectjs': '../vendor/mocha/expect'
}
});
require([
'test.apps',
... |
import chai from 'chai';
import { it, beforeEach } from 'arrow-mocha/es5';
import Floor from '../../src/Floor';
import Base from '../../src/units/Base';
const should = chai.should();
describe('Position', () => {
beforeEach((ctx) => {
ctx.unit = new Base();
ctx.floor = new Floor();
ctx.floor.setWidth(6);... |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview The Save plugin.
*/
(function() {
var saveCmd = {
readOnly: 1,
exec: function( editor ) {
if ( editor.fire( 'sav... |
var webpack = require('webpack')
module.exports = function (config) {
// Browsers to run on BrowserStack
var customLaunchers = {
BS_Chrome: {
base: 'BrowserStack',
os: 'Windows',
os_version: '8.1',
browser: 'chrome',
browser_version: '39.0'
},
BS_Firefox: {
base: 'Br... |
export var metadata = {
stage: 3
};
|
// ==========================================================================
// Project: Ember Data
// Copyright: ©2011-2012 Tilde Inc. and contributors.
// Portions ©2011 Living Social Inc. and contributors.
// License: Licensed under MIT license (see license.js)
// ==================================... |
'use strict';
module.exports = {
mongo: {
opts: {
safe: true
},
url: process.env.MONGODB_URL || 'mongodb://localhost/test',
timeout: process.env.MONGODB_TIMEOUT || 5000,
purge_interval: process.env.MONGODB_PURGE || '* * * * * *',
... |
/*
* defiant.js [v2.2.3]
* http://www.defiantjs.com
* Copyright (c) 2013-2019 Hakan Bilgin <hbi@longscript.com>
* License GNU AGPLv3
*/
(function(window, module) {
'use strict';
var defiant = {
is_ie : /(msie|trident)/i.test(navigator.userAgent),
is_safari : /safari/i.test(navigator.userAgent),
env ... |
chai = require('chai')
process.env.NODE_ENV = 'test'
global.expect = chai.expect
global.assert = chai.assert
|
/**
@module ember
@submodule ember-testing
*/
import { checkWaiters } from '../test/waiters';
import { RSVP } from 'ember-runtime';
import { run } from 'ember-metal';
import { pendingRequests } from '../test/pending_requests';
/**
Causes the run loop to process any pending events. This is used to ensure that
any a... |
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null," \n\r "]],[["com",/^#!.*/],["kwd",/^\b(?:import|library|part of|part|as|show|hide)\b/i],["com",/^\/\/.*/],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["kwd",/^\b(?:class|interface)\b/i],["kwd",/^\b(?:assert|break|case|catch|continue|default|do... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.10.2.7_A4_T3;
* @section: 15.10.2.7;
* @assertion: The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty;
* @description: Execute /[^"]... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
"use strict";
const Client = require("./client")();
const Provider = require("../lib/provider")({
Client,
});
const Notification = require("../lib/notification");
const token = require("../lib/token");
module.exports = {
Provider,
Notification,
Client,
token,
};
|
<T>(() => {}: any);
|
/*! jQuery UI - v1.9.2 - 2013-05-03
* http://jqueryui.com
* Includes: jquery.ui.datepicker-sr-SR.js
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional["sr-SR"]={closeText:"Zatvori",prevText:"<",nextText:">",currentText:"Danas",monthNames:["Janua... |
import LazyWrapper from '../internal/LazyWrapper';
import LodashWrapper from '../internal/LodashWrapper';
import baseLodash from '../internal/baseLodash';
import isArray from '../lang/isArray';
import isObjectLike from '../internal/isObjectLike';
import wrapperClone from '../internal/wrapperClone';
/** Used for native... |
'use strict';
import _ from 'lodash';
const Helpers = {
processObjectKeys(obj, convert) {
let output;
if ( _.isDate(obj) || _.isRegExp(obj) || !_.isObject(obj) ) {
return obj;
} else if ( _.isArray(obj) ) {
output = _.map(obj, item => {
return this.processObjectKeys(item, convert);... |
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../string/virtual/trim-right');
var StringPrototype = String.prototype;
module.exports = function (it) {
var own = it.trimRight;
return typeof it == 'string' || it === StringPrototype
|| (isPrototypeOf(StringPrototype... |
// eslint-disable-next-line no-undef
custom_require_function("node_module"); |
// @flow
declare class Base {}
class B extends Base {}
module.exports = B;
|
/* */
System.register(["./dsl"], function (_export) {
var map, specials, escapeRegex, oCreate, RouteRecognizer;
function isArray(test) {
return Object.prototype.toString.call(test) === "[object Array]";
}
// A Segment represents a segment in the original route description.
// Each Segment type provides... |
/*
* /MathJax/jax/element/mml/optable/Dingbats.js
*
* Copyright (c) 2009-2016 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... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = DayInput;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _dateUtils = require("@wojtekmaj/date-utils");
var _Input = _interopRequireDefault... |
var DENSE = null;
var DIF_XL = true;
|
var expect = require('chai').expect;
var sinon = require('sinon');
var Checker = require('../../../lib/checker');
var inlinesingle = require('../../../lib/reporters/inlinesingle');
describe('reporters/inlinesingle', function() {
var checker;
beforeEach(function() {
checker = new Checker();
ch... |
/*global navigator, document */
/*this is a special version of the library with flash fallback support
stripped out, for anyone that wants it*/
;(function (window, document) {
"use strict";
window.getUserMedia = function (options, successCallback, errorCallback) {
// Options are required
if (o... |
/*! jQuery UI - v1.10.0 - 2013-01-24
* http://jqueryui.com
* Includes: jquery.ui.datepicker-zh-TW.js
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional["zh-TW"]={closeText:"關閉",prevText:"<上月",nextText:"下月>",currentText:"今天",monthNames:["一月","二月"... |
import { PromiseObject } from "ember-data/system/promise-proxies";
import Errors from "ember-data/system/model/errors";
import EmptyObject from "ember-data/system/empty-object";
/**
@module ember-data
*/
var get = Ember.get;
var merge = Ember.merge;
var copy = Ember.copy;
function intersection (array1, array2) {
... |
var FN_ARGS = /^function\s*[^\(]*\(\s*([^\)]*)\)/m;
var STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg;
/**
* [getFnArgs description]
* @param {Function} fn [description]
* @return {[type]} [description]
*/
exports.getFnArgs = function getFnArgs(fn) {
return fn.toString().replace(STRIP_COMMENTS, '').ma... |
// http://math.stackexchange.com/questions/28043/finding-the-z-value-on-a-plane-with-x-y-values
// http://stackoverflow.com/a/13916669/461015
var test = require('tape');
var fs = require('fs');
var planepoint = require('./');
test('planepoint', function(t){
var triangle = JSON.parse(fs.readFileSync(__dirname+'/test/... |
/* global require, module, process, __dirname */
'use strict';
var path = require('path');
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner: '/**\n' +
' * <%= pkg.de... |
import { slashCommands } from '../../utils';
slashCommands.add('invite-all-to', undefined, {
description: 'Invite_user_to_join_channel_all_to',
params: '#room',
permission: ['add-user-to-joined-room', 'add-user-to-any-c-room', 'add-user-to-any-p-room'],
});
slashCommands.add('invite-all-from', undefined, {
descrip... |
/*
* Copyright (c) 2013 - 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
* ... |
pc.extend(pc, function () {
/**
* @name pc.PostEffectQueue
* @constructor Create a new PostEffectQueue
* @class Used to manage multiple post effects for a camera
* @param {pc.Application} app The application
* @param {pc.CameraComponent} camera The camera component
*/
function Post... |
define("p3/widget/ProteinFamiliesGrid", [
'dojo/_base/declare', 'dojo/_base/lang', 'dojo/_base/Deferred',
'dojo/on', 'dojo/dom-class', 'dojo/dom-construct', 'dojo/aspect', 'dojo/request', 'dojo/topic',
'dijit/layout/BorderContainer', 'dijit/layout/ContentPane', './GridSelector',
'./PageGrid', './formatter', '..... |
#!/usr/bin/env node
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache Lice... |
/*! jQuery & Zepto Lazy - AJAX Plugin v1.3 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2018 Daniel 'Eisbehr' Kern */
!function(t){function a(a,e,n,o){o=o.toUpperCase();var i;"POST"!==o&&"PUT"!==o||!a.config("ajaxCreateData")||(i=a.config("ajaxCreateData").apply(a,[e])),t.ajax({url:e.attr("dat... |
/* global define */
(function (root, pluralize) {
/* istanbul ignore else */
if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') {
// Node.
module.exports = pluralize();
} else if (typeof define === 'function' && define.amd) {
// AMD, registers as an anonym... |
var firepad = firepad || { };
/**
* Helper to turn pieces of text into insertable operations
*/
firepad.textPiecesToInserts = function(atNewLine, textPieces) {
var inserts = [];
function insert(string, attributes) {
if (string instanceof firepad.Text) {
attributes = string.formatting.attributes;
... |
define([], function() {
/**
* An implementation of `_.uniq` optimized for sorted arrays without support
* for callback shorthands and `this` binding.
*
* @private
* @param {Array} array The array to inspect.
* @param {Function} [iteratee] The function invoked per iteration.
* @returns {Array} Re... |
editAreaLoader.lang["pt"]={
new_document: "Novo documento",
search_button: "Localizar e substituir",
search_command: "Localizar próximo",
search: "Localizar",
replace: "Substituir",
replace_command: "Substituir",
find_next: "Localizar",
replace_all: "Subst. tudo",
reg_exp: "Expressões regulares",
match_case: ... |
module.exports={A:{A:{"2":"J C G E B A UB"},B:{"2":"D X g H L"},C:{"2":"0 1 2 4 SB F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s QB PB"},D:{"2":"F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p","194":"0 2 4 8 q r w x v z t s E... |
// wrapped by build app
define("d3/lib/science/science", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){
(function(){science = {version: "1.7.0"}; // semver
science.ascending = function(a, b) {
return a - b;
};
// Euler's constant.
science.EULER = .5772156649015329;
// Compute exp(x) - 1 accurately for small x.... |
/* Copyright (c) 2006-2015 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Layer/Grid.js
* @requires OpenLayers/... |
version https://git-lfs.github.com/spec/v1
oid sha256:73421e09c29ba029e726c1be6358003cefa3bf0fe26ab1a4f0806a4ef09ef0f6
size 734
|
kony.inherits = function(subClass, baseClass) {
function inherit() {}
inherit.prototype = baseClass.prototype;
subClass.prototype = new inherit();
subClass.prototype.constructor = subClass;
subClass.baseConstructor = baseClass;
subClass.superClass = baseClass.prototype;
};
konyLua = {
Widg... |
var Zinc = { REVISION: '20' };
Zinc.Glyph = function(geometry, materialIn, idIn) {
var material = materialIn.clone();
material.vertexColors = THREE.FaceColors;
var mesh = new THREE.Mesh( geometry, material );
this.id = idIn;
var _this = this;
this.getMesh = function () {
return mesh;
}
this.getBoundin... |
// Generated by CoffeeScript 1.7.1
(function() {
var Data;
Data = (function() {
function Data(data) {
this.data = data != null ? data : [];
this.pos = 0;
this.length = this.data.length;
}
Data.prototype.readByte = function() {
return this.data[this.pos++];
};
Data.prot... |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var NavigationMoreHoriz = React.createClass({
displayName: 'NavigationMoreHoriz',
mixins: [PureRenderMixin],
render: function render() {
return React.createElemen... |
!function() {
'use strict';
function h(nodeName, attributes) {
var lastSimple, child, simple, i, children = EMPTY_CHILDREN;
for (i = arguments.length; i-- > 2; ) stack.push(arguments[i]);
if (attributes && null != attributes.children) {
if (!stack.length) stack.push(attribute... |
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
This version is suitable for Node.js. With minimal changes (the
exports stuff) it should work on any JS platform.
This file implements some AST processors. They work on data b... |
"use strict";
/**
* @license
* Copyright 2016 Palantir Technologies, 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
*
* Unle... |
var List = require('../../utils/list');
var TYPE = require('../../tokenizer').TYPE;
var WHITESPACE = TYPE.Whitespace;
var COMMENT = TYPE.Comment;
var SEMICOLON = TYPE.Semicolon;
var COMMERCIALAT = TYPE.CommercialAt;
var LEFTCURLYBRACKET = TYPE.LeftCurlyBracket;
var RIGHTCURLYBRACKET = TYPE.RightCurlyBracket;
module.e... |
"use strict";
var _toolsProtectJs2 = require("./../../tools/protect.js");
var _toolsProtectJs3 = _interopRequireDefault(_toolsProtectJs2);
exports.__esModule = true;
exports.ComprehensionBlock = ComprehensionBlock;
exports.ComprehensionExpression = ComprehensionExpression;
_toolsProtectJs3["default"](module);
func... |
(function(){
"use strict";
var loop = ab.gameLoop(),
three = ab.threeBase(),
sketch = ab.sketch(three);
loop.addEventListener('framestart', function(event){
var timestamp = event.detail.timestamp;
sketch.framestart(timestamp);
})
loop.addEventListener('frameupdate', function(event){
var timestep... |
var max = 1000000
var series = require('./')()
var seriesNoResults = require('./')({ results: false })
var async = require('async')
var neo = require('neo-async')
var bench = require('fastbench')
var tinyEachAsync = require('tiny-each-async')
function benchFastSeries (done) {
series(null, [somethingP, somethingP, so... |
/*
Module Dependencies
*/
var htmlparser = require('htmlparser2'),
_ = require('lodash'),
utils = require('./utils'),
isTag = utils.isTag;
/*
Parser
*/
exports = module.exports = function(content, options) {
var dom = evaluate(content, options);
// Generic root element
var root = {
type: 'ro... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var util = require("../util");
function axesAreInnerMostDims(axes, rank) {
for (var i = 0; i < axes.length; ++i) {
if (axes[axes.length - i - 1] !== rank - 1 - i) {
return false;
}
}
return true;
}
expor... |
/**
* @hello.js
*
* HelloJS is a client side Javascript SDK for making OAuth2 logins and subsequent REST calls.
*
* @author Andrew Dodson
* @company Knarly
*
* @copyright Andrew Dodson, 2012 - 2013
* @license MIT: You are free to use and modify this code for any use, on the condition that this copyright notice... |
import isPresent from 'ember-metal/is_present';
QUnit.module('Ember.isPresent');
QUnit.test('Ember.isPresent', function() {
var string = 'string';
var fn = function() {};
var object = { length: 0 };
equal(false, isPresent(), 'for no params');
equal(false, isPresent(null), 'for null');
equal(false, isPres... |
cordova.define("cordova-plugin-calendar.tests", function(require, exports, module) { exports.defineAutoTests = function() {
var fail = function (done) {
expect(true).toBe(false);
done();
},
succeed = function (done) {
expect(true).toBe(true);
done();
};
describe('Plugin availability', func... |
/*eslint-env node */
module.exports = function (grunt) {
grunt.initConfig({
"bolt-init": {
"plugin": {
config_dir: "config/bolt"
}
},
"bolt-build": {
"plugin": {
config_js: "config/bolt/prod.js",
output_dir: "scratch",
main: "tinymce.plugins.hr.Plugin",
... |
"use strict";
var path_1 = require('path');
var virtual_file_utils_1 = require('./virtual-file-utils');
var HybridFileSystem = (function () {
function HybridFileSystem(fileCache) {
this.fileCache = fileCache;
this.filesStats = {};
this.directoryStats = {};
}
HybridFileSystem.prototyp... |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useDragDropManager=useDragDropManager;var _react=require("react"),_invariant=require("@react-dnd/invariant"),_core=require("../core");function useDragDropManager(){var r=(0,_react.useContext)(_core.DndContext).dragDropManager;return(0,_invarian... |
'use strict';
// MySQL Column Builder & Compiler
// -------
module.exports = function(client) {
var inherits = require('inherits');
var Schema = require('../../../schema');
var helpers = require('../../../helpers');
// Column Builder
// -------
function ColumnBuilder_MySQL() {
Schema.ColumnBuilder.apply(this, ... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.2
*/
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.gridList
*/
angular.module('material.components.gridList', ['material.core'])
.directive('mdGridList', Gr... |
jQuery.cookie=function(e,t,n){if(typeof t=="undefined"){var a=null;if(document.cookie&&document.cookie!=""){var f=document.cookie.split(";");for(var l=0;l<f.length;l++){var c=jQuery.trim(f[l]);if(c.substring(0,e.length+1)==e+"="){a=decodeURIComponent(c.substring(e.length+1));break}}}return a}n=n||{},t===null&&(t="",n=$... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {};
//# sourceMappingURL=native.js.map |
/**
* @license Highcharts JS v6.1.2 (2018-08-31)
* Module for adding patterns and images as point fills.
*
* (c) 2010-2018 Highsoft AS
* Author: Torstein Hønsi, Øystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
mo... |
"use strict";
// derived from https://github.com/mathiasbynens/String.fromCodePoint
/*! http://mths.be/fromcodepoint v0.2.1 by @mathias */
if (String.fromCodePoint) {
module.exports = function (_) {
try {
return String.fromCodePoint(_);
} catch (e) {
if (e instanceof RangeEr... |
/*
* @package jsDAV
* @subpackage DAV
* @copyright Copyright(c) 2011 Ajax.org B.V. <info AT ajax.org>
* @author Mike de Boer <info AT mikedeboer DOT nl>
* @author Wouter Vroege <wouter AT woutervroege DOT nl>
* @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License
*/
"use strict";
var Asyn... |
/// 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
/// ... |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/*
* check that document.registerElement(name, { prototype: proto });
* is properly patched
*/
function customEle... |
/*!
* jQuery JavaScript Library v1.9.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-2-4
*/
(function( window, undefined ) {
// Can't do ... |
/**
* Plucks a few fields from an object
*/
function pluck(obj, fields) {
var plucked = {};
if (!obj) {
return;
}
fields.forEach(function (field) {
plucked[field] = obj[field];
});
return plucked;
}
module.exports = pluck;
|
define(["exports"], function (_exports) {
"use strict";
_exports.__esModule = true;
_exports.default = void 0;
var _default = 42;
_exports.default = _default;
});
|
const globalSetup = require("./global-setup");
const app = globalSetup.app;
const chai = require("chai");
const expect = chai.expect;
describe("Position of modules", function () {
this.timeout(20000);
beforeEach(function (done) {
app.start().then(function() { done(); } );
});
afterEach(function (done) {
app... |
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.xml.Script"]){
dojo._hasResource["dojox.xml.Script"]=true;
dojo.provide("dojox.xml.Script");
d... |
/* flatpickr v4.0.6, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.ar = {})));
}(this, (function (exports) { 'use strict';
var fp = typeof wi... |
;(function(Form, Editor) {
module('Date', {
setup: function() {
this.sinon = sinon.sandbox.create();
},
teardown: function() {
this.sinon.restore();
}
});
var same = deepEqual;
test('initialize() - casts values to date', function() {
var date = new Date(2000, 0, 1);
va... |
describe('Ionic Content directive', function() {
var compile, scope, timeout, window, ionicConfig;
beforeEach(module('ionic'));
beforeEach(inject(function($compile, $rootScope, $timeout, $window, $ionicConfig) {
compile = $compile;
scope = $rootScope;
timeout = $timeout;
window = $window;
io... |
var searchData=
[
['scope',['Scope',['../classv8_1_1_isolate_1_1_scope.html',1,'v8::Isolate']]],
['scope',['Scope',['../classv8_1_1_context_1_1_scope.html',1,'v8::Context']]],
['script',['Script',['../classv8_1_1_script.html',1,'v8']]],
['scriptdata',['ScriptData',['../classv8_1_1_script_data.html',1,'v8']]],
... |
console.log('bar'); |
/**
* jqGrid English Translation
* Tony Tomov tony@trirand.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
**/
/*global jQuery, define */
(function( factory ) {
"use strict";
if ( typeof d... |
/*
* /MathJax/localization/sl/HTML-CSS.js
*
* Copyright (c) 2009-2017 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/licen... |
/*! tether 1.4.4 */
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof exports === 'object') {
module.exports = factory();
} else {
root.Tether = factory();
}
}(this, function() {
'use strict';
var _createClass = (function () { func... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.fi = {}));
}(this, function (exports) { 'use strict';
var fp = typeof window !== "... |
import Controller from '@ember/controller';
import Service, { inject as injectService } from '@ember/service';
import { run } from '@ember/runloop';
import { QueryParamTestCase, moduleFor } from 'internal-test-helpers';
moduleFor(
'Query Params - shared service state',
class extends QueryParamTestCase {
boot()... |
/*!
* Ajax Bootstrap Select
*
* Extends existing [Bootstrap Select] implementations by adding the ability to search via AJAX requests as you type. Originally for CROSCON.
*
* @version 1.4.0
* @author Adam Heim - https://github.com/truckingsim
* @link https://github.com/truckingsim/Ajax-Bootstrap-Select
* @copyr... |
/**
* Module dependencies.
*/
var crypto = require('crypto');
/**
* Return a weak ETag from the given `path` and `stat`.
*
* @param {String} path
* @param {Object} stat
* @return {String}
* @api private
*/
exports.etag = function etag(path, stat) {
var tag = String(stat.mtime.getTime()) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.