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
import {extend} from "lodash"; import SeqCollection from "../model/SeqCollection"; const TreeHelper = function(msa) { this.msa = msa; return this; }; var tf = {loadTree: function(cb) { return this.msa.g.package.loadPackages(["msa-tnt", "biojs-io-newick"], cb); }, showTree: function(newickStr)...
greenify/msa
src/utils/tree.js
JavaScript
apache-2.0
2,625
/** * Created by zhangjh on 2015/10/27. */ (function ($) { "use strict"; var path = $.basepath(); var newURL = path + "/system/userinfo/new"; var user_infoURL = path + "/system/userinfo/info/"; var editURL = path + "/system/userinfo/edit"; var _0URL = path + "/system/permission/user-tab/0"; ...
firebata/skysport160125
one/src/main/webapp/resources/js/interfaces/system/permission/userinfo-edit.js
JavaScript
apache-2.0
4,554
/** * Copyright 2015 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...
widespace-os/amphtml
extensions/amp-youtube/0.1/amp-youtube.js
JavaScript
apache-2.0
16,194
/** * 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/controllers/wizard/step1_controller.js
JavaScript
apache-2.0
922
exports.printMsg = function() { console.log("Visit https://wedding.rampatra.com !"); };
marcoprolog/marcoprolog.github.io
wedding/npmfile.js
JavaScript
apache-2.0
91
// Copyright 2013 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
knutwalker/google-closure-library
closure/goog/labs/useragent/browser_test.js
JavaScript
apache-2.0
5,988
var path = require('path'); module.exports = { sass: [path.join(__dirname, 'sass')], js: [path.join(__dirname, 'js/**/*.js')], fonts: [path.join(__dirname, 'fonts/**/*.{eot,svg,ttf,woff}')] }
beiyi0207/brec-base
index.js
JavaScript
apache-2.0
199
'use strict'; var items = require('../_items'); var _ = require('lodash'); module.exports = function(req, res, next) { var item = _.findWhere(items, {id: +req.params.id}); if (!item) { return next(new restify.ResourceNotFoundError('条目未找到:' + req.params.id)); } res.send(item); };
ng-nice/code-front-jet
seeds/default/mock/resources/products/{id}/get.js
JavaScript
apache-2.0
306
'use strict'; define([ 'jquery', 'underscore', 'backbone', '<%= viewPath %>' ], function ($, _, Backbone, <%= viewName %>) { describe('<%= viewName %> view', function () { beforeEach(function () { this.view = new <%= viewName %>(); this.view.render(); }); it('render() should return t...
mmacai/generator-mario
generators/layoutview/templates/es5/_layout-view-test.js
JavaScript
apache-2.0
606
/** * @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 * * Unless requir...
jlhughes/foam
js/foam/net/WebHTTPRequest.js
JavaScript
apache-2.0
1,693
;(function($){ /** * jqGrid English Translation * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ defaults : { reco...
lohasle/base_mvc_frame
serverWeb/target/Web/static/js/lib/jqGrid/i18n/grid.locale-en.js
JavaScript
apache-2.0
6,624
import expect, { createSpy } from 'expect' import { collectionsReducer } from '../src/reducers.js' import deepFreeze from 'deep-freeze' import { FETCH, FETCH_SUCCESS, FETCH_ERROR, CREATE_SUCCESS, DELETE_SUCCESS, GARBAGE_COLLECT } from '../src/actionTypes' const initialCollection = { params: { page: 0 }, otherI...
devvmh/redux-crud-store
test/collectionsReducer.spec.js
JavaScript
apache-2.0
4,304
$(document).ready(function () { console.log('Ready page Start'); world = '001'; room = 'middle'; currentRoom = room; //Maybe declare all sessions when ready with event handlers. //Then join various sessions on click });
rianders/vwtalk
app/public/Negotiation/index.js
JavaScript
apache-2.0
252
/** * Copyright 2015 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...
rsimha-amp/amphtml
test/unit/core/data-structures/test-curve.js
JavaScript
apache-2.0
2,442
define(['backbone', 'models/chat-message'], function(Backbone, ChatMessage){ var ChatMessageList = Backbone.Collection.extend({ model : ChatMessage }); return ChatMessageList; });
leosilvadev/gchat
src/main/resources/static/assets/js/collections/chat-messages.js
JavaScript
apache-2.0
193
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ /* eslint-env node */ 'use strict'; var logging = require('../utils.js').log; // Expose public ...
celada/botbot1
node_modules/ciscospark/node_modules/@ciscospark/plugin-phone/node_modules/webrtc-adapter/src/js/chrome/getusermedia.js
JavaScript
apache-2.0
6,748
define(['angular','ops-mgr/alerts/module-name'], function (angular,moduleName) { var directive = function () { return { restrict: "E", bindToController: { cardTitle: "@", pageName: '@', query:"=", }, controllerA...
claudiu-stanciu/kylo
ui/ui-app/src/main/resources/static/js/ops-mgr/alerts/alerts-table.js
JavaScript
apache-2.0
15,151
'use strict'; import { module } from 'angular'; import { AUTO_SCROLL_DIRECTIVE } from './autoScroll/autoScroll.directive'; import { ANY_FIELD_FILTER } from './anyFieldFilter/anyField.filter'; import { LINK_WITH_CLIPBOARD } from './linkWithClipboard.component'; import { PAGE_NAVIGATOR_COMPONENT } from './navigation/pa...
ajordens/deck
app/scripts/modules/core/src/presentation/presentation.module.js
JavaScript
apache-2.0
1,879
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
teppeis/closure-library
closure/goog/ui/bubble.js
JavaScript
apache-2.0
14,878
;(function(commonjs){ // Blacklist common values. var BLACKLIST = [ "00000000000", "11111111111", "22222222222", "33333333333", "44444444444", "55555555555", "66666666666", "77777777777", "88888888888", "99999999999", "12345678909" ]; var STRICT_STRIP_REGEX = /[.-]/g...
LADOSSIFPB/nutrif
nutrif-web-refactor/lib/cpf_cnpj/lib/cpf.js
JavaScript
apache-2.0
2,037
import { badge } from "../variables"; /* DISCLAIMER: Do not change this file because it is core styling. Customizing core files will make updating Atlas much more difficult in the future. To customize any core styling, copy the part you want to customize to styles/native/app/ so the core styling is overwritten. =====...
Itvisors/mendix-DataTables
test/theme/styles/native/core/helpers/badge.js
JavaScript
apache-2.0
1,261
export const usolveDocs = { name: 'usolve', category: 'Algebra', syntax: [ 'x=usolve(U, b)' ], description: 'Finds one solution of the linear system U * x = b where U is an [n x n] upper triangular matrix and b is a [n] column vector.', examples: [ 'x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1...
josdejong/mathjs
src/expression/embeddedDocs/function/algebra/usolve.js
JavaScript
apache-2.0
442
define ([ ], function( ) { /** * * @class * @memberof * @param */ function Star(game, parentGroup, posX, posY, color){ Phaser.Sprite.call(this, game, posX, posY, 'stars',0); this.scale.setTo(0.4,0.4); thi...
Manzalab/kalulu
app/minigames/patrimath/src/ui/star.js
JavaScript
apache-2.0
526
define([ '../Core/BoundingRectangle', '../Core/BoundingSphere', '../Core/BoxOutlineGeometry', '../Core/Cartesian2', '../Core/Cartesian3', '../Core/Cartesian4', '../Core/Cartographic', '../Core/clone', '../Core/Color', '../Core/ColorGeometry...
soceur/cesium
Source/Scene/ShadowMap.js
JavaScript
apache-2.0
67,799
/******************************************************************************* Copyright (c) 2016 IBM Corporation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licen...
ibm-watson-iot/blockchain-samples
contracts/industry/carbon_trading/tests/trade_lane_contract_e2e_tests.js
JavaScript
apache-2.0
47,278
'use strict'; var upsServices = angular.module('upsConsole'); upsServices.config(function($httpProvider) { $httpProvider.interceptors.push(function($q, $interpolate, Notifications) { return { 'responseError': function(rejection) { var messageExpr, message; if (rejection.status === 400 && t...
lfryc/aerogear-unifiedpush-server
admin-ui/app/scripts/services/errorReporting.js
JavaScript
apache-2.0
797
var optimist = require('../index'); var path = require('path'); var test = require('tap').test; var $0 = 'node ./' + path.relative(process.cwd(), __filename); test('short boolean', function (t) { var parse = optimist.parse([ '-b' ]); t.same(parse, { b : true, _ : [], $0 : $0 }); t.same(typeof parse.b, 'bo...
virgo-agent-toolkit/virgo-update-service
node_modules/yargs/test/parse.js
JavaScript
apache-2.0
11,129
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ define([ "underscore", "contrail-view", "contrail-list-model", "sm-constants", "sm-labels", "sm-utils" ], function (_, ContrailView, ContrailListModel, smwc, smwl, smwu) { var PackageListView = ContrailView.extend({ ...
Juniper/contrail-web-server-manager
webroot/setting/sm/ui/js/views/PackageListView.js
JavaScript
apache-2.0
1,797
sap.ui.define([ "sap/ui/core/UIComponent", "sap/ui/model/json/JSONModel", "sap/ui/demo/wt/controller/HelloDialog", "sap/ui/Device" ], function (UIComponent, JSONModel, HelloDialog, Device) { "use strict"; return UIComponent.extend("sap.ui.demo.wt.Component", { metadata: { manifest: "json" }, init: fun...
TobiasOetzel/ui5CodeJamHannover
webapp/Component.js
JavaScript
apache-2.0
1,277
(function () { 'use strict'; angular.module('xos.diagnostic', [ 'ngResource', 'ngCookies', 'ngAnimate', 'ui.router', 'xos.helpers' ]) .config(($stateProvider) => { $stateProvider .state('home', { url: '/', template: '<diagnostic-container></diagnostic-container>' });...
cboling/xos
views/ngXosViews/diagnostic/src/js/main.js
JavaScript
apache-2.0
487
/* * jQuery File Upload User Interface Plugin 5.0.13 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://creativecommons.org/licenses/MIT/ */ /*jslint nomen: true, unparam: true, regexp: true */ /*global window...
homonecloco/gxbrowser
web-app/js/jquery.fileupload-ui.js
JavaScript
apache-2.0
26,564
// This file ensures that canceling a channel early does not // send the request to the server (bug 350790) const Cc = Components.classes; const Ci = Components.interfaces; const Cu = Components.utils; const Cr = Components.results; Cu.import("resource://testing-common/httpd.js"); var observer = { QueryInterface: ...
sergecodd/FireFox-OS
B2G/gecko/netwerk/test/unit/test_httpcancel.js
JavaScript
apache-2.0
2,223
// ECMAScript 5 strict mode "use strict"; assert2(cr, "cr namespace not created"); assert2(cr.behaviors, "cr.behaviors not created"); ///////////////////////////////////// // Behavior class cr.behaviors.Rex_layouter_text = function(runtime) { this.runtime = runtime; }; (function () { var behaviorProto = cr.behavi...
jasonshortphd/construct2games
plugins/behaviors/rex_layouter_text/runtime.js
JavaScript
apache-2.0
5,667
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: | If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value es5id: 15.3.4.4_A5_T7 description: thisArg is new Number() ---*/ v...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Function/prototype/call/S15.3.4.4_A5_T7.js
JavaScript
bsd-2-clause
538
/** * Log requests for build HAR output * * Depends on windowPerformance module! */ "use strict"; var fs = require("fs"); /** * Inspired by phantomHAR * @author: Christopher Van (@cvan) * @homepage: https://github.com/cvan/phantomHAR * @original: https://github.com/cvan/phantomHAR/blob/master/phantomhar.js *...
gmetais/phantomas
extensions/har/har.js
JavaScript
bsd-2-clause
6,334
"use strict"; exports.showErrorImpl = function (err) { return err.stack || err.toString(); }; exports.error = function (msg) { return new Error(msg); }; exports.message = function (e) { return e.message; }; exports.name = function (e) { return e.name || "Error"; }; exports.stackImpl = function (just) { r...
purescript/purescript-exceptions
src/Effect/Exception.js
JavaScript
bsd-3-clause
877
/** * Cloud Browser basic navigation support. */ var CloudBrowser = { /** Submit the "next" page results form. */ submitForm: function (formId) { document.getElementById(formId).submit(); return false; }, /** Return key pressed */ enterPressed: function (event) { var key = ...
Moliholy/cvmfs-browser
cvmfs_browser/static/js/browser.js
JavaScript
bsd-3-clause
3,142
var Comments = (function() { var previous_latest_comment = null; var halt_reload_loop = false; var pause_reload_loop = false; var can_manage_comments = null; function approve_comment(clicked, container) { var parent = $(clicked).closest('.comment'); var data = { approve...
blossomica/airmozilla
airmozilla/comments/static/comments/js/comments.js
JavaScript
bsd-3-clause
12,988
(function ($) { $.simplicity = $.simplicity || {}; /** * The current version of Simplicity Widgets. * <p> * Do not use this for feature detection, instead use it for high level * diagnostics to report which version of the widgets are * currently in use. * </p> * * @example * console.log...
shebiki/simplicity
js/simplicity.version.js
JavaScript
bsd-3-clause
421
var LoginPage = require('../pages/login.page.js'); describe("manageBuildGroup", function() { it("can create buildgroup", function() { var loginPage = new LoginPage(); loginPage.login(); browser.get('manageBuildGroup.php?projectid=3#/create'); // Create a daily group element(by.name('newBuildGro...
cpatrick/CDash
tests/js/e2e_tests/manageBuildGroup.js
JavaScript
bsd-3-clause
9,925
const GoogleStrategy = require('passport-google-oauth').OAuth2Strategy; const db = require('../../models'); module.exports = (passport, secret) => { passport.use(new GoogleStrategy({ clientID: secret.consumerKey, clientSecret: secret.consumerSecret, callbackURL: secret.callbackURL, }, (token, tokenSecr...
karuppiah7890/Mail-for-Good
server/config/passport/google.js
JavaScript
bsd-3-clause
1,221
/* Bosnian i18n for the jQuery UI date picker plugin. */ /* Written by Kenan Konjo. */ jQuery(function(a){a.datepicker.regional.bs={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Dec...
murrayrowan/hacktools
public/assets/jquery.ui.datepicker-bs.js
JavaScript
bsd-3-clause
757
/** * Pimcore * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.pimcore.org/license * * @copyright Copyright (c) 2009-2014 pimcore GmbH (http://www.pimcore...
yasarkunduz/pimcore
pimcore/static6/js/pimcore/report/analytics/elementnavigation.js
JavaScript
bsd-3-clause
5,480
$(function() { //===== File manager =====// $().ready(function() { var elf = $('#fileManager').elfinder({ // lang: 'ru', // language (OPTIONAL) url : 'php/connector.php' // connector URL (REQUIRED) }).elfinder('instance'); }); //===== ShowCode plugin for <pre> tag =====// $('.c...
rthegreat13/chillout
public/js/files/functions.js
JavaScript
bsd-3-clause
22,437
var _ = require('underscore'); var AutoStyler = require('./auto-styler'); module.exports = AutoStyler.extend({ updateStyle: function (style) { this.styles = style.auto_style; this.colors.updateColors(style.auto_style); this.colors.updateData(_.pluck(this.dataviewModel.get('data'), 'name')); }, _getR...
splashblot/dronedb
lib/assets/javascripts/deep-insights/widgets/auto-style/category.js
JavaScript
bsd-3-clause
2,059
var HttpRequestStack = require('../lib/http-stack').HttpRequestStack; // Create the 'low-level' net.Stream we're going to be 'stacking' on var conn = require('net').createConnection(80, 'www.yahoo.com'); conn.on('connect', function() { console.log('connected!'); // Create our first "stack", the HttpRequestStac...
23tux/personal_node_radio
node_modules/icecast-stack/node_modules/http-stack/examples/yahoo-request.js
JavaScript
bsd-3-clause
1,092
var Promise = require('bluebird'); var pm2 = require('pm2'); pm2.connect = Promise.promisify(pm2.connect); pm2.disconnect = Promise.promisify(pm2.disconnect); pm2.start = Promise.promisify(pm2.start); pm2.kill = Promise.promisify(pm2.killDaemon); var config = require(__dirname+'/../../config/en...
zealord/gatewayd
lib/processes/supervisor.js
JavaScript
isc
2,069
describe('Unit : youtubePlugin content services', function () { describe('Unit: Buildfire Provider', function () { var Buildfire; beforeEach(module('youtubePluginContent')); beforeEach(inject(function (_Buildfire_) { Buildfire = _Buildfire_; })); it('Buildfire should exist and be an object...
BuildFire/youtubePlugin
test/control/content/app.services.spec.js
JavaScript
mit
2,811
var Filemanager = new Class({ Implements: [Options, Events], Request: null, RequestQueue: null, Directory: null, Current: null, ID: null, options: { /* * onComplete: function( // Fired when the 'Select' button is clicked * path, // URLencoded absolute URL path to s...
GWRon/ionize
themes/admin/javascript/filemanager/filemanager.js
JavaScript
mit
108,032
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['jquery.sap.global'],function(q){"use strict";var D={};D.render=function(r,c){var a=r;a.write("<div");a.writeControlDat...
marinho/german-articles
webapp/resources/sap/ui/ux3/DataSetSimpleViewRenderer.js
JavaScript
mit
1,161
/** * @author: Dennis Hernández * @webSite: http://djhvscf.github.io/Blog * @version: v1.0.0 */ !function ($) { 'use strict'; var isSearch = false; var rowAttr = function (row, index) { return { id: 'customId_' + index }; }; $.extend($.fn.bootstrapTable.defaults,...
Curiosity-Education/curiosity-v.1.0
public/packages/libs/bootstrap-table/extensions/reorder-rows/bootstrap-table-reorder-rows.js
JavaScript
mit
3,327
define({ "_widgetLabel": "Kaldvaatur", "locateButtonLabel": "Valige peamisel kaardil punkt kaldpiltide kuvamiseks.", "clearButtonLabel": "Kustuta kogu graafika", "zoomButtonLabel": "Suumi kaldpildi ulatuses", "syncButtonLabel": "Sünkroniseeri nadiirkaart", "rasterListLabel": "Kuva saadaolevad kaldpildid", ...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/ObliqueViewer/nls/et/strings.js
JavaScript
mit
685
var should = require('should'), getPaginatedUrl = require('../../../../server/data/meta/paginated_url'), configUtils = require('../../../utils/configUtils'); describe('getPaginatedUrl', function () { var data, getTestUrls; beforeEach(function () { data = {}; }); getTestUrls = function...
dbalders/Ghost
core/test/unit/data/meta/paginated_url_spec.js
JavaScript
mit
6,432
version https://git-lfs.github.com/spec/v1 oid sha256:1f792858194799d7baee9c92b71369620f20b27976c9db4d5edb0e1ea118891b size 18585
yogeshsaroya/new-cdnjs
ajax/libs/codemirror/3.23.0/mode/erlang/erlang.js
JavaScript
mit
130
a >= b
PiotrDabkowski/pyjsparser
tests/pass/05b9c5f007cbaa56.js
JavaScript
mit
6
var util = require('util'); function UnexpectedError(inner) { this.message = "Unexpected Error"; this.inner = inner; Error.call(this, this.message); Error.captureStackTrace(this, this.constructor); } util.inherits(UnexpectedError, Error); UnexpectedError.wrap = function (err) { return (err instanceof Unex...
sandrinodimattia/ad-ldap-connector
lib/errors/UnexpectedError.js
JavaScript
mit
404
'use strict'; // Init the application configuration module for AngularJS application var ApplicationConfiguration = function () { // Init module configuration options var applicationModuleName = 'agileTek'; var applicationModuleVendorDependencies = [ 'ngResource', 'ngCookies', 'ngAni...
A-Tek/pool2_prototype
public/dist/application.min.js
JavaScript
mit
1,731
$(function() { var gifPath = undefined; var gifData = undefined; var currentFrame = 0; var framesSeen = 0; var save = [ HTM.SpSnapshots.ACT_COL, HTM.SpSnapshots.POT_POOLS, HTM.SpSnapshots.INH_MASKS, HTM.SpSnapshots.CON_SYN ]; var history = { input: [...
htm-community/sdr-viz
static/js/working/sp-gifs.js
JavaScript
mit
24,952
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
tmcgee/cmv-wab-widgets
wab/2.15/jimu.js/dijit/GpServiceChooser.js
JavaScript
mit
1,320
"use strict"; var childProcess = require("child_process"); var os = require("os"); module.exports = function opener(args, options, callback) { var platform = process.platform; // Attempt to detect Windows Subystem for Linux (WSL). WSL itself as Linux (which works in most cases), but in // this specific c...
setie/setie.github.io
node_modules/npm/node_modules/opener/lib/opener.js
JavaScript
mit
2,343
'use strict'; exports.__esModule = true; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactDom = require('react-dom'); var _reactDom2 = _interopRequireDefault(_reactDom); var _CSSCore = require('fbjs/lib/CSSCore'); var _CSSCore2 = _interopRequireDefault(_CSSCore); function _...
nherzalla/ProfileX-1
node_modules/auth0-lock/lib/ui/box/multisize_slide.js
JavaScript
mit
8,290
import reducer from '../../../src/renderer/reducers/auth'; describe('reducer/auth', () => { const initialState = { mail: '' }; it('should return the initial state', () => { const expectedResult = initialState; expect(reducer(undefined, {})).toEqual(expectedResult); }); it('should handle LOGIN'...
my-dish/template-electron
template/__tests__/renderer/reducers/auth.js
JavaScript
mit
1,041
'use strict'; /** * Module dependencies. */ var _ = require('lodash'), errorHandler = require('../errors.server.controller'), mongoose = require('mongoose'), passport = require('passport'), User = mongoose.model('User'); var jwt = require('jwt-simple'); var secret = 'keepitquiet'; /** * Signup ...
castlewhitehall/meanjs-with-token-auth
app/controllers/users/users.authentication.server.controller.js
JavaScript
mit
6,521
/** * Copyright (c) Microsoft. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
dmohl/fogjs
node_modules/azure/lib/services/table/batchserviceclient.js
JavaScript
mit
9,589
/* * decaffeinate suggestions: * DS102: Remove unnecessary code created because of implicit returns * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md */ const _ = require("underscore") const sinon = require("sinon") const benv = require("benv") const rewire = require("rewire"...
joeyAghion/force
src/desktop/apps/galleries_institutions/components/search_results/test/view.test.js
JavaScript
mit
4,145
class Foo { static test() { return babelHelpers.classPrivateFieldLooseBase(Foo, _bar)[_bar]; } test() { return babelHelpers.classPrivateFieldLooseBase(Foo, _bar)[_bar]; } } var _bar = babelHelpers.classPrivateFieldLooseKey("bar"); Object.defineProperty(Foo, _bar, { writable: true, value: "foo" }...
Skillupco/babel
packages/babel-plugin-proposal-class-properties/test/fixtures/private-loose/static/output.js
JavaScript
mit
323
/* * Copyright (c) 2017. MIT-license for Jari Van Melckebeke * Note that there was a lot of educational work in this project, * this project was (or is) used for an assignment from Realdolmen in Belgium. * Please just don't abuse my work */ /* * DateJS Culture String File * Country Code: de-LU * Name: German (...
N00bface/Real-Dolmen-Stage-Opdrachten
stageopdracht/src/main/resources/static/vendors/DateJS/src/i18n/de-LU.js
JavaScript
mit
5,849
var url_util = require('url'); var common = require("./url_common.js"); exports._constructUrl = function (url, query, params) { var url_parts = url_util.parse(url); return common.buildUrl( url_parts.protocol + "//" + url_parts.host + url_parts.pathname, url_parts.search, query, params ); }; expo...
Hansoft/meteor
packages/url/bc/url_server.js
JavaScript
mit
361
var baseInvoke = require('./_baseInvoke'), rest = require('./rest'); /** * Invokes the method at `path` of `object`. * * @static * @memberOf _ * @category Object * @param {Object} object The object to query. * @param {Array|string} path The path of the method to invoke. * @param {...*} [args] Th...
Moccine/global-service-plus.com
web/libariries/bootstrap/node_modules/grunt-legacy-util/node_modules/lodash/invoke.js
JavaScript
mit
628
/*global angular */ 'use strict'; var angular = require('angular'); var angularMocks = require('angular-mocks'); // var angular = require('angular'); var localisationService = require('../../../src/app/services/localisationService'); describe('Unit: LocalisationService', function() { var service; beforeEach(f...
SirKettle/super-game
test/unit/services/localisationService_spec.js
JavaScript
mit
1,207
export function getNewVersion() { return require('../../package.json').version; }
CanopyCloud/pivotal-ui
tasks/helpers/version-helper.js
JavaScript
mit
84
var Player = function (game, x, y) { Phaser.Sprite.call(this, game, x, y, 'testsprite'); game.add.existing(this); } Player.prototype = Object.create(Phaser.Sprite.prototype); Player.prototype.constructor = Player; /** * Automatically called by World.update */ Player.prototype.update = function() { }; modul...
zajca/caveman-timemachine-robot-killer-game
src/js/entities/player.js
JavaScript
mit
340
import {get} from 'ember-metal/property_get'; import {set} from 'ember-metal/property_set'; import EnumerableUtils from 'ember-metal/enumerable_utils'; import {computed} from 'ember-metal/computed'; import run from 'ember-metal/run_loop'; import {typeOf} from 'ember-metal/utils'; import {observer} from 'ember-metal/mix...
g13013/ember.js
packages_es6/ember-runtime/tests/legacy_1x/mixins/observable/observable_test.js
JavaScript
mit
28,443
module.exports = { description: 'handles call of aliased external function (#957)', warnings() {}, context: { require(id) { if (id === 'foo') { return () => 42; } } } };
corneliusweig/rollup
test/function/samples/call-external-function/_config.js
JavaScript
mit
188
/** * @license AngularJS v1.5.8 * (c) 2010-2016 Google, Inc. http://angularjs.org * License: MIT */ (function (window, angular) { 'use strict'; /** * @ngdoc module * @name ngAria * @description * * The `ngAria` module provides support for common * [<abbr title="Accessible Ric...
QubizSolutions/quiz-engine
src/Qubiz.QuizEngine/Areas/M/Scripts/angular-aria.js
JavaScript
mit
18,540
import React from 'react'; import SvgIcon from '../../SvgIcon'; const EditorFormatIndentIncrease = (props) => ( <SvgIcon {...props}> <path d="M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"/> </SvgIcon> ); EditorFormatIndentIncrease.displayName = 'EditorFormatInden...
alvarolobato/blueocean-plugin
jenkins-design-language/src/js/components/material-ui/svg-icons/editor/format-indent-increase.js
JavaScript
mit
424
/* globals module require */ module.exports = require("./data-loader");
TeamFreedom-NodeJS/TeamFreedomWebApplication
data/index.js
JavaScript
mit
72
//>>built define("dojox/editor/plugins/nls/eu/latinEntities",{iexcl:"harridura ikur alderantzikatua",cent:"zentaboaren ikurra",pound:"liberaren ikurra",curren:"diruaren ikurra",yen:"yen ikurra\nyuan ikurra",brvbar:"barra zatitua\nbarra zatitu bertikala",sect:"sekzio ikurra",uml:"dieresia\nlerroarte-dieresia",copy:"copy...
darklilium/Factigis_2
arcgis_js_api/library/3.17/3.17compact/dojox/editor/plugins/nls/eu/latinEntities.js
JavaScript
mit
9,548
'use strict'; var util = require('util'), Store = require('../base'), _ = require('lodash'), async = require('async'), tingodb = Store.use('tingodb')(), ObjectID = tingodb.ObjectID, debug = require('debug')('eventstore:store:tingodb'); function Tingo(options) { options = options || {}; Store.call(thi...
rehia/node-eventstore
lib/databases/tingodb.js
JavaScript
mit
12,036
define( "gridx/nls/kk/PaginationBar", ({ pagerWai: 'Пейджер', pageIndex: '${0}', pageIndexTitle: '${0}-бет', firstPageTitle: 'Бірінші бет', prevPageTitle: 'Алдыңғы бет', nextPageTitle: 'Келесі бет', lastPageTitle: 'Соңғы бет', pageSize: '${0}', pageSizeTitle: 'Бетіне ${0} элемент', pageSizeAll: 'Барлығы', pa...
Bonome/pauline-desgrandchamp.com
lib/dojo/gridx/nls/kk/PaginationBar.js.uncompressed.js
JavaScript
mit
1,043
var searchData= [ ['readonlyprototype',['ReadOnlyPrototype',['../classv8_1_1FunctionTemplate.html#a91d2e0643e8c5a53ab1d75f7766c2422',1,'v8::FunctionTemplate']]], ['release',['Release',['../classv8_1_1PersistentValueMapBase.html#a9ffa7a4e0c59121c0471d71c04112966',1,'v8::PersistentValueMapBase']]], ['remove',['Remo...
v8-dox/v8-dox.github.io
e1c9761/html/search/functions_f.js
JavaScript
mit
2,858
module("Script Value", { setup : function() { stop(); var that = this; this.cb = function(e) { ok(true, "Scene loaded"); that.doc = document.getElementById("xml3dframe").contentDocument; start(); }; loadDocument("scenes/script-value.xhtml"+...
CCLDESTY/xml3d.js
tests/script-value.js
JavaScript
mit
4,187
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) : typeof define === 'function' && define.amd ? define(['jquery'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); }(this, (function ($...
Philhil/DienstplanDLRG
public/plugins/bootstrap-table/locale/bootstrap-table-en-US.js
JavaScript
mit
26,323
define(['jquery', 'underscore', './filter/segment-filter', './segment-choice', 'jquery-ui'], function($, _, SegmentFilter) { 'use strict'; /** * Apply segment widget */ $.widget('orosegment.segmentCondition', { options: { segmentChoice: {}, segmentChoiceClass: 'sel...
Djamy/platform
src/Oro/Bundle/SegmentBundle/Resources/public/js/segment-condition.js
JavaScript
mit
4,256
/* * 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/networkManagement2/lib/models/usage.js
JavaScript
mit
2,149
module.exports = { plugins: [ require('autoprefixer')({ browsers: [ 'last 3 version', 'ie >= 10', 'safari 5' ], }) ] };
expdevelop/ultrastore
postcss.config.js
JavaScript
mit
168
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); ...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-beta.0/node/internal/SwitchBase.js
JavaScript
mit
9,407
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var React = require('react'); var utils = require('primereact/utils'); var keyfilter = require('primereact/keyfilter'); var tooltip = require('primereact/tooltip'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && '...
cdnjs/cdnjs
ajax/libs/primereact/7.1.0/inputtext/inputtext.cjs.js
JavaScript
mit
9,377
/*------------------------------------*\ ABOUT \*------------------------------------*/ /* jslint node: true */ /** * @fileOverview Progressive realtime web framework config-driven or API-driven for building easily serverless files, websites and webapps component-based and service-oriented. * @author {@link http...
Haeresis/NodeAtlas
index.js
JavaScript
gpl-2.0
1,905
( function ( $, mw ) { /** * mw.Upload.BookletLayout encapsulates the process of uploading a file * to MediaWiki using the {@link mw.Upload upload model}. * The booklet emits events that can be used to get the stashed * upload and the final file. It can be extended to accept * additional fields from the use...
hbshim/mediawiki-lfHideSidebar
resources/src/mediawiki/mediawiki.Upload.BookletLayout.js
JavaScript
gpl-2.0
15,024
jQuery( document ).ready(function() { "use strict"; // position dropdown menu correctly jQuery.fn.fusion_position_menu_dropdown = function( variables ) { if( ( js_local_vars.header_position == 'Top' && ! jQuery( 'body.rtl' ).length ) || js_local_vars.header_position == 'Left' ) { return jQuery( this ).ch...
toyo213/high-tide
wp-content/themes/Avada/assets/js/avada-header.js
JavaScript
gpl-2.0
62,448
/* * Copyright (C) eZ Systems AS. All rights reserved. * For full copyright and license information view LICENSE file distributed with this source code. */ YUI.add('ez-navigationhubview', function (Y) { "use strict"; /** * Provides the navigation hub view * * @module ez-navigationhubview ...
mhyndle/PlatformUIBundle
Resources/public/js/views/ez-navigationhubview.js
JavaScript
gpl-2.0
24,268
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'indent', 'cs', { indent: 'Zvětšit odsazení', outdent: 'Zmenšit odsazení' } );
eastoncat/cm.eastoncat
sites/all/modules/contrib/civicrm/packages/ckeditor/plugins/indent/lang/cs.js
JavaScript
gpl-2.0
266
// import("store.js")
bennyn/amplify
src/amplify.store.js
JavaScript
gpl-2.0
21
//>>built define("dojox/editor/plugins/nls/sv/InsertEntity",({insertEntity:"Infoga symbol"}));
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/editor/plugins/nls/sv/InsertEntity.js
JavaScript
gpl-2.0
97
define("dojox/sketch", [ "dojo/_base/kernel", "dojo/_base/lang", "./xml/DomParser", "./sketch/UndoStack", "./sketch/Figure", "./sketch/Toolbar" ], function(dojo){ dojo.getObject("sketch", true, dojox); /*===== return { // summary: // Deprecated. Should require dojox/sketch modules dire...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/sketch.js.uncompressed.js
JavaScript
gpl-2.0
433
(function ($) { "use strict"; /** * Auto-hide summary textarea if empty and show hide and unhide links. */ Drupal.behaviors.textSummary = { attach: function (context, settings) { $(context).find('.text-summary').once('text-summary', function () { var $widget = $(this).closest('.text-format-wrapper'); ...
nullzer/dr8
core/modules/text/text.js
JavaScript
gpl-2.0
1,531
tinyMCE.addI18n('fi.advlink_dlg',{ title:"Lis\u00E4\u00E4/muokkaa linkki\u00E4", url:"Linkin URL", target:"Kohde (target)", titlefield:"Otsikko", is_email:"Sy\u00F6tt\u00E4m\u00E4si URL n\u00E4ytt\u00E4\u00E4 olevan s\u00E4hk\u00F6postiosoite, haluatko lis\u00E4t\u00E4 mailto: etuliitteen?", is_external:"Sy\u00F6tt\u00...
wbread/Elxis-2009.3_aphrodite_rev2681
mambots/editors/tinymce/jscripts/tiny_mce/plugins/advlink/langs/fi_dlg.js
JavaScript
gpl-2.0
1,916
define( ({ showArcgisBasemaps: "Inclure les fonds de carte du portail", settings: "Paramètres", add: "Cliquez pour ajouter un nouveau fond de carte", edit: "Propriétés", title: "Titre", titlePH: "Titre du fond de carte", thumbnail: "Miniature", thumbnailHint: "Cliquez sur l’image pou...
EsriCanada-CE/ecce-app-challenge-2015
UW_TeamSDS/arcgis-web-appbuilder-1.0/server/apps/2/widgets/BasemapGallery/setting/nls/fr/strings.js
JavaScript
gpl-2.0
1,208
var searchData= [ ['tealeaf_5fcanvas_5ft',['tealeaf_canvas_t',['../structtealeaf__canvas__t.html',1,'']]], ['texture_5f2d_5ft',['texture_2d_t',['../structtexture__2d__t.html',1,'']]], ['texture_5fmanager_5ft',['texture_manager_t',['../structtexture__manager__t.html',1,'']]] ];
gameclosure/native-ios
docs/native/html/search/classes_74.js
JavaScript
gpl-3.0
284