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
(function () { "use strict"; angular .module('mnWizard') .controller('mnWizardStep4Controller', mnWizardStep4Controller); function mnWizardStep4Controller($scope, $state, mnWizardStep4Service, pools, mnPromiseHelper) { var vm = this; vm.isEnterprise = pools.isEnterprise; vm.sendStat...
ceejatec/ns_server
priv/public/ui/app-classic/mn_wizard/step4/mn_wizard_step4_controller.js
JavaScript
apache-2.0
1,150
/* * 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/serviceFabric/lib/models/applicationUpgradeRollbackCompletedEvent.js
JavaScript
apache-2.0
3,459
/* * 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/automationManagement/lib/operations/jobStreamOperations.js
JavaScript
apache-2.0
33,385
/*! * IE10 viewport hack for Surface/desktop Windows 8 bug * Copyright 2014-2017 The Bootstrap Authors * Copyright 2014-2017 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ // See the Getting Started docs for more information: // https://getbootstrap.com/getting-start...
Recks11/theLXGweb
src/main/webapp/resources/lxg_fiesta/js/ie10-viewport-bug-workaround.js
JavaScript
apache-2.0
710
Scalr.regPage('Scalr.ui.account2.environments.clouds.gce', function (loadParams, moduleParams) { var params = moduleParams['params']; var form = Ext.create('Ext.form.Panel', { bodyCls: 'x-container-fieldset', fieldDefaults: { anchor: '100%', labelWidth: 110 }, autoScro...
kikov79/scalr
app/www/ui2/js/ui/account2/environments/clouds/gce.js
JavaScript
apache-2.0
3,361
/* global describe, it, element, by, expect */ 'use strict'; var common = require('../../common/common'); var setup = require('../../common/setup'); var authentication = require('../../authentication/authentication'); var topologyEditorCommon = require('../../topology/topology_editor_common'); var xedit = require('../...
broly-git/alien4cloud
alien4cloud-ui/src/test/webapp/e2e/scenarios/application_topology/application_topology_suggestions_property.js
JavaScript
apache-2.0
5,797
'use strict'; // ========================================================================= // // Policies for users // // ========================================================================= var acl = require('acl'); acl = new acl(new acl.memoryBackend()); var helpers = require (require('path').resolve('./modules...
logancodes/esm-server
modules/users/server/policies/admin.server.policy.js
JavaScript
apache-2.0
641
import { triggerPixel, parseSizesInput, deepAccess, logError, getGptSlotInfoForAdUnitCode } from '../src/utils.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { config } from '../src/config.js'; import { BANNER, VIDEO } from '../src/mediaTypes.js'; import { INSTREAM as VIDEO_INSTREAM } fr...
prebid/Prebid.js
modules/visxBidAdapter.js
JavaScript
apache-2.0
12,057
var mainwindow_8h = [ [ "MainWindow", "d9/dc6/class_main_window.html", "d9/dc6/class_main_window" ], [ "BINARY_FILE", "d9/d53/mainwindow_8h.html#a235764c67fdcb87b7484bdc1ef801959", null ], [ "DEFAULT_DATA_DIR", "d9/d53/mainwindow_8h.html#a89d9b90dbc1df3ab30a2d08519e40e49", null ], [ "DEFAULT_DATA_FILE_E...
delfernan/LP
release/doc/html/d9/d53/mainwindow_8h.js
JavaScript
apache-2.0
605
// 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 required by applicable...
IanLewis/dashboard
src/app/frontend/ingress/list/state.js
JavaScript
apache-2.0
717
/** * @ngdoc directive * @memberof ngMap * @name ng-map * @param Attr2Options {service} * convert html attribute to Gogole map api options * @description * Implementation of {@link __MapController} * Initialize a Google map within a `<div>` tag * with given options and register events * * @attr {Expressio...
alejandromartincruz/codingtogether
vendor/assets/bower_components/ngmap/directives/map.js
JavaScript
apache-2.0
2,327
define( ({ loadingInfo: "جاري التحميل...", emptyInfo: "لا توجد بنود ليتم عرضها", loadFailInfo: "لم تنجح عملية تحميل البيانات!", loadMore: "المزيد من التحميل", loadMoreLoading: "جاري التحميل...", loadPrevious: "تحميل السابق", loadPreviousLoading: "جاري التحميل..." }) );
abssi/poc-tijari
dojoLib/toolkit/dojo/gridx/nls/ar/Body.js
JavaScript
apache-2.0
379
// Copyright 2011 Splunk, 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 agreed to i...
adamryman/splunk-sdk-javascript
examples/node/helloworld/search_normal.js
JavaScript
apache-2.0
3,563
/** * 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...
adup-tech/amphtml
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js
JavaScript
apache-2.0
19,018
'use strict'; const expect = require('chai').use(require('dirty-chai')).expect; const Promise = require('bluebird'); const testHelpers = require('../test-helpers'); describe('PasswordResetController', () => { let agent; beforeEach(async () => { agent = await testHelpers.getAgent(); }); describe('requesting...
porybox/porybox
test/controller/passwordReset.js
JavaScript
apache-2.0
10,711
/* * 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")...
alexryndin/ambari
contrib/views/wfmanager/src/main/resources/ui/app/domain/workflow-importer.js
JavaScript
apache-2.0
7,530
/* * 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. */ '...
begoldsm/azure-sdk-for-node
lib/services/resourceManagement/lib/resource/models/provider.js
JavaScript
apache-2.0
2,219
#!/usr/bin/env node /** * So we need two builds of sp-frontend with marginal changes for electron. The one for deployment at https://stream.place/ uses a root of "/" and the one for Electon uses a root of ".". This does * that. */ /* eslint-disable no-console */ const child = require("child_process"); const fs = ...
streamkitchen/streamkitchen
packages/sp-frontend/src/double-build.js
JavaScript
apache-2.0
1,191
function validate() { $("#app-form").bootstrapValidator({ message: "This value is not valid", feedbackIcons: { valid: "glyphicon glyphicon-ok", invalid: "glyphicon glyphicon-remove", validating: "glyphicon glyphicon-refresh" }, fields: { ...
Esjob-Cloud-DevOps/elastic-job
elastic-job-cloud/elastic-job-cloud-scheduler/src/main/resources/console/js/app/app_common.js
JavaScript
apache-2.0
4,039
<?php include_once(dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR."modules.php"); include_once(dirname(__FILE__).DIRECTORY_SEPARATOR."config.php"); ?> var chatScroll, lobbyScroll, chatroomScroll, woScroll, cruserScroll, baseurl = "<?php echo BASE_URL; ?>"; var cookie_prefix = '<?php echo $cookiePrefix; ?>'; <?...
networksoft/erp.roshlife
cometchat/extensions/mobilewebapp/mobilewebapp.js
JavaScript
apache-2.0
77,592
Bridge.merge(new System.Globalization.CultureInfo("quc", true), { englishName: "K'iche'", nativeName: "K'iche'", numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), { nanSymbol: "NeuN", negativeSign: "-", positiveSign: "+", negativeInfinitySymbol: "-Infin...
AndreyZM/Bridge
Bridge/Resources/Locales/quc.js
JavaScript
apache-2.0
3,111
/* * 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 ma...
milliondreams/brisk
demos/portfolio_manager/resources/thrift.js
JavaScript
apache-2.0
18,902
// Source :- https://gist.github.com/czue/464479 // Param "o": JavaScript object // Param "tab": tab or indent string for pretty output formatting omit or use empty string "" to supress. // Returns: XML string function json2xml(o, tab) { var toXml = function(v, name, ind) { var xml = ""; if (v inst...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.visualdatamapper.diagram/HTMLPages/js/DataTypeConverter.js
JavaScript
apache-2.0
7,930
/* <![CDATA[ */ (function($){ "use strict"; $(document).ready(function(){ /* FitVid ================================================== */ $(".ut-video").fitVids(); /* Animated Skillbar ================================================== */ $(".ut-skill-active").each(function(i, e...
carlagiannina/cg
wp-content/plugins/ut-shortcodes/js/ut.scplugin.js
JavaScript
artistic-2.0
5,711
// Copyright (C) 2018 Leo Balter. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-array.prototype.flatMap description: > array-like objects can be flattened (typedArrays) info: | Array.prototype.flatMap ( mapperFunction [ , thisArg ] ) 1. Let O be ? ToO...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Array/prototype/flatMap/array-like-objects-typedarrays.js
JavaScript
bsd-2-clause
1,689
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The valueOf method returns its "this" value es5id: 15.2.4.4_A1_T3 description: "\"this\" value is a string" ---*/ //CHECK#1 if (typeof Object.prototype.valueOf !== "function"...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/prototype/valueOf/S15.2.4.4_A1_T3.js
JavaScript
bsd-2-clause
608
'use strict'; const test = require('tape'), routes = require('../lib/app/routes.js'); test('Routes tests', t => { t.plan(2); t.test('should use room from params for route redir', st => { st.plan(4); const query = { room: 'random' }, redir = routes.findRedirect(query), url = 'htt...
dhcodes/camperbot
test/routes.spec.js
JavaScript
bsd-3-clause
915
/** * The OWASP CSRFGuard Project, BSD License * Eric Sheridan (eric.sheridan@owasp.org), Copyright (c) 2011 * 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. Redistribut...
NCIP/common-security-module
software/upt/webapp/public_html/WEB-INF/Owasp.CsrfGuard.js
JavaScript
bsd-3-clause
11,536
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/Tile.js * @requires OpenLayers/Animat...
girc/dmis
common/asset-files/openlayers/ol2/lib/OpenLayers/Tile/Image.js
JavaScript
bsd-3-clause
16,702
define([ "./ObservablePath", "./BindingSourceList", "./BindingTarget", "./Each", "./schedule", "./computed", "./wrapper" ], 1);
asudoh/liaison
tests/allNode.js
JavaScript
bsd-3-clause
135
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (recalc) { if (!size && size !== 0 || recalc) { if (_ExecutionEnvironment2.default.canUseDOM) { var scrollDiv = document.createElement("div"); scrollDiv.style.position = "absolute"; scrol...
teasim/teasim-helpers
build/scrollbarSize.js
JavaScript
bsd-3-clause
906
/** * 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...
h4rdc0m/pimcore
pimcore/static6/js/pimcore/report/custom/report.js
JavaScript
bsd-3-clause
18,963
$(document).ready(function() { $(".range_date_field").datepicker({ showOtherMonths: true, selectOtherMonths: true, changeMonth: true, changeYear: true, minDate: "-10Y", maxDate: "+2Y", dateFormat: "dd/mm/yy" }); $("input[type=submit]").button(); $(...
simodalla/pympa-affarigenerali
pympa_affarigenerali/static/affarigenerali/js/riepilogo_presenze.js
JavaScript
bsd-3-clause
713
var gulp = require('gulp'); gulp.task('default', function () { // place code for your default task here });
rlvillacarlos/nocaptcha
public/js/nocaptchajs/gulpfile.js
JavaScript
bsd-3-clause
113
tinyMCE.addI18n('ru.paste_dlg',{ text_title:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448 CTRL+V \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u043A\u0441\u044...
SunboX/fotocommunity
jsparty/tiny_mce2/plugins/paste/langs/ru_dlg.js
JavaScript
bsd-3-clause
831
// Karma configuration // Generated on Tue Jan 14 2014 14:55:10 GMT+0100 (CET) module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '../', // frameworks to use frameworks: ['mocha', 'requirejs'], // list of files / patterns t...
voy/gooddata-js
tools/karma.conf.js
JavaScript
bsd-3-clause
2,194
/** * 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 * ...
clozr/react-native
packager/src/node-haste/DependencyGraph/ResolutionRequest.js
JavaScript
bsd-3-clause
24,449
var fs = require('fs'); var os = require('os'); var blessed = require('blessed'); var multiline = require('multiline'); if (os.platform() === 'win32') { console.log('*************************************************************'); console.log('Hackthon Starter Generator has been disabled on Windows until'); cons...
Jarvl/ENG2089-Project
setup.js
JavaScript
mit
16,738
import Vue from 'vue'; import store from '~/ide/stores'; import List from '~/ide/components/merge_requests/list.vue'; import { createComponentWithStore } from '../../../helpers/vue_mount_component_helper'; import { mergeRequests } from '../../mock_data'; import { resetStore } from '../../helpers'; describe('IDE merge ...
iiet/iiet-git
spec/javascripts/ide/components/merge_requests/list_spec.js
JavaScript
mit
4,162
/* eslint max-len: 0 */ import find from "lodash/find"; import findLast from "lodash/findLast"; import isInteger from "lodash/isInteger"; import repeat from "lodash/repeat"; import Buffer from "./buffer"; import * as n from "./node"; import Whitespace from "./whitespace"; import * as t from "babel-types"; const SCIEN...
lxe/babel
packages/babel-generator/src/printer.js
JavaScript
mit
15,027
/** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ * @author WestLangley / http://github.com/WestLangley */ import { Vector3 } from '../math/Vector3.js'; import { Object3D } from '../core/Object3D.js'; import { LineSegments } from '../objects/LineSegments.js'; import { LineBas...
zhoushijie163/three.js
src/helpers/SpotLightHelper.js
JavaScript
mit
2,203
(function() { window.samples.todo_lighted_spinning_cube = { initialize: function(canvas) { var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera( 30, sample_defaults.width / sample_defaults.height, 1, 1000 ); camera.position.set(0, 3, 7); camera.lookAt( new THREE.Vecto...
dimroc/reveal.js-threejs
js/samples/todo_lighted_spinning_cube.js
JavaScript
mit
1,253
angular.module('IntrepidJS').directive('ngShare', ['$location', 'i18n', function($location, i18n) { return { restrict: "E", template: "<div class='btn-group'><span data-toggle='dropdown' " + "class='dropdown-toggle pointer'> " + "<i class='fa fa-share-alt fa...
wtelecom/intrepidjs-web
public/javascripts/core/directives/ng_share.js
JavaScript
mit
1,683
module.exports = require('regenerate')().addRange(0x700, 0x70D).addRange(0x70F, 0x74A).addRange(0x74D, 0x74F).addRange(0x860, 0x86A);
Engineering-Robert/personal-website
plugins/gatsby-plugin-feed-custom/node_modules/regenerate-unicode-properties/Script/Syriac.js
JavaScript
mit
134
module.exports={A:{A:{"2":"H D G E A FB","132":"B"},B:{"1":"C p z J L N I"},C:{"2":"4 aB YB","4":"0 2 3 5 6 8 9 H D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","8":"F K SB"},D:{"2":"F K H","4":"0 2 3 5 6 8 9 D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e...
stephaniejn/stephaniejn.github.io
node_modules/caniuse-lite/data/features/deviceorientation.js
JavaScript
mit
898
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
lmazuel/azure-sdk-for-node
lib/services/automationManagement/lib/operations/statisticsOperations.js
JavaScript
mit
11,482
"use strict"; /** * 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 req...
ratokeshi/endo-google-cloud-platform
node_modules/googleapis/apis/taskqueue/v1beta2.js
JavaScript
mit
14,747
'use strict'; /** * Module dependencies */ var racesPolicy = require('../policies/races.server.policy'), races = require('../controllers/races.server.controller'); module.exports = function(app) { // Races Routes app.route('/api/races').all(racesPolicy.isAllowed) .get(races.list) .post(races.create); ...
etkirsch/tolmea
modules/races/server/routes/races.server.routes.js
JavaScript
mit
539
/* * Copyright (c) 2015 Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights...
resir014/brackets
src/extensions/default/HealthData/HealthDataManager.js
JavaScript
mit
7,092
import Footer from './Footer'; import Nav from './Nav'; import Layout from './Layout'; export default { Nav, Layout, Footer };
cbfx/reactstrap
docs/lib/UI/index.js
JavaScript
mit
134
var getArticleInfo = new XMLHttpRequest(); getArticleInfo.open("GET", "articleName.html"); getArticleInfo.send(); getArticleInfo.onreadystatechange = function() { var text = document.getElementById("textTarget"); if ((getArticleInfo.readyState === 4) && (getArticleInfo.status === 200)) { text.innerHTML = ge...
kaidez/kaidez.com
v1.0.0/samples/ajax-tutorial-samples/sample04/scripts.js
JavaScript
mit
423
/* ======================================================================== * Bootstrap: affix.js v3.1.0 * http://getbootstrap.com/javascript/#affix * ======================================================================== * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap...
sandeepsailor/Personal-website-single-page
app/js/bootstrap.js
JavaScript
mit
52,875
CAAT.Module({ defines : "CAAT.Module.Preloader.XHR", extendsWith : { /** * * @param callback function({string},{object}) a callback function. string will be "ok" or "error" * @param url {string} a url * @param asynch {bool} load synchronous or asynchronously ...
hyperandroid/CAAT
src/Modules/Image/Preloader/XHR.js
JavaScript
mit
1,689
var postgres = require('../config.js').postgres; module.exports = function(ws, data) { if (data.action === 'list') { var patches = []; postgres.query('SELECT time, patch, user_email, id, parent FROM changes WHERE file_id=$1 AND time>$2 ORDER BY time ASC', [ws.docId, new Date(data.after || 0)]).on('row', func...
shilpi230/WebSync
lib/routes/diffs.js
JavaScript
mit
511
'use strict'; describe('$routeProvider', function() { var $routeProvider; beforeEach(module('ngRoute')); beforeEach(module(function(_$routeProvider_) { $routeProvider = _$routeProvider_; $routeProvider.when('/foo', {template: 'Hello, world!'}); })); it('should support enabling/disabling automatic ...
lgalfaso/angular.js
test/ngRoute/routeSpec.js
JavaScript
mit
78,403
import { usingEvalSync, usingEval } from '../lib/utils' export async function getServerSideProps() { return { props: await usingEval(), } } export default function Page(props) { return ( <div> {props.value} and {usingEvalSync().value} </div> ) }
zeit/next.js
test/integration/middleware/with-eval/pages/index.js
JavaScript
mit
274
var assert = require('assert'); var common = require('../../common'); var cluster = common.createPoolCluster({canRetry: false}); var server = common.createFakeServer(); var connCount = 0; var poolConfig = common.getTestConfig({port: common.fakeServerPort}); cluster.add('MASTER', poolConfig); server.listen(common....
mysqljs/mysql
test/unit/pool-cluster/test-connection-no-retry.js
JavaScript
mit
751
// @flow export { default as CircularProgress } from './CircularProgress'; export { default as LinearProgress } from './LinearProgress';
AndriusBil/material-ui
src/Progress/index.js
JavaScript
mit
137
JSMpeg.Decoder.Base = (function(){ "use strict"; var BaseDecoder = function(options) { this.destination = null; this.canPlay = false; this.collectTimestamps = !options.streaming; this.timestamps = []; this.timestampIndex = 0; this.startTime = 0; this.decodedTime = 0; Object.defineProperty(this, 'currentTime...
faljse/jsmpeg
src/decoder.js
JavaScript
mit
2,109
'use strict'; /** * @ngdoc function * @name inflightHubApp.controller:MainCtrl * @description * # MainCtrl * Controller of the inflightHubApp */ angular.module('inflightHubApp') .controller('MainCtrl', function () { this.awesomeThings = [ 'HTML5 Boilerplate', 'AngularJS', 'Karma' ]; ...
Sirintra1/FlightHub
app/scripts/controllers/main.js
JavaScript
mit
325
version https://git-lfs.github.com/spec/v1 oid sha256:c4fdd080b70bb03e8f649ff90f86d76a3604a3589ce2f201730c4441edb66ec1 size 8234
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.14.1/node-pluginhost/node-pluginhost-coverage.js
JavaScript
mit
129
'use strict'; /** * Mounts a folder in a connect server */ module.exports = function mountFolder(connect, dir) { return connect.static(require('path').resolve(dir)); };
carlosrubio/TimeWatcher
tasks/grunt-helpers/mount-folder.js
JavaScript
mit
176
$(function () { var form = $('#search'); var input = form.find('input'); var list = form.find('.results'); var items = list.find('a'); var selected = null; // Don't submit on return. form.on('submit', function () { return false; }); // Open search input.on('focus', fun...
pyrocms/accelerant-theme
resources/js/theme/search.js
JavaScript
mit
5,118
var global = require('../internals/global'); var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f; var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); var redefine = require('../internals/redefine'); var setGlobal = require('../internals/set-g...
zloirock/core-js
packages/core-js/internals/export.js
JavaScript
mit
2,597
// word frequencies of first two chapters of Oliver Twist var words = [ {text: 'have', size: 102}, {text: 'Oliver', size: 47}, {text: 'say', size: 46}, {text: 'said', size: 36}, {text: 'bumble', size: 29, href: 'https://en.wikipedia.org/wiki/Beadle'}, {text: 'will', size: 29}, {text: 'Mrs', size: 56, href...
wvengen/d3-wordcloud
example/example.words.js
JavaScript
mit
34,916
'use strict'; const cleanup = require('rollup-plugin-cleanup'); const common = require('rollup-plugin-commonjs'); const node = require('rollup-plugin-node-resolve'); const path = require('path'); const pkg = require('../package.json'); const rollup = require('rollup').rollup; /** * Wrap a bundled dependency for cons...
gistnu/tru-workshop
bower_components/openlayers/tasks/build-ext.js
JavaScript
mit
2,100
var gulp = require('gulp'); var paths = require('../paths'); var tslint = require('gulp-tslint'); gulp.task('lint', function () { return gulp.src(paths.source) .pipe(tslint({ formatter: "verbose" })) .pipe(tslint.report()) });
abeven/aurelia-oauth
build/tasks/lint.js
JavaScript
mit
247
import * as Cookies from 'js-cookie'; import axios from 'axios'; import { route } from 'preact-router'; function storeUserCredentials({ user, accessToken, expires }) { Cookies.set('crendentials', { user, accessToken }, { expires: new Date(expires) }); } export function getUserCredentials() { return Cookies.getJSO...
josuemontano/API-platform
src/assets/js/utils/auth.js
JavaScript
mit
956
import _curry2 from './_curry2.js'; import _xfBase from './_xfBase.js'; function XDropLast(n, xf) { this.xf = xf; this.pos = 0; this.full = false; this.acc = new Array(n); } XDropLast.prototype['@@transducer/init'] = _xfBase.init; XDropLast.prototype['@@transducer/result'] = function(result) { this.acc = n...
CrossEye/ramda
source/internal/_xdropLast.js
JavaScript
mit
874
(function() { var $, Builder, Events, SelfClosingTags, Tags, View, callAttachHook, docEl, exports, idCounter, jQuery, matches, matchesSelector, methodName, originalCleanData, _, _fn, _fn1, _i, _j, _len, _len1, _ref, _ref1, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in pa...
atom/space-pen
dist/space-pen.js
JavaScript
mit
19,758
module.exports = require('regenerate')().addRange(0x10350, 0x1037A);
Engineering-Robert/personal-website
plugins/gatsby-plugin-feed-custom/node_modules/regenerate-unicode-properties/Script/Old_Permic.js
JavaScript
mit
69
/* CryptoJS v3.1.2 enc-base64.js code.google.com/p/crypto-js (c) 2009-2013 by Jeff Mott. All rights reserved. code.google.com/p/crypto-js/wiki/License */ (function () { // Shortcuts var C = CryptoJS; var C_lib = C.lib; var WordArray = C_lib.WordArray; var C_enc = C.enc; /** * Base64 encoding strat...
edewit/sync-app
www/lib/fh-js-sdk/libs/cryptojs/cryptojs-enc-base64.js
JavaScript
mit
2,871
(function ($) { /* -------- * * DOM LOAD * * -------- */ $(document).ready(function() { // Slider $('.slider').slider({full_width: true}); // Carousel $('.carousel.carousel-slider').carousel({full_width: true}); $('.carousel').carousel(); }); }(jQuery));
si-quimera/avante
webroot/js/pages/js_media.js
JavaScript
mit
285
app.config(function($stateProvider, $urlRouterProvider) { $stateProvider //sidebar .state('news', { url: "/news", abstract: true, templateUrl: "templates/sidebar-menu.html" }) // Blog page .state('news.home', { url: "/home", cache : false, views: { 'menuWorPress'...
bipinu2/AfnaiNews
www/js/router.js
JavaScript
mit
2,203
import { expect } from 'chai'; import votesReducer from './'; describe('votesReducer', () => { describe('#votesReducer()', () => { it('should increment party votes by 1', () => { const newState = votesReducer({ PARTY_CODE: 25 }, { type: 'VOTE', partyCode: 'PARTY_CODE' }); expect(newState).to.deep.e...
aruberto/political-party-app
stages/stage-4.3/reducers/test.js
JavaScript
mit
364
var S_ITER$0 = typeof Symbol!=='undefined'&&Symbol&&Symbol.iterator||'@@iterator';var S_MARK$0 = typeof Symbol!=='undefined'&&Symbol&&Symbol["__setObjectSetter__"];function ITER$0(v,f){if(v){if(Array.isArray(v))return f?v.slice():v;var i,r;if(S_MARK$0)S_MARK$0(v);if(typeof v==='object'&&typeof (f=v[S_ITER$0])==='functi...
arve0/es6-transpiler
tests/es6-destructuring5-out.js
JavaScript
mit
2,180
$(document).ready(function() { $(".issue-list").on("click", "div", function() { $(".issue-list .selected").removeClass("selected"); $(this).addClass("selected"); }); $('[data-behaviour="issue-view"]').on("click", "button", function() { var view = "issue-" + $(this).data("view"); $(".issue-list"...
loz/tyne-core
vendor/assets/javascripts/tyne_core/issue_selection.js
JavaScript
mit
441
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v21.1.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.leng...
cdnjs/cdnjs
ajax/libs/ag-grid/21.2.0/lib/components/framework/agComponentUtils.js
JavaScript
mit
3,634
angular.module('netanimations.subnets', []) .controller('SubnetsCtrl', function ($state, $scope, $ionicPopup, $translate, $compile) { TweenLite.defaultEase = Power1.easeInOut; $scope.end = false; $scope.restart = function () { tl.seek(0); $scope.end = false; }; var tl = new TimelineLi...
Sutil/netanimations
www/js/app/subnets.js
JavaScript
cc0-1.0
15,065
//>>built define("dojox/mvc/StatefulSeries",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojox/mvc/at"],function(_1,_2,_3,at){ return _2("dojox.mvc.StatefulSeries",null,{constructor:function(_4){ var _5=this; function _6(){ if(_5.series){ _5.series.chart.updateSeries(_5.series.name,_5); _5.series....
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/mvc/StatefulSeries.js
JavaScript
gpl-2.0
1,231
/* global mejs, _wpmejsSettings */ (function( window, $ ) { window.wp = window.wp || {}; // add mime-type aliases to MediaElement plugin support mejs.plugins.silverlight[0].types.push('video/x-ms-wmv'); mejs.plugins.silverlight[0].types.push('audio/x-ms-wma'); function wpMediaElement() { var setting...
Gollos/watercase.tk
wp-includes/js/mediaelement/wp-mediaelement.js
JavaScript
gpl-2.0
1,596
Ext.define('Portal.view.main.MainController', { extend: 'Ext.app.ViewController', alias: 'controller.main', onAddFeed: function () { var dashboard = this.lookupReference('dashboard'); dashboard.addNew('rss'); }, onAddFeedUrl: function (sender) { var dashboard = ...
mesocentrefc/Janua-SMS
janua-web/ext/examples/classic/portal/app/view/main/MainController.js
JavaScript
gpl-2.0
475
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
freaktechnik/nightingale-hacking
dependencies/vendor/mozbrowser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js
JavaScript
gpl-2.0
9,952
function test() { waitForExplicitFinish(); var win = openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no"); win.addEventListener("load", function () { win.removeEventListener("load", arguments.callee, false); win.content.addEventListener("focus", function () { win.content.removeEventListe...
freaktechnik/nightingale-hacking
dependencies/vendor/mozbrowser/base/content/test/browser_bug481560.js
JavaScript
gpl-2.0
705
/* * Copyright (c) 2008-2015 CoNWeT Lab., Universidad Politécnica de Madrid * * This file is part of Wirecloud Platform. * * Wirecloud Platform 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 Soft...
sixuanwang/SAMSaaS
wirecloud-develop/src/wirecloud/commons/static/js/StyledElements/Separator.js
JavaScript
gpl-2.0
1,544
//Nav jQuery(document).ready(function ($){ jQuery('.navbar .nav > li > a, .footer-nav > li > a').click(function(){ jQuery.scrollTo( $(this).attr("href"), { duration: 1000, easing:'easeInOutExpo' }); return false; }); }); var tpj=jQuery; tpj.noConflict(); tpj(document).ready(function() { ...
greenboxindonesia/greenbox.github.io
js/custom.js
JavaScript
gpl-2.0
2,483
/** * Handle every persistence-related task * The interface Datastore expects to be implemented is * * Persistence.loadDatabase(callback) and callback has signature err * * Persistence.persistNewState(newDocs, callback) where newDocs is an array of documents and callback has signature err */ var fs = requi...
Adastra-thw/angularTortazo
node_modules/nedb/lib/persistence.js
JavaScript
gpl-3.0
9,033
'use strict'; const router = require('express').Router(); const middleware = require('../../middleware'); const controllers = require('../../controllers'); const routeHelpers = require('../helpers'); const { setupApiRoute } = routeHelpers; module.exports = function () { const middlewares = [middleware.ensureLoggedI...
NodeBB/NodeBB
src/routes/write/flags.js
JavaScript
gpl-3.0
933
/* @flow */ import { Module } from '../core/module'; import { Thing, SelectedThing, frameDebounce, mutex, watchForDescendants, waitForDetach } from '../utils'; export const module: Module<*> = new Module('neverEndingComments'); module.moduleName = 'necName'; module.category = 'commentsCategory'; module.description =...
BenMcGarry/Reddit-Enhancement-Suite
lib/modules/neverEndingComments.js
JavaScript
gpl-3.0
2,327
'use strict' var transport = require('../spdy-transport') var assert = require('assert') var util = require('util') var debug = { client: require('debug')('spdy:stream:client'), server: require('debug')('spdy:stream:server') } var Buffer = require('safe-buffer').Buffer var Duplex = require('readable-stream').Dup...
projetoquixique/quixique
node_modules/spdy-transport/lib/spdy-transport/stream.js
JavaScript
gpl-3.0
16,127
var Modeler = require("../Modeler.js"); var className = 'TypeInternetGatewayAttachmentType'; var TypeInternetGatewayAttachmentType = function(json, parentObj) { parentObj = parentObj || this; // Class property definitions here: Modeler.extend(className, { vpcId: { type: "string", wsdlDefinition:...
holidayextras/wsdl2.js
example/EC2/Type/InternetGatewayAttachmentType.js
JavaScript
gpl-3.0
801
/** * joola.io * * Copyright Joola Smart Solutions, Ltd. <info@joo.la> * * Licensed under GNU General Public License 3.0 or later. * Some rights reserved. See LICENSE, AUTHORS. * * @license GPL-3.0+ <http://spdx.org/licenses/GPL-3.0+> */ Date.prototype.format = function (formatString) { var formatDate ...
nvdnkpr/joola.io.manage
lib/joola.io.logger/utils.js
JavaScript
gpl-3.0
1,557
/** * 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 required by appli...
Georeactor/wikitongues
node_modules/googleapis/apis/genomics/v1alpha2.js
JavaScript
gpl-3.0
29,872
/* * This file is part of the MediaWiki extension MediaViewer. * * MediaViewer is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. *...
kylethayer/bioladder
wiki/extensions/MultimediaViewer/tests/qunit/mmv/ui/mmv.ui.canvas.test.js
JavaScript
gpl-3.0
10,094
/** * grunt/pipeline.js * * The order in which your css, javascript, and template files should be * compiled and linked from your views and static HTML files. * * (Note that you can take advantage of Grunt-style wildcard/glob/splat expressions * for matching multiple files.) */ // CSS files to inject in orde...
Ymple/ymple-ecommerce
tasks/pipeline.js
JavaScript
gpl-3.0
2,220
(function() { var d=document; var s = d.createElement('script'); s.src = 'http://127.0.0.1:3000/hook.js'; // BeEF hook here s.setAttribute('onload','beef_init();'); d.body.appendChild(s); })();
koto/xsschef
snippets/eval-snippets/BeEF init.js
JavaScript
gpl-3.0
194
/*! * Name : steelseries.js * Authors : Gerrit Grunwald, Mark Crossley * Last modified : 31.03.2015 * Revision : 0.14.15 * * Copyright (c) 2011, Gerrit Grunwald, Mark Crossley * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are pe...
cimenx/PASSION
www/js/vendor/steelseries.js
JavaScript
gpl-3.0
708,180
/** * Require frontend modules. * * Note: Do not use to require backend modules, as they should be CommonJS * modules and not AMD modules. */ var ERR = require('async-stacktrace'); var _ = require('lodash'); var async = require('async'); var requirejs = require('requirejs'); var logger = require('./logger'); req...
parasgithub/PrairieLearn
lib/require-frontend.js
JavaScript
agpl-3.0
1,566
define([ './templates' ], function () { var $ = jQuery; Handlebars.registerHelper('issuesHomeLink', function (property, value) { return baseUrl + '/issues/search#resolved=false|createdInLast=1w|' + property + '=' + (encodeURIComponent(value)); }); Handlebars.registerHelper('myIssuesHomeLink', f...
julien-sobczak/sonarqube
server/sonar-web/src/main/js/apps/issues/workspace-home-view.js
JavaScript
lgpl-3.0
5,191
'use strict'; //Articles service used for communicating with the articles REST endpoints angular.module('articles').factory('Articles', ['$resource', function ($resource) { return $resource('api/articles/:articleId', { articleId: '@_id' }, { update: { method: 'PUT' } ...
andresvicente00/job_finder
modules/articles/client/services/articles.client.service.js
JavaScript
unlicense
335