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
//// [jsxFactoryAndJsxFragmentFactoryNull.tsx] declare var h: any; <></>; <><span>1</span><><span>2.1</span><span>2.2</span></></>; //// [jsxFactoryAndJsxFragmentFactoryNull.js] h(null, null); h(null, null, h("span", null, "1"), h(null, null, h("span", null, "2.1"), h("span", null, "2...
kitsonk/TypeScript
tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryNull.js
JavaScript
apache-2.0
329
import Component from '@ember/component'; import layout from './template'; import { get, set, observer, setProperties } from '@ember/object'; import C from 'ui/utils/constants'; export default Component.extend({ layout, authConfig: null, isEnabled: null, region: null, init() { this._super(...argument...
westlywright/ui
lib/global-admin/addon/components/azuread-endpoints/component.js
JavaScript
apache-2.0
2,054
/*! * WeX5 v3 (htttp://www.justep.com) * Copyright 2015 Justep, Inc. * Licensed under Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) */ /** * properties type: string, number, boolean, array, object * binds: key是DOM上的属性名称, value是收集到component中的名称 */ define(function(require){ ...
Diaosir/WeX5
UI2/system/components/justep/input/range.config.js
JavaScript
apache-2.0
568
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var index = 0; exports.default = { generate: function generate() { return 'mui-id-' + index++; } }; module.exports = exports['default'];
Maxwelloff/react-football
node_modules/material-ui/lib/utils/unique-id.js
JavaScript
apache-2.0
225
//// [derivedClassTransitivity.ts] // subclassing is not transitive when you can remove required parameters and add optional parameters class C { foo(x: number) { } } class D extends C { foo() { } // ok to drop parameters } class E extends D { foo(x?: string) { } // ok to add optional parameters } var ...
kitsonk/TypeScript
tests/baselines/reference/derivedClassTransitivity.js
JavaScript
apache-2.0
2,039
$(document).ready(function () { setTablePagination(0); getLocationSessionData(); }); function createAuthorizationCode() { var action = "createAuthCodeRequest"; var key = $("#key").val(); var secret = $("#secret").val(); if ((jQuery.trim(key).length > 0) && (jQuery.trim(secret).length > 0)) { ...
WSO2Telco/component-dep
components/jaggery-apps/sandbox/src/main/sandbox/site/themes/default/templates/authorization-api/js/authorization-api.js
JavaScript
apache-2.0
8,165
$(document).ready( function() { $("table.table-striped").each( function(i,o) { $(o).tablesorter(); }); });
GEANT/met
static/js/sort_startup.js
JavaScript
bsd-2-clause
124
Rickshaw.namespace("Rickshaw.Graph.Renderer"); Rickshaw.Graph.Renderer = Rickshaw.Class.create( { initialize: function(args) { this.graph = args.graph; this.tension = args.tension || this.tension; this.graph.unstacker = this.graph.unstacker || new Rickshaw.Graph.Unstacker( { graph: this.graph } ); this.confi...
cwvh/scalable-maker
ui/public/js/Rickshaw.Graph.Renderer.js
JavaScript
bsd-2-clause
3,423
// global variables var listAllScope = ["global", "public", "private", "testMethod", "webService"]; // document ready function $(function () { readScopeCookie(); hideAllScopes(); showScopes(); }); function expandListToClass(liClass) { ...
force2b/ApexDoc
src/org/salesforce/apexdoc/ApexDoc.js
JavaScript
bsd-3-clause
4,472
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. const path = require('path'); const fs = require('fs-extra'); const Handlebars = require('handlebars'); const Build = require('@jupyterlab/builder').Build; const webpack = require('webpack'); const merge = require('w...
jupyter/jupyterlab
examples/federated/core_package/webpack.config.js
JavaScript
bsd-3-clause
6,455
SDPUtil = { iceparams: function (mediadesc, sessiondesc) { var data = null; if (SDPUtil.find_line(mediadesc, 'a=ice-ufrag:', sessiondesc) && SDPUtil.find_line(mediadesc, 'a=ice-pwd:', sessiondesc)) { data = { ufrag: SDPUtil.parse_iceufrag(SDPUtil.find_line(med...
dwanghf/jitsi-meet
modules/xmpp/SDPUtil.js
JavaScript
mit
12,879
/* * RequireJS 'is' plugin * * Usage: * * is!myFeature?module:another * is!~myFeature?module (negation) * * * Features can be set as startup config with * config: { * is: { * var: true * } * } * * Otherwise the feature is assumed to be a moduleId resolving to a boolean. * * Thus to write a d...
Lugribossk/publication-api-experiment
src/main/javascript/lib/require-is/is.js
JavaScript
mit
3,768
/** * Copyright (c) 2015-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. * * * @form...
gunaangs/Feedonymous
node_modules/metro-bundler/src/lib/Terminal.js
JavaScript
mit
5,317
'use strict'; module.exports = function (client) { client.disco.addFeature('urn:xmpp:carbons:2'); client.enableCarbons = function (cb) { return this.sendIq({ type: 'set', enableCarbons: true }, cb); }; client.disableCarbons = function (cb) { return t...
glpenghui/stanza.io
lib/plugins/carbons.js
JavaScript
mit
1,696
/* */ var isObject = require('./_is-object'); require('./_object-sap')('isFrozen', function($isFrozen) { return function isFrozen(it) { return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; }; });
alexandre-spieser/AureliaAspNetCoreAuth
src/AureliaAspNetCoreAuth/wwwroot/jspm_packages/npm/core-js@2.1.0/modules/es6.object.is-frozen.js
JavaScript
mit
216
/*! jQuery UI - v1.9.2 - 2013-05-03 * http://jqueryui.com * Includes: jquery.ui.datepicker-hi.js * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च",...
onlyvicisvicboy/nva
web/demo/cuthtml/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js
JavaScript
mit
1,272
angular.module('app') .controller('MainController', function($scope, $http, $location) { _this = this; this.user; this.session = "ko"; this.login = {status: ''} this.signout = function() { $http.post('/logout') .then(function (res) { ...
benchoufi/PRJ-medtec_sigproc
echopen-leaderboard/SignalProcessingEmulator/echopen/client/js/MainController.js
JavaScript
mit
4,086
/* global EmberDev */ import Controller from '../../controllers/controller'; import Service from '../../system/service'; import { Mixin, get } from 'ember-metal'; import EmberObject from '../../system/object'; import inject from '../../inject'; import { buildOwner } from 'internal-test-helpers'; QUnit.module('Control...
bantic/ember.js
packages/ember-runtime/tests/controllers/controller_test.js
JavaScript
mit
5,037
module.exports={title:"The Mighty",slug:"themighty",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>The Mighty</title><path d="'+this.path+'"/></svg>'},path:"M19.178.001h-4.432L12.05 13.988 9.309.001H4.856c.216.219.334.634.39 1.072v21.21c0 .621-.105 1.383-.425 1.717 1.014-...
cdnjs/cdnjs
ajax/libs/simple-icons/5.24.0/themighty.min.js
JavaScript
mit
662
if (!dojo._hasResource["openils.widget.HoldingCode"]) { dojo.provide("openils.widget.HoldingCode"); dojo.require("dijit.layout.ContentPane"); dojo.require("dijit.form.DropDownButton"); dojo.require("dijit.form.TextBox"); dojo.requireLocalization('openils.serial', 'serial'); /* XXX These variabl...
kidaa/Evergreen
Open-ILS/web/js/dojo/openils/widget/HoldingCode.js
JavaScript
gpl-2.0
9,850
(function() { /* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'wpfilebase', { requires: [ 'iframedialog' ], init : function( editor ) { var me = this; CKEDITOR.dialog.add( 'W...
3dot14/intranet-riobz
wp-content/plugins/wp-filebase/extras/ckeditor/plugin.js
JavaScript
gpl-2.0
1,692
/** * */ //<feature charts> Ext.define("Kitchensink.view.sprite.Column3D", { alias: 'sprite.columnSeries3d', extend: 'Ext.chart.series.sprite.Bar', inheritableStatics: { def: { defaults: { transformFillStroke: true } } }, lastClip: null, ...
gaiaehr/gaiaehr
lib/sencha-touch-2.1.0-gpl/examples/kitchensink/app/view/sprite/Column3D.js
JavaScript
gpl-3.0
2,452
odoo.define('website.s_tabs_options', function (require) { 'use strict'; const options = require('web_editor.snippets.options'); options.registry.NavTabs = options.Class.extend({ isTopOption: true, /** * @override */ start: function () { this._findLinksAndPanes(); return this._s...
ygol/odoo
addons/website/static/src/snippets/s_tabs/options.js
JavaScript
agpl-3.0
5,635
/* Component: ui.customization */ $.extend(UI, { loadCustomization: function() { if ($.cookie('user_customization')) { this.custom = $.parseJSON($.cookie('user_customization')); } else { this.custom = { "extended_concordance": false, "extended_tagmode": false }; this.saveCustomiza...
Mind2mind/MateCat
public/js/cat_source/ui.customization.js
JavaScript
lgpl-3.0
1,916
/* * Copyright 2019 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
naveenbhaskar/gocd
server/webapp/WEB-INF/rails/spec/javascripts/build_summary_observer_spec.js
JavaScript
apache-2.0
3,264
define(['template'], function (template) { function anonymous($data,$filename /**/) { 'use strict'; $data=$data||{}; var $utils=template.utils,$helpers=$utils.$helpers,$escape=$utils.$escape,id=$data.id,$out='';$out+='<div class="comp-box di-o_o-line">\n <div data-o_o-di="'; ...
qqming113/bi-platform
designer/src/main/resources/public/silkroad/src/report/component-box/components/ecui-input-tree-vm-template.js
JavaScript
apache-2.0
451
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("babylonjs")); else if(typeof define === 'function' && define.amd) define("babylonjs-serializers", ["babylonjs"], factory); else if(typeof exports === 'object...
BabylonJS/Babylon.js
dist/previous releases/4.0/serializers/babylon.objSerializer.js
JavaScript
apache-2.0
15,040
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * String.prototype.split(separator, limit): * i) can be transferred to other kinds of objects for use as a method. * separator and limit can be any kinds of object since: * ii) if...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T10.js
JavaScript
apache-2.0
2,624
/**************************************************************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of t...
rasterbrain/box2d-radialgravity-cocos2djs
frameworks/cocos2d-html5/cocos2d/core/cocoa/CCAffineTransform.js
JavaScript
apache-2.0
7,956
// tryJSX var React = require("react"); var Hello = React.createClass({ render: function(){ return ( <div> Watch Webpack & React! </div> ) } }) React.render( <Hello />, document.body )
zhangxx0/jenkins
rxjava-keynote-master/example/webpack/tryJSX.js
JavaScript
apache-2.0
235
// Copyright 2011 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @path ch15/15.2/15.2.4/15.2.4.2/S15.2.4.2_A13.js * @description If the this value is null, return "[object Null]". */ if (Object.prototype.toString.call(null) !== "[object Null]...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.2/15.2.4/15.2.4.2/S15.2.4.2_A13.js
JavaScript
apache-2.0
392
(function() { 'use strict'; angular.module('app.components') .directive('serviceBasicDetails', ServiceBasicDetailsDirective); /** @ngInject */ function ServiceBasicDetailsDirective() { var directive = { restrict: 'AE', scope: { service: '=' }, link: link, template...
sonejah21/api
src/client/app/components/service-basic-details/service-basic-details.directive.js
JavaScript
apache-2.0
787
// This file was procedurally generated from the following sources: // - src/async-generators/yield-star-getiter-sync-not-callable-boolean-throw.case // - src/async-generators/default/async-obj-method.template /*--- description: Throws a TypeError on a non-callable [Symbol.iterator] (boolean) (Async generator method) e...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/object/method-definition/async-gen-yield-star-getiter-sync-not-callable-boolean-throw.js
JavaScript
bsd-2-clause
1,892
/** * Yii validation module. * * This JavaScript module provides the validation methods for the built-in validators. * * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */...
seem-sky/FrameworkBenchmarks
php-yii2/app/vendor/yiisoft/yii2/assets/yii.validation.js
JavaScript
bsd-3-clause
5,938
// addCollapseToAllStackedInlines.js ( function(a) { a(document).ready(function() { //a("div.inline-group").wrapInner("<fieldset class=\"module aligned collapse\"></fieldset>"); a("div.inline-group").each(function(index) { var header = a(this).find('h2').get(0); if(header) { v...
JuliBakagianni/META-SHARE
metashare/static/metashare/js/addCollapseToAllStackedInlines.js
JavaScript
bsd-3-clause
714
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: 1. Evaluate Expression es5id: 12.13_A3_T3 description: Evaluating number expression ---*/ // CHECK#1 try{ throw 10+3; } catch(e){ if (e!==13) $ERROR('#1: Exception ===13(...
PiotrDabkowski/Js2Py
tests/test_cases/language/statements/throw/S12.13_A3_T3.js
JavaScript
mit
1,590
// The `dc.app.searcher` is the core controller for running document searches // from the client side. It's main "view" is the dc.ui.SearchBox. dc.controllers.Searcher = Backbone.Router.extend({ // Error messages to display when your search returns no results. NO_RESULTS : { project : _.t('not_found_project')...
ivarvong/documentcloud
public/javascripts/app/searcher.js
JavaScript
mit
10,649
/* Copyright 2014 Mozilla 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 required by applicable law or agreed...
kabrice/3iSchool
web/library/pdfjs/src/core/ps_parser.js
JavaScript
mit
7,553
/** * @license * Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com) * MIT-licensed (http://opensource.org/licenses/MIT) */ /** * @fileoverview DataHandler implementation for the fractions option. * @author David Eberlein (david.eberlein@ch.sauter-bc.com) */ /*global Dygraph:false */ "use strict"; ...
vhotspur/dygraphs
src/datahandler/default-fractions.js
JavaScript
mit
2,332
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* 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/. */ /** File Name: lexical-006.js Corresponds ...
kostaspl/SpiderMonkey38
js/src/tests/ecma_2/Exceptions/lexical-006.js
JavaScript
mpl-2.0
1,433
(function(global) { "use strict"; const { Float32Array, Float64Array, Object, Reflect, SharedArrayBuffer, WeakMap, assertEq } = global; const { apply: Reflect_apply, construct: Reflect_construct, } = Reflect; const { get: WeakMap_prototype_get, ha...
Yukarumya/Yukarum-Redfoxes
js/src/tests/ecma_7/TypedArray/shell.js
JavaScript
mpl-2.0
4,240
(function() { var namespace = WEBLAB.namespace("WEBLAB.utils.data"); var ArrayFunctions = namespace.ArrayFunctions; var Utils = WEBLAB.namespace("WEBLAB.utils").Utils; if (namespace.MultidimensionalArrayHolder === undefined) { var MultidimensionalArrayHolder = function MultidimensionalArrayH...
r8o8s1e0/ChromeWebLab
Sketchbots/sw/ui/controller/libs/weblab/utils/data/MultidimensionalArrayHolder.js
JavaScript
apache-2.0
3,087
define(["require", "exports"], function(require, exports) { (function (Baz) { Baz.x = "hello"; })(exports.Baz || (exports.Baz = {})); var Baz = exports.Baz; Baz.x = "goodbye"; void 0; })
vcsjones/typescript
tests/baselines/reference/moduleCodegenTest4.amd.js
JavaScript
apache-2.0
214
/** * Install globals into the jsdom namespace. * @param {function} mapFunc This function will be called to get the list of * things to install into the namespace. Should return an object of keys * to values to install. */ export default function(mapFunc) { return function(options) { let map; globa...
mythmon/kitsune
kitsune/sumo/static/sumo/js/tests/fixtures/mochaFixtureHelper.js
JavaScript
bsd-3-clause
732
'use strict'; // ############################################################################# // add a test for creating apphook and trying to copy a page with an apphook var casperjs = require('casper'); var helpers = require('djangocms-casper-helpers'); var globals = helpers.settings; var cms = helpers(casperjs); ...
rsalmaso/django-cms
cms/tests/frontend/integration/copy-apphook-page.js
JavaScript
bsd-3-clause
1,623
define(['./drop'], function(drop) { /** * Gets all but the first element of `array`. * * @static * @memberOf _ * @alias tail * @category Array * @param {Array} array The array to query. * @returns {Array} Returns the slice of `array`. * @example * * _.rest([1, 2, 3]); * // => [2, ...
tomek-f/shittets
require-js-amd/require-zepto-lodash/static/js/lib/lodash-amd/array/rest.js
JavaScript
mit
405
ace.define("ace/snippets/zeek",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}); (function() { ace.require(["ace/snippets/zeek"], function(m) { if (typeof module == "object" && typeof exports == "object" && module...
chrisJohn404/ljswitchboard-static_files
static/js/ace/snippets/zeek.js
JavaScript
mit
456
const set = require('regenerate')(0x3030, 0x30FB, 0x32FF); set.addRange(0x2E80, 0x2E99).addRange(0x2E9B, 0x2EF3).addRange(0x2F00, 0x2FD5).addRange(0x3001, 0x3003).addRange(0x3005, 0x3011).addRange(0x3013, 0x301F).addRange(0x3021, 0x302D).addRange(0x3037, 0x303F).addRange(0x3190, 0x319F).addRange(0x31C0, 0x31E3).addRang...
gusortiz/code_challenges
node_modules/regenerate-unicode-properties/Script_Extensions/Han.js
JavaScript
mit
852
/** * @file * Javascript behaviors for jquery.inputmask integration. */ (function ($, Drupal) { 'use strict'; /** * Initialize input masks. * * @type {Drupal~behavior} */ Drupal.behaviors.yamlFormElementMask = { attach: function (context) { $(context).find('input.js-yamlform-element-ma...
akorkot/copieubl
modules/yamlform/js/yamlform.element.inputmask.js
JavaScript
gpl-2.0
400
// This should give CORRECT on the default problem 'hello'. // // @EXPECTED_RESULTS@: CORRECT if ( process.env.DOMJUDGE ) { console.log('Hello world!'); } else { console.log('DOMJUDGE not defined'); process.exit(1); }
Lekssays/brackets
web/tests/test-hello.js
JavaScript
gpl-3.0
225
function scutils_PreInit() { if(g_scormEnabled && g_scormLoaded ) { scutils_checkResumeSupported(); // if(g_LMSResumeSupported && g_hasTesting == true) // { // doLMSSetValue( "cmi.score.min", g_nTotalMinAchievablePoints ) ; // doLMSSetValue( "cmi.score.max", g_nTotalMaxAchievablePoints ) ; ...
openlecturnity/os45
lecturnity/publisher/templates/era/era-B/js/scorm_utils.js
JavaScript
lgpl-3.0
26,508
// Copyright 2012 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 ...
weolar/miniblink49
v8_7_5/test/mjsunit/regress/regress-2315.js
JavaScript
apache-2.0
1,796
__zl([{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"97":0,"98":0,"99":0},["Cedar Rapids"],["IA|Iowa"]]);
andrefyg/ziplookup
public/ziplookup/db/us/524.js
JavaScript
apache-2.0
128
/// <reference path="qunit.d.ts" /> /// <reference path="../src/code.ts" /> QUnit.module("stringLib"); test("will get vowel count", function () { var stringPlus = new StringPlus("hello"); var count = stringPlus.countVowels(); equal(count, 2, "We expect 2 vowels in hello"); }); QUnit.module("mathLib"); ...
mukulikadey/SOEN341-Group1
chutzpah/Samples/Compilation/ExternalCompile/test/test.js
JavaScript
mit
472
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * function used in or for navigation panel * * @package phpMyAdmin-Navigation */ /** * Executed on page load */ $(function () { if (! $('#pma_navigation').length) { // Don't bother running any code if the navigation is not even on the page return;...
Frostbit/frostbit.cz
web/phpmyadmin/js/navigation.js
JavaScript
mit
45,950
"use strict"; module.exports = function(redisClient, module) { module.setAdd = function(key, value, callback) { callback = callback || function() {}; redisClient.sadd(key, value, function(err) { callback(err); }); }; module.setsAdd = function(keys, value, callback) { callback = callback || function() {}...
cablelabs/dev-portal
src/database/redis/sets.js
JavaScript
mit
2,212
/** * Module requirements. */ require('should'); var Table = require('../'); /** * Tests. */ module.exports = { 'test complete table': function (){ var table = new Table({ head: ['Rel', 'Change', 'By', 'When'] , style: { 'padding-left': 1 , 'padding-right': 1 ...
portlandcodeschool/js-night
testing-lessons/mocha-node-assert/node_modules/qunit/node_modules/cli-table/test/index.test.js
JavaScript
mit
8,121
// Ionic Starter App // angular.module is a global place for creating, registering and retrieving Angular modules // 'starter' is the name of this angular module example (also set in a <body> attribute in index.html) // the 2nd parameter is an array of 'requires' // 'starter.services' is found in services.js // 'start...
jafarsidik/auth0-ionic
examples/firebase-sample/www/js/app.js
JavaScript
mit
3,452
'use strict'; require('../common'); module.exports = function tick(x, cb) { function ontick() { if (--x === 0) { if (typeof cb === 'function') cb(); } else { setImmediate(ontick); } } setImmediate(ontick); };
MTASZTAKI/ApertusVR
plugins/languageAPI/jsAPI/3rdParty/nodejs/10.1.0/source/test/async-hooks/tick.js
JavaScript
mit
240
// flow-typed signature: 61bbfd78d3b71a2605614708a445823a // flow-typed version: <<STUB>>/eslint-plugin-promise_v^3.4.0/flow_v0.37.4 /** * This is an autogenerated libdef stub for: * * 'eslint-plugin-promise' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to sha...
SiDevesh/Bootleg
flow-typed/npm/eslint-plugin-promise_vx.x.x.js
JavaScript
mit
5,236
PIXI.FireFilter = function(width, height, texture) { PIXI.AbstractFilter.call( this ); this.passes = [this]; var d = new Date(); var dates = [ d.getFullYear(), // the year (four digits) d.getMonth(), // the month (from 0-11) d.getDate(), // the day of the month (from 1-31) d.getHours()*60.0*60 + ...
boniatillo-com/PhaserEditor
source/phasereditor/phasereditor.resources.phaser.examples/phaser-examples-master/examples/wip/book/fire.js
JavaScript
epl-1.0
2,836
/* Copyright (c) 2007, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.3.0 */ /* Copyright (c) 2006, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt */ /** * The animation modul...
chisimba/modules
yahoolib/resources/animation/animation-debug.js
JavaScript
gpl-2.0
48,498
model.jsonModel = { services: [ { name: "alfresco/services/LoggingService", config: { loggingPreferences: { enabled: true, all: true, warn: true, error: true } } }, "alfresco/services/Erro...
davidcognite/Aikau
aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/forms/SingleTextFieldForm.get.js
JavaScript
lgpl-3.0
1,496
/** * Copyright 2020 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...
prateekbh/amphtml
extensions/amp-ad-network-oblivki-impl/0.1/amp-ad-network-oblivki-impl.js
JavaScript
apache-2.0
1,640
/*! * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicab...
simong/Hilary
node_modules/oae-preview-processor/lib/test/util.js
JavaScript
apache-2.0
4,276
// 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 sinon = sinon || {}; /** @type {Object} */ sinon.assert = {}; /** * @param {(sinon.Spy|Function)} f */ sinon.assert.called = function(f) {}; /** ...
hgl888/chromium-crosswalk
remoting/webapp/js_proto/sinon_proto.js
JavaScript
bsd-3-clause
4,812
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. var $Document = require('safeMethods').SafeMethods.$Document; var $HTMLElement = require('safeMethods').SafeMethods.$HTMLElement; var $Node = require('saf...
scheib/chromium
extensions/renderer/resources/guest_view/app_view/app_view.js
JavaScript
bsd-3-clause
2,237
#!/usr/bin/env node 'use strict'; var Liftoff = require('liftoff'); var Promise = require('bluebird'); var interpret = require('interpret'); var path = require('path'); var chalk = require('chalk'); var tildify = require('tildify'); var commander = require('commander'); var cliPkg = require('../../package'); var argv ...
faradayio/knex
lib/bin/cli.js
JavaScript
mit
6,131
"use strict"; var _toolsProtectJs2 = require("./../../../tools/protect.js"); var _toolsProtectJs3 = _interopRequireDefault(_toolsProtectJs2); exports.__esModule = true; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) ...
waddedMeat/ember-proxy-example
test-app/node_modules/ember-cli-babel/node_modules/broccoli-babel-transpiler/node_modules/babel-core/lib/babel/transformation/transformers/spec/block-scoped-functions.js
JavaScript
mit
1,469
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with th...
ryancanulla/findMe
web/ext/src/grid/plugin/Editing.js
JavaScript
mit
22,953
'use strict'; var path = require('path'); var url = require('url'); module.exports = attr; function attr(content, block, blockLine, blockContent) { var re = new RegExp('(.*' + block.attr + '=[\'"])([^\'"]*)([\'"].*)', 'gi'); var replaced = false; // Only run attr replacer for the block content var replacedB...
TheLaughingGod1986/web-enterprise-system
node_modules/htmlprocessor/lib/blocktypes/attr.js
JavaScript
mit
888
/** * 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/ReactFiber'; import { findCurrentHostFiber, findCurrentFiberUsingS...
VioletLife/react
packages/react-native-renderer/src/ReactNativeFiberInspector.js
JavaScript
mit
3,454
const runServer = require('./server'); runServer();
cryogen/throneteki
index.js
JavaScript
mit
53
'use strict'; var _invariant = require('fbjs/lib/invariant'); var _invariant2 = _interopRequireDefault(_invariant); var _React3ComponentFlags = require('./React3ComponentFlags'); var _React3ComponentFlags2 = _interopRequireDefault(_React3ComponentFlags); var _idPropertyName = require('./utils/idPropertyName'); va...
cdnjs/cdnjs
ajax/libs/react-three-renderer/3.2.4/React3ComponentTree.js
JavaScript
mit
8,060
// Animations v1.4, Copyright 2014, Joe Mottershaw, https://github.com/joemottershaw/ // ================================================================================== // Animate function animateElement() { if ($(window).width() >= 960) { $('.animate').each(function(i, elem) { var elem = $(elem), ...
ahmedmakaty/wordpress
wp-content/themes/betheme/js/animations/animations.js
JavaScript
gpl-2.0
2,375
$(document).ready(function() { var switched = false; var updateTables = function() { if (($(window).width() < 1400) && !switched ){ switched = true; $("table.responsive.long").each(function(i, element) { splitTable($(element)); }); return true; } else if (switched && ($(w...
vladapopster/Websms
web/bundles/websms/plugins/tables/responsive-tables/responsive-long-tables.js
JavaScript
gpl-2.0
1,127
/*! * Ext JS Library 3.0.0 * Copyright(c) 2006-2009 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.dd.DropZone * @extends Ext.dd.DropTarget * <p>This class provides a container DD instance that allows dropping on multiple child target nodes.</p> * <p>By default, this c...
sguazt/dcsj-sharegrid-portal
web/resources/scripts/ext/src/dd/DropZone.js
JavaScript
gpl-3.0
13,815
const MANY_VARS = Math.pow(2,17); var code = "function f1() {\n"; code += " var x0 = 0"; for (var i = 1; i < MANY_VARS; i++) code += ", x" + i + " = " + i; code += ";\n"; for (var i = 0; i < MANY_VARS; i += 100) code += " assertEq(x" + i + ", " + i + ");\n"; code += " return x80000;\n"; code += "}\n"; eval(...
JasonGross/mozjs
js/src/jit-test/tests/basic/testManyVars.js
JavaScript
mpl-2.0
350
define(["js/views/baseview", "underscore", "underscore.string", "jquery"], function(BaseView, _, str, $) { var SystemFeedback = BaseView.extend({ options: { title: "", message: "", intent: null, // "warning", "confirmation", "error", "announcement", "step-required", etc ...
jswope00/GAI
cms/static/js/views/feedback.js
JavaScript
agpl-3.0
5,884
var indexerLanguage="en"; //Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa w["-"]="2*5,6*1,9*2"; w["-doutput-dir"]="8*1"; w["-version"]="8*2"; w["."]="2*5,3*2,4*3,5*5,6*1,8*10,9*3,10*8,13*2,14*1,15*3"; w[".chm"]="6*1"; w[".htaccess"]="4*1"; w[".ht...
yuri0x7c1/ofbiz-explorer
src/test/resources/apache-ofbiz-16.11.03/specialpurpose/cmssite/template/docbook/webhelp/docs/content/search/index-1.js
JavaScript
apache-2.0
9,288
// Copyright (c) 2013-2014 Marco Biasini // // 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, modify, merge, ...
haoyuchen1992/modular-file-renderer
mfr/extensions/pdb/static/js/mol.js
JavaScript
apache-2.0
35,162
'use strict'; import _ from 'lodash'; import File from 'vinyl'; import gulp from 'gulp'; import merge from 'merge-stream'; import sprity from 'sprity'; import svgSprite from 'gulp-svg-sprite'; import through2 from 'through2'; import { humanize, titleize } from 'underscore.string'; /** Names of directories containing...
christoga/cepatsembuh
www/bower_components/material-design-icons/gulpfile.babel.js
JavaScript
mit
3,887
var nomnom = require('../nomnom'), assert = require('assert'); var options = nomnom() .opts({ config: { string: '-c PATH, --config=PATH', default: 'config.json', help: 'JSON file with tests to run' }, debug: { string: '-d, --debug', help: 'Print debugging info' } ...
mhogeweg/Terraformer
dist/node/Parsers/WKT/node_modules/jison/node_modules/nomnom/test/chain.js
JavaScript
mit
770
/** * @file * Handles asynchronous requests for order editing forms. */ var customer_select = ''; var add_product_browser = ''; var order_save_holds = 0; /** * Add the double click behavior to the order table at admin/store/orders. */ Drupal.behaviors.ucOrderClick = function(context) { $('.uc-orders-table tr....
nadavoid/ReadySiteBase
sites/all/modules/ubercart/uc_order/uc_order.js
JavaScript
gpl-2.0
12,940
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ gTestfile = '11.2.2-8-n.js'; /** ...
ashwinrayaprolu1984/rhino
testsrc/tests/ecma/Expressions/11.2.2-8-n.js
JavaScript
mpl-2.0
2,282
define(function () { return {"zones":{"Indian/Mayotte":["z",{"wallclock":-1846281600000,"format":"EAT","abbrev":"EAT","offset":10800000,"posix":-1846292456000,"save":0},{"wallclock":-1.7976931348623157e+308,"format":"LMT","abbrev":"LMT","offset":10856000,"posix":-1.7976931348623157e+308,"save":0}]},"rules":{}} });
wye0220/shindig-canvas
public/javascripts/vendor/timezone/Indian/Mayotte.js
JavaScript
agpl-3.0
315
import { debounce } from 'lodash'; import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import StatusContainer from '../containers/status_container'; import ImmutablePureComponent from 'react-immutable-pure-component'; import LoadGap from './load_gap...
cobodo/mastodon
app/javascript/mastodon/components/status_list.js
JavaScript
agpl-3.0
4,044
/** * Copyright (c) 2010-present Abixen Systems. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any ...
CypraxPuch/abixen-platform
abixen-platform-web-client/src/main/web/common/thumb/ng-thumb.directive.js
JavaScript
lgpl-2.1
2,532
/** * Copyright 2019 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...
prateekbh/amphtml
test/unit/test-consent.js
JavaScript
apache-2.0
2,920
module.exports={A:{A:{"1":"A","2":"J C G E B UB"},B:{"1":"D X g H L"},C:{"2":"0 1 2 4 5 SB F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s QB PB"},D:{"2":"0 1 4 5 8 F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s...
redq81/redq81.github.io
test/node_modules/caniuse-lite/data/features/lazyload.js
JavaScript
mit
754
Meteor.startup(function() { RocketChat.TabBar.addButton({ groups: ['channel', 'group', 'direct'], id: 'starred-messages', i18nTitle: 'Starred_Messages', icon: 'star', template: 'starredMessages', order: 3 }); });
pitamar/Rocket.Chat
packages/rocketchat-message-star/client/tabBar.js
JavaScript
mit
227
consts: function() { __i18nMsg__('intro {$interpolation}', [['interpolation', String.raw`\uFFFD0\uFFFD`]], {meaning: 'm', desc: 'd'}) return [ [__AttributeMarker.I18n__, "title"], ["title", $i18n_0$] ]; }, template: function MyComponent_Template(rf, ctx) { if (rf & 1) { $r3$.ɵɵelementStart(0, "div",...
ocombe/angular
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_i18n/element_attributes/interpolation_custom_config.js
JavaScript
mit
536
import { moduleFor, test } from 'ember-qunit'; moduleFor('controller:anime/index', 'AnimeIndexController', { // Specify the other units that are required for this test. needs: [] }); // Replace this with your real tests. test('it exists', function() { var controller = this.subject(); ok(controller); });
vevix/hummingbird
frontend/tests/unit/controllers/anime/index-test.js
JavaScript
apache-2.0
319
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. cr.define('cr.ui', function() { /** * A class to manage focus between given horizontally arranged elements. * For example, given the page: * ...
guorendong/iridium-browser-ubuntu
ui/webui/resources/js/cr/ui/focus_row.js
JavaScript
bsd-3-clause
6,946
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** @typedef {{active: boolean, * command_name: string, * description: string, * extension_action: boolean, * ...
Chilledheart/chromium
chrome/browser/resources/extensions/extension_command_list.js
JavaScript
bsd-3-clause
21,050
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v14.1.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c ...
seogi1004/cdnjs
ajax/libs/ag-grid/14.1.1/lib/headerRendering/moveColumnController.js
JavaScript
mit
17,602
define([ 'summernote/core/agent', 'summernote/core/dom' ], function (agent, dom) { /** * Style * @class */ var Style = function () { /** * passing an array of style properties to .css() * will result in an object of property-value pairs. * (compability with version < 1.9) * ...
zbqf109/goodo
openerp/addons/web_editor/static/lib/summernote/src/js/editing/Style.js
JavaScript
gpl-3.0
3,266
function setValFromSelectPage(org_id, bom_resource_id, bom_resource, combination) { this.org_id = org_id; this.bom_resource_id = bom_resource_id; this.combination = combination; this.bom_resource = bom_resource; } setValFromSelectPage.prototype.setVal = function() { if (this.org_id) { $("#org_id").val(this.org_...
htphuoc94/MyERP_Stable
modules/lms/resource/lms_resource.js
JavaScript
mpl-2.0
1,248
module('embedding', { setup: function() { var $fixture = $('#qunit-fixture'); var $paper = $('<div/>'); $fixture.append($paper); this.graph = new joint.dia.Graph; this.paper = new joint.dia.Paper({ el: $paper, gridSize: 10, model: this.g...
automagic/joint
test/jointjs/embedding.js
JavaScript
mpl-2.0
6,053
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.makeStaticFileCache = makeStaticFileCache; var _caching = require("../caching"); var fs = _interopRequireWildcard(require("../../gensync-utils/fs")); function _fs2() { const data = _interopRequireDefault(require("fs")); _fs2...
BigBoss424/portfolio
v8/development/node_modules/@babel/core/lib/config/files/utils.js
JavaScript
apache-2.0
1,918