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
/** * @depends {nrs.js} */ var NRS = (function(NRS, $, undefined) { NRS.newlyCreatedAccount = false; NRS.allowLoginViaEnter = function() { $("#login_password").keypress(function(e) { if (e.which == '13') { e.preventDefault(); var password = $("#login_password").val(); NRS.login(password); } }...
metrospark/czarcraft
html/ui/js/nrs.login.js
JavaScript
lgpl-2.1
10,072
// Copyright 2009 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...
turnonline/maven-optimizer-plugin
src/main/resources/org/ctoolkit/maven/plugins/optimizer/gc_closure/goog/editor/plugins/equation/equationbubble.js
JavaScript
lgpl-2.1
4,191
/* * JQuery zTree core 3.1 * http://code.google.com/p/jquerytree/ * * Copyright (c) 2010 Hunter.z (baby666.cn) * * Licensed same as jquery - MIT License * http://www.opensource.org/licenses/mit-license.php * * email: hunter.z@263.net * Date: 2012-02-14 */ (function($){ var settings = {}, roots = {}, caches...
yesan/Spacebuilder
Web/Scripts/jquery/zTree/jquery.ztree.all-3.1.js
JavaScript
lgpl-3.0
112,066
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /js/sortable.js was not found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </bo...
greenpdx/taxnvote
data/pages/FullDataDictionary XML Schema Model_files/sortable.js
JavaScript
lgpl-3.0
331
/** * @license Highcharts JS v9.1.2 (2021-06-16) * @module highcharts/modules/broken-axis * @requires highcharts * * (c) 2009-2021 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import Highcharts from '../../Core/Globals.js'; import BrokenAxis from '../../Core/Axis/BrokenAxis.js'; var G...
sfu-ireceptor/gateway
public/js/highcharts/code/es-modules/masters/modules/broken-axis.src.js
JavaScript
lgpl-3.0
389
/* Implement Github like autocomplete mentions http://ichord.github.com/At.js Copyright (c) 2013 chord.luo@gmail.com Licensed under the MIT license. */ /* 本插件操作 textarea 或者 input 内的插入符 只实现了获得插入符在文本框中的位置,我设置 插入符的位置. */ (function() { (function(factory) { factory(window.jQuery); })(function($) { "...
SeekArt/IBOS
static/js/lib/atwho/jquery.atwho.js
JavaScript
lgpl-3.0
25,280
//function f(x) { // return x+1; //} // //var a = 42; //var b = f(a); //var c = this.f(a); var x={ a:function() {return 42}, b:function() {return this.a()}, c:function() {return a()} } var ta = x.a(); var tb = x.b(); var tc = x.c(); // SHOULD FAIL
keil/TbDA
test/micro/test104.js
JavaScript
apache-2.0
274
/* * Copyright 2015-2018 Jeeva Kandasamy (jkandasa@gmail.com) * and other contributors as indicated by the @author tags. * * 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://...
pgh70/mycontroller
dist/src/main/package/www/controllers/nodes.js
JavaScript
apache-2.0
14,045
/** * @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/apps/builder/datamodels/meta/descriptor/MetaDescriptor.js
JavaScript
apache-2.0
1,025
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
linde12/grommet
src/js/components/icons/base/Multiple.js
JavaScript
apache-2.0
1,692
/** * 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...
apache/incubator-superset
superset-frontend/plugins/legacy-plugin-chart-map-box/src/index.js
JavaScript
apache-2.0
1,758
// 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...
GabrielBrascher/cloudstack
ui/src/store/getters.js
JavaScript
apache-2.0
1,683
const { filterQuery } = require('./helpers') module.exports = (server, config, cache) => { return [ { /* Endpoint for users authentication. Unauthenticated users are redirected to it for user authentication (see configuration of `uaa-cookie` strategy). Is guarded by `uaa-oauth` strategy which...
logsearch/logsearch-for-cloudfoundry
src/kibana-cf_authentication/server/routes.js
JavaScript
apache-2.0
6,173
/** * @license * Copyright 2016 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...
google/vsaq
vsaq/static/questionnaire/uploaditem_test.js
JavaScript
apache-2.0
9,859
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function (config) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC...
hackingwu/EasyCMS
web/admin/ckeditor2/config.js
JavaScript
apache-2.0
1,347
// Copyright 2016 The Oppia 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 required by ap...
sdulal/oppia
core/templates/dev/head/domain/collection/CollectionValidationService.js
JavaScript
apache-2.0
6,956
// // page DV.page = DV.Class.extend({ init: function(argHash){ this.index = argHash.index; for(var key in argHash) this[key] = argHash[key]; this.el = $j(this.el); this.parent = this.el.parent(); this.pageNumberEl = this.el.find('span.DV-pageNumber'); ...
NYTimes/document-viewer
public/javascripts/DV/lib/page.js
JavaScript
apache-2.0
8,511
/** * Copyright 2016 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...
Meggin/amphtml
extensions/amp-soundcloud/0.1/amp-soundcloud.js
JavaScript
apache-2.0
2,611
/* DreemGL is a collaboration between Teeming Society & Samsung Electronics, sponsored by Samsung and others. Copyright 2015-2016 Teeming Society. 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...
dreemproject/dreemgl
system/shaderlib/demolib.js
JavaScript
apache-2.0
2,070
module.exports = "3.2.0";
tijhaart/pouchdb-getting-started
bower_components/pouchdb/lib/version-browser.js
JavaScript
apache-2.0
26
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
pasindujw/product-mdm
modules/apps/jaggery/emm/src/emm/units/device-detail/public/js/device-detail.js
JavaScript
apache-2.0
11,488
"use strict"; /* This file contains translations between the integer values used in the Zulip API to describe values in dropdowns, radio buttons, and similar widgets and the user-facing strings that should be used to describe them, as well as data details like sort orders that may be useful for som...
showell/zulip
static/js/settings_config.js
JavaScript
apache-2.0
11,095
angular.module('classwhole', ['services', 'utils', 'directives']); angular.module('directives', []); angular.module('services', []);
mikesmayer/classwhole
app/assets/javascripts/angular/app.js
JavaScript
apache-2.0
133
/* * 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 ...
apache/chukwa
core/src/main/web/hicc/ajax-solr/chukwa/widgets/AutocompleteWidget.7.0.js
JavaScript
apache-2.0
2,325
'use strict'; goog.require('grrUi.core.module'); goog.require('grrUi.tests.browserTrigger'); goog.require('grrUi.tests.module'); var browserTrigger = grrUi.tests.browserTrigger; describe('infinite table', function() { var $compile, $rootScope, $interval; beforeEach(module(grrUi.core.module.name)); beforeEach(...
wandec/grr
gui/static/angular-components/core/infinite-table-directive_test.js
JavaScript
apache-2.0
3,966
/* 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/. */ function run_test() { // We're testing migration to this version from one version below var targetVersion = 8;...
sergecodd/FireFox-OS
B2G/gecko/toolkit/components/downloads/test/schema_migration/test_migration_to_8.js
JavaScript
apache-2.0
3,203
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
xingwu1/azure-sdk-for-node
lib/services/timeseriesinsightsManagement/lib/models/eventHubEventSourceCreateOrUpdateParameters.js
JavaScript
apache-2.0
5,409
/** * @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...
mdittmer/foam
js/foam/apps/builder/wizard/NewOrExistingDAOWizard.js
JavaScript
apache-2.0
2,095
/** * @license * Copyright 2014 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 ...
ralic/lovefield
lib/proc/database.js
JavaScript
apache-2.0
4,910
"use strict"; var exec = require( "child_process" ).exec; module.exports = function( grunt ) { grunt.registerTask( "version", "Commit a new version", function( version ) { if ( !/\d\.\d+\.\d+/.test( version ) ) { grunt.fatal( "Version must follow semver release format: " + version ); return; } var done =...
thinq4yourself/labster-landing-material-proto
bower_components/detectizr/tasks/version.js
JavaScript
apache-2.0
956
var overlays = (function () { var exports = {}; var active_overlay; var close_handler; var open_overlay_name; function reset_state() { active_overlay = undefined; close_handler = undefined; open_overlay_name = undefined; } exports.is_active = function () { return !!open_overlay_name; }; exports.is_...
verma-varsha/zulip
static/js/overlays.js
JavaScript
apache-2.0
5,509
/** * 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
extensions/amp-audio/0.1/test/test-amp-audio.js
JavaScript
apache-2.0
9,546
/** * cbpAnimatedHeader.js v1.0.0 * http://www.codrops.com * * Licensed under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * Copyright 2013, Codrops * http://www.codrops.com */ var cbpAnimatedHeader = (function() { var docElem = document.documentElement, header = document.queryS...
ConceptHaus/Maniac
js/cbpAnimatedHeader.js
JavaScript
apache-2.0
876
var indexerLanguage="en"; //Auto generated index for searching. w["-"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,...
yantarou/midonet-docs
www/operation-guide/2014-11/content/search/index-1.js
JavaScript
apache-2.0
23,078
import {registerBidder} from 'src/adapters/bidderFactory'; const utils = require('src/utils'); const BIDDER_CODE = 'teads'; const ENDPOINT_URL = '//a.teads.tv/hb/bid-request'; const gdprStatus = { GDPR_APPLIES_PUBLISHER: 12, GDPR_APPLIES_GLOBAL: 11, GDPR_DOESNT_APPLY: 0, CMP_NOT_FOUND_OR_ERROR: 22 } export con...
indexexchange/Prebid.js
modules/teadsBidAdapter.js
JavaScript
apache-2.0
4,185
/** * @license * Visual Blocks Editor * * Copyright 2012 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
jstnhuang/blockly
core/variables.js
JavaScript
apache-2.0
21,831
import { dom, text } from '../../commons'; /** * Note: `identical-links-same-purpose-after` fn, helps reconcile the results */ function identicalLinksSamePurposeEvaluate(node, options, virtualNode) { const accText = text.accessibleTextVirtual(virtualNode); const name = text .sanitize( text.removeUnicod...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/axe-core/lib/checks/navigation/identical-links-same-purpose-evaluate.js
JavaScript
apache-2.0
763
var url = require('url') var fs = require('fs'); var express = require('express'); var _ = require('lodash'); var superagent = require('superagent'); var net = require('net'); var http = require('http'); var https = require('https'); var WS = require('ws'); var WebSocketServer = WS.Server; var indexData; var app = ex...
dockersamples/docker-swarm-visualizer
server.js
JavaScript
apache-2.0
2,529
"use strict"; import React from "react"; import ReactDOM from "react-dom"; import debugFactory from "debug"; const debug = debugFactory('app:components:RainfallVsYieldChartComponent'); import CropYieldsChart from "../../charts/cropYieldsVersusRainfall"; import {Glyphicon, Button, DropdownButton, MenuItem} from "react-...
atsid/EPA-EDS
src/js/components/panes/cropmetrics/rainfall_vs_yield.js
JavaScript
apache-2.0
1,261
'use strict'; /** * The bot implementation * * Instantiate apssing a connector via * makeBot * */ // var exec = require('child_process').exec // var request2 = require('request-defaults') // var request = request2.globalDefaults({ // 'proxy': 'http://proxy:8080', // 'https-proxy': 'https://proxy:8080' // }) ...
jfseb/fdevstart
gen2/bot/dialog.js
JavaScript
apache-2.0
8,343
/*H-ui.admin.js v2.3.1 date:15:42 2015.08.19 by:guojunhui*/ /*获取顶部选项卡总长度*/ function tabNavallwidth(){ var taballwidth=0, $tabNav = $(".acrossTab"), $tabNavWp = $(".Hui-tabNav-wp"), $tabNavitem = $(".acrossTab li"), $tabNavmore =$(".Hui-tabNav-more"); if (!$tabNav[0]){return} $tabNavitem.each(function(index, ...
YeGithubAdmin/JYHD
resources/Jy_admin/js/H-ui.admin.js
JavaScript
apache-2.0
5,403
import React, { Component } from 'react'; import { Text } from 'react-native'; import { connectStyle } from '@shoutem/theme'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; class Label extends Component { render() { return ( <Text ref={c => this._root = c} {...this.props} /> ); } ...
tausifmuzaffar/bisApp
node_modules/native-base/src/basic/Label.js
JavaScript
apache-2.0
525
/* * Copyright 2010 Comcast Cable Communications Management, LLC * * 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...
trentontrees/dawg
libraries/dawg-house/src/main/webapp/resources/scripts/dawg-pound.js
JavaScript
apache-2.0
4,060
app.factory('userService', function($http, $auth, $state, $q, $rootScope) { var _identity = undefined; var _authenticated = false; var _authenticate = function(identity) { _identity = identity; if(identity != null) { _authenticated = true; } }; var _isInRole = function(role) { ...
mehdichamouma/session-montpellier
ui/app/scripts/services/userService.js
JavaScript
apache-2.0
2,865
/** * @license * 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...
diracdeltas/end-to-end-1
src/javascript/crypto/e2e/extension/actions/importkey.js
JavaScript
apache-2.0
2,245
'use strict'; const express = require('express'); const router = express.Router(); const offset = require('server/middleware/pageoffset.js'); const daterange = require('server/middleware/daterange.js'); const normalizequery = require('server/middleware/normalizequery.js'); const storage = require('server/storage'); co...
Kharatsa/sample-tracking
app/server/stt/routes/changesroutes.js
JavaScript
apache-2.0
2,727
export const compareDateStrings = (a, b) => { a = Date.parse(a) b = Date.parse(b) if (a > b) { return 1 } if (a < b) { return -1 } return 0 } // https://vuejs.org/v2/guide/syntax.html#Filters export const normalize = value => { if (!value) return '' value = value.toString().replace(/_/g, ' ')...
sbdchd/linky
frontend/src/utilities.js
JavaScript
bsd-2-clause
928
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ //In this particular case, we are using this JavaScript in the case where we are employing an external template //And NOT generating fields //For now, we are only using this when creating an entirely new object, but later will incorpor...
ld4l-labs/vitrolib
webapp/src/main/webapp/templates/freemarker/edit/forms/js/hasActivity.js
JavaScript
bsd-2-clause
3,169
function foo() { Enter({ name: 'foo', lineNumber: 1, range: [0, 17] }); Exit({ name: 'foo', lineNumber: 1, range: [0, 17] }); } var bar = function() { Enter({ name: 'bar', lineNumber: 3, range: [29, 170] }); console.log('Hello'); function baz() { Enter({ name: 'baz', lineNumber: 7, range: [74...
ariya/esmorph
test/data/multiple_morphed.js
JavaScript
bsd-2-clause
821
var searchData= [ ['normalize',['normalize',['../classsc_1_1_quat.html#a4fd2ed1eb85f002a730f137054e02f1e',1,'sc::Quat']]], ['numconnectors',['numConnectors',['../classsc_1_1_slave.html#aeb03338c2e663fff7549390ecb99e25d',1,'sc::Slave']]] ];
umitresearchlab/strong-coupling-core
docs/search/functions_a.js
JavaScript
bsd-2-clause
244
(function () { app.validate = { getValidator: function (selector, params) { return $(selector).kendoValidator(_.merge({ validateOnBlur: true, rules: { validateBirthDateRule: function (input) { if (input.is('input[type=da...
gngeorgiev/platform-friends
friends-hybrid/common/validate.js
JavaScript
bsd-2-clause
1,542
/*! * OS.js - JavaScript Cloud/Web Desktop Platform * * Copyright (c) 2011-2016, Anders Evenrud <andersevenrud@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistribu...
arduino-org/OS.js-v2
src/packages/default/CoreWM/settings.js
JavaScript
bsd-2-clause
3,971
/* * Package: xrefs.js * * Namespace: amigo.data.xrefs * * This package was automatically created during an AmiGO 2 installation * from the GO.xrf_abbs file at: "http://www.geneontology.org/doc/GO.xrf_abbs". * * NOTE: This file is generated dynamically at installation time. * Hard to work with unit tests--h...
mugitty/bbop-js
_data/xrefs.js
JavaScript
bsd-3-clause
170,836
// d3.tip // Copyright (c) 2013 Justin Palmer // // Tooltips for d3.js SVG visualizations (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module with d3 as a dependency. define(['d3'], factory) } else if (typeof module === 'object' && module.ex...
carnby/matta
datagramas/libs/d3-tip/index.js
JavaScript
bsd-3-clause
9,759
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview Polymer element for displaying a summary of network states * by type: Ethernet, WiFi, Cellular, WiMAX, and VPN. */ (function() { /...
vadimtk/chrome4sdp
chrome/browser/resources/settings/internet_page/network_summary.js
JavaScript
bsd-3-clause
10,457
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @flow */...
frantic/react-native
local-cli/server/util/attachHMRServer.js
JavaScript
bsd-3-clause
14,119
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
JoeStanton/react-native
Libraries/PushNotificationIOS/PushNotificationIOS.js
JavaScript
bsd-3-clause
6,885
/** * Norbert Laposa, 2012/05/13 */ /*revealPrimaryNavigation*/ function revealPrimaryNavigation() { if ($('#primaryNavigation').hasClass('open')) { $('#primaryNavigation').slideUp().removeClass('open'); } else { $('#primaryNavigation').slideDown().addClass('open'); } } $(function() { /** * mobile na...
1nv4d3r5/onxshop
share/js/reveal_navigation.js
JavaScript
bsd-3-clause
441
/* * Copyright (C) 2012 Google Inc. All rights reserved. * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must...
was4444/chromium.src
third_party/WebKit/Source/devtools/front_end/common/ResourceType.js
JavaScript
bsd-3-clause
8,909
/** * @license Copyright © 2013 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright n...
VincentFortuneDeng/VirtualRadarSource2.0.2
VirtualRadar.WebSite/Site/Web/script/vrs/aircraftAutoSelect.js
JavaScript
bsd-3-clause
19,911
//** Smooth Navigational Menu- By Dynamic Drive DHTML code library: http://www.dynamicdrive.com //** Script Download/ instructions page: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/ //** Menu created: Nov 12, 2008 //** Dec 12th, 08" (v1.01): Fixed Shadow issue when multiple LIs within the same UL (level) c...
liqi328/rjrepaircompany
static/scripts/ddsmoothmenu.js
JavaScript
bsd-3-clause
7,627
(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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports...
soppysonny/wikipedia-ios
Wikipedia/assets/bundle.js
JavaScript
mit
39,250
const DrawCard = require('../../drawcard.js'); class PaxterRedwyne extends DrawCard { setupCardAbilities(ability) { this.plotModifiers({ gold: 1 }); this.persistentEffect({ targetController: 'current', effect: ability.effects.reduceFirstPlayedCardCostEach...
ystros/throneteki
server/game/cards/01-Core/PaxterRedwyne.js
JavaScript
mit
449
OC.L10N.register( "federatedfilesharing", { "Federated sharing" : "Federated sharing", "Add to your ownCloud" : "Ajouter à votre ownCloud", "Invalid Federated Cloud ID" : "ID Federated Cloud incorrect", "Sharing %s failed, because this item is already shared with %s" : "Le partage de %s a échoué...
phil-davis/core
apps/federatedfilesharing/l10n/fr.js
JavaScript
mit
1,903
import expect from 'expect'; import { showNotification, } from '../actions'; import { SHOW_NOTIFICATION, } from '../constants'; describe('NotificationProvider actions', () => { describe('Default Action', () => { it('has a type of SHOW_NOTIFICATION', () => { const message = 'Well done!'; const sta...
skelpook/strapi
packages/strapi-admin/files/public/app/containers/NotificationProvider/tests/actions.test.js
JavaScript
mit
556
/** * Node 版静态资源文件服务器 * 功能:实现了缓存、gzip压缩等 * * @author liufeng.clf * @date 2014/12/1 */ // 设置端口号 var PORT = 8000 || process.env.PORT; // 引入模块 var http = require('http'); var url = require('url'); var fs = require('fs'); var path = require('path'); var zlib = require('zlib'); // 引入文件 var mime = requ...
node-funs/static-server
server.js
JavaScript
mit
3,837
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { glo...
Toxicable/angular
packages/common/locales/global/or.js
JavaScript
mit
2,475
(function() { 'use strict'; app.controller('dashboardCtrl', ['commonFactory','$state',function(commonFactory,$state){ var dashboard = this; dashboard.user = commonFactory.getUser(); if(!dashboard.user){ $state.go('login'); } }]); })();
colorgap/bowyer
themes/bootstrap/dashboard/app/modules/dashboard/dashboardController.js
JavaScript
mit
275
(function($) { 'use strict'; var DOCUMENT_SELECTOR = '.course-experience-points-disbursement.new '; var COPY_BUTTON_SELECTOR = '#experience-points-disbursement-copy-button'; function copyExperiencePoints(event) { event.preventDefault(); var valueToCopy = $('.course_user:first').find('.points_awarded:fi...
cysjonathan/coursemology2
app/assets/javascripts/course/experience_points/disbursement.js
JavaScript
mit
484
import React from "react"; import { Link, Route } from "react-router-dom"; import { Block, Row, Inline, Col } from "jsxstyle"; import PropTypes from "prop-types"; import { LIGHT_GRAY, RED } from "../Theme.js"; import Logo from "./Logo.js"; function Tab({ to, ...rest }) { return ( <Route path={to} ch...
rackt/react-router
website/modules/components/EnvironmentHeader.js
JavaScript
mit
1,977
/* global kity: true */ /* global window: true */ var Vector = kity.Vector; var ForceChart = kity.createClass( "ForceChart", { base: kity.Group, constructor: function ( nodes, links ) { this.callBase(); this.nodes = nodes; this.links = links; }, start: function () { var ...
AlloyTeam/Nuclear
packages/admin/mind-map/bower_components/kity/demo/force-chart/force-chart.js
JavaScript
mit
4,904
import React, { PropTypes } from 'react' import muiThemeable from 'material-ui/styles/muiThemeable' import IconButton from 'material-ui/IconButton' import ArrowDropUp from 'material-ui/svg-icons/navigation/arrow-drop-up' import { Toolbar, ToolbarGroup, ToolbarTitle } from 'material-ui/Toolbar' import { white } from 'ma...
verycumbersome/the-blue-alliance
react/gameday2/components/ChatSidebar.js
JavaScript
mit
4,048
/** @jsxImportSource baz */ var x = (<div><span /></div>);
jridgewell/babel
packages/babel-plugin-transform-react-jsx/test/fixtures/nextAutoImport/import-source-pragma/input.js
JavaScript
mit
58
//textarea angular.module('xeditable').directive('editableTextarea', ['editableDirectiveFactory', function(editableDirectiveFactory) { return editableDirectiveFactory({ directiveName: 'editableTextarea', inputTpl: '<textarea></textarea>', render: function() { this.parent.render.call(th...
HS2-SOLUTIONS/angular-xeditable
src/js/directives/textarea.js
JavaScript
mit
1,417
System.register(["github:aurelia/event-aggregator@0.3.0/index"], function($__export) { return { setters: [function(m) { for (var p in m) $__export(p, m[p]); }], execute: function() {} }; });
taylorzane/aurelia-firebase
jspm_packages/github/aurelia/event-aggregator@0.3.0.js
JavaScript
mit
195
const debug = require('ghost-ignition').debug('web:api:default:app'); const express = require('express'); const urlUtils = require('../../lib/url-utils'); const errorHandler = require('../shared/middlewares/error-handler'); module.exports = function setupApiApp() { debug('Parent API setup start'); const apiApp...
dingotiles/ghost-for-cloudfoundry
versions/3.3.0/core/server/web/api/index.js
JavaScript
mit
1,464
export default function SuccessMessage({ children }) { return ( <p className="flex items-center text-sm font-bold text-green-700 dark:text-green-400"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" className="mr-2 h-4 w-4" > <pat...
zeit/next.js
examples/with-fauna/components/SuccessMessage.js
JavaScript
mit
584
/** * Fill metadataStore with metadata, crafted by hand using * Breeze Labs: breeze.metadata.helper.js * @see http://www.breezejs.com/documentation/metadata-by-hand */ (function(angular) { 'use strict'; angular.module("app").factory( 'metadata', ['breeze', factory] ); function factory(breeze) { ...
johnpapa/ng-demos
zza-node-mongo/client/app/services/metadata.js
JavaScript
mit
9,612
'use strict'; import Vue from 'vue'; import Vuex from 'vuex'; import * as actions from './actions' import * as getters from './getters' import mutations from './mutations' Vue.use(Vuex); const state = { articleList: [], article: {} }; export default new Vuex.Store({ state, actions, getters, mutations })...
Eric-Zhong/iphone2
app/web/store/app/index.js
JavaScript
mit
321
// Based upon the excellent jsx-transpiler by Ingvar Stepanyan (RReverser) // https://github.com/RReverser/jsx-transpiler // jsx import isString from "lodash/lang/isString"; import * as messages from "../../messages"; import esutils from "esutils"; import * as react from "./react"; import * as t from "../../types"; ...
hryniu555/babel
src/babel/transformation/helpers/build-react-transformer.js
JavaScript
mit
5,058
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) { var target = {...
vovance/3d-demo
es/components/style/delete-button.js
JavaScript
mit
1,078
import SWAGGER_CONFIG from './SWAGGER_CONFIG'; import swaggerToApiDoc from './swagger-to-api-doc'; Object.keys(SWAGGER_CONFIG).forEach((file) => { swaggerToApiDoc(file, SWAGGER_CONFIG[file].name, SWAGGER_CONFIG[file].path, SWAGGER_CONFIG[file].product); });
JeremyCraigMartinez/developer-dot
dynamic/build-all-pages.js
JavaScript
mit
263
/** @license React v16.10.1 * react-dom-unstable-native-dependencies.production.min.js * * 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. */ 'use strict';var aa=require("react-dom"),h=...
extend1994/cdnjs
ajax/libs/react-dom/16.10.1/cjs/react-dom-unstable-native-dependencies.production.min.js
JavaScript
mit
10,730
#!/usr/bin/env node // Based on CoffeeScript by andrewschaaf on github // // TODO: // - past and future dates, especially < 1900 and > 2100 // - locales // - look for edge cases var assert = require('assert') , libFilename = process.argv[2] || '../strftime.js' , lib = require(libFilename) // Tue, 07 Jun 2011...
SimonWallner/space-walk
tools/recorder/node_modules/strftime/test/test.js
JavaScript
mit
7,203
import Checkbox from './src/checkbox.vue'; export default Checkbox;
xiayuxiaoyan/xcui
src/components/checkbox/index.js
JavaScript
mit
68
import React from 'react'; import FontAwesomeIcon from '@fortawesome/react-fontawesome'; import faCheck from '@fortawesome/fontawesome-free-solid/faCheck'; import LinkButton from 'shared/components/linkButton/linkButton'; import Section from 'shared/components/section/section'; import styles from '../getInvolved.css'; ...
sethbergman/operationcode_frontend
src/scenes/home/getInvolved/volunteer/volunteer.js
JavaScript
mit
2,077
const getFiltersOnStringList = require('./getFiltersOnStringList') const getCausesFilters = causes => getFiltersOnStringList( 'causes.id', causes, ) module.exports = getCausesFilters
tithebarn/charity-base
graphql/resolvers/query/CHC/getCharities/elastic-query/causes.js
JavaScript
mit
189
'use strict'; /** * @ngdoc directive * @name ng.directive:ngSwitch * @restrict EA * * @description * Conditionally change the DOM structure. * * @usageContent * <ANY ng-switch-when="matchValue1">...</ANY> * <ANY ng-switch-when="matchValue2">...</ANY> * ... * <ANY ng-switch-default>...</ANY> * * @sc...
christianv/angular.js
src/ng/directive/ngSwitch.js
JavaScript
mit
3,358
const kelda = require('kelda'); const hap = require('@kelda/haproxy'); const infrastructure = require('../../config/infrastructure.js'); const indexPath = '/usr/share/nginx/html/index.html'; /** * Returns a new Container whose index file contains the given content. * @param {string} content - The contents to put in...
kelda/kelda
integration-tester/tests/haproxy/haproxy.js
JavaScript
mit
1,124
var expect = require('chai').expect, sinon = require('sinon'), inherits = require('util').inherits, NodeInspectorWrapper = require('../../../../lib/daemon/inspector/NodeInspectorWrapper') describe('NodeInspectorWrapper', function () { var wrapper beforeEach(function () { wrapper = new NodeInspectorWrapp...
tableflip/guvnor
test/lib/daemon/inspector/NodeInspectorWrapperTest.js
JavaScript
mit
5,633
/** * General-purpose jQuery wrapper. Simply pass the plugin name as the expression. * * It is possible to specify a default set of parameters for each jQuery plugin. * Under the jq key, namespace each plugin by that which will be passed to ui-jq. * Unfortunately, at this time you can only pre-define the first par...
mithundas79/angularTemplateSample
vendor/ui-utils/jq/jq.js
JavaScript
mit
2,559
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || fu...
k3ralas/it-network-app
node_modules/angular2-jwt/angular2-jwt.js
JavaScript
mit
12,701
/* * WellCommerce Open-Source E-Commerce Platform * * This file is part of the WellCommerce package. * * (c) Adam Piotrowski <adam@wellcommerce.org> * * For the full copyright and license information, * please view the LICENSE file that was distributed with this source code. */ var GFormDependency = function(...
diversantvlz/WellCommerce
src/WellCommerce/Bundle/AppBundle/Resources/public/js/core/form/01.dependency.js
JavaScript
mit
6,401
import stateType from './State'; import actionType from './Action'; export const initialChildWindowState = { window: null, state: stateType.INITIAL }; export default (state, action) => { switch (action.type) { case actionType.CHANGE_STATE: if (!Object.keys(stateType).includes(action.payload)) ...
owennw/OpenFinD3FC
packages/stockflux-launcher/src/reducers/child-window/ChildWindow.js
JavaScript
mit
826
/** * @license * (c) 2009-2016 Michael Leibman * michael{dot}leibman{at}gmail{dot}com * http://github.com/mleibman/slickgrid * * Distributed under MIT license. * All rights reserved. * * SlickGrid v2.4 * * NOTES: * Cell/row DOM manipulations are done directly bypassing jQuery's DOM manipulation methods....
extend1994/cdnjs
ajax/libs/6pac-slickgrid/2.4.14/slick.grid.js
JavaScript
mit
194,952
module.exports = function(grunt) { require('load-grunt-tasks')(grunt); var path = require('path'); var buildDir = 'build'; var installDir = 'install'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), watch: { concat_debug: { files: ['<%= conca...
ksimple/kGrid
Gruntfile.js
JavaScript
mit
8,441
const SET_PROJECT_FIELDS_MODAL_STATE = "obs-show/project_fields_model/SET_PROJECT_FIELDS_MODAL_STATE"; export default function reducer( state = { show: false }, action ) { switch ( action.type ) { case SET_PROJECT_FIELDS_MODAL_STATE: return Object.assign( { }, action.newState ); default: // not...
calonso-conabio/inaturalist
app/webpack/observations/show/ducks/project_fields_modal.js
JavaScript
mit
490
var dest = './build', src = './src', mui = '../src'; module.exports = { browserSync: { server: { // We're serving the src folder as well // for sass sourcemap linking baseDir: [dest, src] }, files: [ dest + '/**' ] }, less: { src: src + '/less/main.less', watch...
121nexus/material-ui
docs/gulp/config.js
JavaScript
mit
841
export {default} from 'ember-frost-bunsen/components/detail'
sandersky/ember-frost-bunsen
app/components/frost-bunsen-detail.js
JavaScript
mit
61
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.0.16 (2019-09-24) */ (function () { 'use strict'; ...
cdnjs/cdnjs
ajax/libs/tinymce/5.0.16/plugins/anchor/plugin.js
JavaScript
mit
4,349