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
/** * @description Gruntfile that contains tasks to build, test and deploy a project. * * Configure all your tasks in the /tasks folder. * * For more help, see: http://gruntjs.com/getting-started */ module.exports = function(grunt) { 'use strict'; function loadConfig(path) { var glob = require('g...
hanwb-code/predix
predix-angular-ui/Gruntfile.js
JavaScript
apache-2.0
877
//>>built define( "dojox/atom/widget/nls/pt-pt/FeedEntryEditor", //begin v1.x content ({ doNew: "[novo]", edit: "[editar]", save: "[guardar]", cancel: "[cancelar]" }) //end v1.x content );
cfxram/grails-dojo
web-app/js/dojo/1.7.2/dojox/atom/widget/nls/pt-pt/FeedEntryEditor.js
JavaScript
apache-2.0
193
define({ summary: '總計:${0}', summaryWithSelection: '總計:${0} 已選取:${1}' });
andrescabrera/gwt-dojo-toolkit
src/gwt/dojo/gridx/public/dojo/gridx/nls/zh-tw/SummaryBar.js
JavaScript
apache-2.0
102
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.7-6-a-100 description: > Object.defineProperties - 'P' is data property, several attributes values of P and properties are different (8.12.9 step 12) includ...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperties/15.2.3.7-6-a-100.js
JavaScript
apache-2.0
730
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const crypto = require("crypto"); const SortableSet = require("../util/SortableSet"); const GraphHelpers = require("../GraphHelpers"); const { isSubset } = require("../util/SetHelpers"); const deterministi...
cloudfoundry-community/asp.net5-buildpack
fixtures/node_apps/angular_dotnet/ClientApp/node_modules/webpack/lib/optimize/SplitChunksPlugin.js
JavaScript
apache-2.0
29,448
/* * 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 ...
TribeMedia/aura
aura-components/src/main/components/ui/panelLib/panelLibCore.js
JavaScript
apache-2.0
17,174
/* * Copyright (C) 2013 Salzburg Research. * * 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...
wikier/marmotta-search
src/main/resources/web/configurator/js/search.theme.js
JavaScript
apache-2.0
3,764
export * from 'backbone-decorators'; export function protoprop(target, name, descriptor) { target[name] = descriptor.initializer(); } export function behavior(name, config = {}) { return function({prototype}) { prototype.behaviors = Object.assign({ [name]: config }, prototype.behav...
allure-framework/allure1
allure-report-face/src/decorators/index.js
JavaScript
apache-2.0
719
/*! * ${copyright} */ sap.ui.define(['sap/ui/unified/calendar/CalendarDate', 'sap/ui/core/date/UniversalDate'], function(CalendarDate, UniversalDate) { "use strict"; /* * Inside the YearPickerRenderer CalendarDate objects are used. But in the API JS dates are used. * So conversion must be done on API functio...
SQCLabs/openui5
src/sap.ui.unified/src/sap/ui/unified/calendar/YearPickerRenderer.js
JavaScript
apache-2.0
3,459
/* ======================================================================== * Bootstrap: popover.js v3.0.0 * http://twbs.github.com/bootstrap/javascript.html#popovers * ======================================================================== * Copyright 2012 Twitter, Inc. * * Licensed under the Apache License, Ve...
ShavitCohen/bootstrap3-rtl
js/popover.js
JavaScript
apache-2.0
3,232
function getQueryParamValue(queryString) { var params = {}, queries, temp, i, l; // Split into key/value pairs queryString = queryString.substring(1, queryString.length); queries = queryString.split("&"); // Convert the array of strings into an object for ( i = 0, l = queries.length; i < l; ...
fjy/pinot
thirdeye/thirdeye-dashboard/src/main/resources/assets/js/thirdeye.js
JavaScript
apache-2.0
24,905
/// Copyright (c) 2009 Microsoft Corporation /// /// 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 conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-147.js
JavaScript
apache-2.0
2,218
/*! * ${copyright} */ // Provides control sap.ui.ux3.DataSetItem. sap.ui.define(['jquery.sap.global', 'sap/ui/core/Element', './library'], function(jQuery, Element, library) { "use strict"; /** * Constructor for a new DataSetItem. * * @param {string} [sId] id for the new control, generated automatically ...
SQCLabs/openui5
src/sap.ui.ux3/src/sap/ui/ux3/DataSetItem.js
JavaScript
apache-2.0
2,265
/** * State of the request. * * @enum {Number} */ var RequestState = { /** * Initial unissued state. * * @type Number * @constant */ UNISSUED: 0, /** * Issued but not yet active. Will become active when open slots are available. * * @type Number * @constant */ ISSUED: 1, /*...
progsung/cesium
Source/Core/RequestState.js
JavaScript
apache-2.0
809
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.4.4.19-8-9 description: > Array.prototype.map - modifications to length don't change number of iterations on an Array ---*/ var called = 0; fun...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/map/15.4.4.19-8-9.js
JavaScript
apache-2.0
863
//Wrapped in an outer function to preserve global this (function (root) { var amdExports; define(['bootstrap/bootstrap-transition'], function () { (function () { /* ============================================================ * bootstrap-dropdown.js v2.3.2 * http://twitter.github.com/bootstrap/javascript.html#dropdo...
peterskim12/angularjs-mlrest
src/app/bower_components/fuelux/lib/bootstrap/js/bootstrap-dropdown.js
JavaScript
apache-2.0
4,631
! function(a) { function b(b, d) { function e() { if (w) { $canvas = a('<canvas class="pg-canvas"></canvas>'), v.prepend($canvas), p = $canvas[0], q = p.getContext("2d"), f(); for (var b = Math.round(p.width * p.height / d.density), c = 0; b > c; c++) { var e = new l; e.setStack...
liuzongwen1/mss
target/belling-admin/static/js/jump.js
JavaScript
apache-2.0
9,066
/** * Copyright (c) 2019, WSO2 Inc. (http://wso2.com) 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 r...
Rajith90/carbon-apimgt
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/data/APIProduct.js
JavaScript
apache-2.0
23,913
'use strict'; let angular = require('angular'); module.exports = angular.module('spinnaker.core.delivery.executionStatus.controller', [ require('../../utils/lodash.js'), ]) .controller('executionStatus', function(_) { var controller = this; controller.getFailedStage = function(execution) { let stag...
zanthrash/deck-1
app/scripts/modules/core/delivery/status/executionStatus.controller.js
JavaScript
apache-2.0
1,559
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 23.4.3.4 description: Throws TypeError if `this` is not Object. info: > WeakSet.prototype.has ( value ) 1. Let S be the this value. 2. If Type(S) is not Object, t...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/WeakSet/prototype/has/this-not-object-throw-string.js
JavaScript
apache-2.0
526
// jshint node: true // We need this so chai `expect` statements don't throw an error. // jshint expr: true 'use strict'; import chai, {expect} from 'chai'; import EddystoneUID from '../../lib/eddystone-uid.js'; describe('Eddystone-UID', () => { describe('getByteArray()', () => { it('Invalid type', () => { ...
nirmankarta/eddystone
libraries/javascript/eddystone-advertising/test/unit/eddystone-uid-unit.js
JavaScript
apache-2.0
3,751
// Base property is optional and derived type has no property of that name // object literal case var a; var b; var r = true ? a : b; // ok
hippich/typescript
tests/baselines/reference/subtypingWithObjectMembersOptionality3.js
JavaScript
apache-2.0
147
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > The internal helper function CharacterRange takes two CharSet parameters A and B and performs the following: 2. Let a be the one character in CharSet A. 3. L...
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/RegExp/S15.10.2.15_A1_T40.js
JavaScript
apache-2.0
930
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _lodash = require('lodash'); var _lodash2 = _interopRequireDefault(_lodash); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = function (identifierNode, context) { if...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/react-scripts/node_modules/eslint-plugin-flowtype/dist/utilities/getParameterName.js
JavaScript
apache-2.0
2,290
// TODO: remove from `core-js@4` require('../../../modules/esnext.string.match-all'); var parent = require('../../../stable/string/virtual/match-all'); module.exports = parent;
cloudfoundry-community/asp.net5-buildpack
fixtures/node_apps/angular_dotnet/ClientApp/node_modules/core-js/features/string/virtual/match-all.js
JavaScript
apache-2.0
179
/** * @license Copyright 2017 The Lighthouse 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 applica...
GoogleChrome/lighthouse
lighthouse-core/audits/accessibility/image-alt.js
JavaScript
apache-2.0
2,432
export const cschDocs = { name: 'csch', category: 'Trigonometry', syntax: [ 'csch(x)' ], description: 'Compute the hyperbolic cosecant of x in radians. Defined as 1/sinh(x)', examples: [ 'csch(2)', '1 / sinh(2)' ], seealso: [ 'sech', 'coth', 'sinh' ] }
FSMaxB/mathjs
src/expression/embeddedDocs/function/trigonometry/csch.js
JavaScript
apache-2.0
295
goog.provide('ol.format.ogc.filter.Or'); goog.require('ol'); goog.require('ol.format.ogc.filter.LogicalBinary'); /** * @classdesc * Represents a logical `<Or>` operator between two filter conditions. * * @constructor * @param {!ol.format.ogc.filter.Filter} conditionA First filter condition. * @param {!ol.forma...
fblackburn/ol3
src/ol/format/ogc/filter/or.js
JavaScript
bsd-2-clause
655
/******************************************************************************* Copyright (c) 2012, S-Core. All rights reserved. Use is subject to license terms. This distribution may include materials developed by third parties. **********************************************************************...
daejunpark/jsaf
tests/typing_tests/semantics/builtin_Math_pow6.js
JavaScript
bsd-3-clause
384
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ 'use strict'; const invariant = require('invariant'); import type EventSubscription from './_EventSubscri...
hoangpham95/react-native
Libraries/vendor/emitter/_EventSubscriptionVendor.js
JavaScript
bsd-3-clause
2,725
/* * /MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js * * Copyright (c) 2009-2015 The MathJax Consortium * * 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://ww...
AndrewSyktyvkar/Math
wysivig/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js
JavaScript
bsd-3-clause
980
// Next-generation ES6 module bundler var gulp = require('gulp'), paths = require('./config/paths'), plumber = require('gulp-plumber'), rollup = require('gulp-rollup'), babel = require('rollup-plugin-babel'), rename = require('gulp-rename'); // Bundle ES6 modules. gulp.task('rollup:main', function...
website-templates/webstudio_responsive-template
gulp_tasks/rollup.js
JavaScript
mit
767
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
smithab/azure-sdk-for-node
lib/services/networkManagement2/lib/models/applicationGatewaySslPolicy.js
JavaScript
mit
1,482
(function(){$(function(){return console.log("hello")})}).call(this);
tiy-hou-q1-2016-rails/tiy-hou-q1-2016-rails.github.io
javascripts/script-b9af7cd9.js
JavaScript
mit
68
/*! * Bootstrap-select v1.13.9 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2019 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ (function (root, factory) { if (root === undefined && window !== undef...
extend1994/cdnjs
ajax/libs/bootstrap-select/1.13.9/js/i18n/defaults-vi_VN.js
JavaScript
mit
1,504
/** * Created by patricepaquette on 12/17/2013. */ angular.module("common") .directive('lazyLoad', ['$window', '$q', function ($window, $q) { function load_script(src) { var s = document.createElement('script'); // use global document since Angular's $document is weak s.src = src;...
patpaquette/CampCarolinas
src/app/directives/lazyload.js
JavaScript
mit
1,911
/** * $Id: editor_plugin_src.js,v 1.1 2012/11/16 23:22:25 delara Exp $ * * @author Moxiecode * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. */ (function() { tinymce.create('tinymce.plugins.Preview', { init : function(ed, url) { var t = this; t.editor = ed; ed.addComma...
StevenDao/Storefront-Calendar
website/js/tiny_mce/plugins/preview/editor_plugin_src.js
JavaScript
mit
5,686
// jsonCall: a jQuery plugin that makes it easy to make an API // request to a URL with JSON in BOTH directions. // // Copyright 2013 P'unk Avenue LLC // // Please see: // // https://github.com/punkave/jquery-json-call // // For complete documentation. (function( $ ) { // This is correct - we're adding a function ca...
koeppel/apocms
public/modules/apostrophe-assets/js/vendor/jquery.json-call.js
JavaScript
mit
1,033
// # ngReact // ### Use React Components inside of your Angular applications // // Composed of // - reactComponent (generic directive for delegating off to React Components) // - reactDirective (factory for creating specific directives that correspond to reactComponent directives) (function(React, angular) { 'use st...
krunalifuturz/ngReact
ngReact.js
JavaScript
mit
6,266
registerTest ('Has a UTF-8 meta tag', function () { this .test('Do we have a UTF8 meta tag?', function($) { var sourceCode = this.page.source.toLowerCase(); // do we have an utf8 metatag ? notEqual(sourceCode.indexOf('<meta charset="utf-8">'),-1,'Has UTF-8 meta tag'); }); });
tunong/monkeytestjs
tests/tests/global/has_utf8_metatag.js
JavaScript
mit
313
angular.module('ngCordova.plugins.deviceOrientation', []) .factory('$cordovaDeviceOrientation', ['$q', function($q) { return { getCurrentHeading: function() { var q = $q.defer(); navigator.compass.getCurrentHeading(function(heading) { q.resolve(heading); }, function(err) { q.r...
Prasanthmv/ngCordova
src/plugins/deviceOrientation.js
JavaScript
mit
775
/* * modified version of https://github.com/valor-software/prismjs-loader * * The MIT License (MIT) * * Copyright (c) 2015-2016 Valor Software * Copyright (c) 2015-2016 Dmitriy Shekhovtsov<valorkin@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software an...
rackt/react-router
website/webpack/prismjs-loader.js
JavaScript
mit
1,864
/* global suite, test */ 'use strict'; var assert = require('assert'); var Table = require(__dirname + '/../lib/table'); var Column = require(__dirname + '/../lib/column'); suite('table', function() { var table = new Table({ name: 'bang' }); test('has name', function() { assert.equal(table.getName(), '...
sanderblue/angular-express-mysql
node_modules/sequelize/node_modules/sql/test/table-tests.js
JavaScript
mit
4,877
(function($) { /** * Example module implementation. * * @author * @namespace Tc.Module * @class Default * @extends Tc.Module */ Tc.Module.Example = Tc.Module.extend({ /** * Initializes the Example module. * * @method init * @constructor * @param {jQuery|Zepto} $ctx the jquery context ...
MarcDiethelm/xtc-site
node_modules/xtc/node_modules/generator-xtc/app/templates/frontend-example/modules/example/example.js
JavaScript
mit
978
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @constructor * @extends {WebInspector.TimelineUIUtils} */ WebInspector.TimelineUIUtilsImpl = function() { WebInspector.TimelineUIUtils.call(t...
tsiry95/openshift-strongloop-cartridge
strongloop/node_modules/strong-arc/devtools/frontend/timeline/TimelineUIUtilsImpl.js
JavaScript
mit
31,362
'use strict'; // copied from http://www.broofa.com/Tools/Math.uuid.js var CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' .split(''); exports.uuid = function () { var chars = CHARS, uuid = new Array(36), rnd=0, r; for (var i = 0; i < 36; i++) { if (i===8 || i===13 || i===1...
danucalovj/Haraka
utils.js
JavaScript
mit
7,940
"use strict"; /*! * Copyright 2016 The ANTLR Project. All rights reserved. * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information. */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3...
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/antlr4ts/atn/BasicBlockStartState.js
JavaScript
mit
1,486
/*! jQuery UI - v1.10.3 - 2013-09-04 * http://jqueryui.com * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.sk={closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["január","február","marec","...
livingsocial/rearview-engine
public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sk.min.js
JavaScript
mit
840
// 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,...
Moccine/global-service-plus.com
web/libariries/bootstrap/node_modules/browserify-zlib/test/test-zlib-zero-byte.js
JavaScript
mit
1,571
/** * $Id: learning_path_item.js 216 2009-11-13 14:08:06Z kariboe $ * @package application.lib.weblcms.tool.learning_path.javascript */ /** * @author Sven Vanpoucke */ (function($) { $(window).bind('beforeunload', function(e) { var ajaxUri = getPath('WEB_PATH') + 'index.php'; var parameters = { ...
cosnicsTHLU/cosnics
src/Chamilo/Core/Repository/ContentObject/LearningPath/Display/Resources/Javascript/LearningPathItem.js
JavaScript
mit
547
// Flags: --expose-internals 'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const fixtures = require('../common/fixtures'); // Test --trace-tls CLI flag. const assert = require('assert'); const { fork } = require('child_process'); if (process.argv[2] === 'tes...
enclose-io/compiler
lts/test/parallel/test-tls-enable-trace-cli.js
JavaScript
mit
1,799
'use strict'; var fs = require('fs'); var Promise = require('../ext/promise'); var readFile = Promise.denodeify(fs.readFile); var lstat = Promise.denodeify(fs.stat); var chalk = require('chalk'); var EditFileDiff = require('./edit-file-diff'); var EOL = require('os').EOL; var ...
xtian/ember-cli
lib/models/file-info.js
JavaScript
mit
4,920
/** @license React v16.8.2 * react-dom-unstable-fizz.node.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict';function d(a,b){var c="<"+a+">";"string"=...
joeyparrish/cdnjs
ajax/libs/react-dom/16.8.2/cjs/react-dom-unstable-fizz.node.production.min.js
JavaScript
mit
1,122
!function(){function t(t){return function(e,i){e=d3.hsl(e),i=d3.hsl(i);var r=(e.h+120)*a,h=(i.h+120)*a-r,s=e.s,l=i.s-s,o=e.l,u=i.l-o;return isNaN(l)&&(l=0,s=isNaN(s)?i.s:s),isNaN(h)&&(h=0,r=isNaN(r)?i.h:r),function(a){var e=r+h*a,i=Math.pow(o+u*a,t),c=(s+l*a)*i*(1-i);return"#"+n(i+c*(-.14861*Math.cos(e)+1.78277*Math.si...
ucsd-ccbb/Oncolist
src/frontEndUI/Prod/js/cubehelix.min.js
JavaScript
mit
705
export * as ns from 'mod'; export v from 'mod'; export a, * as b from 'mod'; export c, { foo } from 'mod'; export * as d, { bar } from 'mod'; export { fooooooooooooooooooooooooooooooooooooooooooooooooo } from "fooooooooooooooooooooooooooooo"; export Bar, { barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr } from "barrrrrrr...
rattrayalex/prettier
tests/format/js/export-extension/export.js
JavaScript
mit
493
import * as THREE from 'three'; import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js'; import { SetGeometryCommand } from './commands/SetGeometryCommand.js'; function GeometryParametersPanel( editor, object ) { const strings = editor.strings; const signals = editor.signals; const container = new UI...
donmccurdy/three.js
editor/js/Sidebar.Geometry.TetrahedronGeometry.js
JavaScript
mit
1,286
var Utils = require("../../utils") , sqlite3 = require('sqlite3').verbose() , Query = require("./query") module.exports = (function() { var ConnectorManager = function(sequelize) { this.sequelize = sequelize this.database = db = new sqlite3.Database(sequelize.options.storage || ':memory:', function(...
szizor/chato
node_modules/sequelize/lib/dialects/sqlite/connector-manager.js
JavaScript
mit
862
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
Microsoft/ChakraCore
bin/NativeTests/Scripts/arraytest.js
JavaScript
mit
427
/*! * jQuery JavaScript Library v2.0.1 -sizzle,-css,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * ht...
michael829/jquery-builder
dist/2.0.1/jquery-ajax-css-event-alias-sizzle.js
JavaScript
mit
117,313
'use strict'; describe('Loading 0202-layers-overlays-simple-example.html', function() { beforeEach(function() { browser.get('0202-layers-overlays-simple-example.html'); browser.wait(function() { return element(by.css('img.leaflet-tile-loaded')).isPresent(); }, 5000); }); it('should change the...
abdelrahmansaeedhassan/FirstTest
test/e2e/0202-layers-overlays-simple-example.js
JavaScript
mit
1,191
/* Ractive.js v1.3.0-edge Build: 3c34b67ed6ee7e3072fccc80bb50bfb9ef90f3bd Date: Fri Jan 04 2019 18:04:51 GMT+0000 (UTC) Website: https://ractive.js.org License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'func...
joeyparrish/cdnjs
ajax/libs/ractive/1.3.0-build-1/ractive.js
JavaScript
mit
509,632
import HasManyHelper from './has-many-helper'; import {module, test} from 'qunit'; module('Integration | ORM | hasMany #accessor'); /* #association behavior works regardless of the state of the parent */ HasManyHelper.forEachScenario((scenario) => { test(`the references of a ${scenario.title} are correct`, funct...
lazybensch/ember-cli-mirage
tests/integration/orm/has-many/accessor-test.js
JavaScript
mit
938
/** * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license */ /** * Gets fired when the legend item belonging to a point is clicked. The default * action is to toggle the visibility of the point. This can be prevented by * returning `false` or calling `event.preventDefault()`. * * @callback Hi...
joeyparrish/cdnjs
ajax/libs/highcharts/7.1.0/es-modules/parts/Legend.js
JavaScript
mit
47,686
/*! * # Semantic UI 2.7.1 - Checkbox * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; $.isFunction = $.isFunction || function(obj) { return typeof obj === "function" && ty...
extend1994/cdnjs
ajax/libs/fomantic-ui/2.7.1/components/checkbox.js
JavaScript
mit
27,502
/* Tabulator v4.2.3 (c) Oliver Folkerd */ /* * This file is part of the Tabulator package. * * (c) Oliver Folkerd <oliver.folkerd@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Full Documentation & Demos can be found...
extend1994/cdnjs
ajax/libs/tabulator/4.2.3/js/jquery_wrapper.js
JavaScript
mit
1,340
'use strict'; module.exports = { name: 'ember-cli-legacy-blueprints' };
gabz75/ember-cli-deploy-redis-publish
node_modules/ember-cli-legacy-blueprints/index.js
JavaScript
mit
75
//>>built define({"widgets/OverviewMap/setting/nls/strings":{visible:"\u986f\u793a\u9810\u8a2d\u7684\u7e3d\u89bd\u5716",minWidth:"\u6700\u5c0f\u5bec\u5ea6",minHeight:"\u6700\u5c0f\u9ad8\u5ea6",maxWidth:"\u6700\u5927\u5bec\u5ea6",maxHeight:"\u6700\u5927\u9ad8\u5ea6",minText:"\u6700\u5c0f\u503c",maxText:"\u6700\u5927\u50...
pjdohertygis/MapSAROnline
Web Mapping Application/widgets/OverviewMap/setting/nls/Setting_zh-tw.js
JavaScript
cc0-1.0
587
; /*! * Superfish v1.4.8 - jQuery menu widget * Copyright (c) 2008 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt ...
acappellamaniac/eva_website
sites/all/modules/nice_menus/js/superfish.js
JavaScript
gpl-2.0
4,275
module.exports = function (grunt) { // Load in legacy config require('./grunt')(grunt); // Configure nodeunit as test var testConfig = grunt.config.get('test'); grunt.config.set('nodeunit', testConfig); // Load in nodeunit process.chdir('..'); grunt.loadNpmTasks('grunt-contrib-nodeunit'); process.ch...
ibevamp/ourbrand
sites/all/themes/ourbrand/grunt/node_modules/grunt-spritesmith/src-test/Gruntfile.js
JavaScript
gpl-2.0
423
/*********************************************************************************************************/ /** * fileicon plugin for CKEditor 3.x (Author: Lajox ; Email: lajox@19www.com) * version: 1.0 * Released: On 2009-12-11 * Download: http://code.google.com/p/lajox */ /*************************************...
bundocba/unitedworld
plugins/editors/jckeditor/plugins/fileicon/dialogs/fileicon.js
JavaScript
gpl-2.0
5,136
/** * @file * Appearance settings. */ (function ($, Drupal) { Drupal.behaviors.atCoreLayoutVisualization = { attach: function () { $('#edit-layout-select select[id*="edit-settings-page-"]').change(function(){ $('#' + $(this).attr('id')).parent().next().children().removeClass().addClass(this.value...
raidho93/buildrace
themes/adaptivetheme/at_core/scripts/at.appearance.js
JavaScript
gpl-2.0
364
import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter, TemplateRef, ContentChild, forwardRef, ChangeDetectorRef } from '@angular/core'; import { NgbRatingConfig } from './rating-config'; import { toString, getValueInRange } from '../util/util'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; var ...
Planigle/planigle
node_modules/@ng-bootstrap/ng-bootstrap/rating/rating.js
JavaScript
gpl-2.0
6,008
/** * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ !(function(window, document){ 'use strict'; /** Method to convert numbers to local symbols. */ Date.convertNumbers = function(str) { var str...
haydenyoung/joomla-cms
media/system/js/fields/calendar.js
JavaScript
gpl-2.0
42,917
// $Id: ajax_view.js,v 1.13 2008/12/02 18:35:50 merlinofchaos Exp $ /** * @file ajaxView.js * * Handles AJAX fetching of views, including filter submission and response. */ Drupal.Views.Ajax = Drupal.Views.Ajax || {}; /** * An ajax responder that accepts a packet of JSON data and acts appropriately. * * The f...
pblasone/Lagervarer
sites/all/modules/views/js/ajax_view.js
JavaScript
gpl-2.0
6,006
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.getCellMetadata = getCellMetadata; var _initCellMetadata = require('./initCellMetadata'); var _initCellMetadata2 = _interopRequireDefault(_initCellMetadata); function _interopRequireDefault(obj) { return obj && obj.__esModule ? o...
Alex-Shilman/Drupal8Node
node_modules/react-virtualized/dist/commonjs/utils/TestHelper.js
JavaScript
gpl-2.0
818
/* * Meran - MERAN UNLP is a ILS (Integrated Library System) wich provides Catalog, * Circulation and User's Management. It's written in Perl, and uses Apache2 * Web-Server, MySQL database and Sphinx 2 indexing. * Copyright (C) 2009-2013 Grupo de desarrollo de Meran CeSPI-UNLP * * This file is part of Meran. * ...
Desarrollo-CeSPI/meran
dev-plugins/node64/lib/node_modules/uglify-js/test/unit/compress/expected/ifreturn.js
JavaScript
gpl-3.0
980
const { Cc, Ci } = require("chrome"); const { storage } = require("sdk/simple-storage"); const userStorage = require("./userStorage"); userStorage.init(); // Hack: import main first to trigger correct order of dependency resolution const main = require("./main"); const utils = require('./utils'); const { Policy } = re...
SwartzCr/privacybadgerfirefox
test/test-preloads.js
JavaScript
gpl-3.0
1,935
define(["mui"], function(){ function component($q, $resource, $stateParams, AnnotationProjectIdResource){ var _self=this; var url="/annotations/:datasetName/annotation/:dimension/new/dataset/command/core/get-rows"; this.AnnotationValuesResource = $resource(url, { datasetName: $stateParams.datasetId, limit:...
apartensky/mev
web/src/main/javascript/edu/dfci/cccb/mev/web/libs/domain/annotations/src/main/endpoint/AnnotationValuesResource.js
JavaScript
gpl-3.0
953
var Utils = { convertToRoute: function(str) { str = str || ""; return str.toLowerCase().replace(" ", "-"); }, parseRoute: function(route) { route = route || ""; return route.split("-").map(function(item) { return item.charAt(0).toUpperCase() + item.substr(1).toLowerCase(); }).join(" "); ...
mozilla/teach.webmaker.org
lib/util.js
JavaScript
mpl-2.0
352
/** * AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts **/ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } export class FilterByGroup { ...
nnethercote/servo
tests/wpt/web-platform-tests/webgpu/framework/test_filter/filter_by_group.js
JavaScript
mpl-2.0
1,209
/* 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/. * * This Source Code Form is "Incompatible With Secondary Licenses", as * defined by the Mozilla Public License, v....
Sabayon/bugzilla-website
js/comments.js
JavaScript
mpl-2.0
5,546
// Generated by CoffeeScript 1.9.3 var Client, Device, ds, fs, ref; Client = require("request-json").JsonClient; fs = require('fs'); Device = require('../models/device'); ds = new Client("http://localhost:9101/"); if ((ref = process.env.NODE_ENV) === 'test' || ref === 'production') { ds.setBasicAuth(process.env....
Gara64/cozy-home
build/server/controllers/devices.js
JavaScript
agpl-3.0
1,244
define(['backbone', 'jquery', 'underscore', 'js/common_helpers/ajax_helpers', 'js/common_helpers/template_helpers', 'js/spec/student_account/helpers', 'js/spec/student_profile/helpers', 'js/views/fields', 'js/student_account/models/user_account_model', 'js/student_account/models/...
antonve/s4-project-mooc
lms/static/js/spec/student_profile/learner_profile_factory_spec.js
JavaScript
agpl-3.0
4,321
'use strict'; goog.provide('grrUi.core.module'); goog.require('grrUi.core.aff4DownloadLinkDirective.Aff4DownloadLinkDirective'); goog.require('grrUi.core.aff4ItemsProviderDirective.Aff4ItemsProviderDirective'); goog.require('grrUi.core.aff4Service.Aff4Service'); goog.require('grrUi.core.apiItemsProviderDirective.ApiI...
ahojjati/grr
gui/static/angular-components/core/core.js
JavaScript
apache-2.0
5,469
//// [tests/cases/compiler/defaultDeclarationEmitDefaultImport.ts] //// //// [root.ts] export function getSomething(): Something { return null as any } export default class Something {} //// [main.ts] import Thing, { getSomething } from "./root"; export const instance = getSomething(); //// [root.js] "use st...
nojvek/TypeScript
tests/baselines/reference/defaultDeclarationEmitDefaultImport.js
JavaScript
apache-2.0
972
/*! * Bootstrap-select v1.13.9 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2019 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ (function (root, factory) { if (root === undefined && window !== undefined) ro...
philippegui2/ScolarControl
web/bSelect/dist/js/i18n/defaults-tr_TR.js
JavaScript
apache-2.0
1,646
/** * Generate the node required for user display length changing * @param {object} oSettings dataTables settings object * @returns {node} Display length feature node * @memberof DataTable#oApi */ function _fnFeatureHtmlLength(oSettings) { if (oSettings.oScroll.bInfinite) { return null; } /...
tanvirshuvo/abtec
target/ABTeC/resources/assets/advanced-datatable/media/src/core/core.length.js
JavaScript
apache-2.0
3,552
/* * 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 n...
100star/echarts
index.js
JavaScript
apache-2.0
2,805
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.3-4-214 description: > Object.getOwnPropertyDescriptor returns accessor desc for accessors on built-ins (RegExp.prototype.ignoreCase) ---*/ var desc = Obje...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-4-214.js
JavaScript
bsd-2-clause
717
'use strict'; angular.module('ontimeApp') .controller('LocationController', function ($scope, $state, Location) { $scope.locations = []; $scope.loadAll = function() { Location.query(function(result) { $scope.locations = result; }); }; $scope.l...
sandor-balazs/nosql-java
oracle/src/main/webapp/scripts/app/entities/location/location.controller.js
JavaScript
bsd-2-clause
628
// //Copyright (c) 2014, Priologic Software Inc. //All rights reserved. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // ...
xirsys/easyrtc
demos/js/demo_instant_messaging_rooms.js
JavaScript
bsd-2-clause
13,522
/* jshint latedef: false */ (function () { 'use strict'; angular .module('apigility.rest') .controller('Rest', Rest); Rest.$inject = [ 'api', '$modal', '$stateParams', '$rootScope', 'SidebarService', '$state', '$scope', '$sce', 'documentation']; function Rest(api, $modal, $stateParams, $rootScope, Si...
pradithahidayat/apigility-research
vendor/zfcampus/zf-apigility-admin-ui/src/apigility-ui/rest/rest.controller.js
JavaScript
bsd-3-clause
11,250
// 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 file exists to aggregate all of the javascript used by the // settings page into a single file which will be flattened and served // as a si...
sencha/chromium-spacewalk
chrome/browser/resources/options/options_bundle.js
JavaScript
bsd-3-clause
5,299
GLOBAL.DEBUG = true; sys = require("sys"); test = require("assert"); var Db = require('../lib/mongodb').Db, Connection = require('../lib/mongodb').Connection, Server = require('../lib/mongodb').Server; var host = process.env['MONGO_NODE_DRIVER_HOST'] != null ? process.env['MONGO_NODE_DRIVER_HOST'] : 'localhost';...
zencephalon/deftdraftjs
node_modules/mongoose/node_modules/mongodb/examples/cursor.js
JavaScript
mit
2,622
'use strict'; module.exports = { up: function (queryInterface, Sequelize) { return queryInterface.bulkInsert('UserMeetings', [ { user_id: 1, meeting_id: 2 }, { user_id: 2, meeting_id: 2 }, { user_id: 3, meeting_id: 2 }, { ...
Riski24/interviewer.dc
server/database/old_seeders/usermeeting.js
JavaScript
mit
1,213
/* hashids http://www.hashids.org/node-js/ (c) 2013 Ivan Akimov https://github.com/ivanakimov/hashids.node.js hashids may be freely distributed under the MIT license. */ /*jslint node: true, white: true, plusplus: true */ "use strict"; function Hashids(salt, minHashLength, alphabet) { var uniqueAlphabet, i...
fitosegrera/mfadt_api
node_modules/phant/node_modules/phant-keychain-hex/node_modules/hashids/lib/hashids.js
JavaScript
mit
7,436
/* TimerManager.js KC3改 Sortie Manager Container object for timers for expedition, construction, and repair */ (function(){ "use strict"; window.KC3TimerManager = { _exped: [], _repair: [], _build: [], init :function(eMap, rMap, bMap){ this._exped = [ new KC3Timer(eMap[0], 0, 0), ...
Slayers148/KC3Kai
src/library/managers/TimerManager.js
JavaScript
mit
1,793
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import { expect } from 'chai'; import { Hello } from 'client/components/Hello'; const setup = () => { const props = { message: 'hello' }; const renderer = TestUtils.createRenderer(); renderer.render(<Hello {...props} />); const o...
toomastahves/node-red-starter
test/client/components/Hello.spec.js
JavaScript
mit
590
import { rebind } from '@d3fc/d3fc-rebind'; import _slidingWindow from './slidingWindow'; import exponentialMovingAverage from './exponentialMovingAverage'; import { convertNaN } from './fn'; export default function() { let volumeValue = (d, i) => d.volume; let closeValue = (d, i) => d.close; const emaCo...
chrisprice/d3fc
packages/d3fc-technical-indicator/src/forceIndex.js
JavaScript
mit
1,175
var format = require('util').format; var hl = require('highlight.js'); var escape = function(html) { return html. replace(/</g, '&lt;'). replace(/>/g, '&gt;'). replace(/"/g, '&quot;'). replace(/'/g, '&#39;'); }; try { var rs = require('robotskirt'); escape = rs.houdini.escapeHTML; } catch (e) { }...
jeakey/grunt-markdown-extend
tasks/lib/highlight.js
JavaScript
mit
1,176