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 |
|---|---|---|---|---|---|
;(function (root, factory, undef) {
if (typeof exports === "object") {
// CommonJS
module.exports = exports = factory(require("./core"), require("./cipher-core"));
}
else if (typeof define === "function" && define.amd) {
// AMD
define(["./core", "./cipher-core"], factory);
}
else {
// Global (browser)
... | cloudfoundry-community/asp.net5-buildpack | fixtures/node_apps/angular_dotnet/ClientApp/node_modules/crypto-js/pad-zeropadding.js | JavaScript | apache-2.0 | 1,110 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The length property of sort has the attribute DontEnum
*
* @path ch15/15.4/15.4.4/15.4.4.11/S15.4.4.11_A7.1.js
* @description Checking use propertyIsEnumerable, for-in
*/
//CH... | hippich/typescript | tests/Fidelity/test262/suite/ch15/15.4/15.4.4/15.4.4.11/S15.4.4.11_A7.1.js | JavaScript | apache-2.0 | 793 |
import {formatQS} from './url';
import {getWinningBids} from './targeting';
// Adserver parent class
const AdServer = function(attr) {
this.name = attr.adserver;
this.code = attr.code;
this.getWinningBidByCode = function() {
return getWinningBids(this.code)[0];
};
};
// DFP ad server
exports.dfpAdserver =... | hadarpeer/Prebid.js | src/adserver.js | JavaScript | apache-2.0 | 1,566 |
/*
* Copyright (c) 2012-2015 S-Core Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | happibum/webida-client | apps/ide/src/plugins/webida.editor.code-editor.content-assist.css.css-smart/css-hint-server.js | JavaScript | apache-2.0 | 3,359 |
var RxOld = require("rx");
var RxNew = require("../../../../index");
module.exports = function (suite) {
var oldFlatMapWithCurrentThreadScheduler = RxOld.Observable.range(0, 25, RxOld.Scheduler.currentThread).flatMap(RxOld.Observable.return(0, RxOld.Scheduler.currentThread));
var newFlatMapWithCurrentThreadSc... | smaye81/RxJS | perf/micro/current-thread-scheduler/operators/flat-map-observable-scalar.js | JavaScript | apache-2.0 | 932 |
/**
* Copyright 2016 The AMP HTML Authors. 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 require... | widespace-os/amphtml | test/unit/test-form.js | JavaScript | apache-2.0 | 9,073 |
/// <reference path="jquery-1.4.4-vsdoc.js" />
$(document).ready(function () {
function updateGrid(e) {
e.preventDefault();
// find the containing element's id then reload the grid
var url = $(this).attr('href');
var grid = $(this).parents('.ajaxGrid'); // get the grid
var ... | priyaaggarwal24/manifest | packages/WebGridMvc.1.0.0/content/scripts/webGrid.js | JavaScript | artistic-2.0 | 654 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-init-iter-close.case
// - src/dstr-binding/default/cls-decl-async-gen-meth-dflt.template
/*---
description: Iterator is closed when not exhausted by pattern evaluation (class expression async generator method (default paramete... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-dflt-ary-init-iter-close.js | JavaScript | bsd-2-clause | 2,372 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
const runtime = require("sdk/system/runtime");
const system = require("sdk/system");
exports["test ... | grammarly/browser-extensions | firefox/addon-sdk/test/test-system.js | JavaScript | bsd-3-clause | 1,167 |
/* Suppress initial rendering of result list, but only if we can show it with JS later on */
document.write('<style type="text/css">#result_list { display: none }</style>');
treeadmin.jQuery(function($){
// recolor tree after expand/collapse
$.extend($.fn.recolorRows = function() {
$('tr:visible:even', this).rem... | extertioner/django-treeadmin | treeadmin/static/treeadmin/js/treeadmin.js | JavaScript | bsd-3-clause | 10,938 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.run = undefined;
var _asyncToGenerator2;
function _load_asyncToGenerator() {
return _asyncToGenerator2 = _interopRequireDefault(require('babel-runtime/helpers/asyncToGenerator'));
}
let updateCwd = (() => {
var _ref = (0, (_a... | rafaeltomesouza/frontend-class1 | aula2/a9/linkedin/client/.gradle/yarn/node_modules/yarn/lib/cli/commands/global.js | JavaScript | mit | 9,186 |
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import invariant from 'fbjs/lib/invariant';
import warning from 'fbjs/lib/warning';
import {isEndish, isMoveish, isStartish... | isubham/isubham.github.io | react/react-16.2.0/packages/events/ResponderTouchHistoryStore.js | JavaScript | mit | 6,890 |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import 'babel-polyfill';
import path from 'path';
import e... | N4N0/resume | src/server.js | JavaScript | mit | 4,585 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _ErrorHandler = require('../utils/ErrorHandler');
var startActivity = function startActivity(appPackage, appActivity) {
if (typeof appPackage !== 'string' || typeof appActivity !== 'string') {
throw new _ErrorHandler.Pro... | deep0892/jitendrachatbot | node_modules/webdriverio/build/lib/protocol/startActivity.js | JavaScript | mit | 1,078 |
tinyMCE.addI18n('en.asciimath',{
desc : 'Add New Math'
});
tinyMCE.addI18n('en.asciimathcharmap',{
desc : 'Math Symbols'
});
| MaheshBhise/octopus-private | vendor/assets/javascripts/tinymce/plugins/asciimath/langs/en.js | JavaScript | mit | 135 |
import { Meteor } from 'meteor/meteor';
import bugsnag from 'bugsnag';
import { settings } from '../../../settings';
import { Info } from '../../../utils';
settings.get('Bugsnag_api_key', (key, value) => {
if (value) {
bugsnag.register(value);
}
});
const notify = function(message, stack) {
if (typeof stack ===... | Sing-Li/Rocket.Chat | app/lib/server/lib/bugsnag.js | JavaScript | mit | 816 |
/**
* @file
* Attaches behaviors for the Tour module's toolbar tab.
*/
(($, Backbone, Drupal, settings, document, Shepherd) => {
const queryString = decodeURI(window.location.search);
/**
* Attaches the tour's toolbar tab behavior.
*
* It uses the query string for:
* - tour: When ?tour=1 is present... | tobiasbuhrer/tobiasb | web/core/modules/tour/js/tour.es6.js | JavaScript | gpl-2.0 | 15,109 |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fas';
var iconName = 'map-marked-alt';
var width = 576;
var height = 512;
var ligatures = [];
var unicode = 'f5a0';
var svgPathData = 'M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0... | cstrassburg/smarthome | modules/http/webif/gstatic/fontawesome/advanced-options/use-with-node-js/free-solid-svg-icons/faMapMarkedAlt.js | JavaScript | gpl-3.0 | 1,286 |
/* jslint node: true */
'use strict';
var binding = require('../build/Release/sodium');
var AuthKey = require('./keys/auth-key');
var toBuffer = require('./toBuffer');
var should = require('should');
/**
* Message Authentication
*
* Security model
*
* The crypto_auth function, viewed as a function of the message... | Zeipt/Mycely | www/jxcore/node_modules/sodium/lib/auth.js | JavaScript | agpl-3.0 | 3,794 |
'use strict';
/**
* @module br/test/TimeUtility
*/
var Errors = require('br/Errors');
/**
* @private
* @class
* @alias module:br/test/TimeUtility
*
* @classdesc
* Utility class containing static methods that can be useful for controlling time in tests.
*/
var TimeUtility = {};
/** @private */
TimeUtility.T... | BladeRunnerJS/brjs | brjs-sdk/sdk/libs/javascript/br-test/src/br/test/TimeUtility.js | JavaScript | lgpl-3.0 | 5,342 |
/* Copyright 2017 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | xavier114fch/pdf.js | systemjs.config.js | JavaScript | apache-2.0 | 3,232 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'preview', 'en-ca', {
preview: 'Preview'
} );
| ldilov/uidb | plugins/ckeditor/plugins/preview/lang/en-ca.js | JavaScript | apache-2.0 | 219 |
/*
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | weolar/miniblink49 | third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js | JavaScript | apache-2.0 | 20,001 |
//// [tests/cases/compiler/inferredIndexerOnNamespaceImport.ts] ////
//// [foo.ts]
export const x = 3;
export const y = 5;
//// [bar.ts]
import * as foo from "./foo";
function f(map: { [k: string]: number }) {
// ...
}
f(foo);
//// [foo.js]
"use strict";
exports.__esModule = true;
exports.x = 3;
expor... | basarat/TypeScript | tests/baselines/reference/inferredIndexerOnNamespaceImport.js | JavaScript | apache-2.0 | 461 |
/*
* Copyright (c) 2012-2015 S-Core Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | leechwin/webida-client | common/src/webida/plugins/workbench/ui/PartContextMenu.js | JavaScript | apache-2.0 | 2,432 |
/**
* Copyright (c) 2009
* Jan-Felix Schwarz
*
* 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, modif... | padmaragl/activiti-karaf | bpmn-webui-components/bpmn-webui-editor/src/main/scripts/Plugins/selectssperspective.js | JavaScript | apache-2.0 | 9,866 |
var module = module;
//this keeps the module file from doing anything inside the jasmine tests.
//We could avoid this by making all the source be in a specific directory, but that would break backwards compatibility.
if (module) {
module.exports = function (grunt) {
'use strict';
var config, debug,... | sficarrotta/FeatureProgress | Gruntfile.js | JavaScript | mit | 1,601 |
import { CONSTANT_TAG, DirtyableTag } from 'glimmer-reference';
import { meta as metaFor } from './meta';
import require from 'require';
import { isProxy } from './is_proxy';
let hasViews = () => false;
export function setHasViews(fn) {
hasViews = fn;
}
function makeTag() {
return new DirtyableTag();
}
export f... | kaeufl/ember.js | packages/ember-metal/lib/tags.js | JavaScript | mit | 1,485 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'liststyle', 'fr', {
armenian: 'Numération arménienne',
bulletedTitle: 'Propriétés de la liste à puces',
circle: 'Cercle',
decimal: 'Déc... | webmasterETSI/web | web/ckeditor/plugins/liststyle/lang/fr.js | JavaScript | mit | 1,078 |
#!/usr/bin/env mocha -R spec
var assert = require("assert");
var msgpackJS = "../index";
var isBrowser = ("undefined" !== typeof window);
var msgpack = isBrowser && window.msgpack || require(msgpackJS);
var TITLE = __filename.replace(/^.*\//, "");
var HAS_UINT8ARRAY = ("undefined" !== typeof Uint8Array);
describe(TI... | february29/Learning | web/vue/AccountBook-Express/node_modules/msgpack-lite/test/14.codec.js | JavaScript | mit | 2,947 |
function dec(target, name, descriptor) {
assert(target);
assert.equal(typeof name, "string");
assert.equal(typeof descriptor, "object");
target.decoratedProps = (target.decoratedProps || []).concat([name]);
let initializer = descriptor.initializer;
return {
enumerable: name.indexOf('enum') !== -1,
... | ccschneidr/babel | packages/babel-plugin-transform-decorators/test/fixtures/object-properties/return-descriptor/exec.js | JavaScript | mit | 2,219 |
/*
Highcharts JS v6.1.1 (2018-06-27)
Plugin for displaying a message when there is no data visible in chart.
(c) 2010-2017 Highsoft AS
Author: Oystein Moseng
License: www.highcharts.com/license
*/
(function(d){"object"===typeof module&&module.exports?module.exports=d:d(Highcharts)})(function(d){(function(c){var ... | seogi1004/cdnjs | ajax/libs/highcharts/6.1.1/js/modules/no-data-to-display.js | JavaScript | mit | 1,390 |
/**
* @license
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash -o ./dist/lodash.compat.js`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investiga... | MarkySparky/teuchters | node_modules/gruntfile-gtx/node_modules/load-grunt-tasks/node_modules/multimatch/node_modules/lodash/dist/lodash.compat.js | JavaScript | mit | 244,097 |
var powerSaveBlocker;
powerSaveBlocker = process.atomBinding('power_save_blocker').powerSaveBlocker;
module.exports = powerSaveBlocker;
| simongregory/electron | lib/browser/api/power-save-blocker.js | JavaScript | mit | 138 |
const fs = require(`fs`)
const fetchData = require(`../fetch`)
// Fetch data from our sample site and save it to disk.
const typePrefix = `wordpress__`
const refactoredEntityTypes = {
post: `${typePrefix}POST`,
page: `${typePrefix}PAGE`,
tag: `${typePrefix}TAG`,
category: `${typePrefix}CATEGORY`,
}
fetchData... | danielfarrell/gatsby | packages/gatsby-source-wordpress/src/scripts/download-test-data.js | JavaScript | mit | 659 |
requirejs.config({
"paths": {
"jquery": "https://code.jquery.com/jquery-1.11.3.min",
"moment": "../../moment",
"daterangepicker": "../../daterangepicker"
}
});
requirejs(['jquery', 'moment', 'daterangepicker'] , function ($, moment) {
$(document).ready(function() {
$('#config-te... | asiboro/asiboro.github.io | plugins/daterangepicker/example/amd/main.js | JavaScript | mit | 4,777 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'justify', 'en', {
block: 'Justify',
center: 'Center',
left: 'Align Left',
right: 'Align Right'
} );
| baem1000/fredagskul | wp-content/upgrade/wck-custom-fields-and-custom-post-types-creator.1.2.2-TZwCX7/wck-custom-fields-and-custom-post-types-creator/wordpress-creation-kit-api/assets/js/ckeditor/plugins/justify/lang/en.js | JavaScript | gpl-2.0 | 287 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object for the
* Dutch language.
*/
/**#@+
@type String
@example
*/
/**
* Contains the dictio... | SeeyaSia/www | web/libraries/ckeditor/lang/nl.js | JavaScript | gpl-2.0 | 3,386 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
*
* Date: 12 Feb 2002
* S... | SlateScience/MozillaJS | js/src/tests/ecma_3/RegExp/regress-122076.js | JavaScript | mpl-2.0 | 2,299 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
File Name: 15.9.3... | JasonGross/mozjs | js/src/tests/ecma/Date/15.9.3.1-2.js | JavaScript | mpl-2.0 | 5,053 |
'use strict';
const stripIndent = require('strip-indent');
const indentString = require('indent-string');
module.exports = (str, count, indent) => indentString(stripIndent(str), count || 0, indent);
| BigBoss424/portfolio | v7/development/node_modules/redent/index.js | JavaScript | apache-2.0 | 200 |
//// [constructorReturnsInvalidType.ts]
class X {
constructor() {
return 1;
}
foo() { }
}
var x = new X();
//// [constructorReturnsInvalidType.js]
var X = (function () {
function X() {
return 1;
}
X.prototype.foo = function () {
};
return X;
})();
var x = ... | RReverser/TSX | tests/baselines/reference/constructorReturnsInvalidType.js | JavaScript | apache-2.0 | 330 |
dojo.provide("tests._base.Deferred");
var delay = function(ms){
var d = new dojo.Deferred();
ms = ms || 20;
setTimeout(function(){
d.progress(0.5);
},ms/2);
setTimeout(function(){
d.resolve();
},ms);
return d.promise;
};
doh.register("tests._base.Deferred",
[
function callback(t){
var nd = new dojo.D... | sulistionoadi/belajar-springmvc-dojo | training-web/src/main/webapp/js/dojotoolkit/dojo/tests/_base/Deferred.js | JavaScript | apache-2.0 | 5,706 |
/*
* Copyright 2012-2015 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | marklogic/marklogic-samplestack | browser/src/mocks/index.js | JavaScript | apache-2.0 | 1,133 |
describe('[Regression](GH-1424)', function () {
it('Should raise click event on a button after "enter" key is pressed', function () {
return runTests('testcafe-fixtures/index-test.js', 'Press enter');
});
});
| georgiy-abbasov/testcafe-phoenix | test/functional/fixtures/regression/gh-1424/test.js | JavaScript | mit | 225 |
/*!
* Ext JS Library 3.3.1
* Copyright(c) 2006-2010 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/*!
* Ext JS Library 3.3.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
Ext.ns('Ext.ux.grid');
Ext.ux.grid.LockingGridView = Ext.extend(Ex... | limscoder/js-file-browser | src/extjs/examples/ux/LockingGridView.js | JavaScript | mit | 33,643 |
import Ember from "ember";
const { Route } = Ember;
const set = Ember.set;
export default Route.extend({
setupController() {
this.controllerFor('mixinStack').set('model', []);
let port = this.get('port');
port.on('objectInspector:updateObject', this, this.updateObject);
port.on('objectInspector:upda... | jryans/ember-inspector | app/routes/application.js | JavaScript | mit | 3,292 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.Inferno = global.Inferno || {})));
}(this, (function (exports) { 'use strict';
var NO_OP = '$NO_OP... | jonobr1/cdnjs | ajax/libs/inferno/4.0.8/inferno.js | JavaScript | mit | 96,955 |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license @product.name@ JS v@product.version@ (@product.date@)
*
* (c) 2009-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
(function (root, factory) {
if (typeof module === 'object' && module.exports) {
module.ex... | frank12268/codis | cmd/fe/assets/node_modules/highcharts/js/parts/Intro.js | JavaScript | mit | 554 |
Behaviour.register({
'#backButton': function(button) {
button.onclick = function() {
if (isNaN(memberId) || memberId <= 0) {
self.location = pathPrefix + "/searchLoanGroups";
} else {
self.location = pathPrefix + "/memberLoanGroups?memberId=" + memberId;
}
}
}
}); | diriger/solcyc | web/pages/loanGroups/viewLoanGroup.js | JavaScript | gpl-2.0 | 287 |
/* global describe, beforeEach, it */
import { expect } from "chai";
import { shouldOpenInNewTab } from "./utils";
describe("app/lib/utils:shouldOpenInNewTab", () => {
let mockClickEvent;
beforeEach(() => {
mockClickEvent = {
ctrlKey: false,
metaKey: false,
type: "click",
button: 0
... | mozilla/idea-town | frontend/src/app/lib/tests.js | JavaScript | mpl-2.0 | 1,211 |
/* */
"format amd";
/*! jQuery UI - v1.11.4 - 2015-03-13
* http://jqueryui.com
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function(e){"function"==typeof define&&define.amd?define(["../datepicker"],e):e(jQuery.datepicker)})(function(e){return e.regional.kk={closeText:"Жабу",prevText:"<А... | IsmailM/sequenceserver | public/vendor/github/components/jqueryui@1.11.4/ui/minified/i18n/datepicker-kk.min.js | JavaScript | agpl-3.0 | 1,125 |
/**
* @license
* Copyright 2015 The AMP HTML Authors. 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
*
* Un... | luciancrasovan/amphtml | validator/engine/parse-srcset_test.js | JavaScript | apache-2.0 | 8,950 |
var KeyVault = require('azure-keyvault');
var util = require('util');
var Crypto = require('crypto');
var AuthenticationContext = require('adal-node').AuthenticationContext;
var clientId = '<to-be-filled>';
var clientSecret = '<to-be-filled>';
var vaultUri = '<to-be-filled>';
// Authenticator - retrieves the access t... | begoldsm/azure-sdk-for-node | lib/services/keyVault/sample.js | JavaScript | apache-2.0 | 6,910 |
//>>built
define("dojox/form/nls/el/Uploader",{label:"\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd..."}); | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/form/nls/el/Uploader.js | JavaScript | apache-2.0 | 146 |
const JsonReporter = require('./mocha-custom-json-reporter');
const mocha = require('mocha');
const MochaDotsReporter = require('./mocha-dots-reporter');
const MochaJUnitReporter = require('mocha-junit-reporter');
const {Base} = mocha.reporters;
/**
* @param {*} runner
* @param {*} options
* @return {MochaDotsRepor... | Gregable/amphtml | build-system/tasks/e2e/mocha-ci-reporter.js | JavaScript | apache-2.0 | 737 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview An UI component to authenciate to Chrome. The component hosts
* IdP web pages in a webview. A client who is interested in monitoring... | mxOBS/deb-pkg_trusty_chromium-browser | chrome/browser/resources/gaia_auth_host/authenticator.js | JavaScript | bsd-3-clause | 10,746 |
Event.addBehavior({
'body:click' : function(event) {
if (event.shiftKey && event.altKey) {
Dryml.click(event)
Event.stop(event)
}
}
})
var Dryml = {
menu: null,
event: null,
click: function(event) {
Dryml.event = event
Dryml.showSourceMenu... | lak/puppetshow | vendor/plugins/hobo/generators/hobo/templates/dryml-support.js | JavaScript | bsd-3-clause | 4,121 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {assert, assertInstanceof, assertNotReached} from 'chrome://resources/js/assert.m.js';
import {dispatchSimpleEvent} from 'chrome://resources/js/cr.... | scheib/chromium | ui/file_manager/file_manager/foreground/js/ui/list_container.js | JavaScript | bsd-3-clause | 12,504 |
const debug = require('ghost-ignition').debug('api:v2:utils:serializers:output:actions');
const mapper = require('./utils/mapper');
module.exports = {
browse(models, apiConfig, frame) {
debug('browse');
frame.response = {
actions: models.data.map(model => mapper.mapAction(model, frame)... | dingotiles/ghost-for-cloudfoundry | versions/3.3.0/core/server/api/v2/utils/serializers/output/actions.js | JavaScript | mit | 373 |
var fnObj = {};
var ACTIONS = axboot.actionExtend(fnObj, {
PAGE_SEARCH: function (caller, act, data) {
axboot.ajax({
type: "GET",
url: ["samples", "parent"],
data: caller.searchView.getData(),
callback: function (res) {
caller.gridView01.setDat... | axboot/ax-boot-framework | ax-boot-initialzr/src/main/resources/templates/webapp/assets/js/view/login.js | JavaScript | mit | 4,420 |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | spring-peepers-2014/Red-Jaguars | dbcoverflow/app/assets/javascripts/application.js | JavaScript | mit | 640 |
jQuery(document).ready(function($){
// Use only one frame for all upload fields
var frame = new Array(), media = wp.media;
// add image field
function dtGetImageHtml( data ) {
var template = wp.media.template('dt-post-gallery-item');
return template(data);
}
function fetch_selection( ids, opt... | julia26/puppy | wp-content/themes/puppy/inc/extensions/custom-meta-boxes/js/media.js | JavaScript | gpl-2.0 | 4,285 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'maximize', 'cs', {
maximize: 'Maximalizovat',
minimize: 'Minimalizovat'
} );
| nttuyen/task | task-management/src/main/resources/org/exoplatform/task/management/assets/ckeditorCustom/plugins/maximize/lang/cs.js | JavaScript | lgpl-3.0 | 260 |
// vim: set ts=4 sw=4 tw=99 et:
function testUKeyUObject(a, key1, key2, key3) {
a.a = function () { return this.d; }
a.b = function () { return this.e; }
a.c = function() { return this.f; }
a.d = 20;
a.e = "hi";
a.f = 500;
delete a["b"];
Object.defineProperty(a, "b", { get: function () ... | glycerine/vj | src/js-1.8.5/js/src/jit-test/tests/jaeger/testPropCallElem2.js | JavaScript | apache-2.0 | 529 |
define({ root:
//begin v1.x content
{
"months-format-narrow": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
],
"quarters-standAlone-narrow": [
"1",
"2",
"3",
"4"
],
"dateFormatItem-yQQQ": "y QQQ",
"dateFormatItem-yMEd": "EEE, y-M-d",
"dateFormatItem-MMMEd": "E M... | sulistionoadi/belajar-springmvc-dojo | training-web/src/main/webapp/js/dojotoolkit/dojo/cldr/nls/islamic.js | JavaScript | apache-2.0 | 4,186 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.composite.solid.xor
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done.bind(t);
v... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/compositing/2d.composite.solid.xor.worker.js | JavaScript | bsd-3-clause | 783 |
import React, {Component, PropTypes} from 'react'
import style from './style.js'
import ErrorStackParser from 'error-stack-parser'
import assign from 'object-assign'
import {isFilenameAbsolute, makeUrl, makeLinkText} from './lib'
export default class RedBox extends Component {
static propTypes = {
error: PropTyp... | PixnBits/redbox-react | src/index.js | JavaScript | mit | 1,683 |
/**
* Themes: Velonic Admin theme
*
**/
! function($) {
"use strict";
/**
Sidebar Module
*/
var SideBar = function() {
this.$body = $("body"),
this.$sideBar = $('aside.left-panel'),
this.$navbarToggle = $(".navbar-toggle"),
this.$navbarItem = $("aside.left-pane... | proyectobufete/ProyectoBufete | web/asst/js/jquery.app.js | JavaScript | mit | 5,422 |
"use strict";
var Client = require("./../lib/index");
var testAuth = require("./../testAuth.json");
var github = new Client({
debug: true
});
github.authenticate({
type: "oauth",
token: testAuth["token"]
});
github.repos.createFile({
owner: "kaizensoze",
repo: "misc-scripts",
path: "blah.txt... | juanfrank2/dotfiles | vscode.symlink/extensions/Shan.code-settings-sync-2.8.2/node_modules/github/examples/createFile.js | JavaScript | mit | 436 |
define("ace/snippets/sass",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "";
exports.scope = "sass";
});
(function() {
window.require(["ace/snippets/sass"], function(m) {
if (typeof module == "object... | NPellet/jsGraph | web/site/js/ace-builds/src/snippets/sass.js | JavaScript | mit | 497 |
/*
* Keeps track of items being created or deleted in a list
* - emits events about changes when .poll is called
* - events are: delete, create
*
* Usage:
*
* var tracker = changeTracker.create(updateItems, items);
*
* - updateItems is a function to fetch the current state of the items you want
* to wat... | zenners/angular-contacts | node_modules/firebase/node_modules/faye-websocket/node_modules/websocket-driver/node_modules/websocket-extensions/node_modules/jstest/node_modules/karma/node_modules/sinon/node_modules/samsam/node_modules/buster/node_modules_old/buster-autotest/node_modules/fs-watch-tree/lib/change-tracker.js | JavaScript | mit | 1,697 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
* a DOM comment node.
*/
/**
* Represents a DOM comment node.
*
* ... | SeeyaSia/www | web/libraries/ckeditor/core/dom/comment.js | JavaScript | gpl-2.0 | 1,608 |
/*
* jQuery mmenu {ADDON} add-on
* mmenu.frebsite.nl
*
* Copyright (c) Fred Heusschen
*/
(function( $ ) {
var _PLUGIN_ = 'mmenu',
_ADDON_ = '{ADDON}';
$[ _PLUGIN_ ].addons[ _ADDON_ ] = {
// setup: fired once per menu
setup: function()
{
var that = this,
opts = this.opts[ _ADDON_ ],
conf... | 474846718/taxi_website | taxi/jQuery.mmenu-master/src/jquery,mmenu.addon-template.js | JavaScript | gpl-3.0 | 1,605 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
gTestfile = '15.9.5.30-1.js';
/**... | sam/htmlunit-rhino-fork | testsrc/tests/ecma/Date/15.9.5.30-1.js | JavaScript | mpl-2.0 | 6,427 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var gTestfile = 'regress-474771.js... | ashwinrayaprolu1984/rhino | testsrc/tests/js1_7/regress/regress-474771.js | JavaScript | mpl-2.0 | 1,099 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var gTestfile = 'regress-373827-01... | tuchida/rhino | testsrc/tests/js1_7/regress/regress-373827-01.js | JavaScript | mpl-2.0 | 920 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Empty string variable has a length property
*
* @path ch08/8.4/S8.4_A4.js
* @description Try read length property of empty string variable
*/
var __str = "";
/////////////////... | hippich/typescript | tests/Fidelity/test262/suite/ch08/8.4/S8.4_A4.js | JavaScript | apache-2.0 | 575 |
/*
* Copyright (c) 2012-2015 S-Core Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | leechwin/webida-client | common/src/webida/widgets/fs-selector/dlg-content-template.js | JavaScript | apache-2.0 | 4,862 |
import ga from 'modules/googleAnalyticsAdapter.js';
var assert = require('assert');
describe('Ga', function () {
describe('enableAnalytics', function () {
var cpmDistribution = function(cpm) {
return cpm <= 1 ? '<= 1$' : '> 1$';
}
var config = { options: { trackerName: 'foo', enableDistribution: t... | varashellov/Prebid.js | test/spec/modules/googleAnalyticsAdapter_spec.js | JavaScript | apache-2.0 | 928 |
// Run only by vendor node.
// In an ideal world this would be run in the same process/context of
// atom-shell but there are many hurdles atm, see
// https://github.com/atom/atom-shell/issues/533
// increase the libuv threadpool size to 1.5x the number of logical CPUs.
process.env.UV_THREADPOOL_SIZE = Math.ceil(Math.... | tizzybec/mapbox-studio | index-server.js | JavaScript | bsd-3-clause | 2,464 |
export default {
plurals: [[/$/, 's'], [/s$/i, 's'], [/^(ax|test)is$/i, '$1es'], [/(octop|vir)us$/i, '$1i'], [/(octop|vir)i$/i, '$1i'], [/(alias|status|bonus)$/i, '$1es'], [/(bu)s$/i, '$1ses'], [/(buffal|tomat)o$/i, '$1oes'], [/([ti])um$/i, '$1a'], [/([ti])a$/i, '$1a'], [/sis$/i, 'ses'], [/(?:([^f])fe|([lr])f)$/i, '$... | DanielJRaine/employee-forms-auth | tmp/broccoli_persistent_filterbabel__babel_ember_inflector-output_path-TKPSAOYg.tmp/modules/ember-inflector/lib/system/inflections.js | JavaScript | mit | 1,613 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function () {};
exports.default = foo;
exports.default = 42;
exports.default = {};
exports.default = [];
exports.default = foo;
exports.default = class {};
function foo() {}
class Foo {}
exports.default = Foo;
exports.de... | mrtrizer/babel | packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/exports-default/expected.js | JavaScript | mit | 388 |
// Copyright 2009 the V8 project authors. 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 source code must retain the above copyright
// notice, this list of ... | MTASZTAKI/ApertusVR | plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/deps/v8/tools/codemap.js | JavaScript | mit | 8,722 |
module.exports={A:{A:{"1":"J C UB","129":"G E B A"},B:{"1":"D X g H L"},C:{"2":"0 1 2 4 5 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:{"1":"0 1 4 5 8 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... | redq81/redq81.github.io | test/node_modules/caniuse-lite/data/features/css-zoom.js | JavaScript | mit | 760 |
import r from 'restructure';
import Entity from '../entity';
import StringRef from '../string-ref';
export default Entity({
id: r.uint32le,
name: StringRef,
});
| timkurvers/blizzardry | src/lib/dbc/entities/spam-messages.js | JavaScript | mit | 167 |
module.exports={A:{A:{"2":"I C G E A B SB"},B:{"1":"K","2":"D g q"},C:{"1":"0 1 2 e f J h i j k l m n o p u v w t y r W","2":"3 QB F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c d OB NB"},D:{"1":"0 1 2 6 9 k l m n o p u v w t y r W CB RB AB","2":"F H I C G E A B D g q K L M N O P Q R S T U V s X Y Z a b c ... | keeyanajones/Samples | streamingProject/twitch/bots/NodeJsChatBot/node_modules/caniuse-lite/data/features/element-closest.js | JavaScript | mit | 769 |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define('element/locale/it', ['module', 'exports'], factory);
} else if (typeof exports !== "undefined") {
factory(module, exports);
} else {
var mod = {
exports: {}
};
factory(mod, mod.exports);
global.EL... | sufuf3/cdnjs | ajax/libs/element-ui/2.8.2/locale/it.js | JavaScript | mit | 3,306 |
/* */
var $ = require('./$'),
$def = require('./$.def'),
invoke = require('./$.invoke'),
partial = require('./$.partial'),
navigator = $.g.navigator,
MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent);
function wrap(set) {
return MSIE ? function(fn, time) {
return set(invoke(partial, ... | megadreams/Aurelia | sample_application/jspm_packages/npm/core-js@0.9.18/modules/web.timers.js | JavaScript | cc0-1.0 | 525 |
(function() {
var instance = openerp;
openerp.web.search = {};
var QWeb = instance.web.qweb,
_t = instance.web._t,
_lt = instance.web._lt;
_.mixin({
sum: function (obj) { return _.reduce(obj, function (a, b) { return a + b; }, 0); }
});
/** @namespace */
var my = instance.web.search = {};
var B = B... | fdvarela/odoo8 | addons/web/static/src/js/search.js | JavaScript | agpl-3.0 | 92,024 |
//{namespace name=backend/config/view/main}
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Pu... | wlwwt/shopware | themes/Backend/ExtJs/backend/base/component/element/interval.js | JavaScript | agpl-3.0 | 2,522 |
define([
'domReady',
'jquery',
'underscore',
'gettext',
'common/js/components/views/feedback_notification',
'common/js/components/views/feedback_prompt',
'js/utils/date_utils',
'js/utils/module',
'js/utils/handle_iframe_binding',
'edx-ui-toolkit/js/dropdown-menu/dropdown-menu-vie... | BehavioralInsightsTeam/edx-platform | cms/static/js/base.js | JavaScript | agpl-3.0 | 4,363 |
'use strict';
var ArrayIterator = require('es6-iterator/array');
module.exports = function () { return new ArrayIterator(this, 'value'); };
| Ramanujakalyan/Inherit | ui/node_modules/gulp-minify-html/node_modules/minimize/node_modules/cli-color/node_modules/es5-ext/array/#/values/shim.js | JavaScript | unlicense | 145 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright... | hippich/typescript | tests/Fidelity/test262/suite/ch10/10.4/10.4.3/10.4.3-1-19gs.js | JavaScript | apache-2.0 | 679 |
(function () {
var print = (function () {
'use strict';
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
var register = function (editor) {
editor.addCommand('mcePrint', function () {
editor.getWin().print();
});
};
var $_brqngvjljjgwecz3 = { register: register };
var regis... | glenrobson/SimpleAnnotationServer | src/main/webapp/mirador-2.6.1/plugins/print/plugin.js | JavaScript | apache-2.0 | 835 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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 = {};
... | vivadaniele/spid-ionic-sdk | node_modules/@ionic/app-scripts/dist/util/hybrid-file-system.js | JavaScript | bsd-3-clause | 5,396 |
module.exports = function() {
return {
modulePrefix: 'some-cool-app',
EmberENV: {
asdflkmawejf: ';jlnu3yr23'
},
APP: {
autoboot: false
}
};
};
| mike-north/ember-cli | tests/fixtures/brocfile-tests/custom-ember-env/config/environment.js | JavaScript | mit | 180 |
const COLORS_ON = {
RESET: '\x1B[39m',
ANSWER: '\x1B[36m', // NYAN
SUCCESS: '\x1B[32m', // GREEN
QUESTION: '\x1B[1m', // BOLD
question: function (str) {
return this.QUESTION + str + '\x1B[22m'
},
success: function (str) {
return this.SUCCESS + str + this.RESET
}
}
const COLORS_OFF = {
RESET: ... | ChromeDevTools/devtools-node-modules | third_party/node_modules/karma/lib/init/color_schemes.js | JavaScript | apache-2.0 | 516 |
/**
* Copyright 2016 The AMP HTML Authors. 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 require... | koshka/amphtml | src/utils/promise.js | JavaScript | apache-2.0 | 4,424 |
/**
* jQuery EasyUI 1.5.1
*
* Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(function($){
function _1(_2){
var _3=$.data(_2,"pagination");
var... | uoi00/basic | web/public/plugins/jquery.pagination.js | JavaScript | bsd-3-clause | 7,613 |