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
var Key = require('bindings')('KeyModule').Key; var CommonKey = require('./common/Key'); var bignum = require('bignum'); var Point = require('./Point'); var coinUtil = require('../util'); for (var i in CommonKey) { if (CommonKey.hasOwnProperty(i)) Key[i] = CommonKey[i]; } Key.sign = function(hash, priv, k) { ...
chrisfranko/bitcore
lib/Key.js
JavaScript
mit
1,835
'use strict'; var Command = require('../models/command'); var SilentError = require('silent-error'); var path = require('path'); var defaultPort = 7357; module.exports = Command.extend({ name: 'test', description: 'Runs your app\'s test suite.', aliases: ['t'], availableOptions: [ { name: 'en...
mo-norant/FinHeartBel
website/node_modules/@angular/cli/ember-cli/lib/commands/test.js
JavaScript
gpl-3.0
3,532
/** * @author TristanVALCKE / https://github.com/TristanVALCKE */ //Todo console.warn("Todo: Unit tests of AxisHelper")
ngokevin/three.js
test/unit/src/helpers/AxisHelper.js
JavaScript
mit
123
define("ace/snippets/crystal",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="crystal"}); (function() { window.require(["ace/snippets/crystal"], function(m) { if (typeof module == "object" && typeof exports == "objec...
jiankaiwang/codein
resource/ace/1.7.4/src-min/snippets/crystal.js
JavaScript
mit
468
/** * JavaScript for Special:Upload * Note that additional code still lives in skins/common/upload.js */ ( function ( mw, $ ) { /** * Add a preview to the upload form */ $( document ).ready( function () { /** * Is the FileAPI available with sufficient functionality? */ function hasFileAPI() { retu...
Dominic--/CCPT
wiki/resources/mediawiki.special/mediawiki.special.upload.js
JavaScript
gpl-2.0
9,319
import Component from 'flarum/Component'; import Button from 'flarum/components/Button'; import listItems from 'flarum/helpers/listItems'; import extract from 'flarum/utils/extract'; /** * The `Alert` component represents an alert box, which contains a message, * some controls, and may be dismissible. * * The aler...
azarro/flarum
vendor/flarum/core/js/lib/components/Alert.js
JavaScript
mit
1,862
/** * @file Data zoom model */ define(function(require) { var DataZoomModel = require('./DataZoomModel'); var SliderZoomModel = DataZoomModel.extend({ type: 'dataZoom.slider', layoutMode: 'box', /** * @protected */ defaultOption: { show: true,...
yjwz0428/yjwz0428.github.io
作业(1)/echarts-master/src/component/dataZoom/SliderZoomModel.js
JavaScript
mit
2,839
/** * Disallows space before `()` or `{}` in function expressions (both [named](#disallowspacesinnamedfunctionexpression) * and [anonymous](#disallowspacesinanonymousfunctionexpression)). * * Type: `Object` * * Values: `"beforeOpeningRoundBrace"` and `"beforeOpeningCurlyBrace"` as child properties. * Child prope...
markhice/ghost-casper
node_modules_bak/grunt-jscs/node_modules/jscs/lib/rules/disallow-spaces-in-function-expression.js
JavaScript
mit
3,843
if (exports) { var fs = require('fs'); var jsdom = require('jsdom'); var html = fs.readFileSync('./test/index.html', 'utf-8'); window = jsdom.jsdom(html).parentWindow; var Slideout = require('../'); var assert = require('better-assert'); } var doc = window.document; var beforeopenEvent = false; var openEve...
benfreu/slideout
test/test.js
JavaScript
mit
4,877
goog.provide('ol.animation'); goog.require('ol.PreRenderFunction'); goog.require('ol.ViewHint'); goog.require('ol.coordinate'); goog.require('ol.easing'); /** * Generate an animated transition that will "bounce" the resolution as it * approaches the final value. * @param {olx.animation.BounceOptions} options Boun...
wlerner/ol3
src/ol/animation.js
JavaScript
bsd-2-clause
5,903
/*globals wp */ var media = wp.media; media.controller.EditAttachmentMetadata = require( './controllers/edit-attachment-metadata.js' ); media.view.MediaFrame.Manage = require( './views/frame/manage.js' ); media.view.Attachment.Details.TwoColumn = require( './views/attachment/details-two-column.js' ); media.view.Media...
domyoriginal/WordPress
wp-includes/js/media/grid.manifest.js
JavaScript
gpl-2.0
813
module.exports = rm var assert = require("assert") var url = require("url") var npa = require("npm-package-arg") function rm (uri, params, cb) { assert(typeof uri === "string", "must pass registry URI to distTags.rm") assert( params && typeof params === "object", "must pass params to distTags.rm" ) a...
zinzoz/captionservice
src/node_modules/npm/node_modules/npm-registry-client/lib/dist-tags/rm.js
JavaScript
apache-2.0
991
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict";var l={};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["northAmerica","cities",l]);
JDT2016-Hackathon/hr
src/main/resources/static/js/libs/oj/v2.0.1/resources/internal-deps/dvt/thematicMap/resourceBundles/NorthAmericaCitiesBundle_th.js
JavaScript
apache-2.0
242
"use strict"; var utils = require("../../lib/server/utils"); var connect = require("connect"); module.exports = { getApp: function getApp (options) { var html = "<!doctype html><html lang=\"en-US\"><head><meta charset=\"UTF-8\"><title>Browsersync</title></head><body>BS</body></html>"; var app = ...
Plou/browser-sync
test/protractor/utils.js
JavaScript
apache-2.0
593
'use strict'; /** * @ngdoc filter * @name linky * @kind function * * @description * Finds links in text input and turns them into html links. Supports `http/https/ftp/mailto` and * plain email address links. * * Requires the {@link ngSanitize `ngSanitize`} module to be installed. * * @param {string} text In...
Aremyst/angular.js
src/ngSanitize/filter/linky.js
JavaScript
mit
7,304
(function(window, document){ var _shimCounter = 0; function Rollbar(parentShim) { this.shimId = ++_shimCounter; this.notifier = null; this.parentShim = parentShim; this.logger = function() {}; if (window.console) { if (window.console.shimId === undefined) { this.logger = window.console.log; ...
brix/cdnjs
ajax/libs/rollbar.js/1.1.2/rollbar.snippet.js
JavaScript
mit
6,506
/*! * froala_editor v2.5.1 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2017 Froala Labs */ /** * Slovak */ $.FE.LANGUAGE['sk'] = { translation: { // Place holder "Type something": "Nap\u00ed\u0161te hoci\u010do", // Basic formatting...
bg93/adapta
vendor/froala/js/languages/sk.js
JavaScript
gpl-3.0
9,255
define(function(require) { var Dispatcher = require('canvas_quizzes/core/dispatcher'); var Actions = {}; Actions.regenerateReport = function(id) { return Dispatcher.dispatch('quizReports:regenerate', id).promise; }; Actions.abortReportGeneration = function(id) { return Dispatcher.dispatch('quizRepor...
Rvor/canvas-lms
client_apps/canvas_quizzes/apps/statistics/js/actions.js
JavaScript
agpl-3.0
495
/** * Resizes this ByteBuffer to be backed by a buffer of at least the given capacity. Will do nothing if already that * large or larger. * @param {number} capacity Capacity required * @returns {!ByteBuffer} this * @throws {TypeError} If `capacity` is not a number * @throws {RangeError} If `capacity < 0` ...
MichaelTsao/yanpei
web/js/node_modules/leancloud-realtime/node_modules/protobufjs/node_modules/bytebuffer/src/methods/resize.js
JavaScript
bsd-3-clause
1,277
'use strict'; // Define module using Universal Module Definition pattern // https://github.com/umdjs/umd/blob/master/returnExports.js (function (root, factory) { if (typeof define === 'function' && define.amd) { // Support AMD. Register as an anonymous module. // EDIT: List all dependencies in AMD style ...
froala/cdnjs
ajax/libs/d3kit-timeline/0.4.1/d3kit-timeline.js
JavaScript
mit
9,334
'use strict'; var Utils = require('../../utils') , Promise = require('../../promise') , AbstractQuery = require('../abstract/query') , sequelizeErrors = require('../../errors.js') , parserStore = require('../parserStore')('mssql'), _ = require('lodash'); var Query = function(connection, sequelize, options) ...
Nasen/feedbackServer
start/node_modules/sequelize/lib/dialects/mssql/query.js
JavaScript
apache-2.0
11,078
import {types as tt} from "./tokentype" import {Parser} from "./state" import {lineBreak, skipWhiteSpace} from "./whitespace" import {isIdentifierStart, isIdentifierChar} from "./identifier" import {DestructuringErrors} from "./parseutil" const pp = Parser.prototype // ### Statement parsing // Parse a program. Initi...
hellokidder/js-studying
微信小程序/wxtest/node_modules/acorn-jsx/node_modules/acorn/src/statement.js
JavaScript
mit
22,443
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
exstar/nashorn
src/main/java/jdk/nashorn/internal/runtime/resources/fx/bootstrap.js
JavaScript
gpl-2.0
2,669
(function() { var __channels = 0; document.addEventListener('WebComponentsReady', function (e) { var element = document.querySelector("*[data-analyze]"); if (element && typeof element.ceci === 'object') { var gui = new dat.GUI(); var editableFolder = gui.addFolder('Editable'); var br...
flukeout/component-addform
tools/example.js
JavaScript
mpl-2.0
4,320
/** A collection of functions relating to JSDoc symbol name manipulation. @module jsdoc/name @requires jsdoc/tag/dictionary @author Michael Mathews <micmath@gmail.com> @license Apache License 2.0 - See file 'LICENSE.md' in this project. */ var jsdoc = { tagDictionary: require('jsdoc/tag/dicti...
huukit/IOTBuoy
www/BuoyViewer/public_html/build/tools/jsdoc3/rhino_modules/jsdoc/name.js
JavaScript
lgpl-3.0
7,548
/** * @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 */ import { isBlank } from '../facade/lang'; var _DOM = null; export function getDOM() { return _DOM; } export funct...
vidyutron/vidyutron.github.io
vendor/libs/@angular/platform-browser/esm/src/dom/dom_adapter.js
JavaScript
mit
1,037
"use strict"; describe("isValidNumber:", function() { beforeEach(function() { intlSetup(true); input = $("<input>"); }); afterEach(function() { input.intlTelInput("destroy"); input = null; }); describe("init plugin and call public method isValidNumber", function() { beforeEach(func...
NoahGaeta/project
views/intl-tel-input/src/spec/tests/methods/isValidNumber.js
JavaScript
mit
2,004
/** * Copyright (c) Microsoft. 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 or ag...
madhana/azure-xplat-cli
lib/util/authentication/tokenCredentials.js
JavaScript
apache-2.0
997
'use strict'; var isES5 = typeof Object.defineProperty === 'function' && typeof Object.defineProperties === 'function' && typeof Object.getPrototypeOf === 'function' && typeof Object.setPrototypeOf === 'function'; if (!isES5) { throw new TypeError('util.promisify requires a true ES5 environment'); } var getOwnPr...
ihmcrobotics/ihmc-realtime
websitedocs/website/node_modules/util.promisify/implementation.js
JavaScript
apache-2.0
2,849
if ('onmessage' in self) { // dedicated worker onmessage = function(e) { postMessage(e.data); } } else { // shared worker onconnect = function(e) { e.ports[0].onmessage = function(e) { this.postMessage(e.data); } } }
scheib/chromium
third_party/blink/web_tests/external/wpt/workers/semantics/multiple-workers/001.js
JavaScript
bsd-3-clause
242
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; export function getPopoverUtilityClass(slot) { return generateUtilityClass('MuiPopover', slot); } const popoverClasses = generateUtilityClasses('MuiPopover', ['root', 'paper']); export default popoverClasses;
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-beta.5/modern/Popover/popoverClasses.js
JavaScript
mit
296
dojo.provide("dojox.mdnd.tests.unitTests.module"); try{ dojo.require('dojox.mdnd.tests.unitTests.areaManager.module'); dojo.require('dojox.mdnd.tests.unitTests.dropMode.module'); dojo.require('dojox.mdnd.tests.unitTests.dropIndicator.module'); }catch(e){ doh.debug(e); }
avz-cmf/zaboy-middleware
www/js/dojox/mdnd/tests/unitTests/module.js
JavaScript
gpl-3.0
276
Hyphenator.languages['fi'] = { leftmin : 2, rightmin : 2, specialChars : "öäå", patterns : { 3 : "1ba1be1bi1bo1bu1by1da1de1di1do1du1dy1dä1dö1fa1fe1fi1fo1fu1fy1ga1ge1gi1go1gu1gy1gä1gö1ha1he1hi1ho1hu1hy1hä1hö1ja1je1ji1jo1ju1jy1jä1jö1ka1ke1ki1ko1ku1ky1kä1kö1la1le1li1lo1lu1ly1lä1lö1ma1me1mi1mo1mu1my1mä1mö1na1ne1ni1n...
8moustapha8/Hibouk
server/hibouKPDF/js/hyphenator/patterns/fi.js
JavaScript
lgpl-3.0
1,449
/*! jssocials - v1.2.1 - 2016-04-10 * http://js-socials.com * Copyright (c) 2016 Artem Tabalin; Licensed MIT */ (function(window, $, undefined) { var JSSOCIALS = "JSSocials", JSSOCIALS_DATA_KEY = JSSOCIALS; var getOrApply = function(value, context) { if($.isFunction(value)) { retur...
levineux/yoganosh.github.io
jssocials-1.2.1/lib/jssocials.js
JavaScript
mit
16,088
$(document).ready(function () { $('#saveDefaultsButton').click(function () { var anyQualArray = []; var bestQualArray = []; $('#anyQualities option:selected').each(function (i, d) {anyQualArray.push($(d).val()); }); $('#bestQualities option:selected').each(function (i, d) {bestQualA...
Branlala/docker-sickbeardfr
sickbeard/data/js/addShowOptions.js
JavaScript
mit
1,402
IntlMessageFormat.__addLocaleData({locale:"wae", messageformat:{pluralFunction:function (n) { n=Math.floor(n);if(n===1)return"one";return"other"; }}});
jonobr1/cdnjs
ajax/libs/intl-messageformat/0.1.0/locale-data/wae.js
JavaScript
mit
151
// Generated by CoffeeScript 1.7.1 /* @preserve jQuery.PrettyTextDiff 1.0.4 See https://github.com/arnab/jQuery.PrettyTextDiff/ */ (function() { var $; $ = jQuery; $.fn.extend({ prettyTextDiff: function(options) { var dmp, settings; settings = { origina...
lumin824/tax
www/static/in/js/plugins/preetyTextDiff/jquery.pretty-text-diff.min.js
JavaScript
mit
2,835
/** * @author timothypratley / https://github.com/timothypratley */ THREE.TetrahedronGeometry = function ( radius, detail ) { var vertices = [ 1, 1, 1, - 1, - 1, 1, - 1, 1, - 1, 1, - 1, - 1 ]; var indices = [ 2, 1, 0, 0, 3, 2, 1, 3, 0, 2, 3, 1 ]; THREE.PolyhedronGeometry.cal...
JohnDecker1/BlackHOle-battles
three.js-master/src/extras/geometries/TetrahedronGeometry.js
JavaScript
gpl-3.0
637
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes/index'); var users = require('./routes/users'); var app = express()...
jermspeaks/angular-bootstrap
server/app.js
JavaScript
mit
1,477
/*! * smooth-scroll v9.4.1: Animate scrolling to anchor links * (c) 2016 Chris Ferdinandi * MIT License * http://github.com/cferdinandi/smooth-scroll */ (function (root, factory) { if ( typeof define === 'function' && define.amd ) { define([], factory(root)); } else if ( typeof exports === 'object' ) { modu...
joeyparrish/cdnjs
ajax/libs/smooth-scroll/9.4.1/js/smooth-scroll.js
JavaScript
mit
16,668
/*! lazysizes - v2.0.2-rc1 */ !function(a){"use strict";var b,c,d,e;a.addEventListener&&(b=a.lazySizes&&lazySizes.cfg||a.lazySizesConfig||{},c=b.lazyClass||"lazyload",d=function(){var b,d;if("string"==typeof c&&(c=document.getElementsByClassName(c)),a.lazySizes)for(b=0,d=c.length;d>b;b++)lazySizes.loader.unveil(c[b])},...
AMoo-Miki/cdnjs
ajax/libs/lazysizes/2.0.2-rc1/plugins/print/ls.print.min.js
JavaScript
mit
487
;(function(undefined) { 'use strict'; /** * BottleJS v0.7.2 - 2014-12-26 * A powerful, extensible dependency injection micro container * * Copyright (c) 2014 Stephen Young * Licensed MIT */ /** * Unique id counter; * * @type Number */ var id = 0; ...
hare1039/cdnjs
ajax/libs/bottlejs/0.7.2/bottle.js
JavaScript
mit
16,021
/** * QUnit - A JavaScript Unit Testing Framework * * http://docs.jquery.com/QUnit * * Copyright (c) 2011 John Resig, Jörn Zaefferer * Dual licensed under the MIT (MIT-LICENSE.txt) * or GPL (GPL-LICENSE.txt) licenses. * Pulled Live from Git Mon Sep 5 19:05:01 UTC 2011 * Last Commit: 7f292170fa1109f1355f3e96f8...
tomlagier/NoblePower
wp-content/plugins/civicrm/civicrm/packages/backbone-forms/test/lib/qunit.js
JavaScript
gpl-2.0
38,180
var keystone = require('../../../../index.js'); var Types = keystone.Field.Types; var Code = new keystone.List('Code', { autokey: { path: 'key', from: 'name', unique: true, }, track: true, }); Code.add({ name: { type: String, initial: true, required: true, index: true, }, fieldA: { type: Types.C...
Pop-Code/keystone
test/e2e/models/fields/Code.js
JavaScript
mit
503
var Sites = {}; Sites.getTop = function(callback) { chrome.topSites.get(function(e) { callback(e.map(function(e) { return [e.title, e.url]; })); }); };
johnbeard/chromium-vim
background_scripts/sites.js
JavaScript
mit
171
var Alloy = require("alloy"), _ = require("alloy/underscore")._, model, collection; exports.definition = { extendCollection: function(Collection) { _.extend(Collection.prototype, {}); return Collection; } }; model = Alloy.M("heroes", exports.definition, []); collection = Alloy.C("heroes", exp...
brentonhouse/brentonhouse.alloy
test/apps/testing/ALOY-644/_generated/windows/alloy/models/Heroes.js
JavaScript
apache-2.0
402
import { connect } from 'react-redux'; import SearchResults from '../components/search_results'; const mapStateToProps = state => ({ results: state.getIn(['search', 'results']), }); export default connect(mapStateToProps)(SearchResults);
verniy6462/mastodon
app/javascript/mastodon/features/compose/containers/search_results_container.js
JavaScript
agpl-3.0
242
// Copyright (c) 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. function initialize() { var messageHandler = Messaging.GetHandler(); var cookieAgent = new Messaging.Agent('agent_cookie'); messageHandler.addAg...
ric2b/Vivaldi-browser
chromium/chrome/test/data/extensions/platform_apps/web_view/cookie_isolation/page.js
JavaScript
bsd-3-clause
1,663
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "default", { enumerable: true, get: function get() { return _ListItemSecondaryAction.default; } }); var _ListIt...
pcclarke/civ-techs
node_modules/@material-ui/core/ListItemSecondaryAction/index.js
JavaScript
mit
401
var Q = require("q"); var Content = require("./content"); var Status = require("./status"); exports.HandleJsonResponses = function (app, reviver, tab) { return function (request) { request.handleJsonResponse = exports.handleJsonResponse; return Q.fcall(app, request) .then(function (response...
isabela-angelo/scratch-tangible-blocks
scratch-blocks/node_modules/q-io/http-apps/json.js
JavaScript
bsd-3-clause
2,251
define( //begin v1.x content { "field-sat-relative+0": "sâmbăta aceasta", "field-sat-relative+1": "sâmbăta viitoare", "field-dayperiod": "a.m./p.m", "field-sun-relative+-1": "duminica trecută", "field-mon-relative+-1": "lunea trecută", "field-minute": "minut", "field-day-relative+-1": "ieri", "field-weekday": "...
avz-cmf/zaboy-middleware
www/js/dojo/cldr/nls/ro/chinese.js
JavaScript
gpl-3.0
2,390
/*! * Fine Uploader * * Copyright 2015, Widen Enterprises, Inc. info@fineuploader.com * * Version: 5.3.2 * * Homepage: http://fineuploader.com * * Repository: git://github.com/FineUploader/fine-uploader.git * * Licensed only under the Widen Commercial License (http://fineuploader.com/licensing). */ /*globals window,...
sashberd/cdnjs
ajax/libs/file-uploader/5.3.2/azure.fine-uploader/azure.fine-uploader.js
JavaScript
mit
422,985
(function($window, L, d3) { "use strict"; /** * @method throwException * @param message {String} * @param path {String} * @return {void} */ var throwException = function throwException(message, path) { if (path) { // Output a link for a more informative messa...
sreym/cdnjs
ajax/libs/leaflet.freedraw/0.1.12/leaflet.freedraw.js
JavaScript
mit
25,973
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v4.0.6 * @link http://www.ag-grid.com/ * @license MIT */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : ...
hare1039/cdnjs
ajax/libs/ag-grid/4.0.6/lib/headerRendering/headerTemplateLoader.js
JavaScript
mit
5,851
description("Ensure correct behavior of canvas with fillPath using a pattern fillStyle and a shadow"); function print(message, color) { var paragraph = document.createElement("div"); paragraph.appendChild(document.createTextNode(message)); paragraph.style.fontFamily = "monospace"; if (color) pa...
axinging/chromium-crosswalk
third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillPath-pattern-shadow.js
JavaScript
bsd-3-clause
3,306
/*! * froala_editor v2.3.0 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2016 Froala Labs */ /** * Estonian */ $.FE.LANGUAGE['et'] = { translation: { // Place holder "Type something": "Kirjuta midagi", // Basic formatting "Bold": "...
bevrard/wlr_sportour
wallride-core/src/main/resources/resources/admin/lib/froala/js/languages/et.js
JavaScript
apache-2.0
7,919
(function () { 'use strict'; // Must configure the common service and set its // events via the commonConfigProvider angular.module('common') .factory('spinner', ['common', 'commonConfig', spinner]); function spinner(common, commonConfig) { var service = { spinnerHide...
evallesv/ng-wishlist
wishlist/wishlist/app/common/spinner.js
JavaScript
mit
671
/*! ======================================================= VERSION 9.2.2 ========================================================= */ "use strict"; function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; } /*! ===...
Asaf-S/jsdelivr
files/bootstrap-slider/9.2.2/bootstrap-slider.js
JavaScript
mit
57,251
/*! * jQuery contextMenu - Plugin for simple contextMenu handling * * Version: 1.5.25 * * Authors: Rodney Rehm, Addy Osmani (patches for FF) * Web: http://medialize.github.com/jQuery-contextMenu/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * GPL v3 http://opensource.org...
Anthrocon-Reg/ubersystem
uber/static/lib/jquery-contextMenu/jquery.contextMenu.js
JavaScript
gpl-3.0
61,270
'use strict'; module.exports = { set: function (v) { this.setProperty('-webkit-perspective', v); }, get: function () { return this.getPropertyValue('-webkit-perspective'); }, enumerable: true };
jlmart88/highfrequencytimecode
timecodeprocessor/node/node_modules/jquery/node_modules/jsdom/node_modules/cssstyle/lib/properties/webkitPerspective.js
JavaScript
mit
232
// This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle is dis...
michael-milette/moodle
mod/lti/amd/src/events.js
JavaScript
gpl-3.0
1,578
'use strict'; // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = 'development'; process.env.NODE_ENV = 'development'; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are not handled will ...
xiecg/record
webpack/webpack-react/scripts/start.js
JavaScript
mit
3,517
//// [objectTypeWithStringNamedPropertyOfIllegalCharacters.ts] class C { " ": number; "a b": string; "~!@#$%^&*()_+{}|:'<>?\/.,`": number; "a\a": number; static "a ": number } var c: C; var r = c[" "]; var r2 = c[" "]; var r3 = c["a b"]; // BUG 817263 var r4 = c["~!@#$%^&*()_+{}|:'<>?\/...
enginekit/TypeScript
tests/baselines/reference/objectTypeWithStringNamedPropertyOfIllegalCharacters.js
JavaScript
apache-2.0
1,690
'use strict'; /** * @ngdoc service * @name $window * * @description * A reference to the browser's `window` object. While `window` * is globally available in JavaScript, it causes testability problems, because * it is a global variable. In angular we always refer to it through the * `$window` service, so it ma...
ericsteele/retrospec.js
test/input/projects/angular.js/fef0cfc/src/ng/window.js
JavaScript
mit
1,489
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); __export(require("rxjs-compat/operators/onErrorResumeNext")); //# sourceMappingURL=onErrorResumeNext.js.map
BigBoss424/portfolio
v8/development/node_modules/rxjs/operators/onErrorResumeNext.js
JavaScript
apache-2.0
281
define( ({ loadingState: "Загрузка...", errorState: "Извините, возникла ошибка" }) );
avz-cmf/zaboy-middleware
www/js/dijit/nls/ru/loading.js
JavaScript
gpl-3.0
118
(function() { var Ember = { assert: function() {}, FEATURES: { isEnabled: function() {} } }; /*! * @overview Ember - JavaScript Application Framework * @copyright Copyright 2011-2014 Tilde Inc. and contributors * Portions Copyright 2006-2011 Strobe Inc. * Portions Copyright 2008-2011 Apple In...
ansonK/ember_todo_app_example
vendor/ember/ember-template-compiler.js
JavaScript
mit
10,847
// GFM table, non-standard 'use strict'; function getLine(state, line) { var pos = state.bMarks[line] + state.blkIndent, max = state.eMarks[line]; return state.src.substr(pos, max - pos); } function escapedSplit(str) { var result = [], pos = 0, max = str.length, ch, escapes = 0,...
r0zar/ember-rails-stocks
stocks/node_modules/ember-cli/node_modules/markdown-it/lib/rules_block/table.js
JavaScript
mit
4,834
//>>built define("dojox/highlight/languages/pygments/html",["../../_base","./_html"],function(dh){ var _1=dh.languages,_2=[],ht=_1.pygments._html.tags; for(var _3 in ht){ _2.push(_3); } _2="\\b("+_2.join("|")+")\\b"; _1.html={case_insensitive:true,defaultMode:{contains:["name entity","comment","comment preproc","_scrip...
ISTang/sitemap
web/public/libs/dojo/1.8.3/dojox/highlight/languages/pygments/html.js
JavaScript
gpl-2.0
1,224
var windows = []; /** * Resets the windows and removes * any interval that is running */ function reset() { windows.forEach( function (w) { w.contentWindow.close(); } ); windows.length = 0; } /** * Initialise and launch the windows * @see http://developer.chrome.com/apps/app.window.html */ function ...
Jabqooo/chrome-app-samples
samples/windows/main.js
JavaScript
apache-2.0
2,350
import dsv from "./dsv"; var tsv = dsv("\t"); export var tsvParse = tsv.parse; export var tsvParseRows = tsv.parseRows; export var tsvFormat = tsv.format; export var tsvFormatRows = tsv.formatRows;
rhoon/thesis
work/analysis/node_modules/d3/node_modules/d3-dsv/src/tsv.js
JavaScript
mit
200
/* * angular-mm-foundation * http://pineconellc.github.io/angular-foundation/ * Version: 0.5.1 - 2014-11-29 * License: MIT * (c) Pinecone, LLC */ angular.module("mm.foundation", ["mm.foundation.accordion","mm.foundation.alert","mm.foundation.bindHtml","mm.foundation.buttons","mm.foundation.position","mm.foundati...
roxer/angular_raills_example
vendor/assets/javascripts/angular-foundation/mm-foundation.js
JavaScript
mit
112,074
/** * @license AngularJS v1.6.1 * (c) 2010-2016 Google, Inc. http://angularjs.org * License: MIT */ (function() {'use strict'; function isFunction(value) {return typeof value === 'function';}; /* global toDebugString: true */ function serializeObject(obj) { var seen = []; return JSON.stringify(obj, func...
rootzoll/konfetti-app
www/lib/angular-loader/angular-loader.js
JavaScript
gpl-3.0
17,265
/** * @author Mat Groves http://matgroves.com/ @Doormat23 * original filter: https://github.com/evanw/glfx.js/blob/master/src/filters/fun/dotscreen.js */ /** * * This filter applies a dotscreen effect making display objects appear to be made out of black and white halftone dots like an old printer * @class DotSc...
racoonsmakeokayfriends/pixi.js
src/pixi/filters/DotScreenFilter.js
JavaScript
mit
2,309
/* * /MathJax/localization/br/HTML-CSS.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://www.apache.org/licen...
bdh1011/wau
venv/lib/python2.7/site-packages/notebook/static/components/MathJax/localization/br/HTML-CSS.js
JavaScript
mit
1,214
define( "dijit/_editor/nls/zh-tw/LinkDialog", ({ createLinkTitle: "鏈結內容", insertImageTitle: "影像內容", url: "URL:", text: "說明:", target: "目標:", set: "設定", currentWindow: "現行視窗", parentWindow: "上層視窗", topWindow: "最上面的視窗", newWindow: "新視窗" }) );
Caspar12/zh.sw
zh.web.site.admin/src/main/resources/static/js/dojo/dijit/_editor/nls/zh-tw/LinkDialog.js.uncompressed.js
JavaScript
apache-2.0
319
/*! * jQuery UI Effects Scale 1.8.23 * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Effects/Scale * * Depends: * jquery.effects.core.js */ (function( $, undefined ) { $.effects.puf...
Elettrotecnica/altered
www/resources/javascript/jquery-ui/development-bundle/ui/jquery.effects.scale.js
JavaScript
gpl-3.0
6,952
const inherits = require('inherits'); const ColumnCompiler_Oracle = require('../../oracle/schema/columncompiler'); import {assign} from 'lodash'; function ColumnCompiler_Oracledb() { ColumnCompiler_Oracle.apply(this, arguments); } inherits(ColumnCompiler_Oracledb, ColumnCompiler_Oracle); assign(Colum...
EdwardStudy/myghostblog
versions/1.25.7/node_modules/knex/src/dialects/oracledb/schema/columncompiler.js
JavaScript
mit
657
describe('uniqueEmail directive', function() { var Users, $scope, form; function setTestValue(value) { $scope.model.testValue = value; $scope.$digest(); } beforeEach(function() { // Mockup Users resource angular.module('mock-Users', []).factory('Users', function() { Users = jasmine.creat...
RunForYourLife/wallhack
ejemplos/angular-app/client/test/unit/app/admin/users/uniqueEmail.spec.js
JavaScript
mit
1,770
'use strict'; /*jshint expr: true*/ var expect = require('chai').expect; var path = require('path'); var nodeModulesPath = require('./'); describe('cli/node-module-path.js', function() { afterEach(function() { delete process.env.EMBER_NODE_PATH; }); it('nodeModulesPath() should return the local node_m...
mo-norant/FinHeartBel
website/node_modules/node-modules-path/test.js
JavaScript
gpl-3.0
1,872
(function( $ ) { module( "slider: events" ); //Specs from http://wiki.jqueryui.com/Slider#specs //"change callback: triggers when the slider has stopped moving and has a new // value (even if same as previous value), via mouse(mouseup) or keyboard(keyup) // or value method/option" test( "mouse based interaction", fun...
yuyang545262477/Resume
项目三jQueryMobile/bower_components/jquery-ui/tests/unit/slider/slider_events.js
JavaScript
mit
4,211
'use strict'; var utils = this.utils || {}; utils.status = (function() { // This constant is essential to resolve what is the path of the CSS file // that defines the animations //var FILE_NAME = 'status'; // How many milliseconds is displayed the status component by default var DISPLAYED_TIME = 2000; ...
soapdog/enyo-gaia-lib
vendor/js/status.js
JavaScript
mpl-2.0
4,285
var parse = require('../parse/index.js') /** * @category Quarter Helpers * @summary Return the last day of a year quarter for the given date. * * @description * Return the last day of a year quarter for the given date. * The result will be in the local timezone. * * @param {Date|String|Number} date - the origi...
prasanthkumaray/aa
src/node_modules/date-fns/last_day_of_quarter/index.js
JavaScript
mit
817
// Copyright 2011 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
zero-rp/miniblink49
v8_7_5/test/mjsunit/boolean.js
JavaScript
apache-2.0
3,186
var util = require('util'); var path = require('path'); var fs = require('../../util/fs'); var url = require('url'); var request = require('request'); var Q = require('q'); var mout = require('mout'); var junk = require('junk'); var Resolver = require('./Resolver'); var download = require('../../util/download'); var ex...
nikste/visualizationDemo
zeppelin-web/node_modules/bower/lib/core/resolvers/UrlResolver.js
JavaScript
apache-2.0
8,832
// Copyright 2014 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...
ijmccallum/myWebsite
www/experiments/polymer/components/web-animations-js/src/animation-constructor.js
JavaScript
mit
4,906
/** * archiver-utils * * Copyright (c) 2012-2014 Chris Talkington, contributors. * Licensed under the MIT license. * https://github.com/archiverjs/node-archiver/blob/master/LICENSE-MIT */ var fs = require('graceful-fs'); var path = require('path'); var _ = require('lodash'); var glob = require('glob')...
Moccine/global-service-plus.com
web/libariries/bootstrap/node_modules/archiver-utils/file.js
JavaScript
mit
6,673
"use strict"; var _foob, _foob$test; (_foob = foob).add.apply(_foob, babelHelpers.toConsumableArray(numbers)); (_foob$test = foob.test).add.apply(_foob$test, babelHelpers.toConsumableArray(numbers));
tav/mu-babel
test/fixtures/transformation/es6-spread/contexted-method-call-single-arg/expected.js
JavaScript
mit
202
module.exports = globSync globSync.GlobSync = GlobSync var fs = require('fs') var rp = require('fs.realpath') var minimatch = require('minimatch') var Minimatch = minimatch.Minimatch var Glob = require('./glob.js').Glob var util = require('util') var path = require('path') var assert = require('assert') var isAbsolute...
migua1204/jikexueyuan
极客学院/极客学院首页/jkxy/node_modules/glob/sync.js
JavaScript
apache-2.0
11,701
//// [functionExpressionReturningItself.ts] var x = function somefn() { return somefn; }; //// [functionExpressionReturningItself.js] var x = function somefn() { return somefn; }; //// [functionExpressionReturningItself.d.ts] declare var x: () => any;
basarat/TypeScript
tests/baselines/reference/functionExpressionReturningItself.js
JavaScript
apache-2.0
264
/** * The MIT License * * Copyright (c) 2010 Adam Abrons and Misko Hevery http://getangular.com * * 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...
tmthrgd/pagespeed-libraries-cdnjs
packages/angular.js/0.9.16/angular-mocks.js
JavaScript
mit
12,210
'use strict'; /*global require*/ var assert = require('assert'), utils = require('./../public/src/utils.js'); describe('Utility Methods', function(){ describe('username validation', function(){ it('accepts latin-1 characters', function(){ var username = "John\"'-. Doeäâèéë1234"; assert(utils.isUserNameVali...
haxejs/NodeBB
tests/utils.js
JavaScript
gpl-3.0
1,081
module.exports = function(hljs) { var LASSO_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_.]*'; var LASSO_ANGLE_RE = '<\\?(lasso(script)?|=)'; var LASSO_CLOSE_RE = '\\]|\\?>'; var LASSO_KEYWORDS = { literal: 'true false none minimal full all void and or not ' + 'bw nbw ew new cn ncn lt lte gt gte eq neq rx nr...
mo-group/angular-sharing
node_modules/highlight.js/lib/languages/lasso.js
JavaScript
mit
5,376
// Copyright 2009 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...
AppScale/appinventor
war/closure-library-20120710-r2029/closure/goog/ui/media/youtube.js
JavaScript
mit
13,111
;(function (root, factory, undef) { if (typeof exports === "object") { // CommonJS module.exports = exports = factory(require("./core"), require("./x64-core"), require("./sha3"), require("./hmac")); } else if (typeof define === "function" && define.amd) { // AMD define(["./core", "./x64-core", "./sha3", "./h...
ByteCodeTeam/BitAsean-Wallet
www/lib/crypto-js/hmac-sha3.js
JavaScript
gpl-3.0
461
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "PG", "PTG" ], "DAY": [ "Ahad", "Isnin...
firepick1/firenodejs
www/lib/angular/i18n/angular-locale_ms.js
JavaScript
mit
2,204
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("uicolor","lv",{title:"UI krāsas izvēle",preview:"Priekšskatījums",config:"Ielīmējiet šo rindu jūsu config.js failā",predefined:"Predefinēti krāsu ko...
bmmg888/moodlemobile2
www/lib/ckeditor/plugins/uicolor/lang/lv.js
JavaScript
apache-2.0
344
Monocle.Controls.Contents = function (reader) { var API = { constructor: Monocle.Controls.Contents } var k = API.constants = API.constructor; var p = API.properties = { reader: reader } function createControlElements() { var div = reader.dom.make('div', 'controls_contents_container'); contentsF...
WebStepStavanger/OpenBook
source/client/vendor/javascript/monocle/monoctrl.js
JavaScript
mit
24,347
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'docprops', 'bs', { bgColor: 'Background Color', bgFixed: 'Non-scrolling (Fixed) Background', // MISSING bgImage: 'Background Image URL', // MISSIN...
basiljose1/byjcrm
libraries/jquery/ckeditor/plugins/docprops/lang/bs.js
JavaScript
apache-2.0
1,693
(function () { function RunningInNode () { return( (typeof require) == "function" && (typeof exports) == "object" && (typeof module) == "object" && (typeof __filename) == "string" && (typeof __dirname) == "string" ); } if (!RunningInNode()) { if (!this.Tautologistics) this.Tautologistics = {};...
jlmart88/highfrequencytimecode
timecodeprocessor/node/node_modules/jquery/node_modules/htmlparser/pulls/node-htmlparser/tests/01-basic.js
JavaScript
mit
1,267