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
/* * jQuery File Upload User Interface Plugin 6.9 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /*jslint nomen: true, unparam: true, regexp: true */ /*global define, win...
mazharoddin/kit_cms
app/assets/javascripts/jquery.fileupload-ui.js
JavaScript
gpl-3.0
28,538
"use strict"; 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 common_1 = require('@angular/common'); var c...
ngydat/connect
platforms/android/src/main/assets/app/tns_modules/@angular/platform-server/src/server.js
JavaScript
gpl-3.0
4,154
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ var P = require('../promise') var scrypt_hash = require('scrypt-hash') // The maximum numer of hash operations al...
shane-tomlinson/fxa-auth-server
lib/crypto/scrypt.js
JavaScript
mpl-2.0
1,856
// META: global=window,worker "use strict"; var log = []; function clearLog() { log = []; } function addLogEntry(name, args) { log.push([ name, ...args ]); } var loggingHandler = { }; setup(function() { for (let prop of Object.getOwnPropertyNames(Reflect)) { loggingHandler[prop] = function(...args) { ...
CYBAI/servo
tests/wpt/web-platform-tests/fetch/api/headers/headers-record.any.js
JavaScript
mpl-2.0
14,237
UserReviewControlViewController = BaseViewController.extend( { el: '#user_review_control_view_container', type_array: null, status_array: null, term_array: null, severity_array: null, kpi_group_array: null, document_object_type_id: null, kpi_group_api: null, user_review_api: null, kpi_api: null, initia...
maestrano/timetrex
interface/html5/views/hr/kpi/UserReviewControlViewController.js
JavaScript
agpl-3.0
33,075
var app = angular.module('tweet-timeline', ['angular-loading-bar']); app.controller('tweet-search', function ($scope, $http, $sce) { $scope.loading = true; $scope.getTweets = function () { $http.jsonp('http://api.loklak.org/api/search.json?callback=JSON_CALLBACK&q='+ $scope.search)....
kavithaenair/apps.loklak.org
superwoman7/js/app.js
JavaScript
lgpl-2.1
1,003
/** * Formatter.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * Text formatter engine class. This class is used to apply formats like bold, italic, font size * etc to the current sel...
loftuxab/community-edition-old
projects/web-framework-commons/source/web/modules/editors/tinymce/classes/Formatter.js
JavaScript
lgpl-3.0
72,571
// Copyright 2017 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...
himanshu-dixit/oppia
core/templates/dev/head/pages/exploration_player/HintManagerServiceSpec.js
JavaScript
apache-2.0
1,616
'use strict'; // Minimal example implementation of an Abacus account management plugin. // An account is a collection of organizations managed by a single billing // entity. An account plugin provides REST APIs used by the Abacus usage // processing pipeline to retrieve information about the account owning an // orga...
nmaslarski/cf-abacus
lib/plugins/account/src/index.js
JavaScript
apache-2.0
6,006
var args = arguments[0] || {}; if(args.from == "monthlyCommission"){ var today = args.date; }else{ var currentTime = new Date(); var monthCommission = 0; var month = currentTime.getMonth() + 1; var day = currentTime.getDate(); var year = currentTime.getFullYear(); if (month < 10) month = '0' + month; if (...
geonn/Online-Trader-For-China
app/controllers/staff_daily_commission.js
JavaScript
apache-2.0
1,003
import { next } from '@ember/runloop'; import { inject as service } from '@ember/service'; import { get, set, setProperties, observer } from '@ember/object'; import Component from '@ember/component'; import layout from './template'; import $ from 'jquery'; const KINDS = ['NodePort', 'HostPort', 'ClusterIP', 'LoadBalan...
westlywright/ui
app/components/container/form-ports/component.js
JavaScript
apache-2.0
5,249
'use strict'; var conf = require('../../common/conf-manager').conf; var config; var TYPE = Object.freeze({ NONE: 'none', LXC: 'lxc', DOCKER: 'docker' }); var type = TYPE.NONE; if (conf.services.fs.container) { config = conf.services.fs.container; if (config.type) { type = config.type;...
kyungmi/webida-server
src/server/fs/lib/container.js
JavaScript
apache-2.0
662
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.apach...
Supun94/carbon-device-mgt-plugins
components/analytics/iot-analytics/org.wso2.carbon.iot.geo.dashboard/src/main/resources/carbonapps/GadgetGeoDashboard_1.0.0/geo-dashboard/js/geo_proximity.js
JavaScript
apache-2.0
3,066
/** * Copyright 2018 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...
lannka/amphtml
extensions/amp-date-countdown/1.0/amp-date-countdown.js
JavaScript
apache-2.0
2,844
var path = require('path'); var TileRequest = module.exports = function(x, y, z, layer, filename, headers, method, qs) { this.x = x; this.y = y; this.z = z; this.layer = layer; this.filename = filename; this.headers = headers || {}; this.method = method || 'GET'; this.qs = qs; }; function isInt(number) { ret...
tfarneau/tilestrata
lib/TileRequest.js
JavaScript
apache-2.0
1,412
/** * @fileoverview Enforces that a return statement is present in property getters. * @author Aladdin-ADD(hh_2013@foxmail.com) */ "use strict"; //------------------------------------------------------------------------------ // Requirements //-----------------------------------------------------------------------...
ChromeDevTools/devtools-node-modules
third_party/node_modules/eslint/lib/rules/getter-return.js
JavaScript
apache-2.0
6,162
// Copyright 2015 Samsung Electronics Co., Ltd. // Copyright 2015 University of Szeged. // // 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....
LeeHayun/jerryscript
tests/jerry/regression-test-issue-264.js
JavaScript
apache-2.0
1,487
/*! npm.im/object-fit-images 3.2.4 */ var OFI = 'bfred-it:object-fit-images'; var propRegex = /(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g; var testImg = typeof Image === 'undefined' ? {style: {'object-position': 1}} : new Image(); var supportsObjectFit = 'object-fit' in testImg.style; var supportsObjectPosition ...
BigBoss424/portfolio
v8/development/node_modules/object-fit-images/dist/ofi.es-modules.js
JavaScript
apache-2.0
6,751
// Copyright (C) 2013 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: > `return` is a valid statement within generator function bodies. es6id: 14.4 features: [generators] ---*/ var result; var g1 = function*() { return; }; var ...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/generators/return.js
JavaScript
bsd-2-clause
550
// Copyright 2017 The Chromium Authors. All // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @param {string} folderPath * @return {!{isolatedFileSystem: !Persistence.IsolatedFileSystem, project: !Workspace.Project, testFileSystem: !BindingsTestRunner.TestF...
youtube/cobalt
third_party/devtools/front_end/bindings_test_runner/OverridesTestRunner.js
JavaScript
bsd-3-clause
1,012
/* * * xxxxxxx xxxxxxx * x:::::x x:::::x * x:::::x x:::::x * x:::::xx:::::x * x::::::::::x * x::::::::x * x::::::::x * x::::::::::x * ...
rherrick/XNATImageViewer
src/main/scripts/viewer/X/visualization/shaders.js
JavaScript
bsd-3-clause
15,248
export function Search(params = {}) { return { dateCreated: '2017-11-14T02:22:58.026Z', isGlobal: false, isOrgCustom: false, isPinned: false, type: 0, // deprecated props isUserDefault: false, isDefault: true, isPrivate: false, name: 'Needs Triage', query: 'is:unresolved ...
beeftornado/sentry
tests/js/sentry-test/fixtures/search.js
JavaScript
bsd-3-clause
371
/** * 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. * * @flow strict-local * @format */ 'use strict'; import Animated from '../../Animated/Animated'; import Easing from '../../Anima...
hoangpham95/react-native
Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js
JavaScript
bsd-3-clause
3,413
importScripts('../../serviceworker/resources/worker-testharness.js'); importScripts('/resources/testharness-helpers.js'); test(function() { assert_true('NotificationEvent' in self); var event = new NotificationEvent('NotificationEvent'); assert_equals(event.type, 'NotificationEvent'); assert_own_prope...
nwjs/blink
LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js
JavaScript
bsd-3-clause
1,411
// Copyright 2017 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. /** * Class to record metrics for Switch Access. */ const SwitchAccessMetrics = { /** * @param {string} action */ recordMenuAction: (action) =...
ric2b/Vivaldi-browser
chromium/chrome/browser/resources/chromeos/accessibility/switch_access/metrics.js
JavaScript
bsd-3-clause
827
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > 1, true, non-empty string and others in expression is evaluated to true when using operator "new" es5id: 12.5_A1.2_T2 description: Using "if/else" construction ---*/...
PiotrDabkowski/Js2Py
tests/test_cases/language/statements/if/S12.5_A1.2_T2.js
JavaScript
mit
3,261
import React from "react" import PropTypes from "prop-types" import styled from "styled-components" import Scrollspy from "react-scrollspy" import colors from "reaction/Assets/Colors" import { avantgarde } from "reaction/Assets/Fonts" import FrameAnimator from "desktop/components/frame_animator" const propTypes = { ...
mzikherman/force
src/desktop/apps/categories/components/GeneFamilyNav.js
JavaScript
mit
2,243
import Renderer from './3d_viewer'; export default () => { const viewer = new Renderer(document.getElementById('js-stl-viewer')); [].slice.call(document.querySelectorAll('.js-material-changer')).forEach(el => { el.addEventListener('click', e => { const { target } = e; e.preventDefault(); d...
mmkassem/gitlabhq
app/assets/javascripts/blob/stl_viewer.js
JavaScript
mit
535
var mocha = require('gulp-mocha'); require('babel-register'); require('../test/utils/dom.js'); module.exports = function(gulp, config) { gulp.task('test', ['build:lib'], function() { var reporter = process.argv[process.argv.indexOf('--reporter') + 1]; return gulp.src(config.paths.test, {read: false}) ...
hedgehog34/react-burger-menu
tasks/test.js
JavaScript
mit
557
import { get } from 'ember-metal'; import ControllerMixin from '@ember/controller/lib/controller_mixin'; import { prefixRouteNameArg } from '../utils'; /** @module ember */ ControllerMixin.reopen({ concatenatedProperties: ['queryParams'], /** Defines which query parameters the controller accepts. If you ...
csantero/ember.js
packages/ember-routing/lib/ext/controller.js
JavaScript
mit
7,366
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : (factory((global.ReactRouterDOM = {}),global.React)); }(this, (function (exports,React) { 'use strict'...
joeyparrish/cdnjs
ajax/libs/react-router-dom/4.4.0-beta.5/react-router-dom.js
JavaScript
mit
164,488
// Copyright (c) 2020, Frappe Technologies and contributors // For license information, please see license.txt frappe.ui.form.on('Log Settings', { // refresh: function(frm) { // } });
frappe/frappe
frappe/core/doctype/log_settings/log_settings.js
JavaScript
mit
188
/** * @license * v1.2.4 * MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: https://pnp.github.io/pnpjs/ * source: https://github.com/pnp/pnpjs * bugs: https://github.com/pnp/pnpjs/issues */ import { RuntimeConfig, PnPClientStorage, dateAdd, combine, getCtxCallback, g...
extend1994/cdnjs
ajax/libs/pnp-pnpjs/1.2.4/pnpjs.es5.js
JavaScript
mit
2,929
/* NHP Options Panel - http://leemason.github.io/NHP-Theme-Options-Framework/ License: Apache License v2.0 Copyright: Lee Mason, no-half-pixels.com */ jQuery(document).ready(function(){ if(jQuery('#last_tab').val() == ''){ jQuery('.nhp-opts-group-tab:first').slideDown('fast'); jQuery('#nhp-opts-group-menu li:fi...
dmaxzt/wordpress777
wp-content/themes/point/options/js/options.js
JavaScript
gpl-2.0
2,551
// This test ensures the TailCallInilnedCaller has the correct // stack trace in the FTL inside a try block. // This case arises when you have a situation like this: // foo makes a call to bar, bar is inlined in foo. bar makes a call // to baz and baz is inlined in bar. And then baz makes a tail-call to jaz, // and jaz...
Debian/openjfx
modules/web/src/main/native/Source/JavaScriptCore/tests/stress/ftl-try-catch-tail-call-inilned-caller.js
JavaScript
gpl-2.0
1,201
/*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */ (function(Icinga) { var Monitoring = function(module) { /** * The Icinga.Module instance */ this.module = module; /** * The observer used to handle the timeline's infinite loading */ ...
Icinga/icingaweb2
modules/monitoring/public/js/module.js
JavaScript
gpl-2.0
2,599
/*global chrome, html2canvas */ /* * The Great Suspender * Copyright (C) 2015 Dean Oemcke * Available under GNU GENERAL PUBLIC LICENSE v2 * http://github.com/deanoemcke/thegreatsuspender * ლ(ಠ益ಠლ) */ (function () { 'use strict'; var readyStateCheckInterval, inputState = false, tempWhiteli...
dileepplayer/thegreatsuspender
src/js/contentscript.js
JavaScript
gpl-2.0
8,447
module.exports = Yallist Yallist.Node = Node Yallist.create = Yallist function Yallist (list) { var self = this if (!(self instanceof Yallist)) { self = new Yallist() } self.tail = null self.head = null self.length = 0 if (list && typeof list.forEach === 'function') { list.forEach(function (it...
gerrytucker78/emse_capstone_project
services/node_modules/sequelize/node_modules/retry-as-promised/node_modules/cross-env/node_modules/cross-spawn/node_modules/lru-cache/node_modules/yallist/yallist.js
JavaScript
gpl-3.0
7,216
/* * PLUGIN EXTRATIO * * Finnish language file. * * Author: */ theUILang.ratioRulesManager = "Rules Manager"; theUILang.mnu_ratiorule = "Ratio Rules"; theUILang.ratAddRule = "Add"; theUILang.ratDelRule = "Delete"; theUILang.ratUpRule = "Up"; theUILang.ratDownRule = "Down"; theUILang.ratioIfLegend = ...
Rapiddot/ruTorrent
plugins/extratio/lang/fi.js
JavaScript
gpl-3.0
798
var tests = [], runOnly = null; function Failure(why) {this.message = why;} function test(name, run) {tests.push({name: name, func: run}); return name;} function testCM(name, run, opts) { return test(name, function() { var place = document.getElementById("testground"), cm = CodeMirror(place, opts); try {run...
catacs/catalyde
terminal/codemirror/test/driver.js
JavaScript
gpl-3.0
1,259
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'horizontalrule', 'lv', { toolbar: 'Ievietot horizontālu Atdalītājsvītru' } );
musicEnfanthen/Knora
salsah1/src/public/vendor/ckeditor_4.7.0/plugins/horizontalrule/lang/lv.js
JavaScript
agpl-3.0
253
module.exports = require("npm:pbkdf2@3.0.4/browser.js");
EpitaJS/js-class-2016
jspm_packages/npm/pbkdf2@3.0.4.js
JavaScript
unlicense
56
'use strict'; require('micro-es7-shim'); require('promise.prototype.finally').shim(); const loadConfigWorker = require('../utils/config').loadConfigWorker; const initPlugins = require('../utils/plugins'); let cfg, plugins; // eslint-disable-line prefer-const const options = JSON.parse(process.env.BRUNCH_OPTIONS); loa...
tiagosatur/guyon
node_modules/brunch/lib/workers/job-processor.js
JavaScript
unlicense
981
// Copyright (C) 2010 Google 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 agreed to i...
googlearchive/caja
src/com/google/caja/plugin/prepare-modules.js
JavaScript
apache-2.0
1,076
/** * @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=mas-TZ.js.map
rospilot/rospilot
share/web_assets/nodejs_deps/node_modules/@angular/common/locales/extra/mas-TZ.js
JavaScript
apache-2.0
256
angular.module('ngS3upload.directives', []). directive('s3Upload', ['$parse', 'S3Uploader', 'ngS3Config', function ($parse, S3Uploader, ngS3Config) { return { restrict: 'AC', require: '?ngModel', replace: true, transclude: false, scope: true, controller: ['$scope', '$element', ...
magnusmel/ramisdance
www/lib/ng-s3upload/src/ng-s3upload/directives/s3-upload.js
JavaScript
apache-2.0
4,584
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
arealit/amphtml
src/service/viewport/viewport-impl.js
JavaScript
apache-2.0
32,471
//// [importMetaNarrowing.ts] declare global { interface ImportMeta {foo?: () => void} }; if (import.meta.foo) { import.meta.foo(); } //// [importMetaNarrowing.js] System.register([], function (exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; return { ...
kpreisser/TypeScript
tests/baselines/reference/importMetaNarrowing(module=system).js
JavaScript
apache-2.0
498
/* * 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. */ '...
xingwu1/azure-sdk-for-node
lib/services/hdInsightManagement/lib/models/rdpSettings.js
JavaScript
apache-2.0
1,528
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var Base = (function () { function Base() { var x; } Base.prototype.foo ...
hippich/typescript
tests/baselines/reference/super.js
JavaScript
apache-2.0
1,310
/** * 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...
Fokko/incubator-airflow
airflow/www/static/js/graph.js
JavaScript
apache-2.0
3,023
goog.provide('ol.ImageTile'); goog.require('ol'); goog.require('ol.Tile'); goog.require('ol.events'); goog.require('ol.events.EventType'); /** * @constructor * @extends {ol.Tile} * @param {ol.TileCoord} tileCoord Tile coordinate. * @param {ol.Tile.State} state State. * @param {string} src Image source URI. * @...
fblackburn/ol3
src/ol/imagetile.js
JavaScript
bsd-2-clause
3,170
/** * Slider functional tests */ define(["intern", "intern!object", "intern/dojo/node!leadfoot/helpers/pollUntil", "intern/chai!assert", "require" ], function (intern, registerSuite, pollUntil, assert, require) { var debug = false; // set to true for additional feedback on test execution (adds console mess...
tkrugg/deliteful
tests/functional/Slider.js
JavaScript
bsd-3-clause
16,733
// # can/view/scope/scope.js // // This allows you to define a lookup context and parent contexts that a key's value can be retrieved from. // If no parent scope is provided, only the scope's context will be explored for values. steal( 'can/util', 'can/construct', 'can/map', 'can/list', 'can/view', 'can/compute'...
marlncpe/canjs
view/scope/scope.js
JavaScript
mit
11,324
(function () { var codesample = (function () { 'use strict'; var Cell = function (initial) { var value = initial; var get = function () { return value; }; var set = function (v) { value = v; }; var clone = function () { return Cell(get()); }; return { get: ge...
cityofasheville/coa-converse
plugins/codesample/plugin.js
JavaScript
mit
33,893
/* * @name Song * @frame 720, 430 * @description Play a song. * You will need to include the * <a href="http://p5js.org/reference/#/libraries/p5.sound">p5.sound * library</a> for this example to work in your own project. */ // The midi notes of a scale var notes = [ 60, 62, 64, 65, 67, 69, 71]; // For automatic...
lasyapriyanka/p5.js-website
src/data/examples/en/90_Hello_P5/07_song.js
JavaScript
mit
2,741
"use strict"; describe('Test Search 1', function() { var found, data = { "a": { "b": [1,2,3,4] } }; beforeEach(function() { found = JSON.search( data, '//a/b' ); }); it('test completed.', function() { expect( found.length ).toEqual( 4 ); }); });
winfieldco/defiant.js
test/test7.js
JavaScript
mit
276
'use strict'; angular.module('copayApp.controllers').controller('mercadoLibreController', function($scope, $timeout, $log, mercadoLibreService, externalLinkService, popupService) { $scope.openExternalLink = function(url) { externalLinkService.open(url); }; var init = function() { mercadoLib...
ajp8164/copay
src/js/controllers/mercadoLibre.js
JavaScript
mit
677
'use strict'; /* global Connector */ Connector.playerSelector = '#areaCenter'; Connector.artistSelector = '#blockInfo > a[name|="artist"]'; Connector.trackSelector = '#blockInfo > a[name|="name"]'; Connector.albumSelector = '#blockInfo > a[name|="album"]'; Connector.isPlaying = function() { var audio = $('body >...
electricduck/web-scrobbler
connectors/v2/musicase.js
JavaScript
mit
372
define('ember-data/-private/system/store/container-instance-cache', ['exports', 'ember', 'ember-data/-private/system/empty-object'], function (exports, _ember, _emberDataPrivateSystemEmptyObject) { 'use strict'; exports['default'] = ContainerInstanceCache; var assign = _ember['default'].assign || _ember['defaul...
hoka-plus/p-01-web
tmp/babel-output_path-hOv4KMmE.tmp/ember-data/-private/system/store/container-instance-cache.js
JavaScript
mit
3,046
/*!! * SSG Electronic Dropbox (https://www.github.com/PrismPrince/SSG-Electronic-Dropbox) * Copyright 2017 Dave Dane Pacilan * Licensed under MIT (https://github.com/PrismPrince/SSG-Electronic-Dropbox/blob/master/LICENSE) */ function initMap() { var uluru = {lat: 10.295861, lng: 123.906303}; var map = new goo...
PrismPrince/SSG-Electronic-Dropbox
resources/assets/js/init.js
JavaScript
mit
780
// flow-typed signature: 156e4ce8839874b7912495dd67fba8d3 // flow-typed version: <<STUB>>/babel-preset-env_v^1.6.0/flow_v0.55.0 /** * This is an autogenerated libdef stub for: * * 'babel-preset-env' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your wo...
boldr/boldr
flow-typed/npm/babel-preset-env_vx.x.x.js
JavaScript
mit
2,760
var stub = require('./fixtures/stub'), constants = require('./../constants'), // Logger = require('./fixtures/stub_logger'), configfile = require('./../configfile'), config = require('./../config'), // ResultStore = require('../../result_store'), connection = require('./../...
abhas/Haraka
tests/connection.js
JavaScript
mit
1,138
/*! * * Super simple wysiwyg editor v0.8.18 * https://summernote.org * * * Copyright 2013- Alan Hong. and other contributors * summernote may be freely distributed under the MIT license. * * Date: 2020-05-20T18:09Z * */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === '...
brucevsked/vskeddemolist
vskeddemos/htmljavascriptcss/bootstrapdemo/js/lib/summernote/lang/summernote-ja-JP.js
JavaScript
mit
9,135
var express = require("express"); var http = require("http"); var credentials = require("./credentials.js"); var cookies = require("cookie-parser"); var app = express(); app.use(cookies(credentials.cookieSecret)); http.createServer(app).listen(3000); app.get("/sendMeCookies", function(req, res) { console.log("Coo...
Fuertsch/VsLab
Beispiele/nodejs_cookies/simple-cookies.js
JavaScript
mit
704
/* eslint max-len: 0 */ /* eslint no-alert: 0 */ /* eslint guard-for-in: 0 */ /* eslint no-console: 0 */ /* eslint no-unused-vars: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = product...
prajapati-parth/react-bootstrap-table
examples/js/selection/select-validation-table.js
JavaScript
mit
1,444
var request = require('../modules/request'); var P = require('../modules/p-promise/p'); module.exports = function(log) { function Track() {} Track.request = function(url, project, extra, options) { var defer = P.defer(); // make sure repository is set in the options if (! options.actionParams[0]) { ...
sterpe/freight
lib/track.js
JavaScript
mit
1,461
import { run } from '@ember/runloop'; import Adapter from '../../lib/adapters/adapter'; import { moduleFor, AbstractTestCase } from 'internal-test-helpers'; var adapter; moduleFor( 'ember-testing Adapter', class extends AbstractTestCase { constructor() { super(); adapter = Adapter.create(); } ...
bekzod/ember.js
packages/ember-testing/tests/adapters/adapter_test.js
JavaScript
mit
609
import { printBuffer } from './core'; import { timer } from './helpers'; import defaults from './defaults'; /** * Creates logger with following options * * @namespace * @param {object} options - options for logger * @param {string | function | object} options.level - console[level] * @param {boolean} options.dur...
niukui/gitpro
node_modules/redux-logger/src/index.js
JavaScript
mit
3,556
module.exports={title:"Thingiverse",slug:"thingiverse",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Thingiverse</title><path d="'+this.path+'"/></svg>'},path:"M11.955.005C5.425-.152-.091 5.485.007 11.805c-.235 6.756 5.537 12.25 12.052 12.196C18.621 23.9 23.912 18.595 24...
cdnjs/cdnjs
ajax/libs/simple-icons/5.24.0/thingiverse.min.js
JavaScript
mit
859
'use strict'; module.exports['array_change_key_case'] = require('./array_change_key_case'); module.exports['array_chunk'] = require('./array_chunk'); module.exports['array_combine'] = require('./array_combine'); module.exports['array_count_values'] = require('./array_count_values'); module.exports['array_diff'] = requ...
mollyklecompte/receipt
sites/all/themes/receiptzen/node_modules/locutus/php/array/index.js
JavaScript
gpl-2.0
4,184
/* * This file is part of Toolkit. * * Toolkit 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 3 of the License, or (at your option) any later version. * * Toolkit is distributed in th...
DeutscheSoft/toolkit
toolkit/widgets/taggabletreeitem.js
JavaScript
gpl-3.0
1,179
// |jit-test| error: InternalError: too much recursion function f() { var phi1 = 0; var phi2 = 0; while (true) { if (!phi2) { var add = phi1 + 1; f(add); if (!phi2) return; phi1 = 1; phi2 = 0; } } } f(0);
Yukarumya/Yukarum-Redfoxes
js/src/jit-test/tests/ion/gvn-unremovable-phi-bug1317675.js
JavaScript
mpl-2.0
315
// 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...
zherczeg/jerryscript
tests/jerry/regression-test-issue-3778.js
JavaScript
apache-2.0
675
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * Every function instance has a [[Call]] property * * @path ch15/15.3/15.3.5/S15.3.5_A2_T2.js * @description For testing call (new Function("arg1,arg2","var x =arg1; this.y=arg2;r...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.3/15.3.5/S15.3.5_A2_T2.js
JavaScript
apache-2.0
729
var duplexify = require('duplexify') var through = require('through2') var noop = function() {} var isObject = function(data) { return !Buffer.isBuffer(data) && typeof data !== 'string' } var peek = function(opts, onpeek) { if (typeof opts === 'number') opts = {maxBuffer:opts} if (typeof opts === 'function') r...
adityachap/fabric-sdk-node
node_modules/peek-stream/index.js
JavaScript
apache-2.0
1,931
//// [narrowByEquality.ts] declare let x: number | string | boolean declare let n: number; declare let s: string; declare let b: boolean; if (x == n) { x; } if (x == s) { x; } if (x == b) { x; } if (x == 1) { x; } if (x == "") { x; } if (x == "foo") { x; } if (x == true) { x; } if (...
nojvek/TypeScript
tests/baselines/reference/narrowByEquality.js
JavaScript
apache-2.0
1,172
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The Date.prototype.getFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes * * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T3.js * @description Checki...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T3.js
JavaScript
apache-2.0
660
/* * Copyright (C) 2010 Emweb bvba, Kessel-Lo, Belgium. * * See the LICENSE file for terms of use. */ /* Note: this is at the same time valid JavaScript and C++. */ WT_DECLARE_WT_MEMBER (1, JavaScriptConstructor, "WDialog", function(APP, el, titlebar, centerX, centerY, movedSignal, resizedSignal) { jQuery.dat...
sanathkumarv/RestAPIWt
tools/wt-3.3.5-rc1/src/js/WDialog.js
JavaScript
apache-2.0
5,080
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * match returns array as specified in 15.10.6.2 * * @path ch15/15.5/15.5.4/15.5.4.10/S15.5.4.10_A2_T17.js * @description Regular expression is /0./ */ var __re = /0./; var __nu...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.5/15.5.4/15.5.4.10/S15.5.4.10_A2_T17.js
JavaScript
apache-2.0
1,607
db = db.getMongo().getDB("foo"); db.products.remove({name:"bar"});
rhodgin/brooklyn
usage/launcher/src/test/resources/mongo-product-delete.js
JavaScript
apache-2.0
66
<a>{"str";}</a>;
sebmck/espree
tests/fixtures/ecma-features/jsx/invalid-embedded-expression.src.js
JavaScript
bsd-2-clause
16
// 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. var mediaRouter; define('media_router_bindings', [ 'mojo/public/js/bindings', 'mojo/public/js/core', 'content/public/renderer/service_provide...
XiaosongWei/chromium-crosswalk
extensions/renderer/resources/media_router_bindings.js
JavaScript
bsd-3-clause
21,140
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; const { setTimeout } = require('sdk/timers'); const utils = require('sdk/lang/functional'); const { ...
grammarly/browser-extensions
firefox/addon-sdk/test/test-functional.js
JavaScript
bsd-3-clause
13,230
/* * Copyright (c) 2008-2015 The Open Source Geospatial Foundation * * Published under the BSD license. * See https://github.com/geoext/geoext2/blob/master/license.txt for the full * text of the license. */ /* * @requires GeoExt/data/reader/WmsCapabilities.js */ /** * The model for WMS layers coming from a W...
geographika/geoext2
src/GeoExt/data/WmsCapabilitiesLayerModel.js
JavaScript
bsd-3-clause
2,438
var _ = require('lodash'), assert = require('assert'), bole = require('bole'), crypto = require('crypto'), P = require('bluebird'), Redis = require('redis-url'), Request = require('../lib/external-request'), debug = require('debuglog')('newww:cache'), safeparse = require('../lib/utils').safeJsonParse; ...
n1889/newww
lib/cache.js
JavaScript
isc
5,882
/* * 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/respuesta/routes.js
JavaScript
mit
3,729
/* * A plugin for making Bootstrap's pagination more responsive * https://github.com/auxiliary/rpage */ (function ($){ jQuery.fn.rPage = function () { var $this = $(this); for(var i = 0, max = $this.length; i < max; i++) { new rPage($($this[i])); } function rPag...
koller16/TequilaCR
public/javascripts/responsive-paginate.js
JavaScript
mit
5,285
// this file is lib/lintstream.js // provides a stream interface to JSLint // // Copyright 2014 Cubane Canada Inc. // // Released under modified MIT/BSD 3-clause license // See LICENSE for details. /*jslint unparam: true*/ (function () { 'use strict'; var util = require('util'), Transform = require('...
codyseibert/random
stethoscope/node_modules/grunt-jslint/node_modules/jslint/lib/lintstream.js
JavaScript
mit
1,386
import { shallowMount } from '@vue/test-utils'; import FileRowHeader from '~/vue_shared/components/file_row_header.vue'; describe('File row header component', () => { let vm; function createComponent(path) { vm = shallowMount(FileRowHeader, { propsData: { path, }, }); } afterEach(...
stoplightio/gitlabhq
spec/frontend/vue_shared/components/file_row_header_spec.js
JavaScript
mit
829
/** * Customized version of iScroll.js 0.0.8 * It fixes bugs affecting its integration with fullpage.js * @license */ /*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */ (function (window, document, Math) { var rAF = window.requestAnimationFrame || window.webkitRequestAnimationFrame |...
extend1994/cdnjs
ajax/libs/fullPage.js/3.0.1/vendors/scrolloverflow.js
JavaScript
mit
84,315
<script type="text/worker"> on("change:insight change:prowess change:resolve change:Trace change:Study change:Survey change:Modify change:Finesse change:Ghost change:Combat change:Wreck change:Hack change:Control change:Network change:Sway change:Trace-cybernetic change:Study-cybernetic change:Survey-cybernetic cha...
Thalar/roll20-character-sheets
Hack The Planet/Hack the Planet.js
JavaScript
mit
138,388
!function(n){"use strict";n.countdown.regionalOptions.bg={labels:["Години","Месеца","Седмица","Дни","Часа","Минути","Секунди"],labels1:["Година","Месец","Седмица","Ден","Час","Минута","Секунда"],compactLabels:["l","m","n","d"],compactLabels1:["g","m","n","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8"...
joeyparrish/cdnjs
ajax/libs/jquery-countdown/2.1.0/js/jquery.countdown-bg.min.js
JavaScript
mit
495
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("./foundation.core"), require("./foundation.core.plugin"), require("./foundation.core.utils"), require("./foundation.util.mediaQuery"), require("jquery")); else ...
extend1994/cdnjs
ajax/libs/foundation/6.5.0-rc.1/js/plugins/foundation.interchange.js
JavaScript
mit
19,150
var _ = require('lodash'); var passport = require('passport'); var request = require('request'); var InstagramStrategy = require('passport-instagram').Strategy; var LocalStrategy = require('passport-local').Strategy; var FacebookStrategy = require('passport-facebook').Strategy; var TwitterStrategy = require('passport-t...
jakeki/futista_node
config/passport.js
JavaScript
mit
19,778
var page_id = 0; var page_controller = 'core'; var current_pallette = null; $(function() { current_pallette = false; page_id = 0; var tree_url = $('#cp-widgets-layout').data('tree-url'); $("#datatree").dynatree({ onPostInit: function(isReloading, isError){ var path = $.cookie('i...
white-wolf-17/InstantCMS_hero-template
templates/hero/js_backup/admin-widgets.js
JavaScript
gpl-2.0
7,172
// $Id: paging.js,v 1.11 2009/01/24 16:12:52 Gurpartap Exp $ Number.prototype.ordinal = function () { return this + ( (this % 10 == 1 && this % 100 != 11) ? '<sup>st</sup>' : (this % 10 == 2 && this % 100 != 12) ? '<sup>nd</sup>' : (this % 10 == 3 && this % 100 != 13) ? '<sup>rd</sup>' : '<sup>th</sup>' ...
ramsalt/kr
sites/all/modules/paging/paging.js
JavaScript
gpl-2.0
6,004
// Simply overwrites prototype specific functions // with jquery specific versions Juggernaut.fn.fire_event = function(fx_name) { $(document).trigger("juggernaut:" + fx_name); }; Juggernaut.fn.bindToWindow = function() { $(window).bind("load", this, function(e) { juggernaut = e.data; e.data....
CognifideLabs/taskboard
vendor/plugins/juggernaut_plugin/media/jquerynaut.js
JavaScript
gpl-3.0
1,613
/* Copyright 2013 Google 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 agreed to in ...
r8o8s1e0/ChromeWebLab
Orchestra/sw/realtimeserver/static/ui/js/weblab/common/ui/page/PageManager.js
JavaScript
apache-2.0
4,657
/** * Copyright 2020 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 applicable law ...
GoogleChromeLabs/tooling.report
tests/transformations/subtests/minify-js/webpack/src/index.js
JavaScript
apache-2.0
721