code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1
value | license stringclasses 15
values | size int32 2 1.05M |
|---|---|---|---|---|---|
/*
* 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 License, Version 2.0 (the
* "License"); you ... | rscrimojr/incubator-trafficcontrol | traffic_portal/app/src/common/api/StaticDnsEntryService.js | JavaScript | apache-2.0 | 1,079 |
(function (env) {
"use strict";
var Games,
OPS = {
sequenceType: "inning",
counter: "number",
name: "innings",
min: 9
};
env.ddg_spice_sports_mlb_games = function(apiResult) {
if (!apiResult || !apiResult.data || !apiResult.data.... | evejweinberg/zeroclickinfo-spice | share/spice/sports/mlb/games/sports_mlb_games.js | JavaScript | apache-2.0 | 3,591 |
/*
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
*/
if(!dojo._hasResource["dojox.dtl.tag.logic"]){
dojo._hasResource["dojox.dtl.tag.logic"]=true;
dojo.provide("dojox.dtl.tag.l... | skobbler/AddressHunter | web-app/public/js/dojox/dtl/tag/logic.js | JavaScript | bsd-3-clause | 5,858 |
/*
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
*/
if(!dojo._hasResource["dojox.secure.fromJson"]){
dojo._hasResource["dojox.secure.fromJson"]=true;
dojo.provide("dojox.secur... | skobbler/AddressHunter | web-app/public/js/dojox/secure/fromJson.js | JavaScript | bsd-3-clause | 2,468 |
/**
* @jsx React.DOM
*/
var _ = require('lodash');
var React = require('react');
var classNames = require('classnames');
var CodeSample = React.createClass({
render: function() {
var panelClasses = classNames({
'code-sample-panel': true,
'hide': this.props.hidden
});
return (
<div c... | elof/explorer | client/js/app/components/explorer/visualization/code_sample.js | JavaScript | mit | 661 |
var tns = (function (){
// keys
if (!Object.keys) {
Object.keys = function (object) {
var keys = [];
for (var name in object) {
if (Object.prototype.hasOwnProperty.call(object, name)) {
keys.push(name);
}
}
return keys;
};
}
// ChildNode.r... | ahocevar/cdnjs | ajax/libs/tiny-slider/2.1.8/tiny-slider.js | JavaScript | mit | 83,717 |
/*globals describe, beforeEach, it, expect, module, inject, jQuery, moment, spyOn */
/**
* @license angular-bootstrap-datetimepicker
* Copyright 2013 Knight Rider Consulting, Inc. http://www.knightrider.com
* License: MIT
*/
/**
*
* @author Dale "Ducky" Lotts
* @since 11/8/2014
*/
describe... | Coralma/angular-bootstrap-datetimepicker | test/configuration/beforeRender.spec.js | JavaScript | mit | 11,198 |
const logger = new Logger('steffo:meteor-accounts-saml', {
methods: {
updated: {
type: 'info'
}
}
});
RocketChat.settings.addGroup('SAML');
Meteor.methods({
addSamlService(name) {
RocketChat.settings.add(`SAML_Custom_${ name }`, false, {
type: 'boolean',
group: 'SAML',
section: name,
i18nLabel... | xasx/Rocket.Chat | packages/meteor-accounts-saml/saml_rocketchat.js | JavaScript | mit | 5,358 |
if (! this.sh_languages) {
this.sh_languages = {};
}
sh_languages['c'] = [
[
[
/\/\/\//g,
'sh_comment',
1
],
[
/\/\//g,
'sh_comment',
7
],
[
/\/\*\*/g,
'sh_comment',
8
],
[
/\/\*/g,
'sh_comment',
9
],
[
... | kcloze/kcloze-blog | wp-content/plugins/shjs-syntax-hiliter/shjs/lang/sh_c.js | JavaScript | gpl-2.0 | 6,064 |
//>>built
define("dojox/form/nls/it/Uploader",({label:"Seleziona file..."})); | papjul/projeqtor | external/dojox/form/nls/it/Uploader.js | JavaScript | agpl-3.0 | 77 |
#!/usr/bin/env node
/**
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/
"use strict"
//------------------------------------------------------------------------------
// Main
//-------------------------------------------------... | truststamp/S3 | node_modules/npm-run-all/bin/run-s/index.js | JavaScript | apache-2.0 | 391 |
'use strict'
var md5File = require('./')
function md5FileAsPromised (filename) {
return new Promise(function (resolve, reject) {
md5File(filename, function (err, hash) {
if (err) return reject(err)
resolve(hash)
})
})
}
module.exports = md5FileAsPromised
module.exports.sync = md5File.sync
| BigBoss424/portfolio | v8/development/node_modules/md5-file/promise.js | JavaScript | apache-2.0 | 318 |
var MongoClient = require('../lib/mongodb').MongoClient
, mongo = require('../lib/mongodb')
, format = require('util').format
var host = process.env['MONGO_NODE_DRIVER_HOST'] != null ? process.env['MONGO_NODE_DRIVER_HOST'] : 'localhost';
var port = process.env['MONGO_NODE_DRIVER_PORT'] != null ? process.env['MONGO... | antonnik/code-classifier | naive_bayes/resources/js/index.js | JavaScript | apache-2.0 | 2,157 |
/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function ($, Drupal, drupalSettings) {
var dateFormats = drupalSettings.dateFormats;
Drupal.behaviors.dateFormat = {
attach: function attach(context) {
var $context... | maskedjellybean/tee-prop | web/core/modules/system/js/system.date.js | JavaScript | gpl-2.0 | 1,142 |
/**
* Module dependencies.
*/
var mongoose = require('./common').mongoose
, MongooseArray = mongoose.Types.Array
, MongooseDocumentArray = mongoose.Types.DocumentArray
, EmbeddedDocument = require('../lib/types/embedded')
, DocumentArray = require('../lib/types/documentarray')
, Schema = mongoose.Schema
... | f14c0/rb-sensor | webapp/node_modules/mongoose/test/types.documentarray.test.js | JavaScript | mit | 3,189 |
(function($) {
$(function() {
var jcarousel = $('.jcarousel');
jcarousel
.on('jcarousel:reload jcarousel:create', function () {
var width = jcarousel.innerWidth();
if (width >= 600) {
width = width / 3;
} else if (widt... | wgcowan/concarousel | views/shared/javascripts/jcarousel.responsive.js | JavaScript | gpl-2.0 | 1,388 |
imce.hooks.load.push(function() {
imce.opAdd({
name : 'search',
title : 'Search',
content : jQuery('#imce-search-form')
});
jQuery('#imce-search-form').submit(function() {
jQuery('#imce-search-results div').html('Searching ' + ((imce.conf.dir == '.') ? 'all ' : imce.conf.dir + ' and sub') +'direct... | gorbachiov/multisite | sites/all/modules/imce_tools/imce_search/imce_search.js | JavaScript | gpl-2.0 | 2,573 |
//// [copyrightWithNewLine1.ts]
/*****************************
* (c) Copyright - Important
****************************/
import model = require("./greeter")
var el = document.getElementById('content');
var greeter = new model.Greeter(el);
/** things */
greeter.start();
//// [copyrightWithNewLine1.js]
/***********... | plantain-00/TypeScript | tests/baselines/reference/copyrightWithNewLine1.js | JavaScript | apache-2.0 | 639 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.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 complianc... | Sound-Colour-Space/sound-colour-space | website/site-static/js/MathJax/unpacked/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js | JavaScript | mit | 18,981 |
sampleTag`left${0}\u{${1}right` | wcjohnson/babylon-lightscript | test/fixtures/experimental/template-literal-invalid-escapes-tagged/48/actual.js | JavaScript | mit | 31 |
'use strict';
angular.module('angularPassportApp')
.factory('User', function ($resource) {
return $resource('/auth/users/:id/', {},
{
'update': {
method:'PUT'
}
});
});
| santu-git/hijibiji | app/scripts/services/User.js | JavaScript | mit | 216 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
*
* @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js
* @description Type(Primitive(x)) is different from Type(Primitive(y)) and bo... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js | JavaScript | bsd-3-clause | 1,243 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If ToBoolean(x) is true, return x
*
* @path ch11/11.11/11.11.2/S11.11.2_A4_T2.js
* @description Type(x) and Type(y) vary between primitive number and Number object
*/
//CHECK#1
if ((-1 || 1) !== -1) {
$ERROR('#1: (-1 || 1) === -1');
}
//CHECK#2... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.11/11.11.2/S11.11.2_A4_T2.js | JavaScript | bsd-3-clause | 903 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-212.js
* @description Object.create - 'writable' property of one property in 'Properties' is a positive number primitive (8.10.5 step 6.b)
*/
function testcase() {
var newObj = Object.create(... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-212.js | JavaScript | bsd-3-clause | 567 |
/** PURE_IMPORTS_START ._AsapAction,._AsapScheduler PURE_IMPORTS_END */
import { AsapAction } from './AsapAction';
import { AsapScheduler } from './AsapScheduler';
/**
*
* Asap Scheduler
*
* <span class="informal">Perform task as fast as it can be performed asynchronously</span>
*
* `asap` scheduler behaves the s... | ottohernandezgarzon/tanks-colored-of-war | programar/node_modules/rxjs/_esm5/scheduler/asap.js | JavaScript | mit | 1,714 |
// Generated by CoffeeScript 1.8.0
var error;
alert((function() {
try {
return nonexistent / void 0;
} catch (_error) {
error = _error;
return "And the error is ... " + error;
}
})());
| user-tony/viroscope-rails | lib/assets/bower_components/coffee-script/documentation/js/expressions_try.js | JavaScript | mit | 204 |
define("ace/mode/matlab_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var MatlabHighlightRules = function(... | tickbh/VisualUIEditor | third/ace/src/mode-matlab.js | JavaScript | mit | 23,122 |
define(["Ti/_/declare", "Ti/_/lang","Ti/_/Gestures/GestureRecognizer"], function(declare,lang,GestureRecognizer) {
return declare("Ti._.Gestures.TouchMove", GestureRecognizer, {
name: "touchmove",
processTouchMoveEvent: function(e, element){
if (!element._isGestureBlocked(this.name)) {
var changed = ... | xissy/titanium-mobile-sdk | mobileweb/titanium/Ti/_/Gestures/TouchMove.js | JavaScript | apache-2.0 | 597 |
// Test keyboard invoked execution.
// Test
casper.notebook_test(function () {
var a = 'print("a")';
var index = this.append_cell(a);
this.execute_cell_then(index);
var b = 'print("b")';
index = this.append_cell(b);
this.execute_cell_then(index);
var c = 'print("c")';
index = this.app... | unnikrishnankgs/va | venv/lib/python3.5/site-packages/notebook/tests/notebook/dualmode_execute.js | JavaScript | bsd-2-clause | 3,342 |
/*!
Copyright (c) 2015 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/* global define */
(function () {
'use strict';
var hasOwn = {}.hasOwnProperty;
function classNames () {
var classes = '';
for (var i = 0; i < arguments.length; i++) {
var arg = arg... | TadeuszRychter/TadeuszRychter.github.io | w5/node_modules/classnames/index.js | JavaScript | apache-2.0 | 1,107 |
(function () {
TaxonomyTranslation.util = {
langCodes: [],
init: function () {
_.each(TaxonomyTranslation.data.activeLanguages, function (lang, code) {
TaxonomyTranslation.util.langCodes.push(code);
});
}
};
})(TaxonomyTranslation); | Bamboo3000/searchit | wp-content/plugins/sitepress-multilingual-cms/res/js/taxonomy-translation/util.js | JavaScript | gpl-2.0 | 252 |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fas';
var iconName = 'fish';
var width = 576;
var height = 512;
var ligatures = [];
var unicode = 'f578';
var svgPathData = 'M327.1 96c-89.97 0-168.54 54.77-212.27 101.63L27.5 131.58c-12.13-9.18-30.24.6-27.14 14.66L24.54 256 .35 ... | taudinpurkauspeli/taudinpurkauspeli | vendor/assets/bower_components/font-awesome/js-packages/@fortawesome/free-solid-svg-icons/faFish.js | JavaScript | gpl-3.0 | 941 |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var async_1 = require('../scheduler/async');
var... | claudiu-stanciu/kylo | ui/ui-app/src/main/resources/static/node_modules/rxjs/operators/timeoutWith.js | JavaScript | apache-2.0 | 6,269 |
/**
* @license
* Copyright 2015 Google Inc. All Rights Reserved.
*
* 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 requi... | coreyaus/material-design-lite | src/layout/layout.js | JavaScript | apache-2.0 | 14,847 |
/*
// Simple Set Clipboard System
// Author: Joseph Huckaby
*/
((function(){var a="ZeroClipboard"+(Browser.Plugins.Flash&&Browser.Plugins.Flash.version>=10?"10":"")+".swf";
this.ZeroClipboard={version:"1.0.7",clients:{},moviePath:"/components/com_roksprocket/assets/js/"+a,nextId:1,$:function(b){return document.id(b)||d... | studiochakra/writopialab.com | administrator/components/com_roksprocket/assets/js/ZeroClipboard.js | JavaScript | gpl-2.0 | 5,182 |
/*
* jQuery UI Effects Drop 1.8.12
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Effects/Drop
*
* Depends:
* jquery.effects.core.js
*/
(function(c){c.effects.drop=function(d){retur... | csgf/myjobs-portlet | web/ui/development-bundle/ui/minified/jquery.effects.drop.min.js | JavaScript | apache-2.0 | 1,088 |
/*
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... | ofertix/WebUIMonitor | web/js/ext-js/src/data/validations.js | JavaScript | mit | 4,153 |
version https://git-lfs.github.com/spec/v1
oid sha256:ce3806c309ea128911ab2158c361b4ccf823043c3f6d361786d1313355454252
size 15921
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/data/ObjectStore.js.uncompressed.js | JavaScript | mit | 130 |
var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
// see this link for more info on what all of this means
// https://github.com/halt-hammerzeit/webpack-isomorphic-tools
module.exports = {
webpack_assets_file_path: 'webpack-stats.json',
assets: {
images: {
extensions: [
... | jzning-martian/react-redux-universal-hot-example | webpack/webpack-isomorphic-tools.js | JavaScript | mit | 1,791 |
function innerTestInnerMissingArgs(a,b,c,d)
{
if (a) {
} else {
}
}
function doTestInnerMissingArgs(k)
{
for (i = 0; i < 10; i++) {
innerTestInnerMissingArgs(k);
}
}
function testInnerMissingArgs()
{
doTestInnerMissingArgs(1);
doTestInnerMissingArgs(0);
}
testInnerMiss... | glycerine/vj | src/js-1.8.5/js/src/jit-test/tests/basic/testInnerMissingArgs.js | JavaScript | apache-2.0 | 331 |
//// [thisInInnerFunctions.ts]
class Foo {
x = "hello";
bar() {
function inner() {
this.y = "hi"; // 'this' should be not type to 'Foo' either
var f = () => this.y; // 'this' should be not type to 'Foo' either
}
}
}
function test() {
var x = () => {
(()... | yortus/TypeScript | tests/baselines/reference/thisInInnerFunctions.js | JavaScript | apache-2.0 | 927 |
/** !
* Created by EYHN on 2017/4/17. https://github.com/EYHN
* 修改自 sexdevil/LSLoader https://github.com/sexdevil/LSLoader
*/
(function () {
window.lsloader = {
jsRunSequence: [], //js 运行队列 {name:代码name,code:代码,status:状态 failed/loading/comboJS,path:线上路径}
jsnamemap: {}, //js name map 防fallba... | jskyzero/jskyzero.github.io | themes/material/source/js/lsloader.js | JavaScript | mit | 15,537 |
define(function () {
var EDITABLE_PADDING = 24;
var Statusbar = function (context) {
var $document = $(document);
var $statusbar = context.layoutInfo.statusbar;
var $editable = context.layoutInfo.editable;
var options = context.options;
this.initialize = function () {
if (options.airMode... | aoliverio/builder | webroot/bower_components/summernote/src/js/base/module/Statusbar.js | JavaScript | mit | 1,121 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.echarts = {})));
}(this, (function (exports) { 'use strict';
if (typeof __DEV__ === "undefined") {
if (type... | joeyparrish/cdnjs | ajax/libs/echarts/3.8.0/echarts.simple.js | JavaScript | mit | 902,885 |
/*
* Javascript for module editWarning
*/
( function ( mw, $ ) {
'use strict';
$( function () {
var allowCloseWindow,
$textBox = $( '#wpTextbox1' ),
$summary = $( '#wpSummary' ),
$both = $textBox.add( $summary );
// Check if EditWarning is enabled and if we need it
if ( !mw.user.options.get( 'useed... | hipbr/hipbr.github.io | resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js | JavaScript | gpl-2.0 | 1,153 |
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
PIXI.BaseTextureCache = {};
PIXI.BaseTextureCacheIdGenerator = 0;
/**
* A texture stores the information that represents an image. All textures have a base texture.
*
* @class BaseTexture
* @uses EventTarget
* @constructor
* @param source {String} ... | andresmrm/brython-experiment | static/js/phaser/pixi/textures/BaseTexture.js | JavaScript | agpl-3.0 | 7,509 |
console.log("Found your pull request!") | jlord/git-it | problems/requesting_you_pull_please/solution.js | JavaScript | bsd-2-clause | 39 |
/**
* @license
* Copyright Google Inc. 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
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define ==... | joeyparrish/cdnjs | ajax/libs/zone.js/0.8.24/zone-mix.js | JavaScript | mit | 140,320 |
/**
* @fileoverview Rule to warn when a function expression does not have a name.
* @author Kyle T. Nunery
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.ex... | gazsam/alm-notification-resource | scripts/node_modules/eslint/lib/rules/func-names.js | JavaScript | apache-2.0 | 1,504 |
/*!
* OOjs UI v0.18.3
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2017 OOjs UI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2017-01-04T00:22:40Z
*/
( function ( OO ) {
'use strict';
/**
* Namespace for all classes, static methods and s... | tholu/cdnjs | ajax/libs/oojs-ui/0.18.3/oojs-ui-core.js | JavaScript | mit | 314,168 |
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/**
* @class Ext.layout.AnchorLayout
* @extends Ext.layout.ContainerLayout
* <p>This is a layout that enables anchoring of contained elements relative to the container's dimensions.
* If th... | xwiki-labs/sankoreorg | web/src/main/webapp/skins/curriki20/extjs-3.4.0/src/widgets/layout/AnchorLayout.js | JavaScript | lgpl-2.1 | 10,157 |
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/
//-----------------------------------------------------------------------------
var BUGNUMBER = 514568;
var summary = "eval in all its myriad flavors";
print(BUGNUMBER + ": " + summary);
/**************
* BEGIN ... | darkrsw/safe | tests/parser_tests/js/src/tests/ecma_5/eval/exhaustive-fun-strictcaller-direct-normalcode.js | JavaScript | bsd-3-clause | 4,565 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | igor-sfdc/qt-wk | tests/auto/qscriptjstestsuite/tests/ecma/Boolean/15.6.4.2-1.js | JavaScript | lgpl-2.1 | 5,027 |
'use strict';
describe('Service: <%= cameledName %>', function () {
// load the service's module
beforeEach(module('<%= scriptAppName %>'));
// instantiate service
var <%= cameledName %>;
beforeEach(inject(function (_<%= cameledName %>_) {
<%= cameledName %> = _<%= cameledName %>_;
}));
it('should... | dimmby/generator-ng-component | templates/service/name.service.spec.js | JavaScript | mit | 524 |
exports.parse = function() {
throw new Error("Boom!");
};
| kentcdodds/eslint | tests/fixtures/configurations/parser/custom.js | JavaScript | mit | 62 |
/*
The class is used to manage the assets which are deployed in the store
*/
var deploymentManagementModule = function () {
var publisher = require('/modules/publisher.js').publisher(request, session);
var rxtManager = publisher.rxtManager;
var bundler = require('/modules/bundler.js').bundle_logic();
... | cnapagoda/wso2Store | publisher/modules/deployment/deployment.manager.js | JavaScript | apache-2.0 | 5,941 |
/* */
"format cjs";
"use strict";
exports.__esModule = true;
// istanbul ignore next
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } new... | TelerikFrenchConnection/JS-Applications-Teamwork | lib/npm/babel-core@5.8.22/lib/transformation/transformers/es6/spec.symbols.js | JavaScript | mit | 2,072 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'mn', {
alt: 'Page Break', // MISSING
toolbar: 'Хуудас тусгаарлагч оруулах'
} );
| gregmoser/muracon2016 | www/requirements/ckeditor/plugins/pagebreak/lang/mn.js | JavaScript | mit | 292 |
/**
* angular-ui-sortable - This directive allows you to jQueryUI Sortable.
* @version v0.16.1 - 2016-12-16
* @link http://angular-ui.github.com
* @license MIT
*/
(function(window, angular, undefined) {
'use strict';
/*
jQuery UI Sortable plugin wrapper
@param [ui-sortable] {object} Options to pass to $.fn.sor... | Piicksarn/cdnjs | ajax/libs/angular-ui-sortable/0.16.1/sortable.js | JavaScript | mit | 20,868 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno'), require('inferno-create-element')) :
typeof define === 'function' && define.amd ? define(['exports', 'inferno', 'inferno-create-element'], factory) :
(factory((global.Inferno = g... | ahocevar/cdnjs | ajax/libs/inferno-test-utils/3.6.4/inferno-test-utils.js | JavaScript | mit | 27,988 |
(function() {
/* global define, Ember */
define('ember', [], function() {
"use strict";
return {
'default': Ember
};
});
define('ember-data', [], function() {
"use strict";
return {
'default': DS
};
});
})();
define('jquery', [], function() {
"use strict";
return {
'default': jQuery
}... | geymed/ember-cli-ace | vendor/ember-cli-shims/app-shims.js | JavaScript | mit | 326 |
class C {
[Symbol.iterator]: number;
[Symbol.iterator]?: number;
}
| cbishopvelti/babylon | test/fixtures/typescript/class/property-computed/actual.js | JavaScript | mit | 75 |
'use strict';
const assert = require('assert');
let battle;
describe('Substitute', function () {
afterEach(function () {
battle.destroy();
});
it('should deduct 25% of max HP, rounded down', function () {
battle = BattleEngine.Battle.construct();
battle.join('p1', 'Guest 1', 1, [{species: 'Mewtwo', ability:... | Exonode/Ironic-SRC | test/simulator/moves/substitute.js | JavaScript | mit | 4,549 |
/*! jQuery UI - v1.8.21 - 2012-06-05
* https://github.com/jquery/jquery-ui
* Includes: jquery.ui.datepicker-km.js
* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
jQuery(function(a){a.datepicker.regional.km={closeText:"ធ្វើរួច",prevText:"មុន",nextText:"បន្ទាប់",currentText:"ថ្ងៃនេះ",monthNames:["មករា","កុម្ភៈ",... | nizaranand/smalls-cc | wp-content/plugins/jquery-ui-1.8.21/ui/minified/i18n/jquery.ui.datepicker-km.min.js | JavaScript | gpl-2.0 | 1,273 |
/*
Copyright (c) 2014 Ramesh Nair (hiddentao.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, modify, merge, publish,... | ahocevar/cdnjs | ajax/libs/squel/3.9.0/squel.js | JavaScript | mit | 77,360 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.PopperUtils = factory());
}(this, (function () { 'use strict';
/**
* Get CSS computed property of the given element
* @me... | joeyparrish/cdnjs | ajax/libs/popper.js/1.8.0/popper-utils.js | JavaScript | mit | 28,771 |
function intval(mixed_var, base) {
// discuss at: http://phpjs.org/functions/intval/
// original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
// improved by: stensi
// bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
// bugfixed by: Brett Zamir (http://brett-zamir.me)
// bugfixed... | ferycode/starter-public-edition-3 | www/assets/js/lib/phpjs/intval.js | JavaScript | mit | 1,009 |
export default function debounce(fn) {
var pending;
return function () {
if (!pending) {
pending = new Promise(function (resolve) {
Promise.resolve().then(function () {
pending = undefined;
resolve(fn());
});
});
}
return pending;
};
} | mnot/redbot | src/node_modules/@popperjs/core/lib/utils/debounce.js | JavaScript | mit | 302 |
dojo.provide("dojox.collections.ArrayList");
dojo.require("dojox.collections._base");
dojox.collections.ArrayList=function(/* array? */arr){
// summary
// Returns a new object of type dojox.collections.ArrayList
var items=[];
if(arr) items=items.concat(arr);
this.count=items.length;
this.add=function(/* object *... | Emergen/zivios-panel | web/public/scripts/devel/current/dojox/collections/ArrayList.js | JavaScript | gpl-3.0 | 3,288 |
/**
* @author Ed Spencer
*
* Simple wrapper class that represents a set of records returned by a Proxy.
*/
Ext.define('Ext.data.ResultSet', {
/**
* @cfg {Boolean} loaded
* True if the records have already been loaded. This is only meaningful when dealing with
* SQL-backed proxies.
*/
loa... | serovvitaly/net | www/public/extjs-4/src/data/ResultSet.js | JavaScript | bsd-3-clause | 1,434 |
/**
* Copyright 2013-2014, 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.
*
* @providesModule ... | demns/todomvc-perf-comparison | todomvc/react/node_modules/react/lib/ReactPropTransferer.js | JavaScript | mit | 4,778 |
/*
Highmaps JS v5.0.8 (2017-03-08)
Highmaps as a plugin for Highcharts 4.1.x or Highstock 2.1.x (x being the patch version of this file)
(c) 2011-2016 Torstein Honsi
License: www.highcharts.com/license
*/
(function(y){"object"===typeof module&&module.exports?module.exports=y:y(Highcharts)})(function(y){(function(... | tonytomov/cdnjs | ajax/libs/highmaps/5.0.8/modules/map.js | JavaScript | mit | 31,307 |
var Keen = require('keen.io');
var wifi = require('wifi-cc3000');
var keen = Keen.configure({
projectId: "542b084ce8759666375da5e5",
writeKey: "5eb5ca575ff8bb7108c21fe13a6cd0e81c1e82b8df8d0fdf7d583029a0702cf892dc5a8b8e9b3884c0415d8a3603ce06465b4b7053aee014a8ab25e640af5b8750ea316034afbdc01899177aa55795829a14... | Ricardobruno06/SISMAC | tessel-data.js | JavaScript | mit | 3,952 |
"no use strict";
;(function(window) {
if (typeof window.window != "undefined" && window.document) {
return;
}
window.console = function() {
var msgs = Array.prototype.slice.call(arguments, 0);
postMessage({type: "log", data: msgs});
};
window.console.error =
window.console.warn =
window.console.log =
wind... | Eonic/EonicWeb5 | wwwroot/ewcommon/js/ace/src/worker-css.js | JavaScript | apache-2.0 | 293,072 |
/*
* Translated default messages for the jQuery validation plugin.
* Locale: NL
*/
jQuery.extend(jQuery.validator.messages, {
required: "Dit is een verplicht veld.",
remote: "Controleer dit veld.",
email: "Vul hier een geldig e-mailadres in.",
url: "Vul hier een geldige URL in.",
... | Magnition/innova-partnerships | www/wordpress/wp-content/plugins/types/library/toolset/types/resources/js/jquery-form-validation/localization/messages_nl.js | JavaScript | mit | 1,271 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | viskin/cdnjs | ajax/libs/forerunnerdb/1.3.533/fdb-core+views.js | JavaScript | mit | 309,027 |
/**
* Module dependencies.
*/
var Mocha = require('mocha')
, Base = Mocha.reporters.Base
, color = Base.color;
// allow to force the use of colors
Base.useColors = process.env.FORCE_COLORS ? true : Base.useColors;
/**
* Expose `Dot`.
*/
exports = module.exports = Dot;
/**
* Initialize a new `Dot` matrix t... | Tirtha15/projectmonster-1 | tirtha-files/node_modules/sails-mysql/node_modules/waterline-sequel/test/integration/customDotReporter.js | JavaScript | gpl-2.0 | 1,382 |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M391.553 64H57.607C53.13 64 48 67.745 48 72.16v214.216c0 4.413 5.13 8.624 9.607 8.624H115v88.894L205.128 295h186.425c4.477 0 7.447-4.21 7.447-8.624V72.16c0-4.415-2.97-8.16-7.447-8.16z"/><path d="M456.396 127H424... | seogi1004/cdnjs | ajax/libs/ionicons/4.0.0-5/ionicons/svg/md-chatboxes.js | JavaScript | mit | 506 |
function WPATH(s) {
var index = s.lastIndexOf("/");
var path = -1 === index ? "foo/" + s : s.substring(0, index) + "/foo/" + s.substring(index + 1);
return path;
}
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return ... | bhatfield/alloy | test/apps/testing/ALOY-488/_generated/mobileweb/alloy/widgets/foo/controllers/widget.js | JavaScript | apache-2.0 | 1,014 |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/localization/da/da.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (th... | AndrewSyktyvkar/Math | wysivig/MathJax/unpacked/localization/da/da.js | JavaScript | bsd-3-clause | 2,110 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isScheduler(value) {
return value && typeof value.schedule === 'function';
}
exports.isScheduler = isScheduler;
//# sourceMappingURL=isScheduler.js.map | BigBoss424/portfolio | v8/development/node_modules/rxjs/internal/util/isScheduler.js | JavaScript | apache-2.0 | 241 |
require('./angular-locale_yue');
module.exports = 'ngLocale';
| angular/bower-angular-i18n | yue.js | JavaScript | mit | 62 |
/*!
* jQuery JavaScript Library v1.4.3
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... | yantarou/midonet-docs | www/rest-api/2015.03/common/jquery/jquery-1.4.3.min.js | JavaScript | apache-2.0 | 77,746 |
/*!
* jquery.inputmask.phone.extensions.js
* http://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2014 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.1.42
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ ... | lemayi/qiu | vendor/bower/jquery.inputmask/dist/inputmask/jquery.inputmask.phone.extensions.js | JavaScript | bsd-3-clause | 2,374 |
/*! SWFMini - a SWFObject 2.2 cut down version for webshims
*
* based on SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfmini = function() {
var wasRemoved = function(){webshims.error('This method was removed f... | gaearon/cdnjs | ajax/libs/webshim/1.15.1-RC1/dev/shims/combos/12.js | JavaScript | mit | 46,071 |
'use strict';
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 ("value" in descriptor) descriptor.writable = true; Object.definePrope... | andaistvan/speed-theme | wp-content/themes/speed/dev/foundation6/bower_components/foundation-sites/dist/plugins/foundation.interchange.js | JavaScript | gpl-2.0 | 6,556 |
define(['exports', './utils', './exception'], function (exports, _utils, _exception) {
'use strict';
var _interopRequire = function (obj) { return obj && obj.__esModule ? obj['default'] : obj; };
exports.__esModule = true;
exports.HandlebarsEnvironment = HandlebarsEnvironment;
exports.createFrame = createFr... | nnupoor/whatyouuse | wyu/node_modules/handlebars/dist/amd/handlebars/base.js | JavaScript | mit | 7,827 |
this is file 391 | edyhernandez/brand-knew-wordpress | wp-content/themes/socialimpact/node_modules/gulp-if/fixture/large/file391.js | JavaScript | mit | 16 |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2013-2014 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
/**
* @license
* @fileoverview Visual blocks editor for App Inventor
* FieldTextBlockInput is a subclass of FieldTextInput
*
* @a... | Mateopato/appinventor-sources | appinventor/blocklyeditor/src/field_textblockinput.js | JavaScript | apache-2.0 | 1,384 |
var moment = require("../../moment");
/**************************************************
Portuguese - Brazilian
*************************************************/
exports["lang:pt-br"] = {
setUp : function (cb) {
moment.lang('pt-br');
cb();
},
tearDown : function (cb) {
... | harishvc/twitter-stream-analytics | node_modules/twix/vendor/moment/test/lang/pt-br.js | JavaScript | mit | 18,407 |
var webpack = require('webpack');
module.exports = {
context: __dirname,
entry: [
// Add the client which connects to our middleware
// You can use full urls like 'webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr'
// useful if you run your app from another point like django
'w... | niuzz/ci | vue-source/node_modules/webpack-hot-middleware/example/webpack.config.js | JavaScript | mit | 707 |
Package.describe({
summary: "Moved to the 'mongo' package",
version: '1.0.9-plugins.0'
});
Package.onUse(function (api) {
api.imply("mongo");
});
| kidaa/meteor | packages/mongo-livedata/package.js | JavaScript | mit | 153 |
//// [commentsBeforeFunctionExpression1.ts]
var v = {
f: /**own f*/ (a) => 0
}
//// [commentsBeforeFunctionExpression1.js]
var v = {
f: /**own f*/ function (a) { return 0; }
};
| progre/TypeScript | tests/baselines/reference/commentsBeforeFunctionExpression1.js | JavaScript | apache-2.0 | 194 |
/**
* @author: @AngularClass
*/
module.exports = function(config) {
var testWebpackConfig = require('./webpack.test.js')({env: 'test'});
var configuration = {
// base path that will be used to resolve all patterns (e.g. files, exclude)
basePath: '',
/*
* Frameworks to use
*
* availa... | DeepSpace69/PartyFinder | web/config/karma.conf.js | JavaScript | apache-2.0 | 2,537 |
var path = require( 'path' );
var fs = require( 'graceful-fs' );
var del = require( 'del' ).sync;
var utils = require( './utils' );
var writeJSON = utils.writeJSON;
var cache = {
/**
* Load a cache identified by the given Id. If the element does not exists, then initialize an empty
* cache storage. If specifie... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/flat-cache/cache.js | JavaScript | mit | 5,769 |
(function(factory){if(typeof define==="function"&&define.amd){define("bootstrap.wysihtml5.ja-JP",["jquery","bootstrap.wysihtml5"],factory)}else{factory(jQuery)}})(function($){$.fn.wysihtml5.locale["ja-JP"]={font_styles:{normal:"通常の文字",h1:"見出し1",h2:"見出し2",h3:"見出し3"},emphasis:{bold:"太字",italic:"斜体",underline:"下線"},lists:... | tonytomov/cdnjs | ajax/libs/bootstrap3-wysiwyg/0.3.3/locales/bootstrap-wysihtml5.ja-JP.min.js | JavaScript | mit | 805 |
/* Black Studio TinyMCE Widget */
!function(a){function b(b){b.on("keyup change",function(){"visual"===bstw(b.id).get_mode()&&bstw(b.id).update_content(),a("#"+b.id).change()}),a("#"+b.id).addClass("active").removeClass("activating")}var c;for(c in tinyMCEPreInit.mceInit)c.search("black-studio-tinymce")>=0&&(tinyMCEPre... | cw196/tiwal | zh/wp-content/plugins/black-studio-tinymce-widget/js/black-studio-tinymce-widget-setup.min.js | JavaScript | gpl-2.0 | 354 |
exports.hey = function() { return "you"; };
| MatiasNAmendola/gnome-web | usr/lib/brackets/src/extensions/default/JavaScriptCodeHints/thirdparty/tern/test/cases/component/localfile.js | JavaScript | gpl-3.0 | 44 |
// A thing that emits "entry" events with Reader objects
// Pausing it causes it to stop emitting entry events, and also
// pauses the current entry if there is one.
module.exports = DirReader
var fs = require('graceful-fs')
var inherits = require('inherits')
var path = require('path')
var Reader = require('./reader.... | jacobph/impact | wp-content/themes/impact/node_modules/gulp-sass/node_modules/node-sass/node_modules/node-gyp/node_modules/fstream/lib/dir-reader.js | JavaScript | gpl-2.0 | 6,610 |
import * as acorn from 'acorn';
import inject from './inject';
export default inject(acorn);
| puyanLiu/LPYFramework | 前端练习/autoFramework/webpack-test/node_modules/acorn-dynamic-import/src/index.js | JavaScript | apache-2.0 | 94 |