code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
/** * Copyright (c) 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 */ import invariant from 'shared/invariant'; // Renderers that don't support microtasks // can re-export everything from...
mosoft521/react
packages/react-reconciler/src/ReactFiberHostConfigWithNoMicrotasks.js
JavaScript
mit
662
define(function() { var ctor = function () { }; return ctor; });
FleetwoodFernandez/dev_rd1
app/viewmodels/home.js
JavaScript
mit
79
/** @module ember @submodule ember-views */ import { inspect } from 'ember-utils'; import { Mixin, get, isNone, assert } from 'ember-metal'; import { MUTABLE_CELL } from '../compat/attrs'; function validateAction(component, actionName) { if (actionName && actionName[MUTABLE_CELL]) { actionName = actionName.val...
rfsv/ember.js
packages/ember-views/lib/mixins/action_support.js
JavaScript
mit
3,924
// [VexFlow](http://vexflow.com) - Copyright (c) Mohit Muthanna 2010. // Author Larry Kuhns 2011 import { StaveModifier } from './stavemodifier'; export class StaveSection extends StaveModifier { static get CATEGORY() { return 'stavesection'; } constructor(section, x, shift_y) { super(); this.setAttribut...
Huji/vexflow
src/stavesection.js
JavaScript
mit
1,501
module.exports = adduser var uuid = require("node-uuid") , crypto try { } catch (ex) {} function sha (s) { return crypto.createHash("sha1").update(s).digest("hex") } function adduser (username, password, email, cb) { if (!crypto) crypto = require("crypto") password = ("" + (password || "")).trim() if (!...
birdsarah/appjs-browserhistory
node_modules/npm/node_modules/npm-registry-client/lib/adduser.js
JavaScript
mit
3,327
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<a4fd2ef174e1953094da46d80d9685b7>> * @flow * @lightSyntaxTransform * @nogrep */ /* eslint-disabl...
voideanvalue/relay
packages/react-relay/relay-hooks/__tests__/__generated__/useRefetchableFragmentNodeTestUserQueryWithArgsQuery.graphql.js
JavaScript
mit
5,221
// // The Box module defines algorithms for dealing with css boxes // module.exports = (function(window, document) { // Original code licensed by Adobe Systems Incorporated under the Apache License 2.0. // https://github.com/adobe-webplatform/brackets-css-shapes-editor/blob/master/thirdparty/CSSShapesEditor.js#L44...
delebash/css-grid-polyfill
src/core/css-box.js
JavaScript
mit
2,283
/** * 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 */ import type {Fiber} from 'react-reconciler/src/ReactInternalTypes'; import type {FiberRoot} from 'react-reconciler/src...
ericyang321/react
packages/react-test-renderer/src/ReactTestRenderer.js
JavaScript
mit
15,409
var nixt = require('nixt') var should = require('should') var pkg = require('../package.json') var endpoint = typeof process.env.ENDPOINT !== 'undefined' ? ' -e ' + process.env.ENDPOINT + ' ' : ' ' var surge = 'node ' + pkg.bin + endpoint var opts = { colors: false, newlines: false } describe('surge', function ()...
wisc/spectacle-caching
node_modules/surge/test/basic.js
JavaScript
mit
4,969
'use strict'; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) {...
pborel/polisee
node_modules/material-ui/lib/select-field.js
JavaScript
mit
4,393
;(function(){ 'use strict'; angular .module('<%= slugifiedAppName %>', [ 'ngCookies', 'ngResource', 'ngSanitize', 'restangular', 'btford.socket-io', 'ui.router', 'ui.bootstrap', 'core', 'authentication', 'administration' ]) .run( run ); /* @inject */ function run($rootScope, $location, A...
joelcoxokc/slush-builder
templates/app/clients/old__js/client/app/app.js
JavaScript
mit
643
var encoding; (function (encoding) { // TODO: encoding.ISO_8859_1 = System.Text.Encoding.Default; encoding.US_ASCII = System.Text.Encoding.ASCII; encoding.UTF_16 = System.Text.Encoding.Unicode; encoding.UTF_16BE = System.Text.Encoding.BigEndianUnicode; // TODO: encoding.UTF_16LE = System.Te...
zhongzf/nativescript-dotnet-runtime
wpf-runtime/app/tns_modules/text/text.js
JavaScript
mit
449
'use strict'; module.exports = function(kbox, drupal, appName) { var _ = require('lodash'); var taskOpts = { name: 'drush-version', kind: 'string', description: 'The version of drush that you want.' }; var drushVersions = _.pluck(drupal, 'drush'); // Add an option kbox.create.add(appName, {...
mosswoodcreative/cambium
node_modules/kalabox-plugin-drush/lib/create.js
JavaScript
mit
853
import Stylis from 'stylis/stylis.min'; import _insertRulePlugin from 'stylis-rule-sheet'; import React, { cloneElement, createContext, Component, createElement } from 'react'; import { isElement, isValidElementType, ForwardRef } from 'react-is'; import memoize from 'memoize-one'; import stream from 'stream'; import Pr...
extend1994/cdnjs
ajax/libs/styled-components/4.0.0-beta.11.3/styled-components-macro.esm.js
JavaScript
mit
76,210
/*! * jQuery JavaScript Library v1.10.0 -wrap,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-05-26T2...
eric-seekas/jquery-builder
dist/1.10.0/jquery-ajax-wrap.js
JavaScript
mit
238,913
/* 7. Write an expression that checks if given positive integer number n (n ≤ 100) is prime. E.g. 37 is prime. */ taskName = "7. Prime number"; function Main(bufferElement) { var integer = ReadLine("Enter a integer: ", GetRandomInt(1, 100)); SetSolveButton(function() { ConsoleClear(); ...
TelerikAcademy/flextry-Telerik-Academy
Web Design & Development/3. JavaScript Fundamentals/02. Operators and Expressions/07. Prime number/script.js
JavaScript
mit
909
var Fiber = Npm.require('fibers'); var Future = Npm.require('fibers/future'); var PHASE = { QUERYING: "QUERYING", FETCHING: "FETCHING", STEADY: "STEADY" }; // Exception thrown by _needToPollQuery which unrolls the stack up to the // enclosing call to finishIfNeedToPollQuery. var SwitchedToQuery = function () {}...
jagi/meteor
packages/mongo/oplog_observe_driver.js
JavaScript
mit
38,744
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageLeakRemove = (props) => ( <SvgIcon {...props}> <path d="M10 3H8c0 .37-.04.72-.12 1.06l1.59 1.59C9.81 4.84 10 3.94 10 3zM3 4.27l2.84 2.84C5.03 7.67 4.06 8 3 8v2c1.61 0 3.09-.55 4.27-1.46L8.7 9.97C7.14 11.24...
rhaedes/material-ui
src/svg-icons/image/leak-remove.js
JavaScript
mit
876
var EventEmitter = require('events').EventEmitter, inherits = require('util').inherits; var StreamSearch = require('streamsearch'); var B_DCRLF = Buffer.from('\r\n\r\n'), RE_CRLF = /\r\n/g, RE_HDR = /^([^:]+):[ \t]?([\x00-\xFF]+)?$/, MAX_HEADER_PAIRS = 2000, // from node's http.js MAX_HEADER_SIZE ...
AntonyThorpe/knockout-apollo
tests/node_modules/dicer/lib/HeaderParser.js
JavaScript
mit
2,942
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'contextmenu', 'bn', { options: 'Context Menu Options' // MISSING });
proxygear/exo_cms
vendor/assets/javascripts/ckeditor/plugins/contextmenu/lang/bn.js
JavaScript
mit
250
/** * Compiled inline version. (Library mode) */ /*jshint smarttabs:true, undef:true, latedef:true, curly:true, bitwise:true, camelcase:true */ /*globals $code */ (function(exports, undefined) { "use strict"; var modules = {}; function require(ids, callback) { var module, defs = []; for (var i = 0; i < id...
alexber127/StCms-v3.0
assets/tmce/plugins/spellchecker/plugin.js
JavaScript
mit
15,227
"use strict"; var Trait = require("traits").Trait, tBodyArguments = require("./tBodyArguments"); module.exports = function (withAlert, withScene) { var values = [ { name: "on", type: "bool", optional: true }, { name: "bri", t...
nikkis/OrchestratorJS
resources/tests/node_modules/node-hue-api/hue-api/commands/traits/tLightStateBody.js
JavaScript
mit
2,005
/*! @name videojs-contrib-ads @version 6.7.0 @license Apache-2.0 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('video.js'), require('global/window'), require('global/document')) : typeof define === 'function' && define.amd ? define([...
cdnjs/cdnjs
ajax/libs/videojs-contrib-ads/6.7.0/videojs.ads.js
JavaScript
mit
90,242
/*! * VisualEditor DataModel DocumentNode class. * * @copyright 2011-2014 VisualEditor Team and others; see http://ve.mit-license.org */ /** * DataModel document node. * * @class * @extends ve.dm.BranchNode * * @constructor * @param {ve.dm.BranchNode[]} [children] Child nodes to attach */ ve.dm.DocumentNod...
felixonmars/app
extensions/VisualEditor/lib/ve/src/dm/nodes/ve.dm.DocumentNode.js
JavaScript
gpl-2.0
844
/*Image Preload*/ jQuery(function() { jQuery.fn.image_preload = function(a) { function i(d) { if (f[d] == false) { g++; a.oneachload(b[d]); f[d] = true } if (a.imagedelay == 0 && a.delay == 0) jQuery(b[d]).css("visi...
sniezekjp/prod-fs
wp-content/themes/reatro/reatro/js/jquery.preload.js
JavaScript
gpl-2.0
2,137
function initMLRichEditor(el, textarea) { var $el = $(el), $textarea = $(textarea) $el.on('setLocale.oc.multilingual', function(e, locale, localeValue){ if (typeof localeValue === 'string' && $textarea.data('redactor')) { $textarea.redactor('code.set', localeValue); } ...
betes-curieuses-design/AllianceEducation
plugins/rainlab/translate/formwidgets/mlricheditor/assets/js/mlswitcher.js
JavaScript
gpl-2.0
444
(function($) { $.fn.setAsEditor = function(selector) { selector = selector || '.BodyBox'; // If editor can be loaded, add class to body $('body').addClass('editor-active'); /** * Determine editor format to load, and asset path, default to Wysiwyg */ var ed...
wmdcms/vanilla
plugins/editor/js/editor.js
JavaScript
gpl-2.0
90,342
'use strict'; var React = require('react'); var PureRenderMixin = require('react-addons-pure-render-mixin'); var SvgIcon = require('../../svg-icon'); var NotificationTimeToLeave = React.createClass({ displayName: 'NotificationTimeToLeave', mixins: [PureRenderMixin], render: function render() { return Reac...
fernando-jascovich/vagrant-manager
node_modules/material-ui/lib/svg-icons/notification/time-to-leave.js
JavaScript
gpl-2.0
812
tinyMCE.addI18n('gu.emotions_dlg',{cry:"Cry",cool:"Cool",desc:"Emotions",title:"Insert emotion",yell:"Yell",wink:"Wink",undecided:"Undecided",tongue_out:"Tongue out",surprised:"Surprised",smile:"Smile",sealed:"Sealed",money_mouth:"Money mouth",laughing:"Laughing",kiss:"Kiss",innocent:"Innocent",frown:"Frown",foot_in_mo...
jewsroch/sf-photos
zp-core/zp-extensions/tiny_mce/plugins/emotions/langs/gu_dlg.js
JavaScript
gpl-2.0
366
/* * Copyright (C) 2011 Flamingo Project (http://www.cloudine.io). * * 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 3 of the License, or * (at your option) any later versio...
EXEM-OSS/Flamingo2
flamingo2-web/src/main/webapp/resources/app/view/batch/Job.js
JavaScript
gpl-3.0
1,573
var controller = {}; controller.isLoading = true; controller.lotteryID = utilService.getUrlVar('lotteryID'); controller.wxOpenID = utilService.getUrlVar('wxOpenID'); controller.uniqueID = utilService.getUrlVar('uniqueID'); controller.from = utilService.getUrlVar('from'); controller.openLottery = function () { lo...
ColgateKas/cms
source/SiteServer.Web/SiteFiles/assets/weixin/lottery/scripts/bigWheelController.js
JavaScript
gpl-3.0
4,706
/*jslint evil: true */ var WaveDrom = { timer: 0, lane: { xs : 20, // tmpgraphlane0.width ys : 20, // tmpgraphlane0.height xg : 120, // tmpgraphlane0.x // yg : 0, // head gap yh0 : 0, // head gap title yh1 : 0, // head gap yf0 : 0, // foot gap yf1 ...
orakle/BeagleLogic
webapp/bower_components/wavedrom/src/WaveDrom.js
JavaScript
gpl-3.0
37,932
var mozlog = require('mozlog'); var config = require('../../../server/lib/configuration'); mozlog.config(config.get('logging'));
riadhchtara/fxa-password-manager
tests/server/helpers/init-logging.js
JavaScript
mpl-2.0
130
window.addEventListener("load", function () { var a = document.querySelector("a.PostLogoutRedirectUri"); if (a) { window.location = a.href; } });
mastreeno/Merp
src/Merp.Web.Auth/wwwroot/js/signout-redirect.js
JavaScript
agpl-3.0
166
/* global describe, it, expect */ (function() { 'use strict'; var root = this; root.define([], function() { describe('In Roboblocks.Blocks.zum_led block', function () { it('generates expected default Arduino code', function () { expect( true ).to.equal( true ); var bool = Blockly.Block.obtain(Blockl...
bq/roboblocks
test/spec/zum_led.js
JavaScript
lgpl-3.0
644
// Copyright 2011, 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 applicabl...
gileze33/google-api-adwords-js
js/adwordsapi/examples/google/ads/adwords/v201008/GetAllBulkMutateJobs.js
JavaScript
apache-2.0
4,610
/*! * Copyright 2019 Hitachi Vantara. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
dkincade/pentaho-kettle
plugins/file-open-save-new/core/src/main/javascript/app/components/folder/folder.component.js
JavaScript
apache-2.0
7,753
/*jshint asi:true,expr:true,unused:false,newcap:false*/ /*global Fixture,Fact,Skip,Trait,Async,Data,Assert,Mocks,Test,Record,Stubs,Import,ImportJson,MockedImport*/ /* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
TribeMedia/aura
aura-components/src/test/javascript/ui/panelPositioning/constraintTests.js
JavaScript
apache-2.0
6,289
$(function() { $('#side-menu').metisMenu(); }); //Loads the correct sidebar on window load, //collapses the sidebar on window resize. // Sets the min-height of #page-wrapper to window size $(function() { $(window).bind("load resize", function() { topOffset = 50; width = (this.window.innerWidth...
sebastian-aranda/helpycar-webpage
user/dist/js/sb-admin-2.js
JavaScript
apache-2.0
1,180
var x = { a: 10 }; var y = "a"; var z; z = "a" in x; z = y in x; z = 0; if ("a" in x) ++z; if (y in x) ++z;
ericlu88/jscomp
tests/in.js
JavaScript
apache-2.0
115
var express = require('express'); var Route = express.Router(); var config = require('../config/config'); var passport = require('passport'); var lodash = require('lodash') var Auth = require(config.root + '/middleware/authorization'); var fs = require('fs'); var userController = require(config.root + '/controllers/us...
universsky/express4-bootstrap-starter
app/routes/index.js
JavaScript
apache-2.0
2,572
/** * @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 */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js export default [ 'kab',...
N03297857/2017Fall
node_modules/@angular/common/locales/kab.js
JavaScript
apache-2.0
1,611
describe('Component: pfTableView', function () { var $scope; var $compile; var element; // load the controller's module beforeEach(function () { module('patternfly.views', 'patternfly.table', 'table/tableview/table-view.html', 'views/empty-state.html', 'pagination/pagination.html'); }); beforeEach(i...
AllenBW/angular-patternfly
test/table/tableview/table-view.spec.js
JavaScript
apache-2.0
8,812
"use strict"; function Shape(gl , program) { this.gl = gl; this.program = program; this.id = "Unknown"; var pos_matrix; var u_pos_matrix; var mov_matrix; var nor_matrix; var u_nor_matrix; this.shapes = []; this.shape_indices = []; this.shape_normals = []; this.shape...
wsdhart/webgl
chapter12/shape.js
JavaScript
bsd-2-clause
5,004
// Copyright (C) 2015 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-properties-of-typedarray-prototype-objects description: > The prototype of Uint8ClampedArray.prototype is %TypedArrayPrototype%. info: | The value of the [[Prototype]] in...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/TypedArrayConstructors/Uint8ClampedArray/prototype/proto.js
JavaScript
bsd-2-clause
576
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 26.1.11 description: > Reflect.ownKeys is configurable, writable and not enumerable. info: | 26.1.11 Reflect.ownKeys ( target ) 17 ECMAScript Standard Built-in Ob...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Reflect/ownKeys/ownKeys.js
JavaScript
bsd-2-clause
501
'use strict'; angular.module('ontimeApp') .controller('AuditsController', function ($scope, $filter, AuditsService) { $scope.onChangeDate = function () { var dateFormat = 'yyyy-MM-dd'; var fromDate = $filter('date')($scope.fromDate, dateFormat); var toDate = $filter('dat...
sandor-balazs/nosql-java
oracle/src/main/webapp/scripts/app/admin/audits/audits.controller.js
JavaScript
bsd-2-clause
1,298
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: > Error when accessing an iterator result's `value` property (not closing iterator) esid: sec-promise.race info: | 11. Let result be PerformPromiseRace(it...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Promise/race/iter-next-val-err-no-close.js
JavaScript
bsd-2-clause
1,338
// Copyright (C) 2018 Rick Waldron. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-atomics.compareexchange description: > Test range checking of Atomics.compareExchange on arrays that allow atomic operations includes: [testAtomics.js, testBigIntTypedArray.j...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Atomics/compareExchange/bigint/bad-range.js
JavaScript
bsd-2-clause
829
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
camsong/react
src/test/__tests__/ReactTestUtils-test.js
JavaScript
bsd-3-clause
12,859
(function($){ $(function(){ (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document,...
didu007/testZf2App
public/js3/success.js
JavaScript
bsd-3-clause
5,309
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const impl = utils.implSymbol; const HTMLMediaElement = require("./HTMLMediaElement.js"); function HTMLVideoElement() { throw new TypeError("Illegal constructor"); } Object.setPrototypeOf(HTMLVideoElement.prototy...
devierol/heroku-gjs
node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js
JavaScript
bsd-3-clause
5,207
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const impl = utils.implSymbol; const HTMLElement = require("./HTMLElement.js"); function HTMLFrameElement() { throw new TypeError("Illegal constructor"); } Object.setPrototypeOf(HTMLFrameElement.prototype, HTMLEl...
devierol/heroku-gjs
node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js
JavaScript
bsd-3-clause
8,250
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
elquatro/react
src/addons/ReactWithAddons.js
JavaScript
bsd-3-clause
1,959
'use strict'; function randomString (length, chars) { let mask = ''; if (chars.indexOf('a') > -1) mask += 'abcdefghijklmnopqrstuvwxyz'; if (chars.indexOf('A') > -1) mask += 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; if (chars.indexOf('#') > -1) mask += '0123456789'; if (chars.indexOf('!') > -1) mask += '~`!@#$%^&*()_+-={...
Teodorwallberg/cgm-remote-monitor
tests/fixtures/api3/utils.js
JavaScript
agpl-3.0
515
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
ryanflowers/RyanFlowers
node_modules/gulp/node_modules/gulp-util/node_modules/multipipe/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_transform.js
JavaScript
mit
7,352
/** * Error codes used by Apple * @see <a href="https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingWIthAPS/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW4">The Binary Interface and Notification Formats</a> */ var Errors = { 'noE...
ArVan/av-push
node_modules/apn/lib/errors.js
JavaScript
mit
653
// Copyright 2018 Mathias Bynens. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- author: Mathias Bynens description: > Some binary properties used to be part of the Unicode property escapes proposal but were later removed. They must not be supported. esid: sec-sta...
mathiasbynens/unicode-property-escapes-tests
basic-tests/unsupported-binary-property-Hyphen-negated.js
JavaScript
mit
487
// XXX should check error codes var failure = function (test, code, reason) { return function (error, result) { test.equal(result, undefined); test.isTrue(error && typeof error === "object"); if (error && typeof error === "object") { if (typeof code === "number") { test.instanceOf(error, Met...
jrudio/meteor
packages/ddp/livedata_tests.js
JavaScript
mit
28,617
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { BadgeModule } from '../badge/badge.module'; import { IconModule } from '../icon/icon.module'; import { Tab } from './tab'; import { TabButton } from './tab-button'; import { TabHighlight } from './tab-highlight'; import {...
fabiencheylac/kolp
node_modules/ionic-angular/es2015/components/tabs/tabs.module.js
JavaScript
mit
1,365
/** * A wrapper around a native element inside of a View. * * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM * element. */ // Note: We don't expose things like `Injector`, `ViewContainer`, ... here, // i.e. users have to ask for what they need. With that, we can build...
kagos/wye
node_modules/angular2/es6/prod/src/core/linker/element_ref.js
JavaScript
mit
500
var MarchingOrder = (() => { 'use strict'; const MENU_CMD = '!showMarchingOrderMenu'; const FOLLOW_CMD = '!marchingOrderFollow'; const STOP_ALL_CMD = '!marchingOrderStopAll'; const DEFAULT_USE_CMD = '!marchingOrderUseDefault'; const DEFAULT_SET_CMD = '!marchingOrderSetDefault'; /** * Makes tokens fol...
shdwjk/roll20-api-scripts
MarchingOrder/2.3/marchingOrder.js
JavaScript
mit
11,737
var common = require("./common") , odbc = require("../") , assert = require("assert") , openCallback = 0 , closeCallback = 0 , openCount = 10 , connections = [] ; for (var x = 0; x < openCount; x++ ) { (function () { var db = new odbc.Database(); connections.push(db); db.open(common.connectionString,...
ifxdb/node-ifx_db
test/test-multi-open-close.js
JavaScript
mit
738
export default require('@trails/generator-util').service
konstantinzolotarev/generator-trails
src/service/index.js
JavaScript
mit
58
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * Namespace: OpenLayers.Date * Contains implementations of Date.pa...
flavour/porto
static/scripts/gis/openlayers/lib/OpenLayers/BaseTypes/Date.js
JavaScript
mit
5,019
"use strict"; var config = require("./../config"); var utils = require("./../utils"); var logger = require("./../logger").logger; var fs = require("fs"); var _ = require("lodash"); var path = require("path"); var info = { /** * Version info * @param...
tonycaovn/AnatomyOfBackbone2
node_modules/browser-sync/lib/cli/cli-info.js
JavaScript
mit
1,686
/** * @fileoverview Tests for no-fixed rule * @author Beau Gunderson <beau@beaugunderson.com> */ "use strict"; let Solium = require("solium"); let wrappers = require("./utils/wrappers"); let toContract = wrappers.toContract; let userConfig = { rules: { "security/no-fixed": "error" } }; // Genera...
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/solium-plugin-security/test/no-fixed.js
JavaScript
mit
3,837
// Copyright 2013 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 ...
x684867/nemesis
src/node/deps/v8/test/mjsunit/regress/regress-crbug-245480.js
JavaScript
mit
3,158
/** * @fileoverview Firebase client Auth API. * Version: 3.6.10 * * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
briantruongnguyen/CSE_170_High_Qu
node_modules/firebase/externs/firebase-client-auth-externs.js
JavaScript
mit
17,511
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
arunetm/ChakraCore_0114
test/Operators/OpEq.js
JavaScript
mit
746
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
arunetm/ChakraCore_0114
test/Array/nativeFloatArray_shift_unshift.js
JavaScript
mit
532
/* * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license */ /** * Normalized interval. * * @interface Highcharts.NormalizedIntervalObject *//** * The interval in axis values (ms). * * @name Highcharts.NormalizedIntervalObject#unitRange * @type {number} *//** * The count. * * @name Hi...
cdnjs/cdnjs
ajax/libs/highcharts/7.1.1/es-modules/parts/Time.js
JavaScript
mit
28,540
$_L(["java.util.EventListener"],"$wt.internal.SWTEventListener",null,function(){ $_I($wt.internal,"SWTEventListener",java.util.EventListener); });
royleexhFake/mayloon-portingtool
sources/net.sf.j2s.lib/j2slib/org/eclipse/swt/internal/SWTEventListener.js
JavaScript
epl-1.0
153
$_L(["$wt.events.FocusListener"],"$wt.events.FocusAdapter",null,function(){ c$=$_T($wt.events,"FocusAdapter",null,$wt.events.FocusListener); $_V(c$,"focusGained", function(e){ },"$wt.events.FocusEvent"); $_V(c$,"focusLost", function(e){ },"$wt.events.FocusEvent"); });
royleexhFake/mayloon-portingtool
sources/net.sf.j2s.lib/j2slib/org/eclipse/swt/events/FocusAdapter.js
JavaScript
epl-1.0
281
/* * JavaScript for WikiEditor Table of Contents */ jQuery( document ).ready( function ( $ ) { // Add table of contents module $( '#wpTextbox1' ).wikiEditor( 'addModule', 'toc' ); } );
pravinpatil3009/wikieducator
extensions/WikiEditor/modules/ext.wikiEditor.toc.js
JavaScript
gpl-2.0
189
SyntaxHighlighter.brushes.Other=function(){this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLinePerlComments,css:'comments'},{regex:/^\-[^\-]{1}.*$/gm,css:'comments'}]};SyntaxHighlighter.brushes.Other.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Other.aliases=['other'];
SPGWhistler/appmobi-docsite
wp-content/plugins/syntax-highlighter-with-add-button-in-editor/scripts/shBrushOther.js
JavaScript
gpl-2.0
304
/** * @defgroup js_pages_search */ /** * @file js/pages/search/SearchFormHandler.js * * Copyright (c) 2014-2016 Simon Fraser University Library * Copyright (c) 2000-2016 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @class SearchFormHandler * * @brief Form h...
DeckOfPandas/journal.nsamr.ac.uk
jsamr/js/pages/search/SearchFormHandler.js
JavaScript
gpl-3.0
6,297
/** * INSPINIA - Responsive Admin Theme * * Inspinia theme use AngularUI Router to manage routing and views * Each view are defined as state. * Initial there are written state for all view in theme. * */ function config($stateProvider, $urlRouterProvider, $ocLazyLoadProvider, IdleProvider, KeepaliveProvider) { ...
tabango94/PlugAndPlayFirmwareGenerator
static/inspinia/angular/js/config.js
JavaScript
gpl-3.0
49,445
define([ "dojo/_base/declare", "dojo/_base/connect", "dojo/_base/lang", "dojo/touch", "dojox/gfx", "dojox/gfx/move", "./BaseShape", "../../common/Util" ], function (declare, connect, lang, touch, gfx, gfxMove, BaseShape, annoUtil) { /** * @author David Lee ...
usersource/tasks
tasks_phonegap/Tasks/plugins/io.usersource.anno/anno_android/assets/www/anno/scripts/anno/draw/shapes/ArrowLine.js
JavaScript
mpl-2.0
17,323
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
tmhorne/celtx
js/tests/js1_5/extensions/regress-306738.js
JavaScript
mpl-2.0
2,242
/* */ var createCompounder = require('./_createCompounder'); var upperCase = createCompounder(function(result, word, index) { return result + (index ? ' ' : '') + word.toUpperCase(); }); module.exports = upperCase;
mscottnelson/grapph
public/jspm_packages/npm/lodash@4.13.1/upperCase.js
JavaScript
agpl-3.0
218
/* * /MathJax/jax/output/SVG/fonts/Gyre-Pagella/fontdata-extra.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 * * htt...
KWZwickau/KREDA-Sphere
Library/MathJax/2.5.0/jax/output/SVG/fonts/Gyre-Pagella/fontdata-extra.js
JavaScript
agpl-3.0
15,163
/* global require */ /* * Copyright (C) 2014 Johannes Baiter <johannes.baiter@gmail.com> * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at yo...
nafraf/spreads
spreadsplug/web/client/src/main.js
JavaScript
agpl-3.0
2,203
// -- // Copyright (C) 2001-2017 OTRS AG, http://otrs.com/ // -- // This software comes with ABSOLUTELY NO WARRANTY. For details, see // the enclosed file COPYING for license information (AGPL). If you // did not receive this file, see http://www.gnu.org/licenses/agpl.txt. // -- "use strict"; var Core = Core || {}; C...
xhoy/otrs
var/httpd/htdocs/js/Core.UI.Accessibility.js
JavaScript
agpl-3.0
3,470
/* * /MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.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 * * ...
KWZwickau/KREDA-Sphere
Library/MathJax/2.5.0/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js
JavaScript
agpl-3.0
917
/** * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'button', 'tt', { selectedLabel: '%1 (Сайланган)' } );
haceneabdessamed/Quran_Text_Editor
plugins/ckeditor/plugins/button/lang/tt.js
JavaScript
lgpl-3.0
255
/* * 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/websiteManagement2/lib/models/capability.js
JavaScript
apache-2.0
1,506
/* * 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 "Lice...
arenadata/ambari
contrib/views/wfmanager/src/main/resources/ui/app/routes/job.js
JavaScript
apache-2.0
3,008
/** * @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 [ [ ['полн.', 'полд.', 'утра', 'дня', 'веч.', 'ночи'], ['полн.', 'полд.', 'утра', ...
rospilot/rospilot
share/web_assets/nodejs_deps/node_modules/@angular/common/locales/extra/ru-UA.js
JavaScript
apache-2.0
849
/** * geostats() is a tiny and standalone javascript library for classification * Project page - https://github.com/simogeo/geostats * Copyright (c) 2011 Simon Georget, http://valums.com * Licensed under the MIT license */ var _t = function(str) { return str; }; var inArray = function(needle, haystack) { for(va...
waans11/incubator-asterixdb
asterixdb/asterix-examples/src/main/resources/tweetbook-demo/static/js/geostats.js
JavaScript
apache-2.0
14,696
/* * Copyright 2011 Software Freedom Conservancy * * 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 applic...
jmt4/Selenium2
javascript/selenium-core/scripts/selenium-api.js
JavaScript
apache-2.0
131,315
$(function() { var Y = YUI().use("profiler", function(Y){ var profile = [ { "namespace": ["sakai", "api", "Security"], "functions": ["saneHTML"] }, { "namespace": ["sakai", "api", "Widgets", "widgetLoader"], ...
jonmhays/3akai-ux
tests/speed/yprofiler/js/main.js
JavaScript
apache-2.0
1,831
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.4/15.4.4/15.4.4.14/15.4.4.14-5-15.js
JavaScript
apache-2.0
718
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-2-2.js
JavaScript
apache-2.0
720
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-2-34.js
JavaScript
apache-2.0
718
define({ root: ({ display: { elevationProfileTitle: "Elevations Profile", showMe: "show me", selectLine: "<span style='font-size:medium'><b>Select</b> a feature in the map.</span>", popupRequirement: "NOTE: the feature must be in a layer with Popups enabled."...
purnachand227/solutions-webappbuilder-widgets
ElevationProfileTable/ElevationProfile/nls/strings.js
JavaScript
apache-2.0
1,922
/** This is a version of Jasmine's boot.js modified to work with specs defined with AMD. The original comments from boot.js follow. Starting with version 2.0, this file "boots" Jasmine, performing all of the necessary initialization before executing the loaded environment and all of a project's specs. This file sho...
hodbauer/cesium
Specs/spec-main.js
JavaScript
apache-2.0
13,316
/* Used for animating and displaying quota information on forms using D3js progress bars. Also used for displaying flavor details on modal- dialogs. Usage: In order to have progress bars that work with this, you need to have a DOM structure like this in your Django template: <div id="your_progress...
coreycb/horizon
horizon/static/horizon/js/horizon.quota.js
JavaScript
apache-2.0
15,470
import toDate from '../../toDate/index.js'; import startOfUTCISOWeek from '../startOfUTCISOWeek/index.js'; import startOfUTCISOWeekYear from '../startOfUTCISOWeekYear/index.js'; import requiredArgs from '../requiredArgs/index.js'; var MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when ...
BigBoss424/portfolio
v8/development/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js
JavaScript
apache-2.0
870
import Ember from "ember"; import { module, test} from 'qunit'; import QUnit from 'qunit'; import ColumnGroupDefinition from 'ember-table/models/column-group-definition'; import ColumnDefinition from 'ember-table/models/column-definition'; var group, firstColumn, secondColumn, thirdColumn; module('column group defini...
nomadop/ember-table
tests/unit/models/column-group-definition-test.js
JavaScript
bsd-3-clause
5,677