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
// Copyright 2008 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 ...
victorzhao/miniblink49
v8_4_5/test/mjsunit/array-length.js
JavaScript
gpl-3.0
4,264
define(['angular'], function(angular) { 'use strict'; return angular.module('superdesk.services.storage', []) /** * LocalStorage wrapper * * it stores data as json to keep its type */ .service('storage', function() { /** * Get item f...
plamut/superdesk
client/app/scripts/superdesk/services/storage.js
JavaScript
agpl-3.0
1,250
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt erpnext.POS = Class.extend({ init: function(wrapper, frm) { this.wrapper = wrapper; this.frm = frm; this.wrapper.html('<div class="container">\ <div class="row" style="margin: -...
Tejal011089/Medsyn2_app
accounts/doctype/sales_invoice/pos.js
JavaScript
agpl-3.0
17,987
require('jasmine-beforeall'); var h = require('./helpers.js'); describe('', function() { afterAll(function(){ h.afterAllTeardown(); }); // This UI test suite expects to be run as part of hack/test-end-to-end.sh // It requires the example project be created with all of its resources in order to pass des...
mnagy/origin
assets/test/integration/e2e.js
JavaScript
apache-2.0
2,284
// Copyright JS Foundation and other contributors, http://js.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 r...
jerryscript-project/jerryscript
tests/jerry/regression-test-issue-3935.js
JavaScript
apache-2.0
716
// This file was procedurally generated from the following sources: // - src/dstr-binding-for-await/obj-ptrn-prop-ary.case // - src/dstr-binding-for-await/default/for-await-of-async-func-var.template /*--- description: Object binding pattern with "nested" array binding pattern not using initializer (for-await-of statem...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-await-of/async-func-dstr-var-obj-ptrn-prop-ary.js
JavaScript
bsd-2-clause
1,967
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y) es5id: 11.10.2_A3_T2.3 description: > Type(x) is different from Type(y) and both types vary between Number (primitive ...
PiotrDabkowski/Js2Py
tests/test_cases/language/expressions/bitwise-xor/S11.10.2_A3_T2.3.js
JavaScript
mit
802
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); tslib_1.__exportStar(require("./2.9/type"), exports); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInR5cGUudHMiXSwibmFtZXMiOltdLCJ...
AxelSparkster/axelsparkster.github.io
node_modules/tsutils/typeguard/type.js
JavaScript
mit
357
var assert = require('assert'); var jsv = require('jsverify'); var R = require('..'); var eq = require('./shared/eq'); describe('compose', function() { it('is a variadic function', function() { eq(typeof R.compose, 'function'); eq(R.compose.length, 0); }); it('performs right-to-left function composit...
angeloocana/ramda
test/compose.js
JavaScript
mit
1,837
var Emitter = require("events").EventEmitter; var shared; function Bank(options) { this.address = options.address; this.io = options.io; this.io.i2cConfig(); } Bank.prototype.read = function(register, numBytes, callback) { if (register) { this.io.i2cRead(this.address, register, numBytes, callback); } el...
manorius/printing_with_node
node_modules/johnny-five/lib/evshield.js
JavaScript
mit
6,044
var app = angular.module('site', ['ui.bootstrap', 'ngAria']); app.factory('Backend', ['$http', function($http) { var get = function(url) { return function() { return $http.get(url).then(function(resp) { return resp.data; }); } ...
Gelvazio/ORGANIZACOES
microsoft.github.io/microsoft.github.io-master/js/main.js
JavaScript
gpl-2.0
3,518
/* 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/. */ define([ 'intern', 'intern!object', 'intern/chai!assert', 'require', 'intern/node_modules/dojo/node!xmlh...
riadhchtara/fxa-password-manager
tests/functional/oauth_webchannel_keys.js
JavaScript
mpl-2.0
14,818
/* 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/. */ define([ 'intern', 'intern!object', 'intern/chai!assert', 'require', 'intern/node_modules/dojo/node!xmlh...
riadhchtara/fxa-password-manager
tests/functional/force_auth.js
JavaScript
mpl-2.0
4,537
//// [crashIntypeCheckInvocationExpression.ts] var nake; function doCompile<P0, P1, P2>(fileset: P0, moduleType: P1) { return undefined; } export var compileServer = task<number, number, any>(<P0, P1, P2>() => { var folder = path.join(), fileset = nake.fileSetSync<number, number, any>(folder) retur...
Microsoft/TypeScript
tests/baselines/reference/crashIntypeCheckInvocationExpression.js
JavaScript
apache-2.0
858
/* * 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 may ...
ilantukh/ignite
modules/web-console/frontend/app/modules/dialog/dialog.module.js
JavaScript
apache-2.0
1,283
/* global CodeMirror */ /* global define */ (function(mod) { 'use strict'; if (typeof exports === 'object' && typeof module === 'object') // CommonJS mod(require('../../lib/codemirror')); else if (typeof define === 'function' && define.amd) // AMD define(['../../lib/codemirror'], mod); ...
hisamith/app-cloud
modules/jaggeryapps/appmgt/src/site/themes/default/js/CodeMirror-5.7.0/addon/search/searchonly.js
JavaScript
apache-2.0
9,107
/*----------------------------------------------------------------------------- Orderable plugin -----------------------------------------------------------------------------*/ jQuery.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', ...
bauhouse/sym-intranet
symphony/assets/symphony.orderable.js
JavaScript
mit
3,588
// wrapped by build app define("d3/src/scale/ordinal", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){ import "../arrays/map"; import "../arrays/range"; import "scale"; d3.scale.ordinal = function() { return d3_scale_ordinal([], {t: "range", a: [[]]}); }; function d3_scale_ordinal(domain, ranger) { var inde...
hyoo/p3_web
public/js/release/d3/src/scale/ordinal.js
JavaScript
mit
3,374
var ITEM_TPL_CONTENT_ANCHOR = '<a class="item-content" ng-href="{{$href()}}" target="{{$target()}}"></a>'; var ITEM_TPL_CONTENT = '<div class="item-content"></div>'; /** * @ngdoc directive * @name ionItem * @parent ionic.directive:ionList * @module ionic * @restrict E * Creates a list-item that can easily be swiped...
frangucc/gamify
www/sandbox/pals/app/bower_components/ionic/js/angular/directive/item.js
JavaScript
mit
1,904
import glCore from 'pixi-gl-core'; import createIndicesForQuads from '../../core/utils/createIndicesForQuads'; /** * @author Mat Groves * * Big thanks to the very clever Matt DesLauriers <mattdesl> https://github.com/mattdesl/ * for creating the original pixi version! * Also a thanks to https://github.com/bcheval...
jpweeks/pixi.js
src/particles/webgl/ParticleBuffer.js
JavaScript
mit
6,828
"use strict"; /*jshint -W079*/ var chai = require("chai"), expect = chai.expect, ncp = require('ncp').ncp, grunt = require("grunt"), JsBeautifierTask = require("../lib/jsbeautifier"), createMockTask = require("./mockTask"); chai.use(require('chai-fs')); /*jshint -W030*/ describe("JsBeautifier: Conf...
vkadam/grunt-jsbeautifier
test/configFile_spec.js
JavaScript
mit
3,091
'use strict'; var Command = require('../models/command'); var Watcher = require('../models/watcher'); var Builder = require('../models/builder'); var SilentError = require('silent-error'); var path = require('path'); var win = require('../utilities/windows-admin'); var existsSync = require(...
r0zar/ember-rails-stocks
stocks/node_modules/ember-cli/lib/commands/test.js
JavaScript
mit
6,146
"use strict"; var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; var Test = function Test() { _classCallCheck(this, Test); arr.map(x => x * x); };
lydell/babel
test/fixtures/transformation/api/blacklist/expected.js
JavaScript
mit
264
module.exports={title:"Logstash",hex:"005571",source:"https://www.elastic.co/brand",svg:'<svg aria-labelledby="simpleicons-logstash-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-logstash-icon">Logstash icon</title><path d="M12.6 7.2V24c-5.2 0-10.8-4-10.8-9.3V0h3.6c3.8 0 ...
cdnjs/cdnjs
ajax/libs/simple-icons/1.9.9/logstash.min.js
JavaScript
mit
369
CKEDITOR.plugins.setLang("imagebase","en-au",{captionPlaceholder:"Enter image caption"});
cdnjs/cdnjs
ajax/libs/ckeditor/4.17.2/plugins/imagebase/lang/en-au.min.js
JavaScript
mit
89
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var DataSource = (function () { function DataSource() { } return DataSource; }()); exports.DataSource = DataSource;
cdnjs/cdnjs
ajax/libs/deeplearn/0.6.0-alpha6/contrib/data/datasource.js
JavaScript
mit
205
//=set test "Test"
AlexanderDolgan/juliawp
wp-content/themes/node_modules/gulp-rigger/node_modules/rigger/test/input-settings/stringval.js
JavaScript
gpl-2.0
18
/* * Copyright (C) 2011 JTalks.org Team * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * This library i...
illerax/jcommune
jcommune-view/jcommune-web-view/src/main/webapp/resources/javascript/app/utils.js
JavaScript
lgpl-2.1
4,376
'use strict'; /** * @module br/util/Number */ var StringUtility = require('br/util/StringUtility'); /** * @class * @alias module:br/util/Number * * @classdesc * Utility methods for numbers */ function NumberUtil() { } /** * Returns a numeric representation of the sign on the number. * * @param {Number} n...
andreoid/testing
brjs-sdk/workspace/sdk/libs/javascript/br-util/src/br/util/Number.js
JavaScript
lgpl-3.0
4,499
//// [tests/cases/compiler/moduleAugmentationsImports4.ts] //// //// [a.ts] export class A {} //// [b.ts] export class B {x: number;} //// [c.d.ts] declare module "C" { class Cls {y: string; } } //// [d.d.ts] declare module "D" { import {A} from "a"; import {B} from "b"; module "a" { ...
weswigham/TypeScript
tests/baselines/reference/moduleAugmentationsImports4.js
JavaScript
apache-2.0
1,844
//// [augmentedTypesExternalModule1.ts] export var a = 1; class c5 { public foo() { } } module c5 { } // should be ok everywhere //// [augmentedTypesExternalModule1.js] define(["require", "exports"], function (require, exports) { "use strict"; exports.__esModule = true; exports.a = 1; var c5 = ...
domchen/typescript-plus
tests/baselines/reference/augmentedTypesExternalModule1.js
JavaScript
apache-2.0
467
goog.provide('ol.test.extent'); goog.require('ol.extent'); goog.require('ol.proj'); describe('ol.extent', function() { describe('buffer', function() { it('buffers an extent by some value', function() { var extent = [-10, -20, 10, 20]; expect(ol.extent.buffer(extent, 15)).to.eql([-25, -35, 25, 35]...
wet-boew/openlayers-dist
test/spec/ol/extent.test.js
JavaScript
bsd-2-clause
27,991
// Copyright (c) 2012 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. /** * This view displays options for exporting the captured data. */ var ExportView = (function() { 'use strict'; // We inherit from DivView. ...
zcbenz/cefode-chromium
chrome/browser/resources/net_internals/export_view.js
JavaScript
bsd-3-clause
6,896
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Variable = void 0; const variable_1 = __importDefault(require("eslint-scope/lib/variable")); con...
ChromeDevTools/devtools-frontend
node_modules/@typescript-eslint/experimental-utils/dist/ts-eslint-scope/Variable.js
JavaScript
bsd-3-clause
419
/*jslint sloppy: true, nomen: true */ /*global exports:true */ /* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2013 Joseph Rollinson, jtrollinson@gmail.com Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following con...
tianzhihen/phantomjs
src/modules/cookiejar.js
JavaScript
bsd-3-clause
2,651
import { Directive, EventEmitter } from '@angular/core'; import { KmlLayerManager } from './../services/managers/kml-layer-manager'; var layerId = 0; export var SebmGoogleMapKmlLayer = (function () { function SebmGoogleMapKmlLayer(_manager) { this._manager = _manager; this._addedToManager = false; ...
Oussemalaamiri/guidemeAngular
src/node_modules/angular2-google-maps/esm/core/directives/google-map-kml-layer.js
JavaScript
mit
4,685
function makeData() { "use strict"; return [makeRandomData(10), makeRandomData(10)]; } function run(svg, data, Plottable) { "use strict"; var largeX = function(d, i){ d.x = Math.pow(10, i); }; var bigNumbers = []; deepCopy(data[0], bigNumbers); bigNumbers.forEach(largeX); var dataseri...
iobeam/plottable
quicktests/overlaying/tests/functional/formatter.js
JavaScript
mit
3,212
JsonRoutes.add('post', '/' + Meteor.settings.private.stripe.webhookEndpoint, function (req, res) { Letterpress.Services.Buy.handleEvent(req.body); JsonRoutes.sendResult(res, 200); });
FleetingClouds/Letterpress
server/api/webhooks-api.js
JavaScript
mit
187
'use strict'; var spawn = require('child_process').spawn; var os = require('os'); var pathlib = require('path'); var fs = require('fs'); var net = require('net'); var crypto = require('crypto'); var which = require('which'); var pathOpenSSL; var tempDir = process.env.PEMJS_TMPDIR || (os.tmpdir || os.tmpDir) ...
rishigb/NodeProject_IOTstyle
socketIo/VideoLiveStreamSockets/node_modules/exprestify/node_modules/pem/lib/pem.js
JavaScript
mit
24,288
/** @license React v16.3.0 * react-dom-test-utils.development.js * * 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. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (functi...
ahocevar/cdnjs
ajax/libs/react-dom/16.3.0/cjs/react-dom-test-utils.development.js
JavaScript
mit
36,533
// DOM elements var $source; var $photographer; var $save; var $textColor; var $logo; var $crop; var $logoColor; var $imageLoader; var $imageLink; var $imageLinkButton; var $canvas; var canvas; var $qualityQuestions; var $copyrightHolder; var $dragHelp; var $filename; var $fileinput; var $customFilename; // Constants ...
mcclatchy/lunchbox
www/js/waterbug.js
JavaScript
mit
18,520
/** * @license @product.name@ JS v@product.version@ (@product.date@) * * Money Flow Index indicator for Highstock * * (c) 2010-2019 Grzegorz Blachliński * * License: www.highcharts.com/license */ 'use strict'; import '../../indicators/mfi.src.js';
blue-eyed-devil/testCMS
externals/highcharts/es-modules/masters/indicators/mfi.src.js
JavaScript
gpl-3.0
258
//>>built define("dgrid/extensions/nls/zh-cn/columnHider",{popupLabel:"\u663e\u793a\u6216\u9690\u85cf\u5217"});
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dgrid/extensions/nls/zh-cn/columnHider.js
JavaScript
apache-2.0
111
/** * Copyright 2017 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...
donttrustthisbot/amphtml
ads/inabox/frame-overlay-helper.js
JavaScript
apache-2.0
3,755
/** * Sticky Notes * * An open source lightweight pastebin application * * @package StickyNotes * @author Sayak Banerjee * @copyright (c) 2014 Sayak Banerjee <mail@sayakbanerjee.com>. All rights reserved. * @license http://www.opensource.org/licenses/bsd-license.php * @link http://sayakba...
solitaryr/sticky-notes
public/assets/pbr/js/stickynotes.js
JavaScript
bsd-2-clause
10,960
description("This tests that page scaling does not affect mouse event pageX and pageY coordinates."); var html = document.documentElement; var div = document.createElement("div"); div.style.width = "100px"; div.style.height = "100px"; div.style.backgroundColor = "blue"; var eventLog = ""; function appendEventLog() ...
modulexcite/blink
LayoutTests/fast/events/script-tests/page-scaled-mouse-click.js
JavaScript
bsd-3-clause
1,651
/** * Copyright 2013-2015, 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. * * @emails react-co...
AlexJeng/react
src/modern/class/__tests__/ReactES6Class-test.js
JavaScript
bsd-3-clause
11,780
// Generated by CoffeeScript 1.3.3 (function() { define(["smog/server", "smog/notify", "templates/connect"], function(server, notify, templ) { return { show: function() { $('#content').html(templ()); $('#connect-modal').modal({ backdrop: false }); return $('#connec...
wearefractal/smog
public/js/routes/index.js
JavaScript
mit
911
/** * Creates a new instance of Emitter. * @class * @returns {Object} Returns a new instance of Emitter. * @example * // Creates a new instance of Emitter. * var Emitter = require('emitter'); * * var emitter = new Emitter(); */ class Emitter { /** * Adds a listener to the collection for the specified eve...
sinfin/folio
vendor/assets/bower_components/emitter-es6/src/index.js
JavaScript
mit
3,401
var expect = require('expect.js'), defaultOpts = require('..').prototype.options, _ = require('lodash'), parse = require('../lib/parse'), render = require('../lib/render'); var html = function(str, options) { options = _.defaults(options || {}, defaultOpts); var dom = parse(str, options); return ...
JHand93/WebPerformanceTestSuite
webpagetest-charts-api/node_modules/cheerio/test/render.js
JavaScript
mit
2,628
"use strict"; var path = require('canonical-path'); var packagePath = __dirname; var Package = require('dgeni').Package; // Create and export a new Dgeni package called angularjs. This package depends upon // the ngdoc, nunjucks, and examples packages defined in the dgeni-packages npm module. module.exports = new Pa...
JonFerrera/angular.js
docs/config/index.js
JavaScript
mit
5,289
var debug = require('debug')('keystone:core:openDatabaseConnection'); module.exports = function openDatabaseConnection (callback) { var keystone = this; var mongoConnectionOpen = false; // support replica sets for mongoose if (keystone.get('mongo replica set')) { if (keystone.get('logger')) { console.log('...
andreufirefly/keystone
lib/core/openDatabaseConnection.js
JavaScript
mit
2,539
// Zepto.js // (c) 2010-2015 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. var Zepto = (function() { var undefined, key, $, classList, emptyArray = [], concat = emptyArray.concat, filter = emptyArray.filter, slice = emptyArray.slice, document = window.document, element...
nongfadai/front_demo
web/src/notuse/app/lib/zepto/zepto.js
JavaScript
mit
69,690
var kunstmaanbundles = kunstmaanbundles || {}; kunstmaanbundles.datepicker = (function($, window, undefined) { var init, reInit, _setDefaultDate, _initDatepicker; var _today = window.moment(), _tomorrow = window.moment(_today).add(1, 'days'); var defaultFormat = 'DD-MM-YYYY', defaultColl...
mwoynarski/KunstmaanBundlesCMS
src/Kunstmaan/AdminBundle/Resources/ui/js/_datepicker.js
JavaScript
mit
4,312
/** * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
lemio/w-esp
w-esp-node-red/red/runtime/nodes/flows/Flow.js
JavaScript
gpl-3.0
16,004
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'removeformat', 'en-gb', { toolbar: 'Remove Format' } );
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/removeformat/lang/en-gb.js
JavaScript
gpl-3.0
227
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'flash', 'ku', { access: 'دەستپێگەیشتنی نووسراو', accessAlways: 'هەمیشه', accessNever: 'هەرگیز', accessSameDomain: 'هەمان دۆمەین', alignAbsBottom:...
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/flash/lang/ku.js
JavaScript
gpl-3.0
1,731
/* 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/>. */ const path = require("path"); const util = require("util"); const _ = require("lodash"); const webpack = require...
darkwing/debugger.html
test/mochitest/examples/sourcemapped/builds/webpack4-babel7/index.js
JavaScript
mpl-2.0
2,374
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. // OffscreenCanvas test in a worker:2d.gradient.interpolate.solid // Description: // Note: importScripts("/resources/testharness.js"); importScripts("/html/canvas/resources/canvas-tests.js"); var t = async_test(""); var t_pass = t.done.bin...
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js
JavaScript
bsd-3-clause
758
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed ...
yesudeep/puppy
tools/google-closure-library/closure/goog/ui/customcolorpalette.js
JavaScript
mit
4,792
/** * Utility to register editors and common namespace for keeping reference to all editor classes */ import Handsontable from './browser'; import {toUpperCaseFirst} from './helpers/string'; export {registerEditor, getEditor, hasEditor, getEditorConstructor}; var registeredEditorNames = {}, registeredEditorCla...
Growmies/handsontable
src/editors.js
JavaScript
mit
2,723
"use strict"; var index_1 = require("../../models/types/index"); function createReferenceType(context, symbol, includeParent) { var checker = context.checker; var id = context.getSymbolID(symbol); var name = checker.symbolToString(symbol); if (includeParent && symbol.parent) { name = checker.sym...
glamb/TCMS-Frontend
node_modules/typedoc/lib/converter/factories/reference.js
JavaScript
mit
505
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/stats/base/dists/weibull/mgf/test/test.js
JavaScript
apache-2.0
1,090
/*global app: true, env: true */ /** Define tags that are known in JSDoc. @module jsdoc/tag/dictionary/definitions @author Michael Mathews <micmath@gmail.com> @license Apache License 2.0 - See file 'LICENSE.md' in this project. */ 'use strict'; var logger = require('jsdoc/util/logger'); var path = re...
ad-l/djcl
tools/jsdoc/lib/jsdoc/tag/dictionary/definitions.js
JavaScript
bsd-2-clause
21,625
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @format ...
Bhullnatik/react-native
local-cli/core/__tests__/ios/getProjectConfig.spec.js
JavaScript
bsd-3-clause
1,475
// Test that constructor for the node with name |nodeName| handles the // various possible values for channelCount, channelCountMode, and // channelInterpretation. // The |should| parameter is the test function from new |Audit|. function testAudioNodeOptions(should, context, nodeName, expectedNodeOptions) { if (expe...
scheib/chromium
third_party/blink/web_tests/webaudio/resources/audionodeoptions.js
JavaScript
bsd-3-clause
8,919
/* -*- 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...
darkrsw/safe
tests/browser_extensions/js1_7/extensions/XXXregress-392308.js
JavaScript
bsd-3-clause
2,774
/** * @license * Copyright The Closure Library Authors. * SPDX-License-Identifier: Apache-2.0 */ goog.module('goog.dom.SavedCaretRangeTest'); goog.setTestOnly(); const Range = goog.require('goog.dom.Range'); const SavedCaretRange = goog.require('goog.dom.SavedCaretRange'); const dom = goog.require('goog.dom'); co...
nwjs/chromium.src
third_party/google-closure-library/closure/goog/dom/savedcaretrange_test.js
JavaScript
bsd-3-clause
7,324
// This file was generated by the _js_query_arg_file Skylark rule defined in // maps/vectortown/performance/script/build_defs.bzl. var testConfig = "overridePixelRatio=1&title=chrome_smoothness_performancetest_config&nobudget=false&nodraw=false&noprefetch=true&viewport=basic&wait=true";
scheib/chromium
tools/perf/page_sets/maps_perf_test/config.js
JavaScript
bsd-3-clause
289
var assert = require('assert'); var appHelper = require('./helpers/appHelper'); var path = require('path'); var fs = require('fs'); describe('Configs', function() { this.timeout(30000); var appName = 'testApp'; var config; var sailsserver; var up = false; describe('in production env', function () { before(f...
BlueHotDog/sails-migrations
test/fixtures/sample_apps/0.9.8/node_modules/sails/test/config/integration/load.test.js
JavaScript
mit
3,853
testTransport = function(transports) { var prefix = "socketio - " + transports + ": "; connect = function(transports) { // Force transport io.transports = transports; deepEqual(io.transports, transports, "Force transports"); var options = { 'force new connection': true } return io.connect(...
grokcore/dev.lexycross
wordsmithed/src/gevent-socketio/tests/jstests/tests/suite.js
JavaScript
mit
1,679
import Mmenu from '../../core/oncanvas/mmenu.oncanvas'; import * as DOM from '../../core/_dom'; // DEPRECATED // Will be removed in version 8.2 export default function (navbar) { // Add content var next = DOM.create('a.mm-btn.mm-btn_next.mm-navbar__btn'); navbar.append(next); // Update to opened panel ...
extend1994/cdnjs
ajax/libs/jQuery.mmenu/8.2.3/addons/navbars/_navbar.next.js
JavaScript
mit
1,073
// SERVER-2282 $or de duping with sparse indexes t = db.jstests_org; t.drop(); t.ensureIndex( {a:1}, {sparse:true} ); t.ensureIndex( {b:1} ); t.remove(); t.save( {a:1,b:2} ); assert.eq( 1, t.count( {$or:[{a:1},{b:2}]} ) ); t.remove(); t.save( {a:null,b:2} ); assert.eq( 1, t.count( {$or:[{a:null},{b:2}]} ) ); t.rem...
barakav/robomongo
src/third-party/mongodb/jstests/org.js
JavaScript
gpl-3.0
395
var searchData= [ ['print',['PRINT',['../_m_d___parola__lib_8h.html#a1696fc35fb931f8c876786fbc1078ac4',1,'MD_Parola_lib.h']]], ['print_5fstate',['PRINT_STATE',['../_m_d___parola__lib_8h.html#a3fda4e1a5122a16a21bd96ae5217402c',1,'MD_Parola_lib.h']]], ['prints',['PRINTS',['../_m_d___parola__lib_8h.html#ad68f35c3cfe...
javastraat/arduino
libraries/MD_Parola/doc/html/search/defines_70.js
JavaScript
gpl-3.0
482
/* 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/. */ const mapValuesByKeys = require('../../../js/lib/functional').mapValuesByKeys const _ = null const ExtensionConst...
timborden/browser-laptop
app/common/constants/extensionConstants.js
JavaScript
mpl-2.0
633
import { __platform_browser_private__ as r } from '@angular/platform-browser'; export var getDOM = r.getDOM; //# sourceMappingURL=platform_browser_private.js.map
evandor/skysail-webconsole
webconsole.client/client/dist/lib/@angular/platform-browser-dynamic/esm/platform_browser_private.js
JavaScript
apache-2.0
161
exports.x = "d";
g0ddish/webpack
test/cases/parsing/harmony-duplicate-export/d.js
JavaScript
mit
17
var test = require("tap").test var server = require("./lib/server.js") var common = require("./lib/common.js") var client = common.freshClient() var cache = require("./fixtures/underscore/cache.json") function nop () {} var URI = "https://npm.registry:8043/rewrite" var STARRED = true var USERNAME = "username" ...
lwthatcher/Compass
web/node_modules/npm/node_modules/npm-registry-client/test/star.js
JavaScript
mit
2,885
module.exports = { "env": { "node": true, "commonjs": true, "es6": true }, "ecmaFeatures": { "arrowFunctions": true, "binaryLiterals": false, "blockBindings": true, "classes": false, "defaultParams": true, "destructuring": true, "forOf": false, "generators": false, ...
dgilroy77/Car.ly
node_modules/eslint-plugin-jsx-a11y/.eslintrc.js
JavaScript
mit
4,092
var class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_flag_foreground_color_procedure = [ [ "GetFlagForegroundColorProcedure", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_flag_foreground_color_procedure.html#a406f266327939d646d9baeab2c4a403c", null ], [ "GetFlagForegroundColorProc...
mixerp/mixerp
docs/api/class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_flag_foreground_color_procedure.js
JavaScript
gpl-3.0
1,615
/** * @fileoverview Rule to enforce spacing around embedded expressions of template strings * @author Toru Nagashima */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ co...
BigBoss424/portfolio
v8/development/node_modules/gatsby/node_modules/eslint/lib/rules/template-curly-spacing.js
JavaScript
apache-2.0
4,149
/* * * 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"); y...
hsbhathiya/stratos
components/org.apache.stratos.manager.console/modules/console/scripts/server.js
JavaScript
apache-2.0
1,188
var get = Ember.get; Ember._ResolvedState = Ember.Object.extend({ manager: null, state: null, match: null, object: Ember.computed(function(key) { if (this._object) { return this._object; } else { var state = get(this, 'state'), match = get(this, 'match'), manager = get(...
teddyzeenny/ember.js
packages/ember-old-router/lib/resolved_state.js
JavaScript
mit
985
require('mocha'); require('should'); var assert = require('assert'); var support = require('./support'); var App = support.resolve(); var app; describe('app.option', function() { beforeEach(function() { app = new App(); }); it('should set a key-value pair on options:', function() { app.option('a', 'b');...
Gargitier5/tier5portal
vendors/update/test/app.option.js
JavaScript
mit
2,760
Proj4js.defs["EPSG:2246"] = "+proj=lcc +lat_1=37.96666666666667 +lat_2=38.96666666666667 +lat_0=37.5 +lon_0=-84.25 +x_0=500000.0001016001 +y_0=0 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048006096012192 +no_defs";
debard/georchestra-ird
mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG2246.js
JavaScript
gpl-3.0
210
tinyMCE.addI18n('ka.wordcount',{words:"Words: "});
freaxmind/miage-l3
web/blog Tim Burton/tim_burton/protected/extensions/tinymce/assets/tiny_mce/plugins/wordc/langs/ka_dlg.js
JavaScript
gpl-3.0
50
/* * 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 ...
cxfeng1/incubator-weex
runtime/frameworks/legacy/app/register.js
JavaScript
apache-2.0
3,146
// Copyright 2013 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. (function() { // We are going to kill all of the builtins, so hold onto the ones we need. var defineGetter = Object.prototype.__defineGetter__; var defin...
Chilledheart/chromium
chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js
JavaScript
bsd-3-clause
11,033
// Copyright 2012 The Closure Library 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 requ...
odajima-yu/closure-rails
vendor/assets/javascripts/goog/events/eventtargettester.js
JavaScript
mit
32,410
// No generics for getters and setters ({ set foo<T>(newFoo) {} })
facebook/flow
src/parser/test/flow/invalid_syntax/migrated_0012.js
JavaScript
mit
67
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var fs = require('fs'); var morgan = require('morgan'); var routes = require('./routes/index'); var ...
lmazuel/autorest
src/dev/TestServer/server/app.js
JavaScript
mit
18,237
//// [tests/cases/compiler/pathMappingBasedModuleResolution5_classic.ts] //// //// [file1.ts] import {x} from "folder2/file1" import {y} from "folder3/file2" import {z} from "components/file3" import {z1} from "file4" declare function use(a: any): void; use(x.toExponential()); use(y.toExponential()); use(z.toExpo...
weswigham/TypeScript
tests/baselines/reference/pathMappingBasedModuleResolution5_classic.js
JavaScript
apache-2.0
1,513
/** * @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 ==...
Geovanny0401/bookStore
bookstore-front/node_modules/zone.js/dist/zone-bluebird.js
JavaScript
apache-2.0
1,237
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright * (C) 2003-2008 Frederico Caldeira Knabben == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your choice: - * GNU General Public License Version 2 or later (the "GPL") * http://www.gnu.org/licen...
zhangjunfang/eclipse-dir
nsp/src/main/webapp/scripts/lib/fckeditor/editor/dialog/common/fck_dialog_common.js
JavaScript
bsd-2-clause
8,894
/* * Copyright 2016 Rethink Robotics * * Copyright 2016 Chris Smith * * 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 * ...
tarquasso/softroboticfish6
fish/pi/ros/catkin_ws/src/rosserial/devel/share/gennodejs/ros/rosserial_msgs/find.js
JavaScript
mit
1,464
/** * @fileoverview Rule to flag wrapping non-iife in parens * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ /** * Checks whether or not a given n...
EdwardStudy/myghostblog
versions/1.25.7/node_modules/eslint/lib/rules/accessor-pairs.js
JavaScript
mit
5,257
//used for the media picker dialog angular.module("umbraco") .controller("Umbraco.Dialogs.MediaPickerController", function ($scope, mediaResource, umbRequestHelper, entityResource, $log, mediaHelper, eventsService, treeService, $cookies, $element, $timeout, notificationsService) { var dial...
gregoriusxu/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.controller.js
JavaScript
mit
6,762
/* ********************************************************************************************* System Loader Implementation - Implemented to https://github.com/jorendorff/js-loaders/blob/master/browser-loader.js - <script type="module"> supported *********************************************************...
nfl/es6-module-loader
src/system.js
JavaScript
mit
1,825
/** * This component provides a grid holding selected items from a second store of potential * members. The `store` of this component represents the selected items. The `searchStore` * represents the potentially selected items. * * The default view defined by this class is intended to be easily replaced by derivin...
department-of-veterans-affairs/ChartReview
web-app/js/ext-5.1.0/src/view/MultiSelectorSearch.js
JavaScript
apache-2.0
8,477
// // Copyright (c) Microsoft and contributors. 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...
begoldsm/azure-sdk-for-node
test/services/blob/blobservice-tests.js
JavaScript
apache-2.0
59,746