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
'use strict' const assert = require('assert') const test = require('../../lib/test') const Test = test.Test() describe('Functional Contract Usage', function () { before(Test.before()) after(Test.after()) this.timeout(10 * 1000) it('#Constructor usage', Test.it(function (burrow) { const source = ` ...
silasdavis/eris-db
js/test/Functional/index.js
JavaScript
gpl-3.0
2,129
/*! * VisualEditor IME test for Firefox on Windows in Welsh. * * @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org */ ve.ce.imetests.push( [ 'input-firefox-win7-welsh', [ { imeIdentifier: 'Welsh', userAgent: 'Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0', startD...
Facerafter/starcitizen-tools
extensions/VisualEditor/lib/ve/tests/ce/imetests/input-firefox-win7-welsh.js
JavaScript
gpl-3.0
2,743
const preferenceManager = require('../utils/preference-manager'); const logout = () => { preferenceManager.deleteCredentials(); }; module.exports = { logout, };
AutolabJS/autolabcli
lib/model/exit.js
JavaScript
gpl-3.0
167
export const utils = {} utils.getChoiceById = (choices, choiceId) => { return choices.find(choice => choice.id === choiceId) } utils.isSolutionChecked = (solution, answers) => { return answers ? answers.indexOf(solution.id) > -1 : false } utils.answerId = (id) => { return `${id}-your-answer` } utils.expectedI...
claroline/Distribution
plugin/exo/Resources/modules/items/choice/utils.js
JavaScript
gpl-3.0
1,145
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.zh.hant'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "加入註解"; Blockly.Msg.AUTH = "Please authorize this app to enable your work to be saved and to allow it to be shared by you."; // untranslated Blockly.Ms...
BogusCurry/BlocksCAD
blockly/msg/js/zh-hant.js
JavaScript
gpl-3.0
30,364
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'selectall', 'nb', { toolbar: 'Merk alt' } );
vanpouckesven/cosnics
src/Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/src/plugins/selectall/lang/nb.js
JavaScript
gpl-3.0
226
var searchData= [ ['k_5fcoeff',['K_coeff',['../classsage__circuit__analysis_1_1SmallSignalLinearCircuit.html#a31b504e6f11875560fc819cc591a5283',1,'sage_circuit_analysis.SmallSignalLinearCircuit.K_coeff()'],['../classsage__circuit__analysis_1_1SmallSignalLinearCircuit.html#a9d21174a0350225ee439c9b509035c34',1,'sage_ci...
alessandro-bernardini/SAPICE
html/search/variables_6b.js
JavaScript
gpl-3.0
1,093
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'image', 'fa', { alertUrl: 'لطفا URL تصویر را بنویسید', alt: 'متن جایگزین', border: 'لبه', btnUpload: 'به سرور بفرست', button2Img: 'آیا ...
joyofsrc/src
resources/ckeditor/plugins/image/lang/fa.js
JavaScript
gpl-3.0
1,366
var spawn = require('child_process').spawn var express = require('express') var assets = __dirname + "/../../static" var server = express() server.use(express.cookieParser(' default ')) server.use(express.session({secret:' default '})) server.use(express.bodyParser()) server.use(express.static(assets)) server.get('/'...
blackmonk88/simaya
attic/test/preview/preview.js
JavaScript
gpl-3.0
1,368
module.exports = function dendro_shade_bars(params, inst_selection, inst_rc, inst_data){ var inst_opacity = 0.2; var bot_height; d3.selectAll(params.root+' .dendro_shadow') .remove(); if (inst_rc == 'row'){ // top shade d3.select(params.root+' .clust_group') .append('rect') .attr('wi...
cornhundred/clustergrammer.js
src/dendrogram/dendro_shade_bars.js
JavaScript
gpl-3.0
1,656
define([ 'underscore', 'backbone', 'models/version' ], function(_, Backbone, VersionModel){ var VersionCollection = Backbone.Collection.extend({ model: VersionModel, parse: function(response) { return response.data.versions; }, healthClasses: { 'OK': { badge: 'badge-success', icon: 'icon-ok' }, 'WA...
kaze/paasmaker
paasmaker/static/js/collections/versions.js
JavaScript
mpl-2.0
563
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* File locked partial MAR file staged patch apply failure test */ const STATE_AFTER_STAGE = STATE_PENDING; function run_test() { if (!setupTestCommon()) { return; } gTestFiles = gTestFilesPartialSu...
Yukarumya/Yukarum-Redfoxes
toolkit/mozapps/update/tests/unit_service_updater/marFileLockedStageFailurePartialSvc_win.js
JavaScript
mpl-2.0
2,069
// weather_base_url comes in via django and must be set before including this file $(document).ready(function() { // Save the representative id data_to_save['scenario_id'] = $('#scenario_id').val(); // Initializes description $('#weather-select').change(); }); $('#weather-select').change(function() {...
vecnet/vnetsource
ts_repr/static/ts_repr/js/creation/weather.js
JavaScript
mpl-2.0
1,362
/** * ownCloud - fuel * * This file is licensed under the Affero General Public License version 3 or * later. See the COPYING file. * * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @copyright Christoph Wurst 2015 */ define(function (require) { 'use strinct'; var VehicleView = require('views/vehi...
ChristophWurst/fuel
js/views/vehiclelist.js
JavaScript
agpl-3.0
586
var OncoprintTrackOptionsView = (function() { function OncoprintTrackOptionsView($div, moveUpCallback, moveDownCallback, removeCallback, sortChangeCallback) { // removeCallback: function(track_id) var position = $div.css('position'); if (position !== 'absolute' && position !=='relative') { console.log("WARN...
gsun83/cbioportal
portal/src/main/webapp/js/src/oncoprint/webgl/oncoprinttrackoptionsview.js
JavaScript
agpl-3.0
7,382
// Stripe info // Plan ID: BASIC_HOSTING_PLAN // Cost: $5.00 per 30 days, no trial // Statement: Hook.io Hosting Plan var hook = require('../lib/resources/hook'); var user = require('../lib/resources/user'); var config = require('../config'); var bodyParser = require('body-parser'); var mergeParams = require('./mergeP...
ljharb/hook.io
view/billing.js
JavaScript
agpl-3.0
5,422
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'iframe', 'ka', { border: 'ჩარჩოს გამოჩენა', noUrl: 'აკრიფეთ iframe-ის URL', scrolling: 'გადახვევის ზოლების დაშვება', title: 'IFrame-ის პარამეტრე...
longkb/cms1.8rc2
web/theme/default/libraries/ckeditor/plugins/iframe/lang/ka.js
JavaScript
agpl-3.0
468
"use strict"; /** @internalapi @module hooks */ /** */ Object.defineProperty(exports, "__esModule", { value: true }); /** * A [[TransitionHookFn]] that rejects the Transition if it is invalid * * This hook is invoked at the end of the onBefore phase. * If the transition is invalid (for example, param values do not ...
laclasse-com/service-cahiertextes
public/node_modules/@uirouter/core/lib/hooks/invalidTransition.js
JavaScript
agpl-3.0
702
/* Open Chord Charts -- Database of free chord charts By: Christophe Benz <contact@openchordcharts.org> Copyright (C) 2012, 2013, 2014, 2015 Christophe Benz https://github.com/openchordcharts/ This file is part of Open Chord Charts. Open Chord Charts is free software; you can redistribute it and/or modify it under t...
openchordcharts/openchordcharts-web-site
src/auth.js
JavaScript
agpl-3.0
1,554
/* * Copyright (C) 2019 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas 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, version 3 of the License. * * Canvas is distribut...
djbender/canvas-lms
app/jsx/shared/components/CanvasInlineAlert.js
JavaScript
agpl-3.0
1,478
/*! * Ext JS Library 3.3.0 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ /* * Ukrainian translations for ExtJS (UTF-8 encoding) * * Original translation by zlatko * 3 October 2007 * * Updated by dev.ashevchuk@gmail.com * 01.09.2009 */ Ext.UpdateManager.defau...
daowzq/ExtNet
ext.net.community/Ext.Net/Build/Ext.Net/extnet/locale/ext-lang-uk.js
JavaScript
agpl-3.0
9,716
/* * Please see the included README.md file for license terms and conditions. */ // This file is a suggested starting place for your code. // It is completely optional and not required. // Note the reference that includes it in the index.html file. /*jslint browser:true, devel:true, white:true, vars:true */ /*glob...
Telll/webapp
www/js/app.js
JavaScript
agpl-3.0
79,765
/*! grafana - v4.2.0 - 2017-03-22 * Copyright (c) 2017 Torkel Ödegaard; Licensed Apache-2.0 */ System.register(["./plugin_edit_ctrl","./plugin_page_ctrl","./plugin_list_ctrl","./import_list/import_list","./ds_edit_ctrl","./ds_list_ctrl"],function(a,b){"use strict";b&&b.id;return{setters:[function(a){},function(a){},f...
n0rad/housecream
public/app/features/plugins/all.js
JavaScript
agpl-3.0
401
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt cur_frm.add_fetch("time_log", "activity_type", "activity_type"); cur_frm.add_fetch("time_log", "billing_amount", "billing_amount"); cur_frm.add_fetch("time_log", "hours", "hours"); cur_frm....
mbauskar/alec_frappe5_erpnext
erpnext/projects/doctype/time_log_batch/time_log_batch.js
JavaScript
agpl-3.0
1,580
/* * Ext JS Library 2.3.0 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * Finnish Translations * <tuomas.salo (at) iki.fi> * 'ä' should read as lowercase 'a' with two dots on top (&auml;) */ Ext.UpdateManager.defaults.indicatorText = '<div class="l...
xwiki-contrib/sankoreorg
web/src/main/webapp/skins/curriki20/extjs/source/locale/ext-lang-fi.js
JavaScript
lgpl-2.1
8,135
var searchData= [ ['outgoingbandwidth',['outgoingBandwidth',['../structENetPeer.html#a38ca43b3ec9cd51b8120b7c50b03c5f0',1,'ENetPeer::outgoingBandwidth()'],['../structENetHost.html#ac72acde682f903beb2d9713538b6465c',1,'ENetHost::outgoingBandwidth()'],['../structENetProtocolConnect.html#a914f63aba14b68e1bb2dd91ad3b728b...
qianqians/abelkhan
cpp_component/3rdparty/enet/docs/html/search/variables_b.js
JavaScript
lgpl-2.1
2,516
var searchData= [ ['yellowcolor',['yellowColor',['../interface_c_p_color.html#a76410df22a14d10a7e3a70d7b959f29c',1,'CPColor']]] ];
davidsiaw/cappuccino-docs
search/functions_17.js
JavaScript
lgpl-2.1
133
/// <reference name="MicrosoftAjax.debug.js" /> /// <reference path="../ExtenderBase/BaseScripts.js" /> /// <reference path="../Common/Common.js" /> (function() { var scriptName = "ExtendedCascadingDropDown"; function execute() { Type.registerNamespace('Sys.Extended.UI'); Sys.Extended.UI.CascadingD...
consumentor/Server
trunk/tools/AspNetAjaxLibraryBeta0911/Scripts/extended/CascadingDropDown/CascadingDropDownBehavior.debug.js
JavaScript
lgpl-3.0
26,967
var searchData= [ ['_7eanalysis',['~Analysis',['../df/d86/classmknix_1_1_analysis.html#a4813618a04dd0c3098a58b60792f2e34',1,'mknix::Analysis']]], ['_7eanalysisdynamic',['~AnalysisDynamic',['../d4/d8c/classmknix_1_1_analysis_dynamic.html#a85fd7662ea3228c608c6761ffc4e46d4',1,'mknix::AnalysisDynamic']]], ['_7eanalys...
daniel-iglesias/mknix
doc/html/search/functions_7e.js
JavaScript
lgpl-3.0
7,520
import $ from 'jquery'; import _ from 'underscore'; import Marionette from 'backbone.marionette'; import CreateProfileView from './create-profile-view'; import RestoreProfileView from './restore-profile-view'; import RestoreBuiltInProfilesView from './restore-built-in-profiles-view'; import Template from './templates/q...
abbeyj/sonarqube
server/sonar-web/src/main/js/apps/quality-profiles/actions-view.js
JavaScript
lgpl-3.0
2,473
const router = require('koa-router')(); router.get('/', (ctx) => { return ctx.render('contact') }) module.exports = router;
colealbon/bubblemachine
routes/contact.js
JavaScript
unlicense
130
/** * event handler to be fired if the content of input element have changed. */ function eventHandler() { // write your own event handler here. document.getElementById('info').innerHTML = 'input content changed to ' + document.getElementById('input').value; } /** * Variable which keeps track of the content...
yegle/userpages
content/code/javascript-oninput-event-alternative/polling.js
JavaScript
unlicense
738
const Cc = Components.classes; const Ci = Components.interfaces; const Cr = Components.results; const Cu = Components.utils; const CC = Components.Constructor; const BinaryInputStream = CC("@mozilla.org/binaryinputstream;1", "nsIBinaryInputStream", "setInputStr...
wilebeast/FireFox-OS
B2G/gecko/netwerk/test/unit/socks_client_subprocess.js
JavaScript
apache-2.0
1,633
goog.provide('nclosure.examples.animals.IAnimal'); /** * This is the base animal interface that will be inherited by all animals. * * @interface */ nclosure.examples.animals.IAnimal = function() {}; /** * Makes the animal talk in its own special way */ nclosure.examples.animals.IAnimal.prototype.talk = goog...
rakyll/nclosure
examples/animals/ianimal.js
JavaScript
apache-2.0
337
// This file has been autogenerated. var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: '00977cdb-163f-435f-9c32-39ec8ae61f4d', name: 'node', user: { name:...
colrack/azure-xplat-cli
test/recordings/arm-cli-group-tests/arm_group_log_show_should_fail_when_an_invalid_deployment_name_is_provided.nock.js
JavaScript
apache-2.0
2,675
var searchData= [ ['includequery',['includeQuery',['../classcom_1_1example_1_1servlets_1_1_atakan_servlet_1_1_mathematician.html#a2ded5a2636fe235baef719d9f16ad2e1',1,'com::example::servlets::AtakanServlet::Mathematician']]] ];
bounswe/bounswe2016group5
TestWebProject/html/search/functions_5.js
JavaScript
apache-2.0
229
/** * JVectormap demo page */ (function ($) { 'use strict'; $('.world-map').vectorMap({ map: 'world_mill_en', backgroundColor: 'transparent', zoomOnScroll: false, strokeWidth: 1, regionStyle: { initial: { fill: $.staticApp.dark, 'fill-opacity': 0.2 }, hover: ...
wiemKh/BotOrient
client/scripts/maps/jvector.js
JavaScript
apache-2.0
1,813
/** * 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
build-system/tasks/check-types.js
JavaScript
apache-2.0
4,088
var view = Ti.UI.createView({     backgroundColor:'#000',     top:0,     left:0,     width:'100%',     height:'100%',     layout:'vertical' }); // create labels, buttons, text fields var helpLabel = Titanium.UI.createLabel({ color:'#abcdef', highlightedColor:'#0f0', backgroundColor:'transparent', width:'auto', h...
prpatel/VoterLab
Resources/lab5-b.js
JavaScript
apache-2.0
2,072
/* Copyright (C) Relevance Lab Private Limited- All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Written by Relevance UI Team, * Aug 2015 */ //This is a global service and will be cache angular.module('factory.appPermission', ...
RLOpenCatalyst/core
client/cat3/src/factory/access_permission_service.js
JavaScript
apache-2.0
1,465
Ext.namespace("Inubit.WebModeler"); Inubit.WebModeler.ModelNodesLoader = Ext.extend(Inubit.WebModeler.Loader, { constructor : function (config) { this.chunkSize = 25; this.loaded = 0; this.toLoad = 0; this.currentChunk = 0; this.chunks = new Array(); this.nodes = new Array(); this.mode = config.mode; ...
frapu78/processeditor
www/js/loader/ModelNodesLoader.js
JavaScript
apache-2.0
3,202
<%# Copyright 2013-2017 the original author or authors. This file is part of the JHipster project, see https://jhipster.github.io/ for more information. 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 L...
fjuriolli/scribble
node_modules/generator-jhipster/generators/client/templates/angularjs/src/main/webapp/app/_app.constants.js
JavaScript
apache-2.0
982
import {parseQueryString} from '#core/types/string/url'; import {BrowserController, RequestBank} from '#testing/test-helper'; const config = describes.sandboxed.configure().skipEdge().skipSafari(); config.run('amp-story analytics', {}, () => { const extensions = ['amp-story:1.0', 'amp-analytics', 'amp-social-share...
jpettitt/amphtml
test/integration/test-amp-story-analytics.js
JavaScript
apache-2.0
7,557
/*! * ${copyright} */ sap.ui.define(['jquery.sap.global', './Matcher'], function ($, Matcher) { "use strict"; /** * BindingPath - checks if a control has a binding context with the exact same binding path. * * @class BindingPath - checks if a control has a binding context with the exact same binding path ...
SQCLabs/openui5
src/sap.ui.core/src/sap/ui/test/matchers/BindingPath.js
JavaScript
apache-2.0
2,247
define( //begin v1.x content { "days-standAlone-short": [ "nedelja", "ponedeljak", "utorak", "sreda", "četvrtak", "petak", "subota" ], "months-format-narrow": [ "j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d" ], "quarters-standAlone-narrow": [ "1.", "2.", "3."...
abssi/poc-tijari
dojoLib/toolkit/dojo/dojo/cldr/nls/sh/gregorian.js
JavaScript
apache-2.0
4,822
/*! * Ext JS Library 3.4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.ux.PortalColumn = Ext.extend(Ext.Container, { layout : 'anchor', //autoEl : 'div',//already defined by Ext.Component defaultType : 'portlet', cls : 'x-portal-colum...
ahwxl/cms
icms/src/main/webapp/res/extjs/ux/PortalColumn.js
JavaScript
apache-2.0
378
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
telefonicaid/fiware-cosmos-ambari
ambari-web/app/views/main/admin/menu.js
JavaScript
apache-2.0
2,238
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
a1vanov/ignite
modules/web-console/frontend/app/modules/states/signin.state.js
JavaScript
apache-2.0
1,523
/* Copyright 2013 - $Date $ by PeopleWare n.v. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
jandppw/ppwcode-recovered-from-google-code
_moved2github/javascript/vernacular/value/trunk/src/test/SiScalarQuantitativeValue.js
JavaScript
apache-2.0
3,618
/* Copyright [2016] [Relevance Lab] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
Durgesh1988/core
server/app/model/bots/1.0/bots.js
JavaScript
apache-2.0
8,832
'use strict'; var test = require('tap').test; var fs = require('fs'); var path = require('path'); var temp = require('temp'); var streamBuffers = require("stream-buffers"); var unzip = require('../'); var Stream = require('stream'); // Backwards compatibility for node 0.8 if (!Stream.Writable) Stream = require('rea...
maddiraz/nodejs-demo
node_modules/unzipper/test/streamSingleEntry.js
JavaScript
apache-2.0
1,177
/* Copyright (C) 2012 Anthony Foster, https://github.com/aantthony/contextmenu (v0.1) 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 limita...
ms123s/simpl4-src
surface2/js/libs/contextmenu.js
JavaScript
apache-2.0
22,574
var searchData= [ ['paikallaan',['PAIKALLAAN',['../namespace_julkinen.html#a81b50e3c6f21c0c1c46e186592107c3cafa60a1b03bc49af14fb90b7026f94957',1,'Julkinen']]] ];
WhiteDeathFIN/Labyrinttipeli
html/search/enumvalues_7.js
JavaScript
apache-2.0
164
/*<![CDATA[*/ function criaLocalStorageLogin() { var linhas = document.getElementById("tabelaUsuario") .getElementsByTagName("tbody")[0].getElementsByTagName("tr"); var table = document.getElementById("tabelaUsuario"); for (i = 0; i < linhas.length; i++) { linhas[i].onclick = function(...
rubenscorrea20/Centinyx
target/classes/static/javascript/buscaDados.js
JavaScript
apache-2.0
6,985
'use strict'; /* jshint -W110 */ var Utils = require('../../utils') , util = require('util') , DataTypes = require('../../data-types') , AbstractQueryGenerator = require('../abstract/query-generator') , primaryKeys = {} , semver = require('semver') , _ = require('lodash'); var QueryGenerator = { options...
Brechard/practica5.2
node_modules/sequelize/lib/dialects/postgres/query-generator.js
JavaScript
apache-2.0
31,456
/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /** * Check that setting a breakpoint in a line without code in the second child * script will skip forward. */ var gDebuggee; var gClient; var gThreadClient; function run_test() { initTestDebuggerServer(...
wilebeast/FireFox-OS
B2G/gecko/toolkit/devtools/debugger/tests/unit/test_breakpoint-07.js
JavaScript
apache-2.0
2,659
// @flow import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../app'; import { ReducerRegistry } from '../redux'; import { USER_INTERACTION_RECEIVED } from './actionTypes'; ReducerRegistry.register('features/base/user-interaction', (state = {}, action) => { switch (action.type) { case APP_WILL_MOUNT: case ...
jitsi/jitsi-meet
react/features/base/user-interaction/reducer.js
JavaScript
apache-2.0
563
// Copyright 2013 Selenium committers // Copyright 2013 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 ...
lummyare/lummyare-lummy
javascript/safari-driver/extension/extensionbar.js
JavaScript
apache-2.0
1,430
/** * @license * Copyright 2015 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 */ CLASS({ pack...
jlhughes/foam
js/foam/ui/CSSTransition.js
JavaScript
apache-2.0
1,723
/* * Copyright 2021 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...
marques-work/gocd
server/src/main/webapp/WEB-INF/rails/app/assets/javascripts/helpers.js
JavaScript
apache-2.0
1,029
define({ root: ({ }), es: true, it: true, ru: true, tr: true, "zh-cn": true });
Esri/workflowmanager-viewer-js
js/widget/charting/StackedBarChart/nls/Strings.js
JavaScript
apache-2.0
121
(function() { function Message($firebaseArray) { var ref = firebase.database().ref().child("messages"); var messages = $firebaseArray(ref); return { getByRoomId: function(roomId) { return $firebaseArray(ref.orderByChild('roomId').equalTo(roomId)); } }; } ...
benartw86/Bloc-Chat
dist/scripts/services/message.js
JavaScript
apache-2.0
429
// get the sample user connection var connectionId = "cmis-sample-connection" var cmisConnection = cmis.getConnection(connectionId) if (cmisConnection == null) { // if no connection exists, talk to the local server cmisConnection = cmis.getConnection() } // get CMIS session var cmisSession = cmisConnection.getSessio...
Alfresco/alfresco-ms-office-plugin
webscripts/org/alfresco/cmis/client/sample/cmisdocbrowser.get.js
JavaScript
apache-2.0
791
define( //begin v1.x content { "KES_symbol": "Ksh", "USD_displayName": "Ndola ya Marekani", "TZS_displayName": "Silingi ya Tanzania", "ZMW_displayName": "Kwacha ya Zambia", "MAD_displayName": "Dirham ya Moroko", "NGN_displayName": "Naira ya Nijeria", "ZWD_displayName": "Ndola ya Zimbabwe", "SDG_displayName": "V...
abssi/poc-tijari
dojoLib/toolkit/dojo/dojo/cldr/nls/kam/currency.js
JavaScript
apache-2.0
2,324
/* Copyright 2016 Mozilla Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed u...
mozilla/tofino
app/ui/browser-modern/actions/page-actions.js
JavaScript
apache-2.0
4,988
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { settings } from 'carbon-components'; const { prefix } = settings; export default class TagSkeleton exte...
carbon-design-system/carbon-components-react
src/components/Tag/Tag.Skeleton.js
JavaScript
apache-2.0
431
/* TODO: CLEAN THIS SHIT UP * **/ function setupVoteClickHandlers() { /** * Assign click handlers to all voting buttons. */ $('.vote').click(function() { var quote_id = $(this).data('quote_id'); var direction = ''; if($(this).attr('class').indexOf('down') >= 0) { ...
stesh/porick-flask
porick/static/js/voting.js
JavaScript
apache-2.0
3,009
var echarts = require("../echarts"); var zrUtil = require("zrender/lib/core/util"); var axisPointerModelHelper = require("./axisPointer/modelHelper"); var axisTrigger = require("./axisPointer/axisTrigger"); require("./axisPointer/AxisPointerModel"); require("./axisPointer/AxisPointerView"); require("./axisPointer...
falost/falost.github.io
static/libs/echarts/lib/component/axisPointer.js
JavaScript
apache-2.0
1,704
var searchData= [ ['num_5fof_5fetalon',['NUM_OF_ETALON',['../analizer_8h.html#a39d05713f9a15de04077b8bea7b13f44',1,'analizer.h']]], ['num_5fof_5fled',['NUM_OF_LED',['../analizer_8h.html#a2bdaf37b88fc3b0920fffa2b6166be22',1,'analizer.h']]], ['num_5fof_5fpoints',['NUM_OF_POINTS',['../analizer_8h.html#a864b43588aed0...
zvebabi/Analizer_LED_ms_HT
doxygen/html/search/defines_8.js
JavaScript
apache-2.0
362
function Node(id,_2,_3,_4,_5,_6,_7,_8,_9){ this.id=id; this.pid=_2; this.name=_3; this.url=_4; this.title=_5; this.target=_6; this.icon=_7; this.iconOpen=_8; this._io=_9||false; this._is=false; this._ls=false; this._hc=false; this._ai=0; this._p; } function dTree(_a,_b){ this.config={target:null,folderLinks:true,useSel...
apache/cocoon
blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/xinha/plugins/Linker/dTree/dtree.js
JavaScript
apache-2.0
9,239
/** * easyXDM * http://easyxdm.net/ * Copyright(c) 2009-2011, Øyvind Sean Kinsey, oyvind@kinsey.no. * * 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 wit...
stori-es/stori_es
dashboard/src/main/webapp/cors/easyXDM.min.js
JavaScript
apache-2.0
42,231
var controllers = require('../model/backend-controllers-manager'); var mongoose = require('../model/backend-database').mongoose; var generatePassword = require("password-maker"); //var User = mongoose.model('User'); var promise = require('../model/utils').promise; var validate = require('../model/validator').validate; ...
javimosch/bastack
lib/backend/deprecated/controllers/diags-user-controller.js
JavaScript
apache-2.0
17,489
/** * Copyright 2014 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
naskogithub/google-api-nodejs-client
test/test.query.js
JavaScript
apache-2.0
2,474
/** * All channels used by angular's WebWorker components are listed here. * You should not use these channels in your application code. */ export const SETUP_CHANNEL = "ng-WebWorkerSetup"; export const RENDERER_CHANNEL = "ng-Renderer"; export const XHR_CHANNEL = "ng-XHR"; export const EVENT_CHANNEL = "ng-events"; /...
aayushkapoor206/whatshot
node_modules/angular2/es6/prod/src/web_workers/shared/messaging_api.js
JavaScript
apache-2.0
361
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
softpymesJeffer/incubator-guacamole-client
guacamole/src/main/webapp/app/rest/services/sharingProfileService.js
JavaScript
apache-2.0
7,066
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pr...
yoyocms/YoYoCms.AbpProjectTemplate
src/YoYoCms.AbpProjectTemplate.Web/Scripts/i18n/angular-locale_en-mt.js
JavaScript
apache-2.0
2,717
export function timeout(duration = 0) { return new Promise((resolve, reject) => { setTimeout(resolve, duration); }) }
priyatam/es6fp
lib/promises.js
JavaScript
artistic-2.0
134
/* Copyright (C) 2012, Code for America * This is open source software, released under a standard 2-clause * BSD-style license; see the file LICENSE for details. */ var ConfigBoston2 = { center: [42.36299, -71.057348], // [lat, lon] zoom: 13, // integer endpoint: 'boston', // string useCanvasMap: true, ma...
zmon/311DailyBriefKC
assets/js/libs/config.boston2.js
JavaScript
bsd-2-clause
543
var searchData= [ ['put_125',['put',['../classpmem_1_1kv_1_1db.html#a31dbecf3c960dec47d4a04328b9efd92',1,'pmem::kv::db']]], ['put_5fcomparator_126',['put_comparator',['../classpmem_1_1kv_1_1config.html#a95af80763cf924cf0b656d4ded034222',1,'pmem::kv::config']]], ['put_5fdata_127',['put_data',['../classpmem_1_1kv_1...
pbalcer/pbalcer.github.io
content/pmemkv/v1.3/doxygen/search/functions_6.js
JavaScript
bsd-3-clause
1,713
/* * Package: message.js * * Namespace: bbop.widget.message * * TODO: Code needs to be cleaned with <bbop.html>. * * BBOP object to produce a self-constructing/self-destructing * sliding message/announcments/warnings. * * Note that this is a steal of some older code. We'll probably have * to clean this u...
mugitty/bbop-js
lib/bbop/widget/message.js
JavaScript
bsd-3-clause
3,120
Module("block.ui", function (m) { Class("Shape", { isa: block.ui.Container, has: { _left: { is: "rw", init: 200 }, _top: { is: "rw", init: 100 }, _width: { is: "rw" }, ...
erpframework/joose-js
examples/blok/block/ui/Shape.js
JavaScript
bsd-3-clause
11,209
;(function($B){ eval($B.InjectBuiltins()) var $ObjectDict = _b_.object.$dict function $list(){ // used for list displays // different from list : $list(1) is valid (matches [1]) // but list(1) is invalid (integer 1 is not iterable) var args = [], pos=0 for(var i=0, _len_i = arguments.length; i < ...
Lh4cKg/brython
www/src/py_list.js
JavaScript
bsd-3-clause
18,655
// Manages the rendering of the visualization function GLRunner(canvas, cfg) { this.init(canvas, cfg); } //Use initialization method rather than constructor to facilitate monkey-patched backends GLRunner.prototype.init = function (canvas, cfg) { this.canvas = canvas; this.cfg = cfg; cfg.ignoreGL = cfg.hasOwnProper...
modulexcite/superconductor
superconductorjs/src/GLRunner.js
JavaScript
bsd-3-clause
8,014
// Copyright (C) 2014, Microsoft Corporation. All rights reserved. // This code is governed by the BSD License found in the LICENSE file. module.exports = JSShellRunner; var fs = require('fs'); var cp = require('child_process'); var ConsoleRunner = require('./console'); var counter = 0; function JSShellRunner(args) ...
muratsu/test262-harness
lib/runners/jsshell.js
JavaScript
bsd-3-clause
614
var chai = require('chai'); var sinon = require('sinon'); var chrome = require('sinon-chrome'); var expect = chai.expect; describe('Chrome Dev Tools', function() { it('should work', function() { chrome.browserAction.setTitle({title: 'hello'}); sinon.assert.calledOnce(chrome.browserAction.setTitle);...
jaythaceo/chrome-wakatime
tests/helpers/Chrome.spec.js
JavaScript
bsd-3-clause
333
var makeAFailure=function(){function n(n){}function e(n){throw new Error("failed!")}function r(r){var i=null;if(r.failed){i=e}else{i=n}i(r)}function i(){var n={failed:true,value:42};r(n)}return i}(); //# sourceMappingURL=test.map
beeftornado/sentry
tests/relay_integration/lang/javascript/example-project/test.min.js
JavaScript
bsd-3-clause
230
/* global expect */ import { forumLocation } from '../../../../../config/env.json'; const { getGuideUrl } = require('./'); describe('index', () => { describe('getGuideUrl', () => { it('should use forum topic url when forumTopicId is supplied', () => { const value = getGuideUrl({ forumTopicId: 123...
jonathanihm/freeCodeCamp
client/src/templates/Challenges/utils/index.test.js
JavaScript
bsd-3-clause
738
var structarm__fir__decimate__instance__q31 = [ [ "M", "structarm__fir__decimate__instance__q31.html#ad3d6936c36303b30dd38f1eddf248ae5", null ], [ "numTaps", "structarm__fir__decimate__instance__q31.html#a37915d42b0dc5e3057ebe83110798482", null ], [ "pCoeffs", "structarm__fir__decimate__instance__q31.ht...
lpodkalicki/blog
stm32/STM32Cube_FW_F0_V1.9.0/Drivers/CMSIS/Documentation/DSP/html/structarm__fir__decimate__instance__q31.js
JavaScript
bsd-3-clause
476
"use strict"; /** * @license * Copyright (c) 2015 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of c...
endlessm/chromium-browser
third_party/node/node_modules/polymer-bundler/node_modules/polymer-analyzer/lib/core/analyzer.js
JavaScript
bsd-3-clause
9,067
/*global require, module*/ var webpack = require('webpack'); var webpackConfig = require('./webpack.config.js'); webpackConfig.plugins = webpackConfig.plugins || []; webpackConfig.plugins.push(new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production') } })); module.exports = functio...
tf/pageflow-dependabot-test
node_package/Gruntfile.js
JavaScript
mit
769
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import {accumulateEnterLeaveDispatches} from 'events/EventPropagators'; import { TOP_MOUSE_OUT, TOP_MOUSE_OVER, TOP_POINTER_OUT, ...
krasimir/react
packages/react-dom/src/events/EnterLeaveEventPlugin.js
JavaScript
mit
4,240
/** * Tools.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * This class contains various utlity functions. These are also exposed * directly on the tinymce nam...
pvskand/addictionRemoval
tinymce/src/core/src/main/js/util/Tools.js
JavaScript
mit
12,608
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ 'use strict'; const glob = require('glob'); const path = require('path'); /** * Find the main file for the C# project * * @param {String} folder Name of the folder where to seek * @return {String} */ module.ex...
bluejeans/react-native-windows
local-cli/core/windows/findMainFile.js
JavaScript
mit
811
module.exports = { settings: { }, commands: { }, };
vgno/roc-config
test/configuration/fixtures/roc.complex.config.js
JavaScript
mit
68
var fs = require('fs'); var pkg = require('../package.json'); console.log('Creating dist/js-data-debug.js...'); var file = fs.readFileSync('dist/js-data-debug.js', { encoding: 'utf-8' }); var lines = file.split('\n'); var newLines = []; lines.forEach(function (line) { if (line.indexOf('logFn(') === -1) { new...
davincho/js-data
scripts/debug.js
JavaScript
mit
480
// "Borrowed" from node-inspector var CallbackHandler = { /** * Create a callback container * @return {Object} that wraps callbacks and returns a one-time id. */ create: function () { var lastId = 1, callbacks = {} return Object.create({}, { wrap: { value: function (callback)...
codydaig/guvnor
test/integration/fixtures/continueProcess.js
JavaScript
mit
4,878
version https://git-lfs.github.com/spec/v1 oid sha256:a5b63c6dfd15dccd31cce53e9713057b4a280de478598a0046a6b1221e6564d0 size 42396
yogeshsaroya/new-cdnjs
ajax/libs/insightjs/0.1.4/insight.min.js
JavaScript
mit
130
import baseCallback from '../internal/baseCallback'; import basePullAt from '../internal/basePullAt'; /** * Removes all elements from `array` that `predicate` returns truthy for * and returns an array of the removed elements. The predicate is bound to * `thisArg` and invoked with three arguments: (value, index, arr...
heavyk/affinaty
src/lib/lodash/array/remove.js
JavaScript
mit
1,892
var roundTrip = module.exports = require('azure-mobile-apps').table(); roundTrip.update(function (context) { return context.execute() .catch(function (error) { if(context.req.query.conflictPolicy === 'clientWins') { context.item.version = error.item.version; retu...
shrishrirang/azure-mobile-apps-node
e2etest/tables/roundTripTable.js
JavaScript
mit
675
/** * @fileoverview This option sets a specific tab width for your code * @author Dmitriy Shekhovtsov * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------...
DavidAnson/eslint
tests/lib/rules/indent.js
JavaScript
mit
328,533