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 searchData= [ ['catmullrom',['catmullRom',['../a00775.html#ga8119c04f8210fd0d292757565cd6918d',1,'glm']]], ['ceil',['ceil',['../a00662.html#gafb9d2a645a23aca12d4d6de0104b7657',1,'glm']]], ['ceilmultiple',['ceilMultiple',['../a00719.html#ga1d89ac88582aaf4d5dfa5feb4a376fd4',1,'glm::ceilMultiple(genType v, genTy...
jlukacs/aqua
lib/glm/doc/api/search/functions_2.js
JavaScript
mit
6,823
module.exports = { pluginID: "AnotherPlugin", description: function () {}, test: true, templateType: null, };
brollb/webgme-setup-tool
test/res/exampleArgs.js
JavaScript
mit
118
/* * 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. */ '...
lmazuel/azure-sdk-for-node
lib/services/automationManagement/lib/models/dscConfigurationListResult.js
JavaScript
mit
1,638
import Telescope from 'meteor/nova:lib'; import Categories from "./collection.js"; import Users from 'meteor/nova:users'; const canInsert = user => Users.canDo(user, "categories.new"); const canEdit = user => Users.canDo(user, "categories.edit.all"); // category schema Categories.schema = new SimpleSchema({ name: {...
trujunzhang/politiclarticles
packages/nova-categories/lib/schema.js
JavaScript
mit
2,225
tinymce.addI18n('ug',{ "Redo": "\u0642\u0627\u064a\u062a\u0627 \u0642\u0649\u0644\u0649\u0634", "Undo": "\u0626\u0627\u0631\u0642\u0649\u063a\u0627 \u064a\u06d0\u0646\u0649\u0634", "Cut": "\u0643\u06d0\u0633\u0649\u0634", "Copy": "\u0643\u06c6\u0686\u06c8\u0631\u06c8\u0634", "Paste": "\u0686\u0627\u067e\u0644\u0627\u06...
aljosa/django-tinymce
tinymce/static/tinymce/langs/ug.js
JavaScript
mit
48,481
export { default } from './ReactComponent.js';
cgvarela/react-styleguidist
src/components/ReactComponent/index.js
JavaScript
mit
47
var cluster = require('cluster'); module.exports = { run: run }; function run(createServer) { if (cluster.isMaster) { console.log('Master pid ', process.pid); startWorker(); } else { createServer(); } } function startWorker() { var worker = cluster.fork(); worker.once('disconnect', function (...
SlothHacks-2014/tryridr
node_modules/derby/lib/cluster.js
JavaScript
mit
629
/** * Module dependencies. */ var express = require('express') , passport = require('passport') , nowww = require('nowww') , log = require('debug')('root:config') , MongoStore = require('connect-mongo')(express) , mandrillMailer = require('lib/mailer').mandrillMailer , resolve = require('path').resolve ...
mairwilliams/app
lib/setup/index.js
JavaScript
mit
4,023
version https://git-lfs.github.com/spec/v1 oid sha256:2bf80e8c8892a317ece4d9f37fdcc01f7a17be3a31d0459abe4bdee8638dccf9 size 222
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.1.2/collection/array-invoke-min.js
JavaScript
mit
128
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = isMediaQuery; function isMediaQuery(property) { return property.substr(0, 6) === '@media'; }
hsavit1/gosofi_webpage
node_modules/react-fela/node_modules/fela-utils/lib/isMediaQuery.js
JavaScript
mit
192
angular .module('cocktailApp') .value('cocktailList', [{ id: 'cf6a9493-cbfe-4d15-90b7-1e730c002e55', source: '4c1c50c3-369d-4eb6-b0a6-f447d7273bea', name: 'Gin and Tonic', equipment: [ {name: 'Highball glass'} ], ingredients: [{ name: 'Gin', quantity: 25, unit: 'ml' ...
rob-blackbourn/scratch-js
jetblack-cocktails/step15/www/cocktail/model/value.js
JavaScript
mit
1,327
import '../../css/main.scss'; import './materialize';
sacrud/pyramid_sacrud
pyramid_sacrud/static/js/src/main.js
JavaScript
mit
54
var arraySome = require('./_arraySome'), baseIteratee = require('./_baseIteratee'), baseSome = require('./_baseSome'), isArray = require('./isArray'), isIterateeCall = require('./_isIterateeCall'); /** * Checks if `predicate` returns truthy for **any** element of `collection`. * Iteration is ...
Moccine/global-service-plus.com
web/libariries/bootstrap/node_modules/grunt-legacy-util/node_modules/lodash/some.js
JavaScript
mit
1,653
var forOwn = require('../object/forOwn'); var isArray = require('./isArray'); function isEmpty(val){ if (val == null) { // typeof null == 'object' so we check it first return false; } else if ( typeof val === 'string' || isArray(val) ) { return !val.length; } else if ( typeof val === 'object' || ...
thomjoy/sydney-buses
node_modules/bower/node_modules/mout/lang/isEmpty.js
JavaScript
mit
549
'use strict'; var React = require('react'); var mui = require('material-ui'); var SvgIcon = mui.SvgIcon; var ImageCollectionsBookmark = React.createClass({ displayName: 'ImageCollectionsBookmark', render: function render() { return React.createElement( SvgIcon, this.props, React.createEleme...
jotamaggi/react-calendar-app
node_modules/react-material-icons/icons/image/collections-bookmark.js
JavaScript
mit
538
'use strict'; function mapWithSeparator(items, itemRenderer, spacerRenderer) { var mapped = []; if (items.length > 0) { mapped.push(itemRenderer(items[0], 0, items)); for (var ii = 1; ii < items.length; ii++) { mapped.push(spacerRenderer(ii - 1), itemRenderer(items[ii], ii, items)); } } retu...
hoffmannmatheus/ppg-spot-ui
react-native-packager-cache-P4da/eKYVDiIK1c0vpgPRrk8C9c=/4c/e7dc11a4543a375d3ff45dfbca36654fa0cde0mapWithSeparator.js
JavaScript
mit
368
if(typeof sne == "undefined") sne = { steps: {} }; sne.steps.docchooser = {}; (function () { var docchooserCallback = null; var usernameMap = null; var docs = []; var $docs = $('#docs'); sne.steps.docchooser.show = function (cb) { logNavigation('docchoser'); $('#docChooser').addClass('active'); ...
Kambfhase/shownoteseditor
demo/js/docchooser.js
JavaScript
mit
4,443
import React from 'react'; import { connect } from '../utils/griddleConnect'; import compose from 'recompose/compose'; import { textSelector, classNamesForComponentSelector, stylesForComponentSelector } from '../selectors/dataSelectors'; import { toggleSettings as toggleSettingsAction } from '../actions'; const enhanc...
joellanciaux/Griddle
src/components/SettingsToggleContainer.js
JavaScript
mit
780
(function () { function create(window) { var location, navigator, XMLHttpRequest; window = window || require('jsdom').jsdom().createWindow(); location = window.location || {}; navigator = window.navigator || { userAgent: "Node.js" }; if ('function' !== typeof window.XMLHttpRequest && 'function' !== typeof w...
SteveWallace/Apocalyptia
node_modules/jquery/src/header.js
JavaScript
mit
498
goog.provide('ol.test.renderer.canvas.Layer'); describe('ol.renderer.canvas.Layer', function() { describe('#composeFrame()', function() { it('clips to layer extent and draws image', function() { var layer = new ol.layer.Image({ extent: [1, 2, 3, 4] }); var renderer = new ol.renderer.c...
bartholomewbischoff/Sp-Sk
node_modules/openlayers/test/spec/ol/renderer/canvas/canvaslayerrenderer.test.js
JavaScript
mit
2,223
/** .setAlign(Blockly.ALIGN_RIGHT) * Visual Blocks Language * * Copyright 2012 Massachusetts Institute of Technology. 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 a...
wanddy/ai4cn
appinventor/blocklyeditor/src/language/common/math.js
JavaScript
mit
37,728
version https://git-lfs.github.com/spec/v1 oid sha256:c32c7af615c44088fd2201ec0c442e1f7bcba5463b768d6c75ac51417208b915 size 1999
yogeshsaroya/new-cdnjs
ajax/libs/fullcalendar/2.2.6/lang/ro.js
JavaScript
mit
129
define(['./module'], function(app) { 'use strict'; var communitiesRepository = function($http) { this.getOne = function(key) { return $http.get("/data/" + key + ".json"); }; this.getAll = function() { return $http.get("/data/communities.json"); }...
agallou/lyontechhub.github.io
js/communities/communitiesRepository.js
JavaScript
mit
464
var CACHE_NAME = 'morpheus'; var CACHED_FILES = [ 'css/morpheus-latest.min.css', 'fonts/FontAwesome.otf', 'fonts/fontawesome-webfont.eot', 'fonts/fontawesome-webfont.svg', 'fonts/fontawesome-webfont.ttf', 'fonts/fontawesome-webfont.woff', 'fonts/fontawesome-webfont.woff2', 'js/morpheus-external-latest.min.js', ...
joshua-gould/morpheus.js
sw.js
JavaScript
mit
1,456
/* eslint-disable padding-line-between-statements,strict */ module.exports.foo = function () { try { } catch (e) { }; };
continuationlabs/eslint-config-hapi
test/fixtures/no-extra-semi.js
JavaScript
mit
142
var test = require('tape'); if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { test('has native Symbol support', function (t) { t.equal(typeof Symbol, 'function'); t.equal(typeof Symbol(), 'symbol'); t.end(); }); return; } var hasSymbols = require('../hasSymbols'); test('polyfilled Symbols'...
Lukkub/Redux-ShopCartApp
node_modules/react-router-component/node_modules/object.assign/test/symbolShim.js
JavaScript
mit
613
Flame.FocusSupport = { // To make text fields/areas behave consistently with our concept of key responder, we have to also // tell the browser to focus/blur the input field didBecomeKeyResponder: function() { this.$().focus(); }, didLoseKeyResponder: function() { this.$().blur(); ...
mattijauhiainen/flame.js
mixins/focus_support.js
JavaScript
mit
611
"use strict"; var $__ParseTree_46_js__, $__ParseTreeType_46_js__; var ParseTree = ($__ParseTree_46_js__ = require("./ParseTree.js"), $__ParseTree_46_js__ && $__ParseTree_46_js__.__esModule && $__ParseTree_46_js__ || {default: $__ParseTree_46_js__}).ParseTree; var ParseTreeType = ($__ParseTreeType_46_js__ = require(...
francesconistri/p2ptv-pi
pistream/node_modules/jspm/node_modules/systemjs-builder/node_modules/traceur/dist/commonjs/syntax/trees/ParseTrees.js
JavaScript
mit
87,003
module.exports = require('./lib/release');
oligot/git-release
index.js
JavaScript
mit
43
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
sfjs/sf.js
dist/sf.js
JavaScript
mit
85,824
/* global processWebhookMessage */ RocketChat.API.v1.addRoute('chat.delete', { authRequired: true }, { post: function() { try { check(this.bodyParams, { msgId: String, roomId: String, asUser: Match.Maybe(Boolean) }); const msg = RocketChat.models.Messages.findOneById(this.bodyParams.msgId, { fi...
AlecTroemel/Rocket.Chat
packages/rocketchat-api/server/v1/chat.js
JavaScript
mit
1,608
/*! Scroller 1.2.2 ©2011-2014 SpryMedia Ltd - datatables.net/license */ (function(m,n,k){var l=function(e){var g=function(a,b){!this instanceof g?alert("Scroller warning: Scroller must be initialised with the 'new' keyword."):("undefined"==typeof b&&(b={}),this.s={dt:a,tableTop:0,tableBottom:0,redrawTop:0,redrawBotto...
MarekGogol/crudadmin
src/Resources/admin/plugins/datatables/extensions/Scroller/js/dataTables.scroller.min.js
JavaScript
mit
10,484
var _ = require('lodash'); var GraphQL = require('./GraphQL'); var GraphQLFilter = require('./GraphQLFilter'); var Util = require('./Util'); var MetaStore = function() { this._rawData = {}; }; MetaStore.prototype.export = function () { return JSON.stringify(this._rawData, null, 2); } MetaStore.prototype.impo...
pinterest-web/metastore
metastore/lib/MetaStore.js
JavaScript
mit
2,110
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
smithab/azure-sdk-for-node
lib/services/batch/lib/models/fileGetNodeFilePropertiesFromComputeNodeOptions.js
JavaScript
mit
2,889
var response_lib = require('../../lib/response_lib'); var reql = require('../../lib/request_lib'); var base = '/svc/elections/us/v3/finances'; var keyName = 'campaign-finance'; function electioneeringCommunications (keys) { this.myKeys = keys; } /* Electioneering Communications */ electioneeringCommunications.p...
spencehood/nyt
services/campaign_finance/electioneering_communications.js
JavaScript
mit
1,261
import { userList } from './elements'; import itemForUser from './itemForUser'; export default function renderList(users) { userList.innerHTML = ''; users.forEach((user) => { userList.appendChild(itemForUser(user)); }); }
reactivepod/ungit
lib/options/renderList.js
JavaScript
mit
233
'use strict'; var expect = require('chai').expect; var Backbone = require('backbone'); var sinon = require('sinon'); var screen = require('./fake_screen'); var SplitLogPanel = require('../../lib/reporters/dev/split_log_panel'); var Chars = require('../../lib/chars'); var TestResults = require('../../lib/reporters/dev...
fotinakis/testem
tests/ui/split_log_panel_tests.js
JavaScript
mit
10,217
/** * @file 字符串相关的函数 * @author mengke01(kekee000@gmail.com) */ define( function (require) { var string = { /** * HTML解码字符串 * * @param {string} source 源字符串 * @return {string} */ decodeHTML: function (source) { ...
darkicerain/fonteditor-core
src/common/string.js
JavaScript
mit
3,470
var path = require("path") var webpack = require('webpack') var BundleTracker = require('webpack-bundle-tracker') var config = require('./webpack.base.config.js') // Use webpack dev server config.entry = [ 'webpack-dev-server/client?http://localhost:3000', 'webpack/hot/only-dev-server', './assets/js/index' ] /...
alemneh/negativity-purger
webpack.local.config.js
JavaScript
mit
865
var spdy = require('spdy'); var http = require('http'); var assert = require('assert'); describe('SPDY Proxy', function() { var spdyAgent; before(function(done) { var i = 2; process.argv[i++] = '--key'; process.argv[i++] = __dirname + '/../keys/mykey.pem'; process.argv[i++] = '--cert'; process...
ngbrown/node-spdyproxy
test/basic-proxy-tests.js
JavaScript
mit
2,015
/* * 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. */ '...
lmazuel/azure-sdk-for-node
lib/services/recoveryServicesSiteRecoveryManagement/lib/models/inMageVolumeExclusionOptions.js
JavaScript
mit
1,842
var fireworks = (function() { var canvasEl = document.querySelector('.fireworks'); var ctx = canvasEl.getContext('2d'); var numberOfParticules = Number(location.href.split('?')[1]) || 40; var pointerX = 0; var pointerY = 0; var tap = ('ontouchstart' in window || navigator.msMaxTouchPoints) ? 'touchstart' :...
NicholasPersa/NicholasPersa.github.io
webprotocol/js/anime-master/documentation/assets/js/fireworks.js
JavaScript
mit
3,407
import events from './events' import hed from './hed' import validate from './validate' export default { events: events, hed: hed, validateEvents: validate, }
Squishymedia/bids-validator
bids-validator/validators/events/index.js
JavaScript
mit
166
var testcase = require('nodeunit').testCase; var jsdom = require("../.."); var EventMonitor = function() { self = this; self.atEvents = []; self.bubbledEvents = []; self.capturedEvents = []; self.allEvents = []; self.handleEvent = function(event) { self.allEvents.push(event); switch(event.eventPhase...
kittens/jsdom
test/level2/events.js
JavaScript
mit
24,713
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefaul...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.34/node/AlertTitle/AlertTitle.js
JavaScript
mit
3,255
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _extends2 = _int...
cdnjs/cdnjs
ajax/libs/material-ui/4.9.7/List/List.js
JavaScript
mit
3,589
"use strict";"production"===process.env.NODE_ENV?module.exports=require("./oidc-client-ts.cjs.production.min.js"):module.exports=require("./oidc-client-ts.cjs.development.js");
cdnjs/cdnjs
ajax/libs/oidc-client-ts/2.0.0-alpha2/index.min.js
JavaScript
mit
176
define( "dijit/form/nls/pl/ComboBox", ({ previousMessage: "Poprzednie wybory", nextMessage: "Więcej wyborów" }) );
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dijit/form/nls/pl/ComboBox.js.uncompressed.js
JavaScript
gpl-2.0
127
define( "dojox/editor/plugins/nls/nb/InsertEntity", ({ insertEntity: "Sett inn symbol" }) );
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/editor/plugins/nls/nb/InsertEntity.js.uncompressed.js
JavaScript
gpl-2.0
99
/* Zepto v1.0-1-ga3cab6c - polyfill zepto detect event ajax form fx - zeptojs.com/license */ ; (function (undefined) { if (String.prototype.trim === undefined) // fix for iOS 3.2 String.prototype.trim = function () { return this.replace(/^\s+|\s+$/g, '') } // For iOS 3.x // from https://developer...
JoelPub/wordpress-amazon
order/source/modules/icard/template/js/zepto.js
JavaScript
gpl-2.0
66,723
jQuery(document).ready(function($) { $('.rslides').responsiveSlides({ pager:true, namespace: "centered-btns" }); });
Race2Fundriase/gaming
wp-content/themes/eddiemachado-bones-4e37f08/library/js/home.js
JavaScript
gpl-2.0
144
"use strict"; var fs = require('fs'); var mkdirSync = function (path) { try { fs.mkdirSync(path); } catch (e) { if (e.code != 'EEXIST') throw e; } }; mkdirSync(iris.configPath + "/" + "entity"); /** * @file Includes for the entity module */ /** * @namespace entity */ iris.registerModule("entity"...
facascante/Iris
modules/core/entity/entity.js
JavaScript
gpl-2.0
1,205
/** * Angular Facebook service * --------------------------- * * Authored by AlmogBaku (GoDisco) * almog@GoDisco.net * http://www.GoDisco.net/ * * 9/8/13 10:25 PM */ angular.module('ngFacebook', []) .provider('$facebook', function() { var config = { permissions: 'emai...
lequangdzung/quora-clone
web-angularjs/admin/angular/modules/ngFacebook.js
JavaScript
gpl-2.0
6,969
jQuery(document).ready(function($) { $(window).load(function() { setTimeout(function(){ /*----------------------------------------------------------*/ /* /* Groups /* /*----------------------------------------------------------*/ var p1 = 'li#customize-control-vk_'; var p2 = ',li#customize-control-vk_'; /*-...
gtessier/LPBC
wp-content/themes/clipboard/theme/customizer/theme-customize-ui.js
JavaScript
gpl-2.0
23,142
var searchData= [ ['configuration',['Configuration',['../page_configuring.html',1,'index']]] ];
Code-Forge-Lab/Arduino
arduino library/libraries/openGLCD/doc/html/search/pages_1.js
JavaScript
gpl-2.0
98
//>>built define("dojo/request/default",["exports","require","../has"],function(a,d,c){var b=c("config-requestProvider");b||(b="./xhr");a.getPlatformDefaultId=function(){return"./xhr"};a.load=function(a,c,e,f){d(["platform"==a?"./xhr":b],function(a){e(a)})}}); //@ sourceMappingURL=default.js.map
joshuacoddingyou/php
public/scripts/dojo/request/default.js
JavaScript
gpl-2.0
296
'use strict'; /** * Manipulates files access * @class {File} */ class File { constructor(path) { this.fullPath = path; var splittedPath = path.split('/'); this.file = splittedPath.pop(); this.directory = splittedPath.join('/'); this.fs = require('fs-extra'); this.fs.ens...
fmsouza/saturn.js
src/core/file.js
JavaScript
gpl-2.0
1,840
'use strict'; var express = require('express'); var controller = require('./todo.controller'); var router = express.Router(); router.get('/', controller.index); router.get('/:id', controller.show); router.post('/', controller.create); router.put('/:id', controller.update); router.patch('/:id', controller.update); ro...
jugalkishor-sujal/ToDoAppSrc
server/api/todo/index.js
JavaScript
gpl-2.0
386
describe('Quality option', function() { it('should be converted to YouTube format correctly', function() { videojs.Youtube.convertQualityName('144p').should.equal('tiny'); videojs.Youtube.convertQualityName('240p').should.equal('small'); videojs.Youtube.convertQualityName('360p').should.equal('medium'); ...
reachwill/clipper-base
webpack/src/vendors/videojs-youtube-master/test/unit/quality_test.js
JavaScript
gpl-3.0
1,034
module.exports = { no_config: "Config file not found! Please run bin/prey config activate.", no_perms: "Oops. Seems you don't have write permissions. Try running with sudo.", ssl_keygen_error: "Unable to generate SSL keys:", ssl_keygen_success: "SSL keys in place!", done_no_config: "All done. No configurable ...
prey/prey-node-client
lib/conf/shared/messages.js
JavaScript
gpl-3.0
983
tinymce2.addI18n("en.paste_dlg",{word_title:"Use Ctrl+V on your keyboard to paste the text into the window.",text_linebreaks:"Keep Linebreaks",text_title:"Use Ctrl+V on your keyboard to paste the text into the window."});
rart/studio-ui
static-assets/modules/editors/tinymce/v2/tiny_mce/plugins/paste/langs/en_dlg-min.js
JavaScript
gpl-3.0
221
var structgruel_1_1rt__sched__param = [ [ "rt_sched_param", "structgruel_1_1rt__sched__param.html#a7592c8e69e3a07cc8ac0b0bf9339df70", null ], [ "rt_sched_param", "structgruel_1_1rt__sched__param.html#a5257e726503db28d31aa4f780ddead47", null ], [ "policy", "structgruel_1_1rt__sched__param.html#af42388ca3382b...
aviralchandra/Sandhi
build/gr36/docs/doxygen/html/structgruel_1_1rt__sched__param.js
JavaScript
gpl-3.0
451
/* 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/>. */ // @flow import React from "react"; import { shallow } from "enzyme"; import { showMenu } from "devtools-contex...
ruturajv/debugger.html
src/components/PrimaryPanes/tests/PrimaryPanes.spec.js
JavaScript
mpl-2.0
2,102
// Binary: cache/js-dbg-64-c676b554c7bb-linux // Flags: // if (getBuildConfiguration().parallelJS) { var p2 = new ParallelArray([2,2], function(i,j) { return i+j; }); p2.get({ 0: 1, 1: 0, testGet: 2 }) }
SlateScience/MozillaJS
js/src/jit-test/tests/auto-regress/bug784011.js
JavaScript
mpl-2.0
209
import RepositoryService from 'consul-ui/services/repository'; import { get } from '@ember/object'; import { Promise } from 'rsvp'; import { PRIMARY_KEY, SLUG_KEY } from 'consul-ui/models/token'; import statusFactory from 'consul-ui/utils/acls-status'; import isValidServerErrorFactory from 'consul-ui/utils/http/acl/is-...
scalp42/consul
ui-v2/app/services/repository/token.js
JavaScript
mpl-2.0
1,671
import { inject as service } from '@ember/service'; import Controller from '@ember/controller'; import { computed } from '@ember/object'; import config from '../config/environment'; export default Controller.extend({ env: config.environment, auth: service(), store: service(), activeCluster: computed('auth.acti...
joelthompson/vault
ui/app/controllers/application.js
JavaScript
mpl-2.0
648
var engine = require('engine.io'), WebsocketRpc = require('./websocketrpc.js'), events = require('events'), http = require('http'), https = require('https'), util = require('util'), fs = require('fs'), dns = require('dns'), url ...
HellenicNetwork/KiwiIRC
server/weblistener.js
JavaScript
agpl-3.0
7,263
export {Html5vfix} from './Html5vfix'; export {DashboardCard} from './DashboardCard'; export {SendItem} from './SendItem'; export {CharacterCount} from './CharacterCount'; export {WordCount} from './WordCount'; export {ThemeSelectDirective} from './ThemeSelectDirective'; export {ArticleEditDirective} from './ArticleEdi...
darconny/superdesk-client-core
scripts/apps/authoring/authoring/directives/index.js
JavaScript
agpl-3.0
1,003
(function(){ angular.module('eqksServer') /* Running of the executable on the server */ .factory('eqksExecutableRun', ['$timeout','eqksPersistentSocket','eqksConfig','eqksInputs','eqksGrid','localStorageFile','parseSimulatorOutputData', function($timeout,socket,config,inputs,grid,lsFile,parser) { //...
sintefmath/equelle
webdemo/srv/client/js/server/executableRun.js
JavaScript
agpl-3.0
9,016
/** * Copyright (c) 2014, Oracle and/or its affiliates. * All rights reserved. */ "use strict";var l={"SA":["SA","D\u00E9l-Amerika"]};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["southAmerica","continent",l]);
afsinka/jet_jsp
src/main/webapp/js/libs/oj/v1.1.2/resources/internal-deps/dvt/thematicMap/resourceBundles/SouthAmericaContinentBundle_hu.js
JavaScript
lgpl-2.1
238
v.setCursorPosition(1,19); v.enter(); v.type(":c => 3");
hlamer/kate
tests/data/indent/ruby/hash18/input.js
JavaScript
lgpl-2.1
57
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2009 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
sebastienhupin/qxrad
qooxdoo/application/demobrowser/source/class/demobrowser/demo/data/Form.js
JavaScript
lgpl-3.0
4,525
import rawVm from '../data/vm' import { createVM } from 'neutronium-vm-loader' import { extendObservable } from 'mobx'; const vm = createVM(rawVm); console.log(JSON.stringify(vm, null, 2)) extendObservable(vm, vm) var fulfillOnReady; var ready = new Promise(function (fulfill) { fulfillOnReady = fulfill; }); cons...
David-Desmaisons/MVVM.CEF.Glue
Examples/Example.ChromiumFx.Mobx.UI/View/mainview/src/mobxManager.js
JavaScript
lgpl-3.0
638
/* */ "format cjs"; /** * Module dependencies. */ var EventEmitter = require('events').EventEmitter; var Pending = require('./pending'); var utils = require('./utils'); var inherits = utils.inherits; var debug = require('debug')('mocha:runner'); var Runnable = require('./runnable'); var filter = utils.filter; var i...
EpitaJS/js-class-2016
jspm_packages/npm/mocha@2.4.5/lib/runner.js
JavaScript
unlicense
20,362
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Type coercion of `0` property of result es6id: 21.2.5.8 info: > [...] 13. Repeat, while done is false a. Let result be RegExpExec(rx, S). ...
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/RegExp/prototype/Symbol.replace/result-coerce-matched.js
JavaScript
apache-2.0
736
function authenticateBasicAuth(req,res,next){ var context = this; var spApplication = context.getApplication(); var properties = context.properties; if(!spApplication){ return context.handleApplicationError(properties.errors.library.SP_APP_UNINITIALIZED,res); } spApplication.authenticateApiRequest({ ...
stormpath/stormpath-sdk-express
lib/middleware/authenticateBasicAuth.js
JavaScript
apache-2.0
789
/** * Copyright 2018 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
techhtml/amphtml
extensions/amp-subscriptions/0.1/subscription-platform.js
JavaScript
apache-2.0
2,920
/** * @author zhixin wen <wenzhixin2010@gmail.com> * extensions: https://github.com/vitalets/x-editable */ (function($) { 'use strict'; $.extend($.fn.bootstrapTable.defaults, { editable: true, onEditableInit: function() { return false; }, onEditableSave: functio...
3xxx/EngineerCMS
static/bootstrap-table-develop/src/extensions/editable/bootstrap-table-editable.js
JavaScript
apache-2.0
5,447
/* Copyright (c) 2011, David Przybilla, Chris Umbel 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, publis...
amoranviewnext/CognitiveTVVFPOC
node_modules/stopword/lib/stopwords_it.js
JavaScript
apache-2.0
3,848
// Copyright 2012 Mozilla Corporation. All rights reserved. // This code is governed by the license found in the LICENSE file. /*--- es5id: 12.3.2_L15 description: > Tests that the getter for Intl.DateTimeFormat.prototype.format meets the requirements for built-in objects defined by the introduction of cha...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/intl402/DateTimeFormat/prototype/format/12.3.2_L15.js
JavaScript
apache-2.0
559
/* * */ L.CalloutLine = L.Path.extend({ statics: { LINESTYLE: { ARC: 'arc', ANGLE: 'angle', STRAIGHT: 'straight' }, DIRECTION: { NE: 'ne', NW: 'nw', SE: 'se', SW: 'sw' } } }); L.CalloutLine = L.CalloutLine.extend({ initialize: function (latlng, options) { L.Util.setOptions(this, opt...
pixelhumain/communecter
assets/js/sig/dvf/leaflet.dvf.lines.js
JavaScript
apache-2.0
12,388
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = doDuring; var _noop = require('lodash/noop'); var _noop2 = _interopRequireDefault(_noop); var _rest = require('./internal/rest'); var _rest2 = _interopRequireDefault(_rest); var _onlyOnce = require('....
jcaleffi/https-github.com-jcaleffi-bot-100
node_modules/solr-client/node_modules/async/doDuring.js
JavaScript
apache-2.0
2,208
/** * @class Alloy.builtins.measurement * A collection of utilities for converting between different display units. * These functions are only useful on the Android platform to support devices with different * screen densities and resolutions. * * To use the measurement builtin library, * require it with the `al...
brentonhouse/brentonhouse.alloy
Alloy/builtins/measurement.js
JavaScript
apache-2.0
4,518
/** * @license * Copyright 2015 The Lovefield Project 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 ...
noikiy/lovefield
tests/query/context_test.js
JavaScript
apache-2.0
8,320
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: > An ArrayAssignmentPattern without an AssignmentElementList requires iterable values and throws for other values. es6id: 12.14.5.2 ---*/ var value, resu...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/language/expressions/assignment/destructuring/array-empty.js
JavaScript
apache-2.0
759
var id = "a3"; var reason = document.getElementById("reason"); var body = document.body; var verdict = document.getElementById("verdict"); function hook(id, result, message){}; function pass(message) { hook(id, "pass", reason); document.title = "PASS"; body.style.background = "green"; verdict...
hansmy/Webinos-Platform
webinos/web_root/tests/widget_tests/test-cases/ta-BxjoiWHaMr/005/hook.js
JavaScript
apache-2.0
1,250
/*================================================== * Chinese localization * *================================================== */ (function() { var javascriptFiles = [ "exhibit-l10n.js", "data/database-l10n.js", "ui/ui-context-l10n.js", "ui/lens-l10n.js", "ui/formatt...
GeoinformationSystems/GeoprocessingAppstore
WebContent/catalog/knowledge/js/webapp/api/locales/zh/locale.js
JavaScript
apache-2.0
1,237
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
goberle/one
src/sunstone/public/app/tabs/users-tab/form-panels/create.js
JavaScript
apache-2.0
3,282
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: > When DestructuringAssignmentTarget is an array literal and the value is `undefined`, a TypeError should be thrown. es6id: 12.14.5.4 ---*/ var x; asser...
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/language/expressions/assignment/destructuring/obj-prop-nested-array-undefined-own.js
JavaScript
apache-2.0
394
'use strict'; 'require uci'; 'require form'; 'require network'; network.registerPatternVirtual(/^pptp-.+$/); function write_keepalive(section_id, value) { var f_opt = this.map.lookupOption('_keepalive_failure', section_id), i_opt = this.map.lookupOption('_keepalive_interval', section_id), f = (f_opt != nul...
openwrt/luci
protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pptp.js
JavaScript
apache-2.0
3,302
;(function(){var x=Function('return this')();if(!x.fest)x.fest={};x.fest['cdata']=function(__fest_context) { "use strict"; var __fest_self = this, __fest_buf = "", __fest_chunks = [], __fest_chunk, __fest_attrs = [], __fest_select, __fest_if, __fest_iterator, __fest_to, __fest_fn...
mailru/fest
spec/expected/build/initial/cdata.js
JavaScript
bsd-2-clause
3,934
define([ 'jqueryui', 'lodash', 'iwcw', 'activity_widget/Activity', 'activity_widget/ValueChangeActivity', 'operations/ot/NodeResizeOperation', 'operations/non_ot/ActivityOperation' ],/** @lends NodeResizeActivity */function($,_,IWCW,Activity,ValueChangeActivity,NodeResizeOperation,ActivityOp...
Mari0/syncmeta
src/js/activity_widget/NodeResizeActivity.js
JavaScript
bsd-3-clause
2,743
// Copyright (c) 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 exec = require('cordova/exec'); exports.getInfo = function(callback) { exec(callback, callback, 'ChromeSystemMemory', 'getInfo', []); };
hgl888/mobile-chrome-apps
chrome-cordova/plugins/chrome.system.memory/system.memory.js
JavaScript
bsd-3-clause
314
require(['module1', 'module2', 'module3'], function (module1, module2, module3) { alert("Got it all"); });
papandreou/assetgraph
testdata/transforms/flattenRequireJs/withOneGetStaticUrl/main.js
JavaScript
bsd-3-clause
111
/* Copyright (c) 2011 Martin Ruenz 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, publish, distr...
supereggbert/GLGE
src/preloader/glge_documentpreloader.js
JavaScript
bsd-3-clause
6,223
var openresty = null var Server = 'api.openresty.org'; var savedAnchor = null; var timer = null; $(document).ready(init); var Links = [ ['/=/view/t/a/水煮鱼', {c:'北京',_user:"lifecai.s",t:50}], ['/=/view/Honorlist/limit/500', {_user:'qyliu.Public'}], ['/=/model/Post/~/~', {_offset:0, _count: 10, _user:'agentz...
beni55/old-openresty
demo/RestyCheck/restycheck.js
JavaScript
bsd-3-clause
4,198
/** * 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 { BackendBridge, FrontendBridge, } from 'react-devtools-shared/src/bridge'; const env = jasmine.getEn...
terminatorheart/react
packages/react-devtools-shared/src/__tests__/setupTests.js
JavaScript
bsd-3-clause
3,444
/* @flow */ import {suite, test} from '../../tsrc/test/Tester'; export default suite(({addFile, addFiles, addCode}) => [ test('exact type tests', [ addCode(` type ArityError = $Exact<number, number>; // error, 2 params expected 1 `) .newErrors( ` test.js:4 4: type ArityError ...
jgrund/flow
newtests/exact/test.js
JavaScript
bsd-3-clause
7,160
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function() { var mode = CodeMirror.getMode({indentUnit: 4}, {name: "python", version: 3, singleLineStringErrors: false}); function MT(name) { t...
michelegonella/zen-project
zen-webapp/src/main/resources/com/nominanuda/webapp/client/lib/codemirror/mode/python/test.js
JavaScript
apache-2.0
1,171
import Vue from 'vue'; import ErrorTrackingSettings from './components/app.vue'; import createStore from './store'; export default () => { const formContainerEl = document.querySelector('.js-error-tracking-form'); const { dataset: { apiHost, enabled, project, token, listProjectsEndpoint, operationsSettingsEndp...
stoplightio/gitlabhq
app/assets/javascripts/error_tracking_settings/index.js
JavaScript
mit
762