code stringlengths 2 1.05M |
|---|
/**
* Module depedencies.
*/
var assert = require('assert')
var time = require('../')
describe('exports', function () {
it('should be a function', function () {
assert.equal(typeof time, 'function')
})
it('should return itself when invoked', function () {
var dummy = function () {}
assert.equal... |
/*!
* urlInternal - v1.0 - 10/7/2009
* http://benalman.com/projects/jquery-urlinternal-plugin/
*
* Copyright (c) 2009 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Script: jQuery urlInternal: Easily test URL internal-, external or fragment-ness
//... |
(function($){
$.fn.bonsai = function(options) {
var args = arguments;
return this.each(function() {
var bonsai = $(this).data('bonsai');
if (!bonsai) {
bonsai = new Bonsai(this, options);
$(this).data('bonsai', bonsai);
}
if (typeof options == 'string') {
var me... |
"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... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// Binding handler used to bind the mouseover/out value to a boolean attribute in the model.
define(['jquery', 'knockout'], function ($, ko) {
'use strict';... |
module.exports = require('./lib/css/babel')
|
"use strict";
var helpers = require("../../helpers/helpers");
exports["Chile/EasterIsland"] = {
"1932" : helpers.makeTestYear("Chile/EasterIsland", [
["1932-09-01T07:17:27+00:00", "23:59:59", "EMT", 26248 / 60],
["1932-09-01T07:17:28+00:00", "01:17:28", "EASST", 360]
]),
"1942" : helpers.makeTestYear("Chile/E... |
var test = require('tap').test,
UnitBezier = require('../');
test('unit bezier', function(t) {
var u = new UnitBezier(0, 0, 1, 1);
t.equal(u.sampleCurveY(1), 1, 'sampleCurveY');
t.equal(u.sampleCurveX(1), 1, 'sampleCurveX');
t.end();
});
|
function _extends() { _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; }; return _extends.apply(this, arguments); }
f... |
'use strict';
// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
require('./$.string-trim')('trimRight', function($trim){
return function trimRight(){
return $trim(this, 2);
};
}); |
(function (global) {
System.config({
paths: {
'ng:': 'node_modules/@angular/'
},
map: {
'@angular/core': 'ng:core/bundles/core.umd.js',
'@angular/common': 'ng:common/bundles/common.umd.js',
'@angular/compiler': 'ng:compiler/bundles/compiler.umd.js',
'@angular/platform-browser... |
/*
* Remote Chained - jQuery AJAX(J) chained selects plugin
*
* Copyright (c) 2010-2011 Mika Tuupola
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
*/
(function($) {
$.fn.remoteChained = function(parent_selector, url, options) {
return this.e... |
/**
* @license Highcharts JS v6.1.1 (2018-06-27)
* Highcharts funnel 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(Highcharts);
}
}(functi... |
'use strict';
const common = require('../../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
const binding = require(`./build/${common.buildType}/binding`);
const bytes = new Uint8Array(1024);
assert(binding.randomBytes(bytes));
assert(bytes.reduce((v, a) => v + a) >... |
/*! Raven.js 3.25.0 (80dffad) | github.com/getsentry/raven-js */
/*
* Includes TraceKit
* https://github.com/getsentry/TraceKit
*
* Copyright 2018 Matt Robenolt and other contributors
* Released under the BSD license
* https://github.com/getsentry/raven-js/blob/master/LICENSE
*
*/
(function(f){if(typeof expor... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Looker Data Sciences, Inc.
*
* 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 rig... |
"use strict";
module.exports = {
description: "Issue #56 - unresolvable reference due to hash sign",
tests: [
{
description: "should pass validation #1",
schema: [
{
id: "schemaA#",
type: "string"
},
... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Zooming = factory());
}(this, (function () { 'use strict';
var webkitPrefix = 'WebkitAppearance' in document.documentElemen... |
// Version 0.7.1 - Copyright 2012 - 2018 - Jim Riecken <jimr@jimr.ca>
//
// Released under the MIT License - https://github.com/jriecken/sat-js
//
// A simple library for determining intersections of circles and
// polygons using the Separating Axis Theorem.
/** @preserve SAT.js - Version 0.7.1 - Copyright 2012 - 2018... |
var searchData=
[
['handle',['Handle',['../classv8_1_1_handle.html#a38d25e9394afb08cf0aa088549dad810',1,'v8::Handle::Handle()'],['../classv8_1_1_handle.html#a9ef27868379876db37322856edeafca7',1,'v8::Handle::Handle(Handle< S > that)']]],
['hascaught',['HasCaught',['../classv8_1_1_try_catch.html#a48f704fbf2b825... |
const render1 = ({ styles }) => (
<div style={styles} key="something">
Keep the wrapping parens. Put each key on its own line.
</div>
);
const render2 = ({ styles }) => <div style={styles} key="something">
Create wrapping parens.
</div>;
const render3 = ({ styles }) => <div style={styles} key="something">Cr... |
export default function ({ types: t }) {
/**
* Test if a VariableDeclaration's declarations contains any Patterns.
*/
function variableDeclarationHasPattern(node) {
for (let declar of (node.declarations: Array)) {
if (t.isPattern(declar.id)) {
return true;
}
}
return false;
... |
var testUtils = require('../../utils'),
should = require('should'),
// Stuff we are testing
AppSettingModel = require('../../../server/models/app-setting').AppSetting,
context = testUtils.context.admin;
describe('App Setting Model', function () {
// Keep the DB clean
bef... |
/*!
* bootstrap-fileinput v4.4.8
* http://plugins.krajee.com/file-input
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2018, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
*/
(function (factory) {
"use strict";... |
import { ClientFunction } from 'testcafe';
fixture `gh-1353`
.page `http://localhost:3000/fixtures/regression/gh-1353/pages/index.html`;
const targetClicked = ClientFunction(() => window.targetClicked);
test('gh-1353', async t => {
await t
.click('#target')
.expect(targetClicked()).ok();
});
|
'use strict';
var angularFiles = require('./angularFiles');
var sharedConfig = require('./karma-shared.conf');
module.exports = function(config) {
sharedConfig(config, {testName: 'AngularJS: isolated module tests (ngAnimate)', logFile: 'karma-ngAnimate-isolated.log'});
config.set({
files: angularFiles.mergeF... |
define(
//begin v1.x content
{
"quarters-standAlone-wide": [
"1e kwartaal",
"2e kwartaal",
"3e kwartaal",
"4e kwartaal"
],
"quarters-format-abbr": [
"K1",
"K2",
"K3",
"K4"
],
"dateFormatItem-yMd": "d-M-y",
"dateFormat-medium": "d MMM y",
"dateFormatItem-MMMEd": "E d MMM",
"quarters-standAlone-ab... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.tippy = factory());
}(this, (function () { 'use strict';
var isBrowser = typeof window !== 'undefined';
var browser = {};
... |
module.exports={A:{A:{"1":"A B","2":"K C G YB","132":"E"},B:{"1":"D w Z I M H"},C:{"1":"0 1 3 5 6 7 8 F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r s t u v z x UB OB","2":"WB AB"},D:{"1":"0 1 3 5 6 7 8 F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j ... |
/*!
* plugin for <%= pkg.name || pkg.title %> v<%= pkg.version %>
* <%= pkg.homepage %>
*
* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>
* Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>
* <%= _.pluck(pkg.licenses, "url").join(", ") %>
*/
|
"use strict";
var _toolsProtectJs2 = require("./../../tools/protect.js");
var _toolsProtectJs3 = _interopRequireDefault(_toolsProtectJs2);
exports.__esModule = true;
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { i... |
/*globals window, $, _, Backbone, Validator */
(function () {
'use strict';
function ghostPaths() {
var path = window.location.pathname,
subdir = path.substr(0, path.search('/ghost/'));
return {
subdir: subdir,
apiRoot: subdir + '/ghost/api/v0.1'
};
... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v16.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
'use strict';
var isImplemented = require('../../../number/min-safe-integer/is-implemented');
module.exports = function (a) { a(isImplemented(), true); };
|
/**
* @ngdoc module
* @name material.core.colorUtil
* @description
* Color Util
*/
angular
.module('material.core')
.factory('$mdColorUtil', ColorUtilFactory);
function ColorUtilFactory() {
/**
* Converts hex value to RGBA string
* @param color {string}
* @returns {string}
*/
function hexToRgb... |
/*
* GoJS v1.8.3 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-2017 by Northwoods Software Corporation. All Rights Reserved.
* THIS SOFTWARE IS LICENSED. THE LIC... |
// Copyright (c) 2015 Uber Technologies, Inc.
// 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, merge, ... |
/**
* Fatal Errors
*/
module.exports = function(sails) {
return {
__UnknownPolicy__: function (policy, source) {
source = source || 'config.policies';
sails.log.error('Unknown policy, "' + policy + '", referenced in `' + source + '`.');
sails.log.error('Are you sure that policy exists?');
sails.lo... |
/**
* Main mixin for the Bolt module.
*
* @mixin
* @namespace Bolt.fields
*
* @param {Object} bolt - The Bolt module.
*/
(function (bolt) {
'use strict';
// Add placeholder for fields
bolt.fields = {};
})(Bolt || {});
|
"use strict";const{kFourOhFourContext:kFourOhFourContext,kReplySerializerDefault:kReplySerializerDefault}=require("./symbols.js");function Context(e,t,r,s,l,i,o,n,u,a,h,d){this.schema=e,this.handler=t,this.Reply=r,this.Request=s,this.contentTypeParser=l,this.onRequest=null,this.onSend=null,this.onError=null,this.preHan... |
var test = require('tape');
var fs = require ('fs');
var join = require('path').join;
var couch_sample_file = join(__dirname, 'fixtures','couch_sample.json');
var JSONStream = require('../');
var fixture = {
obj: {
one: 1,
two: 2,
three: 3
}
};
function assertFixtureKeys(stream, t) {
var keys = []... |
function Unarchive(command, params, item) {
if (command !== 'unarchive' || !Match.test(params, String)) {
return;
}
let channel = params.trim();
let room;
if (channel === '') {
room = RocketChat.models.Rooms.findOneById(item.rid);
channel = room.name;
} else {
channel = channel.replace('#', '');
room ... |
Package.describe({
name: 'rocketchat:assets',
version: '0.0.1',
summary: '',
git: ''
});
Package.onUse(function(api) {
api.use([
'coffeescript',
'underscore',
'webapp',
'rocketchat:file',
'rocketchat:lib',
'webapp-hashing'
]);
api.addFiles('server/assets.coffee', 'server');
});
Npm.depends({
'ima... |
Package.describe({
name: "telescope:search",
summary: "Telescope search package",
version: "0.21.1",
git: "https://github.com/TelescopeJS/telescope-pages.git"
});
Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use(['telescope:core@0.21.1']);
api.addFiles([
'lib/search.js',
... |
function Assembler(features, filter) {
var currentFeature, currentFeatureElement, currentStep, suggestedFeature;
var stashedTags = [];
var self = {
setCurrentFeature: function setCurrentFeature(feature) {
currentFeature = feature;
self.setCurrentFeatureElement(undefined);
},
getCurrentFe... |
$.extend($.fn, {
// http://jqueryvalidation.org/validate/
validate: function( options ) {
// if nothing is selected, return nothing; can't chain anyway
if ( !this.length ) {
if ( options && options.debug && window.console ) {
console.warn( "Nothing selected, can't validate, returning nothing." );
}
... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var _objectWithoutPr... |
/// 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
/// ... |
var ALY = require('../core');
/**
* @api private
*/
ALY.ServiceInterface.Rest = {
buildRequest: function buildRequest(req) {
ALY.ServiceInterface.Rest.populateMethod(req);
ALY.ServiceInterface.Rest.populateURI(req);
ALY.ServiceInterface.Rest.populateHeaders(req);
},
extractError: function extractE... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createPrefixer = require('./createPrefixer');
var _createPrefixer2 = _interopRequireDefault(_createPrefixer);
var _staticData = require('./staticData');
var _staticData2 = _interopRequireDefault(_staticData);
var _cursor = require... |
var old = global.location = { protocol: 'http:', hostname: 'localhost'};
var loc = {};
var url = require('../lib/url');
var expect = require('expect.js');
describe('url', function(){
it('works with relative paths', function(){
loc.hostname = 'woot.com';
loc.protocol = 'https:';
var parsed = url('/test'... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'sl', {
title: 'Navodila Dostopnosti',
contents: 'Vsebina Pomoči. Če želite zapreti to pogovorno okno pritisnite ESC.'... |
define(function(){return"undefined"!=typeof global&&"function"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this}); |
// Bookmarks for Events/Incidents/Posts (Alerts/Updates)
S3.wacop_bookmarks = function() {
$('.bookmark').click(function() {
var $this = $(this);
var c = $this.data('c');
var f = $this.data('f');
var record_id = $this.data('i');
var icon = $this.find('i');
if (icon.ha... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v13.3.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
var _curry2 = require('./internal/_curry2');
/**
* Returns the character code of the nth character of the given string.
*
* @func
* @memberOf R
* @category String
* @sig Number -> String -> Number
* @param {Number} n
* @param {String} str
* @return {Number}
* @example
*
* R.nthCharCode(2, 'Ramda'); /... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v12.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
module.exports={title:"Google Keep",hex:"FFBB00",source:"https://play.google.com/store/apps/details?id=com.google.android.keep",svg:'<svg aria-labelledby="simpleicons-googlekeep-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-googlekeep-icon">Google Keep icon</title><path ... |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("examples/example-example103/index.html");
});
it('should sanitize the html snippet by default', function() {
expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).
toBe('<p>a... |
export var lastId = 0;
export function UniqueComponentId() {
let prefix = 'pr_id_';
lastId++;
return `${prefix}${lastId}`;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5pcXVlY29tcG9uZW50aWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvd... |
/*!
* medium-editor-insert-plugin v2.3.0 - jQuery insert plugin for MediumEditor
*
* http://linkesch.com/medium-editor-insert-plugin
*
* Copyright (c) 2014 Pavel Linkesch (http://linkesch.com)
* Released under the MIT license
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
... |
steal.then(function() {
/**
* @class DocumentJS.tags.codeend
* @tag documentation
* @parent DocumentJS.tags
*
* Stops a code block.
*
* ###Example:
*
* @codestart
*
* /*
* * @codestart
* * /* @class
* * * Person represents a human with a name. Read about the
* * * ani... |
/*
* Tests corner cases for \b and \B at start and end of input.
*
* IsWordChar() is defined in E5 Section 15.10.2.6 to be false if
* evaluated for a character outside the input string. The \b and
* \B assertions may thus match even at the start or the end of
* the input string.
*
* Below the '=' charact... |
define(
//begin v1.x content
{
"exponential": "e"
}
//end v1.x content
); |
var convert = require('./convert'),
func = convert('zipWith', require('../zipWith'));
func.placeholder = require('./placeholder');
module.exports = func;
|
/*! UIkit 2.18.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(addon) {
var component;
if (window.UIkit) {
component = addon(UIkit);
}
if (typeof define == "function" && define.amd) {
define("uikit-slideshow-fx", ["uikit"], function() {
return co... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","sl",{title:"Navodila za dostopnost",contents:"Vsebina pomoči. Če želite zapreti pogovorno okno, pritisnite ESC.",legend:[{name:"Splošno",... |
/* ***** 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... |
/*! Raven.js 3.11.0 (cb87941) | github.com/getsentry/raven-js */
/*
* Includes TraceKit
* https://github.com/getsentry/TraceKit
*
* Copyright 2017 Matt Robenolt and other contributors
* Released under the BSD license
* https://github.com/getsentry/raven-js/blob/master/LICENSE
*
*/
(function(f){if(typeof expor... |
/*!
* Quill Editor v1.2.1
* https://quilljs.com/
* Copyright (c) 2014, Jason Chen
* Copyright (c) 2013, salesforce.com
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' &&... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.0.1
*/
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.select
*/
/***************************************************
### TODO - POST RC1 ###
- [ ] Abstract placeme... |
// CommonJS require()
function require(p){
var path = require.resolve(p)
, mod = require.modules[path];
if (!mod) throw new Error('failed to require "' + p + '"');
if (!mod.exports) {
mod.exports = {};
mod.call(mod.exports, mod, mod.exports, require.relative(path));
}
return mod.... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const ConcatSource = require("webpack-sources").ConcatSource;
const ModuleFilenameHelpers = require("./ModuleFilenameHelpers");
function wrapComment(str) {
if(!str.includes("\n")) return `/*! ${str} */... |
/**
* `APIError` error.
*
* References:
* - https://developer.github.com/v3/#client-errors
*
* @constructor
* @param {string} [message]
* @param {number} [code]
* @access public
*/
function APIError(message) {
Error.call(this);
Error.captureStackTrace(this, arguments.callee);
this.name = 'APIError';
... |
jQuery(function($){
$.datepicker.regional['ga'] = {"Name":"ga","closeText":"Close","prevText":"Prev","nextText":"Next","currentText":"Today","monthNames":["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],"monthNamesShort":["Ean","Fe... |
if (typeof(PhpDebugBar) == 'undefined') {
// namespace
var PhpDebugBar = {};
PhpDebugBar.$ = jQuery;
}
(function($) {
if (typeof(localStorage) == 'undefined') {
// provide mock localStorage object for dumb browsers
localStorage = {
setItem: function(key, value) {},
... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : roo... |
'use strict';
var resources = require('./resources');
module.exports = function (block) {
var parts = block.match(resources.regbuild);
return {
type: parts[1],
alternateSearchPaths: parts[2],
target: parts[3] && parts[3].trim(),
attbs: parts[4] && parts[4].trim()
};
};
|
module.exports = function(sails) {
/**
* List of hooks that required for adminpanel to work
*/
var requiredHooks = [
'blueprints',
'controllers',
'http',
'policies',
];
function forbiddenPolicy(req, res, next) {
return res.forbidden();
};
return {
defaults: {
__config... |
YUI.add("loader-rollup",function(A){A.Loader.prototype._rollup=function(){var H,G,F,K,B=this.required,D,E=this.moduleInfo,C,I,J;if(this.dirty||!this.rollups){this.rollups={};for(H in E){if(E.hasOwnProperty(H)){F=this.getModule(H);if(F&&F.rollup){this.rollups[H]=F;}}}this.forceMap=(this.force)?A.Array.hash(this.force):{... |
// Invoke 'strict' JavaScript mode
'use strict';
// Load the module dependencies
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
// Define a new 'SmartPlugSchema'
var ScheduleSchema = new Schema({
created: {
type: Date,
default: Date.now
},
schid: {
type: String,
default: ... |
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof module === 'object' && typeof module.exports === 'object') {
factory(require('jquery'));
} else {
factory(jQuery);
}
}(function (jQuery) {
// Sinhalese (SI)
jQuery.timeago.setti... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v13.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("./utils");
function defaultGroupCompara... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var ReplaceSource = require("webpack-sources").ReplaceSource;
var RawSource = require("webpack-sources").RawSource;
function DependenciesBlockVariable(name, expression, dependencies) {
this.name = name;
this.... |
//////////////////////////////////////////////////////////////////////////
// //
// This is a generated file. You can view the original //
// source in your browser if your browser supports source maps. //
// Source maps are s... |
IntlMessageFormat.__addLocaleData({locale:"zu", messageformat:{pluralFunction:function (n) { var i=Math.floor(Math.abs(n));n=Math.floor(n);if(i===0||n===1)return"one";return"other"; }}}); |
'use strict';
var _ = require('lodash')
, Abstract = require('../abstract')
, ConnectionManager = require('./connection-manager')
, Query = require('./query')
, QueryGenerator = require('./query-generator')
, DataTypes = require('./data-types');
var MysqlDialect = function(sequelize) {
this.sequelize = se... |
/*!
* inferno-dom v0.7.25
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.InfernoDOM = factory());
}(th... |
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['angular'], factory);
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.export... |
(function (global) {
'use strict';
var util = newUtil();
var inliner = newInliner();
var fontFaces = newFontFaces();
var images = newImages();
global.domtoimage = {
toSvg: toSvg,
toPng: toPng,
toBlob: toBlob,
impl: {
fontFaces: fontFaces,
... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.4.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var utils_1 = require('../utils');
var CssClassApplier = (function () {
function CssClassApplier() {
}
CssClassApplier.addHeader... |
(function() {
d3.geom.contour = function(grid, start) {
var s = start || d3_geom_contourStart(grid), // starting point
c = [], // contour polygon
x = s[0], // current x position
y = s[1], // current y position
dx = 0, // next x direction
dy = 0, // next y direction
pdx ... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const asyncLib = require("async");
const Tapable = require("tapable");
const NormalModule = require("./NormalModule");
const RawModule = require("./RawModule");
const Parser = require("./Parser");
const R... |
var assert = require('assert')
var csrf = require('./')()
describe('CSRF Tokens', function () {
var secret
describe('.secret()', function () {
it('should return a string', function () {
secret = csrf.secretSync()
assert.equal('string', typeof secret)
return csrf.secret().then(function (se... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var grid_1 = require("../grid");
function initialiseAgGridWithAngular1(angular) {
var angularModule = angular.module("agGrid", [... |
module.exports = { prefix: 'fab', iconName: 'tumblr', icon: [320, 512, [], "f173", "M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _identity = require('lodash/identity');
var _identity2 = _interopRequireDefault(_identity);
var _createTester = require('./internal/createTester');
var _createTester2 = _interopRequireDefault(_createTester);
var _eachOfSeries = req... |
/*
Copyright (c) 2004-2011, 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
*/
//>>built
define("dojo/cldr/nls/en/currency",{"AUD_displayName":"Australian Dollar","CAD_displayName":"Canadian Dollar","CHF... |
/*
Copyright (c) 2004-2011, 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
*/
//>>built
define("dojo/cldr/nls/en/number",{"decimal":".","group":",","list":";","percentSign":"%","plusSign":"+","minusSign... |
var fs = require('fs');
var path = require('path');
var Constants = require('./constants');
var exp = module.exports;
/**
* Get system remote service path
*
* @param {String} role server role: frontend, backend
* @return {String} path string if the path exist else null
*/
exp.getSysRemotePath = function(rol... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.