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 (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: > Abrupt completions resulting from value retrieval are forwarded to the runtime. esid: sec-moduleevaluation info: | [...] 16. Let result be the re...
sebastienros/jint
Jint.Tests.Test262/test/language/module-code/eval-export-dflt-expr-err-get-value.js
JavaScript
bsd-2-clause
908
/* Tests for DOM 2 HTML 'HTMLLegendElement' object. */ var cvs = "$Id: htmllegendelement_int.js 10655 2006-12-18 15:47:57Z hallvord $"; testmodule ("HTMLLegendElement Interactive test", cvs); try { var l2 = document.getElementById ("legend2"); test ("form", l2.form, document.forms[0]); test ("align", l2.ali...
frivoal/presto-testo
core/standards/scripts/jstest-futhark/HTML/scripts/htmllegendelement_int.js
JavaScript
bsd-3-clause
835
version https://git-lfs.github.com/spec/v1 oid sha256:b7e4de6c082de3773c0e07af812029d0ea0b66685041c51c706d2dcbabe2579b size 2751
yogeshsaroya/new-cdnjs
ajax/libs/tinymce/4.1.5/plugins/textpattern/plugin.min.js
JavaScript
mit
129
/** * Copyright 2017 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 required by appli...
SuvanL/delet
node_modules/vxx/src/trace-plugin-loader.js
JavaScript
mit
6,785
//vendor file
cartridge/cartridge-javascript
test/mock-project/_source/scripts/vendor/test.js
JavaScript
mit
13
/** * @fileOverview Defines a graph renderer that uses CSS based drawings. * * @author Andrei Kashcha (aka anvaka) / https://github.com/anvaka */ module.exports = renderer; var eventify = require('ngraph.events'); var forceDirected = require('ngraph.forcelayout'); var svgGraphics = require('./svgGraphic...
rwehresmann/farma_alg_reborn
vendor/assets/components/vivagraphjs/src/View/renderer.js
JavaScript
mit
13,119
import { NgModule } from '@angular/core'; import { Slide } from './slide'; import { Slides } from './slides'; /** * @hidden */ export class SlidesModule { /** * @return {?} */ static forRoot() { return { ngModule: SlidesModule, providers: [] }; } } SlidesModule.decora...
fabiencheylac/kolp
node_modules/ionic-angular/es2015/components/slides/slides.module.js
JavaScript
mit
882
var _ = require('../../../../src/util') var config = require('../../../../src/config') var infoPrefix = '[Vue info]: ' var warnPrefix = '[Vue warn]: ' config.silent = true if (typeof console !== 'undefined') { describe('Util - Debug', function () { beforeEach(function () { spyOn(console, 'log') spy...
nkovacs/vue
test/unit/specs/util/debug_spec.js
JavaScript
mit
1,086
describe('securityAuthorization', function() { var $rootScope, security, securityAuthorization, queue; var userResponse, resolved; beforeEach(module('security.authorization')); beforeEach(inject(function($injector) { $rootScope = $injector.get('$rootScope'); securityAuthorization = $injector.get('secur...
Impactstory/total-impact-webapp
totalimpactwebapp/static/test/unit/common/security/authorization.spec.js
JavaScript
mit
2,778
var mongoose = require('mongoose'); var Schema = mongoose.Schema; module.exports = function() { var userSchema = new Schema({ username: {type: String, required:true}, password: {type: String, required: true}, is_admin: {type: Boolean, required: true, default: false}, tasks: [{ type: Schema.Type...
albertsgrc/curso-mean-jedi
ejemplos/09_express_api_rest_completa/models/user.model.js
JavaScript
mit
407
export { default } from 'ember-e3/utils/e3-ticks';
MattMSumner/e3
app/utils/e3-ticks.js
JavaScript
mit
50
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.0-rc.5 */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.dialog */ angular .module('material.components.dialog', [ 'material.core', 'material.components.ba...
mohamadir/15-minutes
temp/node_modules/angular-material/modules/js/dialog/dialog.js
JavaScript
mit
45,126
var adminUI = require('../../../adminUI'); module.exports = { before: function (browser) { browser .url(adminUI.url) .waitForElementVisible(adminUI.cssSelector.signinView.id) .setValue(adminUI.cssSelector.signinView.emailInput, adminUI.login.email) .setValue(adminUI.cssSelector.signinView.passwordInput,...
joerter/keystone
test/e2e/adminUI/tests/group005Fields/number/uiTestNumberField.js
JavaScript
mit
1,811
/*! * jscoverage: reporter/html.js * Authors : fish <zhengxinlin@gmail.com> (https://github.com/fishbar) * Create : 2014-04-10 16:23:23 * CopyRight 2014 (c) Fish And Other Contributors */ /** * Module dependencies. */ var fs = require('xfs'); var ejs = require('ejs'); var path = require('path'); /** * Ini...
fishbar/jscoverage
reporter/html.js
JavaScript
mit
5,017
const getRelativeParent = (element) => { if (!element) { return null; } const position = window.getComputedStyle(element).getPropertyValue('position'); if (position !== 'static') { return element; } return getRelativeParent(element.parentElement); }; const positionSuggestions = ({ decoratorRect, ...
aehlke/manabi
manabi/static/js/draft-js-furigana-plugin/utils/positionSuggestions.js
JavaScript
mit
1,644
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
arunetm/ChakraCore_0114
test/es6/generators-undodefer.js
JavaScript
mit
547
/* Script: Autocompleter.JSONP.js Implements Request.JSONP support for the Autocompleter class. License: http://www.clientcide.com/wiki/cnet-libraries#license */ Autocompleter.JSONP = new Class({ Extends: Autocompleter.Ajax.Json, options: { postVar: 'query', jsonpOptions: {}, // onRequest: $empty, // onCo...
fakedarren/mooshell
media/js/clientcide/Source/3rdParty/Autocompleter.JSONP.js
JavaScript
mit
1,117
'use strict'; var mm = require('micromatch'); var bold = require('ansi-bold'); /** * Delete a value from the config store. * * ```sh * $ --del foo * * # delete multiple values * $ --del foo,bar,baz * ``` */ module.exports = function(app) { var del = app.get('argv.del'); var config = app.config; var ke...
doowb/verb
lib/transforms/config/del.js
JavaScript
mit
478
import Ember from 'ember'; export default Ember.Controller.extend({ selections: null, occurrences: null, _initializeDefaults: Ember.on('init', function() { if (this.get('selections') == null) { this.set('selections', Ember.A()); } if (this.get('occurrences') == null) { this.set('occurre...
alphasights/ember-calendar
tests/dummy/app/controllers/index.js
JavaScript
mit
864
require("babel-register")({ // This will override `node_modules` ignoring - you can alternatively pass // an array of strings to be explicitly matched or a regex / glob ignore: false }); jest.mock('Linking', () => { return { addEventListener: jest.fn(), removeEventListener: jest.fn(), openURL: jest...
mcabs3/react-native-router-flux
test/setup.js
JavaScript
mit
430
/** * jquery.emodal.js v1.0.0 * http://8theme.com * * Licensed under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Copyright 2013, Serg * http://8theme.com */ ;( function( $, window, undefined ) { 'use strict'; // global var Modernizr = window.Modernizr; var settings = {}; ...
3773nortiz/surfside
wp-content/themes/royal_v1.1/royal/js/emodal.js
JavaScript
gpl-2.0
4,396
function test() { var obj1 = {}, obj2 = {}; var weakset = new WeakSet([obj1, obj2]); return weakset.has(obj1) && weakset.has(obj2); } if (!test()) throw new Error("Test failed");
Debian/openjfx
modules/web/src/main/native/Source/JavaScriptCore/tests/es6/WeakSet_constructor_arguments.js
JavaScript
gpl-2.0
194
'use strict' // Reload client for Chrome Apps & Extensions. // The reload client has a compatibility with livereload. // WARNING: only supports reload command. ; var LIVERELOAD_HOST = 'localhost:'; var LIVERELOAD_PORT = 35729; var connection = new WebSocket('ws://' + LIVERELOAD_HOST + LIVERELOAD_PORT + '/livereload')...
YeomansIII/notiforward-chrome
app/scripts/chromereload.js
JavaScript
gpl-2.0
640
/* -*- 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...
tmhorne/celtx
js/tests/js1_7/block/regress-347559.js
JavaScript
mpl-2.0
3,225
/* * Copyright (c) 2017 * * This file is licensed under the Affero General Public License version 3 * or later. * * See the COPYING-README file. * */ (function(OC, OCA) { if (!OCA.Sharing) { OCA.Sharing = {}; } var TEMPLATE = '<div>' + ' <h2>{{title}}</h2>' + ' <div id="uploadprogresswrapper"...
jacklicn/owncloud
apps/files_sharing/js/PublicUploadView.js
JavaScript
agpl-3.0
3,909
import Vue from 'vue' import testObjectOption from '../../../helpers/test-object-option' describe('Options methods', () => { it('should have correct context', () => { const vm = new Vue({ data: { a: 1 }, methods: { plus () { this.a++ } } }) vm.plu...
the-loom/dashboard
vendor/assets/components/vue/test/unit/features/options/methods.spec.js
JavaScript
agpl-3.0
866
(function (window) { "use strict"; var KEY = "jetzt-options"; var configStorage = { get: function (cb) { var options = localStorage.getItem(KEY); if(options === null) { cb({}); } else { cb(JSON.parse(options)); } }, set: function (options) { localStora...
ds300/jetzt
localstorage-config.js
JavaScript
apache-2.0
644
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("uicolor","de",{title:"UI Pipette",preview:"Live-Vorschau",config:"Fügen Sie diese Zeichenfolge in die 'config.js' Datei.",predefined:"Vordefinierte F...
viticm/pfadmin
vendor/frozennode/administrator/public/js/ckeditor/plugins/uicolor/lang/de.js
JavaScript
apache-2.0
334
import { initFocusOutline } from './focus'; describe('initFocusOutline', () => { beforeEach(() => { document.body.classList.add('focus-outline-on'); }); it('removes styles on init', () => { initFocusOutline(); expect(document.body.className).toBe('focus-outline-off'); }); it('adds styles when t...
zerolab/wagtail
client/src/utils/focus.test.js
JavaScript
bsd-3-clause
1,316
/** * @class FeedViewer.FeedPanel * @extends Ext.panel.Panel * * Shows a list of available feeds. Also has the ability to add/remove and load feeds. * * @constructor * Create a new Feed Panel * @param {Object} config The config object */ Ext.define('FeedViewer.FeedPanel', { extend: 'Ext.panel.Panel', ...
folevo/task.loc
public/js/ext-5.0.1/examples/feed-viewer/viewer/FeedPanel.js
JavaScript
bsd-3-clause
7,180
// -- Sammy.js -- /plugins/sammy.ejs.js // http://sammyjs.org // Version: 0.7.1 // Built: 2012-01-21 16:40:17 -0800 (function(a){Sammy=Sammy||{};Sammy.EJS=function(d,b){var c=function(f,g,e){if(typeof e=="undefined"){e=f}return new EJS({text:f,name:e}).render(g)};if(!b){b="ejs"}d.helper(b,c)}})(jQuery);
mtscout6/sammy
lib/min/plugins/sammy.ejs-latest.min.js
JavaScript
mit
305
describe("tfApp", function() { beforeEach(function(){ //angular.module("firebase",[]); //angular.module("ui.router",[]); //angular.module("ngDialog",[]); module("tfApp"); module(function($provide){ $provide.factory('Auth', function(){ $onAuthStateChanged=function(callback){ ...
ThighAndFeather/teamform-seed
app/unit_tests/testRequestCtrl.js
JavaScript
mit
3,334
var fs = require('fs'), Promise = require('bluebird'), util = require('util'); Promise.promisifyAll(fs); module.exports = { load: function(app) { load_data_files() .then(expand_practitioners) .done(function(data) { Object.keys(data).forEach(function(key) { app.locals[key] =...
nhsalpha/nhs_prototype_kit
db/load.js
JavaScript
mit
1,485
"use strict"; var helpers = require("../../helpers/helpers"); exports["Asia/Kuwait"] = { "1949" : helpers.makeTestYear("Asia/Kuwait", [ ["1949-12-31T20:48:03+00:00", "23:59:59", "LMT", -11516 / 60], ["1949-12-31T20:48:04+00:00", "23:48:04", "AST", -180] ]) };
HubSpot/moment-timezone
tests/zones/asia/kuwait.js
JavaScript
mit
267
import setupStore from 'dummy/tests/helpers/store'; import Ember from 'ember'; import testInDebug from 'dummy/tests/helpers/test-in-debug'; import {module, test} from 'qunit'; import DS from 'ember-data'; var container, store, registry, Person; var run = Ember.run; module("unit/store/serializer_for - DS.Store#seria...
danmcclain/data
tests/unit/store/serializer-for-test.js
JavaScript
mit
2,015
YUI.add('gallery-bt-carousel', function (Y, NAME) { /** * Provide Carousel class to rendering a lot of photo in many kinds of layout * * @module gallery-bt-carousel * @static */ var PREFIX = 'bcr_', CLASSES = { INDEXBOX: PREFIX + 'indexbox', INDEXITEM: PREFIX + 'indexitem', INDEXON: ...
inikoo/fact
libs/yui/yui3-gallery/build/gallery-bt-carousel/gallery-bt-carousel.js
JavaScript
mit
8,580
describe("tfApp", function() { beforeEach(function(){ //angular.module("firebase",[]); //angular.module("ui.router",[]); //angular.module("ngDialog",[]); module("tfApp"); module(function($provide){ $provide.factory('Auth', function(){ $onAuthStateC...
TwinkleChow/teamform-seed
app/unit_tests/testEventDCtrl.js
JavaScript
mit
7,770
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Zalastax/vscode
build/npm/update-all-grammars.js
JavaScript
mit
1,546
// Issue an HTTP GET request for the contents of the specified URL. // When the response arrives, pass it to the callback function as a // parsed XML Document object, a JSON-parsed object, or a string. function get(url, callback) { var request = new XMLHttpRequest(); // Create new request request.open(...
yangjunjun/examples
source-from-book/codes_of_JavaScript_the_Definitive_Guide/examples/18.03.get.js
JavaScript
mit
1,215
var bigInt = (function (undefined) { "use strict"; var BASE = 1e7, LOG_BASE = 7, MAX_INT = 9007199254740992, MAX_INT_ARR = smallToArray(MAX_INT), DEFAULT_ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz"; var supportsNativeBigInt = typeof BigInt === "function"; ...
extend1994/cdnjs
ajax/libs/big-integer/1.6.47/BigInteger.js
JavaScript
mit
51,893
var assert = require('assert'), Stats = require('fast-stats').Stats; var s1 = new Stats({buckets: [1, 2, 3, 5, 8, 13], store_data: false}); for(var i=0; i<20; i++) s1.push(i); /* We should have the following buckets filled: 0 1 2 3, 4 5, 6, 7 8, 9, 10, 11, 12 13, 14, 15, 16, 17, 18, 19 */ var d = s1.distributio...
lakemedelsboken/LB
servers/api/node_modules/fast-stats/tests/t4.js
JavaScript
mit
908
import React from 'react'; import classnames from 'classnames'; import Checkbox from '../../../admin/src/components/Checkbox'; import ItemsTableCell from '../../../admin/src/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/src/components/ItemsTableValue'; var BooleanColumn = React.createClass({ ...
davibe/keystone
fields/types/boolean/BooleanColumn.js
JavaScript
mit
773
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Emitter = void 0; var MoveDirection_1 = require("../../../Enums/MoveDirection"); var EmitterRate_1 = require("./EmitterRate"); var EmitterLife_1 = require("./EmitterLife"); var Utils_1 = require("../../../Utils"); var EmitterSize_1 = r...
cdnjs/cdnjs
ajax/libs/tsparticles/1.15.0-alpha.7/Options/Classes/Emitters/Emitter.js
JavaScript
mit
1,477
/* CRIR - Checkbox & Radio Input Replacement Author: Chris Erwin (me[at]chriserwin.com) www.chriserwin.com/scripts/crir/ Updated July 27, 2006. Jesse Gavin added the AddEvent function to initialize the script. He also converted the script to JSON format. Updated July 30, 2006. Added the ability to ...
TTsWeb/U-232-V4
avatar/js/fancycheckbox.js
JavaScript
gpl-2.0
4,116
import { Box, Section, Button, Grid } from '../components'; import { useBackend } from '../backend'; export const EmergencyShuttleConsole = props => { const { act, data } = useBackend(props); const { timer_str, enabled, emagged, engines_started, authorizations_remaining, authorizations = [...
Thunder12345/-tg-station
tgui/packages/tgui/interfaces/EmergencyShuttleConsole.js
JavaScript
agpl-3.0
2,889
// 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/function-accessor.js
JavaScript
apache-2.0
932
// Copyright 2014 The Oppia 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 required by ap...
Cgruppo/oppia
core/templates/dev/head/editor/StateEditorSpec.js
JavaScript
apache-2.0
5,845
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * If string.charAt(k) equal "%" and k + 2 >= string.length, throw URIError * * @path ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.1_T1.js * @description Complex tests */ var result = ...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.1/15.1.3/15.1.3.1/S15.1.3.1_A1.1_T1.js
JavaScript
apache-2.0
985
describe('dc.bubbleChart', function() { var id, chart, data; var dateFixture; var dimension, group; var countryDimension; var width = 900, height = 350; beforeEach(function() { dateFixture = loadDateFixture(); data = crossfilter(dateFixture); dimension = data.dimension(f...
witcxc/dc.js
spec/bubble-chart-spec.js
JavaScript
apache-2.0
12,924
// Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Flags: --stress-compaction --expose-gc // Test that the dirty FinalizationRegistries that are enqueued during GC have // their slots correctly recor...
youtube/cobalt
third_party/v8/test/mjsunit/harmony/weakrefs/stress-finalizationregistry-dirty-enqueue.js
JavaScript
bsd-3-clause
1,051
/** * Copyright (c) 2015-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. * * @emails oncall+javascript_foundation */ 'use strict'; jest .dontMock('../getAssetDestPathAndroid') .dontMock('../assetPathUtils')...
hoastoolshop/react-native
local-cli/bundle/__tests__/getAssetDestPathAndroid-test.js
JavaScript
bsd-3-clause
1,970
"use strict"; var mockExpectation = require("./mock-expectation"); var spyCallToString = require("./call").toString; var extend = require("./util/core/extend"); var match = require("./match"); var deepEqual = require("./util/core/deep-equal").use(match); var wrapMethod = require("./util/core/wrap-method"); var push =...
vignesh9136/node-google-calendar-sample
node_modules/sinon/lib/sinon/mock.js
JavaScript
isc
5,116
var karma = require('karma').server, gulp = require('gulp'), mocha = require('gulp-mocha'), jshint = require('gulp-jshint'), header = require('gulp-header'), rename = require('gulp-rename'), uglify = require('gulp-uglify'), browserify = require('gulp-browserify'), fs = require('fs'), ...
JamieMason/npm-cache-benchmark
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/sister/3.0.0/gulpfile.js
JavaScript
mit
2,225
/*! * Module dependencies. */ var EventEmitter = require('events').EventEmitter; var MongooseError = require('./error'); var MixedSchema = require('./schema/mixed'); var Schema = require('./schema'); var ObjectExpectedError = require('./error/objectExpected'); var StrictModeError = require('./error/strict'); var Val...
fanbrightup/November-December
week44/mongodbTest/node_modules/mongoose/lib/document.js
JavaScript
mit
67,353
import Ember from "ember-metal/core"; import run from "ember-metal/run_loop"; import ContainerView from "ember-views/views/container_view"; QUnit.module("Ember.View - controller property"); test("controller property should be inherited from nearest ancestor with controller", function() { var grandparent = Containe...
rondale-sc/ember.js
packages/ember-views/tests/views/view/controller_test.js
JavaScript
mit
1,476
/* * Copyright (C) 2014 rafa * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed ...
ivangm4/ausiasYield2015
src/main/webapp/oldjs/specific/tipotarea/control.js
JavaScript
mit
8,774
import { Injectable } from '@angular/core'; /** * Configuration service for the NgbAlert component. * You can inject this service, typically in your root component, and customize the values of its properties in * order to provide default values for all the alerts used in the application. */ var NgbAlertConfig = (fu...
rtnews/rtsfnt
node_modules/@ng-bootstrap/ng-bootstrap/alert/alert-config.js
JavaScript
mit
672
var map = L.mapbox.map('map', 'tmcw.map-ajwqaq7t') .setView([40, -74.50], 9); var $input = $('#input'), $output = $('#output'), $go = $('.go'), $lat = $('#lat'), $lon = $('#lon'); $('#close').click(function() { $('#manual').hide(); $lat.html(''); $lon.html(''); }); var gjLayer = null;...
caseyy/csv2geojson
site/site.js
JavaScript
mit
2,179
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'toolbar', 'fr-ca', { toolbarCollapse: 'Collapse Toolbar', // MISSING toolbarExpand: 'Expand Toolbar', // MISSING toolbarGroups: { docu...
bkahlert/com.bkahlert.nebula
src/com/bkahlert/nebula/widgets/composer/html/plugins/toolbar/lang/fr-ca.js
JavaScript
mit
625
define(['Modernizr', 'modElem'], function( Modernizr, modElem ) { var mStyle = { style : modElem.elem.style }; // kill ref for gc, must happen before // mod.elem is removed, so we unshift on to // the front of the queue. Modernizr._q.unshift(function() { delete mStyle.style; }); return mStyle;...
JanetteA/dsmsales
sites/all/libraries/modernizr/src/mStyle.js
JavaScript
gpl-2.0
325
describe('Controller: ContentViewAvailableOstreeRepositoriesController', function() { var $scope; beforeEach(module('Bastion.content-views', 'Bastion.test-mocks', 'Bastion.i18n')); beforeEach(inject(function($injector) { var Nutupane, $controller = $injector.get('$controller'), ...
komidore64/katello
engines/bastion_katello/test/content-views/details/content-view-available-ostree-repositories.controller.test.js
JavaScript
gpl-2.0
1,832
/** * @file * Provides responsive behaviors to HTML details elements. */ (function ($, Drupal) { /** * Initializes the responsive behaviors for details elements. * * @type {Drupal~behavior} * * @prop {Drupal~behaviorAttach} attach * Attaches the responsive behavior to status report specific de...
tobiasbuhrer/tobiasb
web/core/themes/seven/js/responsive-details.es6.js
JavaScript
gpl-2.0
1,482
module.exports = function (classes){ 'use strict'; var debug = require('debug')('jsonrpc'); var EventEmitter = classes.ES5Class.$define('EventEmitter', {}, { /** * Output a piece of debug information. */ trace : function (direction, message){ var msg = ' ' + direction + ' ' + message...
jpbeaudet/rpc2-tester
node_modules/json-rpc2/src/event-emitter.js
JavaScript
gpl-3.0
888
"use strict"; exports.__esModule = true; exports.Scope = Scope; exports.VariableDeclaration = VariableDeclaration; 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)) ne...
thisbejim/news-admin
node_modules/radium/node_modules/babel-core/lib/babel/transformation/transformers/es6/constants.js
JavaScript
agpl-3.0
992
/* juicy-projects */ (function($, window, document, undefined) { 'use strict'; // init cubeportfolio $('#js-grid-juicy-projects').cubeportfolio({ filters: '#js-filters-juicy-projects', layoutMode: 'grid', defaultFilter: '*', animationType: 'quicksand', gapHorizontal:...
Cryptopurse/Cryptotrader
web/src/main/resources/static/assets/unify/plugins/cube-portfolio/templates/multiple-grids/js/main.js
JavaScript
agpl-3.0
4,762
import("etherpad.log"); import("faststatic"); import("etherpad.utils.*"); import("etherpad.globals.*"); import("etherpad.helpers"); function handlePath(arg) { helpers.addToHead("<script src='/static/js/plugins/debugFirebugLite/firebug-lite.js'></script>"); }
OpeningDesign/SketchSpace
etherpad/src/plugins/debugFirebugLite/hooks.js
JavaScript
apache-2.0
262
module("plugins.font"); //test('stop',function(){stop();}); test('trace1583:applyInlineStyle--MergeToParent', function () { var editor = te.obj[0]; var range = te.obj[1]; stop(); setTimeout(function () { editor.setContent('<p>1<span style="font-size: 24px; ">23456<span style="font-size: 16px; "...
zzsoszz/nodejshtttpserver
webapps/zd/js/bower_components/ueditor/_test/plugins/font.js
JavaScript
apache-2.0
25,924
/* * Fuel UX All * https://github.com/ExactTarget/fuelux * * Copyright (c) 2014 ExactTarget * Licensed under the BSD New license. * * NOTE: This file works with AMD only. */ (function factoryMethod (factory) { if (typeof define === 'function' && define.amd) { // if AMD loader is available, register as an an...
ezsimple/java
springboot/GReact/node_modules/fuelux/js/all.js
JavaScript
apache-2.0
1,276
/* * 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 ma...
vohtaski/moodle-shindig
features/src/main/javascript/features/i18n/data/NumberFormatConstants__ti_ET.js
JavaScript
apache-2.0
1,410
/** * 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. * * @providesModule ...
chandu0101/sri-relay
relay-mobile-examples/lib/filterExclusiveKeys.js
JavaScript
apache-2.0
996
/** * 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...
AaronCritchley/amphtml
extensions/amp-sticky-ad/0.1/test/test-amp-sticky-ad.js
JavaScript
apache-2.0
11,609
/** @license * @pnp/common v1.0.0-rc.0 - pnp - provides shared functionality across all pnp libraries * MIT (https://github.com/pnp/pnp/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: http://officedev.github.io/PnP-JS-Core * source: https://github.com/pnp/pnp * bugs: https://github.com/pnp/pnp/issues ...
seogi1004/cdnjs
ajax/libs/pnp-common/1.0.0-rc.0/common.es5.umd.bundle.js
JavaScript
mit
63,180
// wrapped by build app define("d3/src/geom/quadtree", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){ import "../core/functor"; import "../math/abs"; import "geom"; import "point"; d3.geom.quadtree = function(points, x1, y1, x2, y2) { var x = d3_geom_pointX, y = d3_geom_pointY, compat; // For b...
maovt/p3_web
public/js/release/d3/src/geom/quadtree.js
JavaScript
mit
7,062
/* * easy.js v1.0.2 * * Copyright (c) 2013 Yiguo Chan * Released under the MIT Licenses * * Mail : chenmnkken@gmail.com * Date : 2013-7-15 23:30:52 */ // --------------------------------------------- // ---------------@module easy------------------ // --------------------------------------------- (function( window, ...
igemsoftware/SYSU-Software2013
project/Python27_32/web/static/js/regulation/easy.js
JavaScript
mit
243,389
it("should match rule with multiple loaders in 'loader'", function() { var abc = require("./abc"); abc.should.be.eql([ "abc", "?b", "?a" ]); }); it("should match rule with multiple loaders in 'loaders'", function() { var def = require("./def"); def.should.be.eql([ "def", "?d", "?c" ]); });
nkzawa/webpack
test/configCases/rule-set/chaining/index.js
JavaScript
mit
309
/* * Kendo UI Web v2013.3.1119 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx * If you do not own a commercial license, this file shall be governed by the * G...
hschaen/teamcalbaseball
wp-content/themes/teamcalbaseball/src/js/kendo.scheduler.dayview.js
JavaScript
gpl-2.0
57,957
goog.provide('ol.renderer.webgl.VectorLayer'); goog.require('ol'); goog.require('ol.ViewHint'); goog.require('ol.extent'); goog.require('ol.render.webgl.ReplayGroup'); goog.require('ol.renderer.vector'); goog.require('ol.renderer.webgl.Layer'); goog.require('ol.transform'); if (ol.ENABLE_WEBGL) { /** * @constr...
mvdstruijk/flamingo
viewer/src/main/webapp/viewer-html/common/openlayers4/OpenLayers/renderer/webgl/vectorlayer.js
JavaScript
agpl-3.0
9,795
var cwl = { path: {} }; cwl.path.split = function(p) { i = p.lastIndexOf('/') + 1; var head = p.slice(0, i); var tail = p.slice(i); var rep = ""; for (var i = 0; i < head.length; i++) { rep += "/"; } if (head && head != rep) { while (head[head.length-1] == "/") { ...
ohsu-computational-biology/common-workflow-language
site/cwlpath.js
JavaScript
apache-2.0
2,763
/* * Copyright 2012 Research In Motion Limited. * * 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 o...
T-M-C/WebWorks-Community-APIs
BB10/LED/ext/community.led/index.js
JavaScript
apache-2.0
2,584
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
DebalinaDey/AuraDevelopDeb
aura-components/src/test/components/uitest/pillContainer_WithAutoCompleteHeader/pillContainer_WithAutoCompleteHeaderHelper.js
JavaScript
apache-2.0
867
/* * Copyright (c) 2012 Memorial Sloan-Kettering Cancer Center. * 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 * any later version. * * This ...
baumjamin/Rmodules
web-app/js/geneprint/Models.js
JavaScript
apache-2.0
2,670
/* This is the base Horizon JavaScript object. There is only ever one of these * loaded (referenced as horizon with a lower-case h) which happens immediately * after the definition below. * * Scripts that are dependent on functionality defined in the Horizon object * must be included after this script in templates...
gochist/horizon
horizon/static/horizon/js/horizon.js
JavaScript
apache-2.0
1,125
/* * jQuery UI Draggable @VERSION * added by Bleicke and Charles on 03/30/2012 * from https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.draggable.js * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * h...
nvoron23/chorus
app/assets/javascripts/vendor/jquery.ui.draggable.js
JavaScript
apache-2.0
30,894
define( ({ widgets: { ShareDialog: { title: "Del", heading: "Del dette kort", url: "Kort-link", embed: "Integrér kort", extent: "Del aktuelt kortområde", size: "Størrelse (bredde/højde):", ...
tstork/tstork.github.io
viewer/js/nls/da/ShareDialog.js
JavaScript
apache-2.0
523
try { var Enumerable = require('enumerable'); } catch (e) { var Enumerable = require('enumerable-component'); } /** * Expose `Collection`. */ module.exports = Collection; /** * Initialize a new collection with the given `models`. * * @param {Array} models * @api public */ function Collection(models) { ...
amigocloud/modeify
components/component/collection/0.0.2/index.js
JavaScript
bsd-3-clause
997
// Copyright 2015 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. /** * @constructor * @extends {WebInspector.PanelWithSidebar} * @implements {WebInspector.TargetManager.Observer} */ WebInspector.SecurityPanel = func...
js0701/chromium-crosswalk
third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
JavaScript
bsd-3-clause
37,197
// Invoke 'strict' JavaScript mode 'use strict'; // Set the 'development' environment configuration object module.exports = { db: 'mongodb://localhost/mean-development-3', sessionSecret: 'developmentSessionSecret', facebook: { clientID: 'Facebook Application ID', clientSecret: 'Facebook Application Secret', c...
vibhatha/digitalocean_2
App_18/config/env/development.js
JavaScript
mit
705
// Collect all TTree-relevant methods for reading, drawing and hierarchy browsing JSROOT.define(['io', 'math'], (jsrio, jsrmath) => { "use strict"; JSROOT.BranchType = { kLeafNode: 0, kBaseClassNode: 1, kObjectNode: 2, kClonesNode: 3, kSTLNode: 4, kClonesMemberNode: 31, kSTLMemberNode: 41 }; ...
linev/jsroot
scripts/JSRoot.tree.js
JavaScript
mit
111,665
/* global assert, setup, suite, test */ var helpers = require('../helpers'); suite('a-mixin', function () { var assetsEl; var el; setup(function (done) { el = helpers.entityFactory(); var self = this; el.addEventListener('loaded', function () { var sceneEl = self.sceneEl = el.sceneEl; a...
aframevr/aframe
tests/core/a-mixin.test.js
JavaScript
mit
7,339
(function(){ angular.module('ui.grid') .factory('GridColumn', ['gridUtil', 'uiGridConstants', 'i18nService', function(gridUtil, uiGridConstants, i18nService) { /** * ****************************************************************************************** * PaulL1: Ugly hack here in documentation. These pro...
zuohaocheng/ui-grid
src/js/core/factories/GridColumn.js
JavaScript
mit
35,207
var myApp = {}; var pushNotifications = Windows.Networking.PushNotifications; var createNotificationJSON = function (e) { var result = { message: '' }; //Added to identify callback as notification type in the API in case where notification has no message var notificationPayload; switch (e.notificati...
davidrivasro07/phonegap-plugin-push
src/windows/PushPluginProxy.js
JavaScript
mit
3,908
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs_plugin_isoWeek=e()}(this,function(){"use strict";var o="day";return function(t,e,n){function r(t){return t.add(4-t.isoWeekday(),o)}var i=e.prototype;i.isoWeekYear=function(){ret...
cdnjs/cdnjs
ajax/libs/dayjs/1.9.4/plugin/isoWeek.min.js
JavaScript
mit
938
/*! * Casper is a navigation utility for PhantomJS. * * Documentation: http://casperjs.org/ * Repository: http://github.com/casperjs/casperjs * * Copyright (c) 2011-2012 Nicolas Perriault * * Part of source code is Copyright Joyent, Inc. and other Node contributors. * * Permission is hereby granted, free o...
EmersonAntonioDaSiilva/whatsapp-chatbot
node_modules/casperjs/modules/colorizer.js
JavaScript
apache-2.0
4,781
module.exports = { 'images': [{ 'idiom': 'universal', 'scale': '1x', 'width-class': 'compact', 'height-class': 'compact' }, { 'idiom': 'universal', 'scale': '1x', 'width-class': 'compact' }, { 'idiom': 'universal', 'scale': '1x', ...
shazron/cordova-ios
tests/spec/unit/fixtures/launch-storyboard-support/contents-json/varied-device.js
JavaScript
apache-2.0
3,557
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Flags: --random-seed=1 for (let i = 0; i < 54; ++i) Math.random(); let sum = 0; for (let i = 0; i < 10; ++i) sum += Math.floor(Math.random() * 50)...
zero-rp/miniblink49
v8_7_5/test/mjsunit/regress/regress-8265.js
JavaScript
apache-2.0
348
/*! * All equations are adapted from Thomas Fuchs' * [Scripty2](https://github.com/madrobby/scripty2/blob/master/src/effects/transitions/penner.js). * * Based on Easing Equations (c) 2003 [Robert * Penner](http://www.robertpenner.com/), all rights reserved. This work is * [subject to terms](http://www.robertpenne...
modulexcite/shifty
src/shifty.formulas.js
JavaScript
mit
5,538
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.serialize = exports.test = undefined; var _markup = require('./lib/markup'); /** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. ...
knightsj/RN_Demo
[3]. Demo_native/rn_into_ios/node_modules/jest-validate/node_modules/pretty-format/build/plugins/dom_element.js
JavaScript
mit
2,406
version https://git-lfs.github.com/spec/v1 oid sha256:3ff1aaeddaa8afe2813b329a9105455a0a6be19affbd55d85b195bbc1de8a1a5 size 335
yogeshsaroya/new-cdnjs
ajax/libs/dojo/1.8.9/errors/RequestError.js
JavaScript
mit
128
var blessed = require('../') , screen; screen = blessed.screen({ dump: __dirname + '/logs/widget.log', title: 'widget test', resizeTimeout: 300, dockBorders: true, cursor: { artificial: true, shape: 'line', blink: true, color: null }, debug: true, warnings: true }); screen.debugLog.p...
eush77/blessed
test/widget.js
JavaScript
mit
6,694
(function() { 'use strict'; angular .module('semantic.ui.angular.radioButtons',[ 'ngAria', 'semantic.ui.elements.radioButton' ]) .controller('RadioButtonsCtrl', function($scope) { $scope.radio = { value: 2 }; }); })();
giftstarter/Semantic-UI-Angular
src/elements/radioButton/demo/radioButtons.module.js
JavaScript
mit
297