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
'use strict'; /* eslint-disable no-template-curly-in-string */ const { writeFileSync } = require('fs'); const requestHttp = require('http').request; const requestHttps = require('https').request; const { dependenciesInfo, getDependencies, packageJsonPath, } = require('./dep-data'); const emptyLine = ''; const v...
inverse/web-scrobbler
scripts/make-list.js
JavaScript
mit
2,637
module.exports = { "env": { "browser": true, "commonjs": true, "es6": true }, "extends": "eslint:recommended", "rules": { "indent": [ "error", 4 ], "linebreak-style": [ "error", "unix" ], "quo...
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/solium-plugin-security/.eslintrc.js
JavaScript
mit
1,202
"use strict"; /** * @license * Copyright 2016 Palantir Technologies, 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 * * Unle...
joseluisluri/nand.me-viewer
node_modules/tslint/lib/rules/objectLiteralShorthandRule.js
JavaScript
mit
3,387
var _ = require('lodash'); var path = require('canonical-path'); var fs = require('q-io/fs'); var Q = require('q'); /** * @dgProcessor writeFilesProcessor * @param {Object} log A service that provides logging * @description Write the value of `doc.renderedContent` to a file a `doc.outputPath`. * @property {String...
uistyleguide/uistyleguide.github.io
node_modules/dgeni-packages/base/processors/write-files.js
JavaScript
mit
1,315
// Copyright 2008 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...
LeoLombardi/tos-laimas-compass
tos-laimas-compass-win32-x64/resources/app/node_modules/closure-util/.deps/library/b06c979ecae7d78dd1ac4f7b09adec643baac308/closure/goog/format/htmlprettyprinter.js
JavaScript
mit
12,169
/* global jsc, describe, it, expect */ (function () { "use strict"; describe("examples", function () { it("collatz conjecture", function () { function collatz(n) { while (true) { if (n === 1) { break; } else if (n % 2 === 0) { n = n / 2; } els...
StoneCypher/jsverify
spec/examples.js
JavaScript
mit
4,257
'use strict'; module.exports = require('./components/multistatecheckbox/MultiStateCheckbox');
cdnjs/cdnjs
ajax/libs/primereact/6.4.1/multistatecheckbox.js
JavaScript
mit
95
define( //begin v1.x content { "dayPeriods-standAlone-abbr-noon": "напладне", "field-tue-relative+-1": "минатиот вторник", "field-year": "година", "dateFormatItem-yw": "w 'седмица' 'од' y", "dayPeriods-format-abbr-afternoon1": "попл.", "dateFormatItem-Hm": "HH:mm", "field-wed-relative+0": "оваа среда", "field-w...
cdnjs/cdnjs
ajax/libs/dojo/1.16.3/cldr/nls/mk/gregorian.js
JavaScript
mit
15,447
Prism.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:CHIP|IN|OUT|PARTS|BUILTIN|CLOCKED)\b/,boolean:/\b(?:true|false)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/};
cdnjs/cdnjs
ajax/libs/prism/1.25.0/components/prism-nand2tetris-hdl.min.js
JavaScript
mit
260
Clazz.declarePackage ("org.eclipse.jface.util"); Clazz.declareInterface (org.eclipse.jface.util, "ILogger");
royleexhFake/mayloon-portingtool
sources/net.sf.j2s.lib/j2slib/org/eclipse/jface/util/ILogger.js
JavaScript
epl-1.0
112
var paycardboxmsgAuth = (function($) { var mod = {}; var called = false; var reloadOnError = function() { window.location = 'paycardboxMsgAuth.php'; }; /** Trying to cope with rare errors where paycard_submitWrapper's AJAX call ends in an error with 0 status, 0 readyState. ...
CORE-POS/IS4C
pos/is4c-nf/plugins/Paycards/js/paycardboxmsgAuth.js
JavaScript
gpl-2.0
1,493
// xlink var xlinkNS = 'http://www.w3.org/1999/xlink' var xlinkRE = /^xlink:/ module.exports = { priority: 850, update: function (value) { if (this.arg) { this.setAttr(this.arg, value) } else if (typeof value === 'object') { this.objectHandler(value) } }, objectHandler: function (val...
jumpcakes/plunkett
wp-content/themes/genesis-sample/assets/js/bower_components/vue/src/directives/attr.js
JavaScript
gpl-2.0
1,045
/* * 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...
ROLE/widget-store
src/main/drupal/sites/all/libraries/shindig2.5beta/features/src/main/javascript/features/i18n/data/DateTimeConstants__ar_LB.js
JavaScript
gpl-2.0
4,403
// ============================================================== // Ok, *some* apps have really long and nasty window captions // this looks clutterd, so we allow to crop them a bit and remove // any information considered to be useless // ============================================================== function isBrow...
falbrechtskirchinger/kde-workspace
kwin/data/stripTitle.js
JavaScript
gpl-2.0
4,450
/** * MAP_DIRECTION_API constructor and main entry point * * @author: Avi Aialon <aviaialon@gmail.com> * @dependencies: jQuery 1.7+ */ var MAP_DIRECTION_API = function(objParams) { // 45.493413, -73.685882 this.map; this.hasPendingQueue = false; this.onReadyCallback = null; this.directionsService = new go...
aviaialon/KingCanada.com
wp-content/themes/KING-Canada/library/js/map/core/mp.direction.api.js
JavaScript
gpl-2.0
15,358
/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dijit.Editor"]){ dojo._hasResource["dijit.Editor"]=true; dojo.provide("dijit.Editor"); dojo.require(...
rpdillon/wikid
wikid/lib/dijit/Editor.js
JavaScript
gpl-3.0
8,946
// vim: ts=4:sw=4:nu:fdc=4:nospell /*global Ext */ /** * @class Ext.ux.grid.RowActions * @extends Ext.util.Observable * * RowActions plugin for Ext grid. Contains renderer for icons and fires events when an icon is clicked. * CSS rules from Ext.ux.RowActions.css are mandatory * * Important general information: A...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/views/Extjs3/javascript/grids/RowAction.js
JavaScript
gpl-3.0
17,327
/* * 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/backend/launch-tools.js
JavaScript
apache-2.0
3,447
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.lb'); goog.require('Blockly.Msg'); Blockly.Msg["ADD_COMMENT"] = "Bemierkung derbäisetzen"; Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Can't delete the variable '%1' because it's part of the definition of the fu...
twodee/blockly
msg/js/lb.js
JavaScript
apache-2.0
37,676
module.exports={A:{A:{"8":"K C G E EB","900":"A","1924":"B"},B:{"1":"D w Z I M H"},C:{"1":"0 1 3 5 6 7 8 V W X Y y a b c d e f L h i j k l m n o p q r s t u v z x","8":"XB AB VB","516":"T U","772":"F J K C G E A B D w Z I M H N O P Q R S PB"},D:{"1":"0 1 3 5 6 7 8 X Y y a b c d e f L h i j k l m n o p q r s t u v z x B...
arschles/go-in-5-minutes
episode24/node_modules/caniuse-lite/data/features/classlist.js
JavaScript
apache-2.0
937
/** * @fileOverview Requirejs module containing device modifier for HTML5 media * playback without MIME type in source element * * @preserve Copyright (c) 2015 British Broadcasting Corporation * (http://www.bbc.co.uk) and TAL Contributors (1) * * (1) TAL Contributors are listed in the AUTHORS file and at * ...
ZeboFranklin/tal
static/script/devices/mediaplayer/html5untyped.js
JavaScript
apache-2.0
2,536
/** * @license * Copyright 2018 The FOAM 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 ...
jacksonic/vjlofvhjfgm
src/foam/nanos/u2/navigation/SubMenuBar.js
JavaScript
apache-2.0
2,016
//// [controlFlowSuperPropertyAccess.ts] class B { protected m?(): void; } class C extends B { body() { super.m && super.m(); } } //// [controlFlowSuperPropertyAccess.js] var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatic...
Microsoft/TypeScript
tests/baselines/reference/controlFlowSuperPropertyAccess.js
JavaScript
apache-2.0
1,365
/** * @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 */ export default []; //# sourceMappingURL=ki.js.map
rospilot/rospilot
share/web_assets/nodejs_deps/node_modules/@angular/common/locales/extra/ki.js
JavaScript
apache-2.0
252
// This file has been autogenerated. var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: 'a0d901ba-9956-4f7d-830c-2d7974c36666', name: 'Azure Storage DM Dev', use...
shuagarw/azure-xplat-cli
test/recordings/cli.storage.blob-tests/cli_storage_blob_upload_should_create_a_page_blob_by_uploading_a_basic_file_to_azure_storage.nock.js
JavaScript
apache-2.0
8,335
/** @module deliteful/list/CategoryRenderer */ define([ "dcl/dcl", "delite/register", "delite/handlebars!./List/CategoryRenderer.html", "./Renderer" ], function (dcl, register, template, Renderer) { /** * Default category renderer for the {@link module:deliteful/list/List deliteful/list/List widget}. * * @...
tkrugg/deliteful
list/CategoryRenderer.js
JavaScript
bsd-3-clause
1,085
//>>built define("dojo/regexp", ["./_base/kernel", "./_base/lang"], function(dojo, lang) { // module: // dojo/regexp // summary: // TODOC var regexp = lang.getObject("dojo.regexp", true); /*===== dojo.regexp = { // summary: Regular expressions and Builder resources }; regexp = dojo.regexp; =====*...
NCIP/cabio
software/cabio-api/system/web/dojo/regexp.js.uncompressed.js
JavaScript
bsd-3-clause
2,218
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. // OffscreenCanvas test in a worker:2d.color.space.p3.to.srgb // Description:test getImageData with srsb and uint8 from display p3 uint8 canvas // Note: importScripts("/resources/testharness.js"); importScripts("/html/canvas/resources/canva...
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/wide-gamut-canvas/2d.color.space.p3.to.srgb.worker.js
JavaScript
bsd-3-clause
1,245
var express = require('express'); var hal = require("express-hal"); var bodyParser = require('body-parser'); var request = require('request'); var pong = require('./pong'); var pong_routes = require('./routes'); var api_routes = require('./api'); var Player = require('../models/Player'); var Challenge = require('../m...
andrewvy/slack-pongbot
lib/app.js
JavaScript
isc
1,028
var net = require('net'), ValueError = require('../error/valueerror.js'); /** * AbstractGeocoder Constructor * @param <object> httpAdapter Http Adapter * @param <object> options Options */ var AbstractGeocoder = function(httpAdapter, options) { if (!this.constructor.name) { throw new Err...
mikelovskij/sauron2
node_modules/node-geocoder/lib/geocoder/abstractgeocoder.js
JavaScript
mit
2,190
define([ "dojo/_base/kernel", "dojo/_base/declare", "dojo/query", "dojo/_base/lang", "dojo/_base/sniff", "dojo/aspect", "dojo/dom-construct", "dojo/dom-class", "dojo/dom-style", "dojo/dom-geometry", "dojo/keys", "../core/_Module" ], function(kernel, declare, query, lang, has, aspect, domConstruct, domClass,...
mbouami/pme
web/js/gridx/modules/Puller.js
JavaScript
mit
3,015
import { DEMO } from '../constants/' const initialState = { text: null } export default (state = initialState, action = {}) => { switch (action.type) { case DEMO.SET: return { ...state, text: action.data } default: return state } }
DCKT/30DaysofReactNative
Project 09 - TutorialSwiper/src/reducers/demo.js
JavaScript
mit
282
'use strict'; // bower install angular#^1.2 --save; bower install angular-animate#^1.2 angular-i18n#^1.2 angular-mocks#^1.2 angular-route#^1.2 angular-sanitize#^1.2 angular-scenario#^1.2 --save-dev // bower install angular#^1.3 --save; bower install angular-animate#^1.3 angular-i18n#^1.3 angular-mocks#^1.3 angular-rout...
radhikabhanu/crowdsource-platform
staticfiles/bower_components/angular-strap/gulpfile.js
JavaScript
mit
15,489
YUI.add('gallery-bt-device', function (Y, NAME) { /*global screen */ /** * Provide information about browser and device by Y.UA. * * @module gallery-bt-device * @static */ /** * The Y.Bottle.Device class is static, and provides device information * * @class Device * @namespace Bottle */ var positionFixedSup...
inikoo/fact
libs/yui/yui3-gallery/build/gallery-bt-device/gallery-bt-device.js
JavaScript
mit
5,207
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.5.4.16_A1_T6; * @section: 15.5.4.16; * @assertion: String.prototype.toLowerCase(); * @description: Call toLowerCase() function of Number.NEGATIVE_INFINITY; */ Number.pro...
seraum/nectarjs
tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.16_String.prototype.toLowerCase/S15.5.4.16_A1_T6.js
JavaScript
mit
798
/*! * Vue.js v2.0.6 * (c) 2014-2016 Evan You * Released under the MIT License. */ 'use strict'; /* */ /** * Convert a value to a string that is actually rendered. */ function _toString (val) { return val == null ? '' : typeof val === 'object' ? JSON.stringify(val, null, 2) : String(val) }...
abishekrsrikaanth/jsdelivr
files/vue/2.0.7/vue.runtime.common.js
JavaScript
mit
148,103
/* * Datalist polyfill - https://github.com/mfranzke/datalist-polyfill * @license Copyright(c) 2017 by Maximilian Franzke * Supported by Christian, Johannes, @mitchhentges, @mertenhanisch, @ailintom, @Kravimir, @mischah, @hryamzik, @ottoville, @IceCreamYou, @wlekin, @eddr, @beebee1987 and @mricherzhagen - many thanks f...
seogi1004/cdnjs
ajax/libs/datalist-polyfill/1.22.1/datalist-polyfill.js
JavaScript
mit
23,423
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const chalk = require("chalk"); const fs = require("fs"); const os = require("os"); const path = require("path"); const common_tags_1 = require("common-tags"); const Command = require('../ember-cli/lib/models/command'); const Blueprint = requi...
raymonddavis/Angular-SailsJs-SocketIo
web/node_modules/@angular/cli/commands/generate.js
JavaScript
mit
3,475
/*global module*/ module.exports = function ( grunt ) { 'use strict'; grunt.loadNpmTasks('grunt-contrib-copy'); return { options: { processContentExclude: ['**/*.{png,gif,jpg,ico,psd}'] }, copy_to_dist: { expand: true, // allow dynamic buildin...
stefanwalther/qsExtensionPlayground
requirejs-css/grunt/Gruntfile.copy.js
JavaScript
mit
915
var naturalSort = require('../'); var through = require('through'); var should = require('should'); var createFS = require('vinyl-fs-mock'); require('mocha'); describe('gulp-natural-sort', function() { function generateStream() { return createFS({ '2-test.md': 'one', '1-test.md': 'two', '10-tes...
emgeee/gulp-natural-sort
test/main.js
JavaScript
mit
1,330
"use strict"; var expect = require("chai").expect , assert = require("chai").assert , hue = require("..") , HueApi = hue.api , scheduledEvent = hue.scheduledEvent , ApiError = hue.ApiError , testValues = require("./support/testValues.js") ; describe("Hue API", function () { var hue = ...
nikkis/OrchestratorJS
resources/tests/node_modules/node-hue-api/test/schedule-tests.js
JavaScript
mit
11,109
"use strict"; var _ = require("lodash"); var merge = require("../cli/cli-options").merge; /** * @param {BrowserSync} browserSync * @param {String} [name] * @param {Object} pjson * @returns {Function} */ module.exports = function (browserSync, name, pjson) { return function () { var args...
Socratacom/socrata-europe
wp-content/themes/socrata/node_modules/browser-sync/lib/public/init.js
JavaScript
gpl-2.0
614
if (confirm('Are you ok?')) alert('whooopie'); else alert('hugggzzz');
ssj-gz/emscripten-kdelibs
kjsembed/examples/tests/builtins.js
JavaScript
gpl-2.0
81
(function(){ // module factory: start var moduleFactory = function($) { // module body: start var module = this; $.require() .script("moment") .done(function() { var exports = function() { $.moment.lang('ar-ma', { months : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".sp...
BetterBetterBetter/WheresWalden
media/foundry/4.0/scripts/moment/ar-ma.js
JavaScript
gpl-2.0
2,156
/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.require("dojo.string"); // NOTE: these tests are...
BradNeuberg/hyperscope
release1_1/src/mockups/lib/dojo/tests/string/test_common.js
JavaScript
gpl-2.0
577
$(document).ready(function() { $("input.numericOnly").numericOnly(); }); jQuery.fn.numericOnly = function() { return this.each(function() { $(this).keydown(function(e) { var key = e.charCode || e.keyCode || 0; if(e.shiftKey || e.ctrlKey || e.altKey) { // only allow s...
kevinwojo/hubzero-cms
core/components/com_cart/site/assets/js/cart.js
JavaScript
gpl-2.0
740
/* * * (c) 2014-2019 Highsoft AS * * Authors: Jon Arild Nygard / Oystein Moseng * * License: www.highcharts.com/license */ 'use strict'; import H from '../parts/Globals.js'; import mixinTreeSeries from '../mixins/tree-series.js'; import '../parts/Utilities.js'; import '../parts/Options.js'; import '../parts/Ser...
blue-eyed-devil/testCMS
externals/highcharts/es-modules/modules/treemap.src.js
JavaScript
gpl-3.0
62,667
var JSONUtils = require('../json'); var deprecate = require('./deprecate'); var encodeProgress = require('./encodeProgress'); /** Encode a page in a context to a JS API @param {Output} output @param {Page} page @return {Object} */ function encodePage(output, page) { var book = output.getBook(); ...
hhkaos/awesome-arcgis
node_modules/gitbook/lib/api/encodePage.js
JavaScript
gpl-3.0
1,082
odoo.define('web_diagram.DiagramModel', function (require) { "use strict"; var AbstractModel = require('web.AbstractModel'); /** * DiagramModel */ var DiagramModel = AbstractModel.extend({ //-------------------------------------------------------------------------- // Public //--------------------------...
t3dev/odoo
addons/web_diagram/static/src/js/diagram_model.js
JavaScript
gpl-3.0
3,025
import Ember from 'ember'; export default Ember.Mixin.create({ chargePricingCategory: null, pricingList: null, pricingTypeForObjectType: null, pricingTypes: null, _createNewChargeRecord: function(quantityCharged, pricingId) { return new Ember.RSVP.Promise(function(resolve, reject) { this.store.find(...
SimonHFrost/hospitalrun-frontend
app/mixins/charge-actions.js
JavaScript
gpl-3.0
11,007
// |jit-test| debug // Basic call chain. var g = newGlobal('new-compartment'); var result = null; var dbg = new Debugger(g); dbg.onDebuggerStatement = function (frame) { var a = []; assertEq(frame === frame.older, false); for (; frame; frame = frame.older) a.push(frame.type === 'call' ? frame.calle...
SlateScience/MozillaJS
js/src/jit-test/tests/debug/Frame-older-01.js
JavaScript
mpl-2.0
618
import parseHyperscript from '../util/parseHyperscript'; const hyperscriptCache = {}, simpleTagMark = {}; export default function adaptHyperscript( { createElement, isElement, classAttributeName = 'className', attributeAliases = null, attributeAliasesByTagName = nul...
mcjazzyfunky/js-surface
boxroom/archive/backup-js-surface-2018-01-28/boxroom/archive/2018-01-21/src/main/adaption/adaptHyperscript.js
JavaScript
lgpl-3.0
6,255
define( //begin v1.x content ({ loadingState: "Lataus on meneillään...", errorState: "On ilmennyt virhe." }) //end v1.x content );
sulistionoadi/belajar-springmvc-dojo
training-web/src/main/webapp/js/dojotoolkit/dijit/nls/fi/loading.js
JavaScript
apache-2.0
135
/* * Copyright 2019 ThoughtWorks, 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 law or agr...
naveenbhaskar/gocd
server/webapp/WEB-INF/rails/app/assets/javascripts/stage_history.js
JavaScript
apache-2.0
1,596
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * Operator use ToString * * @path ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.js * @description Checking for undefined and null */ //CHECK#1 if (!(isNaN(parseInt(undefined)) && is...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A1_T3.js
JavaScript
apache-2.0
945
/** @jsx React.DOM */ /* * 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 (...
twitter/heron
heron/tools/ui/resources/static/js/exceptions.js
JavaScript
apache-2.0
7,781
/** 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"...
phonegap-build/cordova-lib
src/plugman/platforms/tizen.js
JavaScript
apache-2.0
2,836
/* * Copyright 2019 ThoughtWorks, 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 law or agr...
naveenbhaskar/gocd
server/webapp/WEB-INF/rails/spec/javascripts/helpers/custom_matchers.js
JavaScript
apache-2.0
1,051
// This file was procedurally generated from the following sources: // - src/dstr-binding-for-await/ary-ptrn-elision.case // - src/dstr-binding-for-await/default/for-await-of-async-gen-var.template /*--- description: Elision advances iterator (for-await-of statement) esid: sec-for-in-and-for-of-statements-runtime-seman...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-await-of/async-gen-dstr-var-ary-ptrn-elision.js
JavaScript
bsd-2-clause
2,275
var testCases = [ { name: 'RestrictedChars', precondition: [ {fullPath:'/ab', isDirectory:true}, ], tests: [ // Test for difficult characters in 'path' parameters. function(helper) { helper.getFile('/', 'a<b', {create:true}, 0); }, func...
leighpauls/k2cro4
content/test/data/layout_tests/LayoutTests/fast/filesystem/resources/op-restricted-chars.js
JavaScript
bsd-3-clause
2,857
var _curry3 = require('./internal/_curry3'); /** * The mapAccum function behaves like a combination of map and reduce; it * applies a function to each element of a list, passing an accumulating * parameter from left to right, and returning a final value of this * accumulator together with the new list. * * The ...
TheLudd/ramda
src/mapAccum.js
JavaScript
mit
1,465
steal.then(function() { /** * @class DocumentJS.types.prototype * @tag documentation * @parent DocumentJS.types * Sets the following functions and attributes to be added to Class or Constructor prototype (instance) functions. * * ###Example * * @codestart * $.Controller.extend('Cookbook.Controllers...
geoffd123/amos
test/dummy/public/documentjs/types/prototype.js
JavaScript
mit
1,009
require('some_module_that_does_not_exits')
jiyinyiyong/node-dev
test/fixture/noSuchModule.js
JavaScript
mit
43
// server.js var express = require('express'); var app = express(); // set the view engine to ejs app.set('view engine', 'jade'); // public folder to store assets app.use(express.static(__dirname + '/public')); // routes for app app.get('/', function(req, res) { res.render('pad'); }); // listen on port 8000 (for...
sabativi/Realtime-Markdown-Viewer
server.js
JavaScript
mit
418
// copied from https://raw.githubusercontent.com/beautify-web/js-beautify/master/js/lib/beautify-html.js /*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */ /* The MIT License (MIT) Copyright (c) 2007-2013 Einar Lielmanis and contributors. Permission is hereby granted, free of charge, to any pers...
takumif/vscode
src/vs/languages/lib/common/beautify-html.js
JavaScript
mit
45,399
describe('lib/rules/validate-jsdoc/check-types', function() { var checker = global.checker({ plugins: ['./lib/index'] }); describe('not configured', function() { it('should report with undefined', function() { global.expect(function() { checker.configure({checkT...
szarouski/jscs-jsdoc
test/lib/rules/validate-jsdoc/check-types.js
JavaScript
mit
11,311
var React = require("react"); var common = require("./common.js"); var Query = require("../actions.js").Query; var VirtualScrollMixin = require("./virtualscroll.js"); var views = require("../store/view.js"); var _ = require("lodash"); var LogMessage = React.createClass({ render: function () { var entry = t...
Endika/mitmproxy
web/src/js/components/eventlog.js
JavaScript
mit
4,532
describe("api/ng.$compile", function() { beforeEach(function() { browser.get("index-nocache.html#!/api/ng.$compile"); }); it('should auto compile', function() { var textarea = $('textarea'); var output = $('div[compile]'); // The initial state reads 'Hello Angular'. expect(output.getText()).t...
Master244/Netwerven-Test-Site
wp-content/themes/netwerven/library/js/angular-1.2.13/docs/ptore2e/api/ng.$compile.jqlite_test.js
JavaScript
gpl-2.0
458
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * $LastChangedDate: 2008-07-18 18:13:15 -0400 (Fri, 18 Jul 2008) $ * $Rev: 5243 $ * * Versio...
Kunstmaan/CollectiveAccess
js/jquery/jquery.bgiframe.js
JavaScript
gpl-2.0
5,045
import { createAction } from 'redux-actions'; import { fetch } from '../../../utils'; import apiUrl from '../../../backend'; import WS_SERVICE_DATA from './constants'; const reset = createAction( WS_SERVICE_DATA, () => ({ status: 'initial' }) ); export const begin = createAction( WS_SERVICE_DATA, () => ({ s...
mcldev/geonode
geonode/monitoring/frontend/src/components/cels/ws-data/actions.js
JavaScript
gpl-3.0
1,051
/** * DB/Status/StatusState.js * * List of status state * * This file is part of ROBrowser, Ragnarok Online in the Web Browser (http://www.robrowser.com/). * * @author Vincent Thibault */ define(function() { "use strict"; return { BodyState: { STONE : 1, FREEZE : 2, STUN : 3...
bsparks/roBrowser
src/DB/Status/StatusState.js
JavaScript
gpl-3.0
1,619
/* globals Discussion, DiscussionCourseSettings */ (function(define) { 'use strict'; define( [ 'underscore', 'jquery', 'edx-ui-toolkit/js/utils/constants', 'common/js/discussion/discussion', 'common/js/spec_helpers/discussion_spec_helper', ...
caesar2164/edx-platform
lms/djangoapps/discussion/static/discussion/js/spec/discussion_board_view_spec.js
JavaScript
agpl-3.0
2,793
/** * Shopware 4.0 * Copyright © 2012 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 Public License with an additional * permi...
flyingSkull/dl-shopware
templates/_default/backend/index/store/widget.js
JavaScript
agpl-3.0
1,582
var logger = new Logger(); var q = require('q'); var loglevelLog = require('loglevel'); // todo: -Dlog.leve=trace loglevelLog.setLevel(loglevelLog.levels.TRACE) var stackTrace = require('stack-trace'); function Logger() { var testLog = []; this.testLog = function() { return testLog; }; t...
pavan149679/Hygieia
UI-protractor-tests/src/main/js/util/logger.js
JavaScript
apache-2.0
1,820
//// [tests/cases/conformance/externalModules/topLevelAwaitErrors.8.ts] //// //// [index.ts] // await disallowed in default import import await from "./other"; //// [other.ts] declare const _await: any; export default _await; //// [other.js] export default _await; //// [index.js] export {};
kpreisser/TypeScript
tests/baselines/reference/topLevelAwaitErrors.8.js
JavaScript
apache-2.0
307
/* globals describe, it, expect */ var Rx = require('../dist/cjs/Rx'); var Notification = Rx.Notification; describe('Notification', function () { it('should exist', function () { expect(typeof Notification).toBe('function'); }); describe('createNext', function () { it('should return a Notification', ...
sitexa/RxJS
spec/Notification-spec.js
JavaScript
apache-2.0
1,355
"use strict"; var path = require("path"); var fs = require("fs"); module.exports = {}; fs .readdirSync(__dirname) .filter(function(file) { return (file.indexOf(".") !== 0) && (file.indexOf("index.js") === -1); }) .forEach(function(file) { module.exports[file.replace("-helper.js", "")] = require(pat...
leosilvadev/openfinancial
node_modules/sequelize-cli/lib/helpers/index.js
JavaScript
apache-2.0
355
/* * (c) Copyright 2015 Hewlett-Packard Development Company, L.P. * * 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...
watonyweng/horizon
horizon/static/framework/widgets/modal/simple-modal.spec.js
JavaScript
apache-2.0
5,039
/* * 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 u...
watonyweng/horizon
openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/security-groups/security-groups-help.controller.js
JavaScript
apache-2.0
1,959
import EsriJSON from '../src/ol/format/EsriJSON.js'; import Map from '../src/ol/Map.js'; import VectorSource from '../src/ol/source/Vector.js'; import View from '../src/ol/View.js'; import XYZ from '../src/ol/source/XYZ.js'; import { Draw, Modify, Select, defaults as defaultInteractions, } from '../src/ol/inter...
openlayers/openlayers
examples/vector-esri-edit.js
JavaScript
bsd-2-clause
4,888
'use strict'; exports.__esModule = true; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writabl...
severnsc/brewing-app
src/client/node_modules/styled-components/lib/vendor/postcss/comment.js
JavaScript
mit
3,811
var Connection = require('./connection'); module.exports = function (uri, options) { return new Connection(uri, options); };
dhritzkiv/monq
lib/index.js
JavaScript
mit
129
/** * (c) 2010-2017 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import H from '../parts/Globals.js'; import '../parts/Utilities.js'; import '../parts/Color.js'; import '../parts/Options.js'; import '../parts/Legend.js'; import '../parts/Point.js'; import '../parts/Series.js'; import '../...
seogi1004/cdnjs
ajax/libs/highcharts/6.1.4/es-modules/parts-map/MapSeries.js
JavaScript
mit
39,828
import Service from 'ember-service'; import Evented from 'ember-evented'; // This is used by the dropdown initializer (and subsequently popovers) to manage closing & toggling import BodyEventListener from 'ghost-admin/mixins/body-event-listener'; export default Service.extend(Evented, BodyEventListener, { bodyClic...
marcelaph/PHWebsite
core/client/app/services/dropdown.js
JavaScript
mit
606
define(["Tone/core/Tone", "Tone/core/Master"], function(Tone){ "use strict"; /** * @class Tone.Meter gets the [RMS](https://en.wikipedia.org/wiki/Root_mean_square) * of an input signal with some averaging applied. * It can also get the raw value of the signal or the value in dB. For signa...
nickells/Tone.js
Tone/component/Meter.js
JavaScript
mit
4,730
/* This is an example implementation of the Leaflet.js map to fulfill the requirements for this assignment. This is provided as an aid to help you get unstuck. This example does not implement the full set of requirements, so you cannot just copy/paste this example into your `main.js` file to success...
rattanakone/wats1020-add-a-map
js/example-leaflet.js
JavaScript
mit
2,124
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@material-ui/utils"; /* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-stat...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.18/modern/InputBase/InputBase.js
JavaScript
mit
19,411
/*! * Copyright 2002 - 2015 Webdetails, a Pentaho company. All rights reserved. * * This software was developed by Webdetails and is provided under the terms * of the Mozilla Public License, Version 2.0, or any later version. You may not use * this file except in compliance with the license. If you need a copy of ...
SteveSchafer-Innovent/innovent-pentaho-birt-plugin
js-lib/expanded/cdf/js/dashboard/Dashboard.storage.ext.js
JavaScript
epl-1.0
900
/** * @class mw.user * @singleton */ ( function ( mw, $ ) { var i, userInfoPromise, byteToHex = []; /** * Get the current user's groups or rights * * @private * @return {jQuery.Promise} */ function getUserInfo() { if ( !userInfoPromise ) { userInfoPromise = new mw.Api().getUserInfo(); } re...
logbie/glowing-octo-waffle
resources/src/mediawiki/mediawiki.user.js
JavaScript
gpl-2.0
7,262
({ createLinkTitle: "Link Properties", insertImageTitle: "Image Properties", url: "URL:", text: "Description:", set: "Set" })
Emergen/zivios-panel
web/public/scripts/devel/current/dijit/_editor/nls/LinkDialog.js
JavaScript
gpl-3.0
131
function scatter(selector, xdata, ydata, options) { options = options || {}; _.defaults(options, { width: 600, height: 600, xmin: "auto", xmax: "auto", ymin: "auto", ymax: "auto", xlabel: "value", ylabel: "count", xgrid: "auto", ygr...
jakebailey/PrairieLearn
public/localscripts/scatter.js
JavaScript
agpl-3.0
4,584
/* * Copyright 2014 TWO SIGMA OPEN SOURCE, LLC * * 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 appl...
bradparks/beaker-notebook
core/src/main/web/outputdisplay/bko-progress.js
JavaScript
apache-2.0
3,757
// MIT License: // // Copyright (c) 2010-2011, Joe Walnes // // 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, ...
Twin86/codeshow
codeShow.JS/codeShow.JS.Shared/demos/stocks/smoothie.js
JavaScript
apache-2.0
14,343
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var Lint = require('../../../lib/index'); var Rule = (function...
andy-hanson/tslint
test/files/custom-rules/alwaysFailRule.js
JavaScript
apache-2.0
1,021
YUI.add('gallery-datatable-checkbox-select', function(Y) { /** A DataTable class extension that adds capability to provide a "checkbox" (INPUT[type=checkbox]) selection capability via a new column, which includes "select all" checkbox in the TH. The class uses only a few defined attributes to add the capability. Thi...
alexmullans/AllUrMailz
public/js/build/gallery-datatable-checkbox-select/gallery-datatable-checkbox-select.js
JavaScript
bsd-3-clause
21,289
/* The contents of this file are subject to the Netscape Public License * Version 1.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.mozilla.org/NPL/ * * Software distributed under the License is distributed on an "AS IS" *...
frivoal/presto-testo
core/standards/scripts/jstest-futhark/es-regression/imported-netscape/ecma/Date/15.9.4.3.js
JavaScript
bsd-3-clause
8,748
/* Copyright 2013-2015 ASIAL 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 applicable law or agreed to in writing, so...
malgany/MoncaAppet
www/lib/onsenui/core-src/ons/util.js
JavaScript
mit
12,522
// @flow class Foo { bar: Bar } class Bar { baz: Baz } class Baz { qux: number } declare var foo: ?Foo; const n = foo?.bar.baz.qux;
facebook/flow
tests/type_at_pos_expression/optional_chaining.js
JavaScript
mit
142
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
MTASZTAKI/ApertusVR
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/test/fixtures/echo.js
JavaScript
mit
1,361
'use strict'; const gulp = tars.packages.gulp; const fs = require('fs'); const staticFolderName = tars.config.fs.staticFolderName; const staticFolderPath = 'markup/' + staticFolderName; const imagesFolderPath = staticFolderPath + '/' + tars.config.fs.imagesFolderName; let paths = [ staticFolderPath + '/js/framew...
psr1919plus21/bbuttons
tars/tasks/services/create-fs.js
JavaScript
mit
1,431