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 |
|---|---|---|---|---|---|
/* Copyright (c) 2004-2005 The Dojo Foundation, Licensed under the Academic Free License version 2.1 or above */dojo.provide("dojo.animation.Timer");
dojo.require("dojo.lang");
dojo.animation.Timer = function(intvl){
var timer = null;
this.isRunning = false;
this.interval = intvl;
this.onTick = function(){};
thi... | BradNeuberg/hyperscope | prototype_1_basic_outline_viewspecs/trunk/src/client/lib/dojo/src/animation/Timer.js | JavaScript | gpl-2.0 | 884 |
var b = require('bonescript');
var state1 = 0;
var state2 = 0;
var state3 = 0;
var state4 = 0;
//Input pins
b.pinMode('P8_11', b.INPUT);
b.pinMode('P8_13', b.INPUT);
b.pinMode('P8_15', b.INPUT);
b.pinMode('P8_19', b.INPUT);
//Output Pins
b.pinMode('P9_11', b.OUTPUT);
b.pinMode('P9_13', b.OUTPUT);
b.pinMode('P9_15', b... | mkanz/cs404 | lab02/push_button.js | JavaScript | gpl-2.0 | 1,295 |
angular.module("vssmApp")
.controller("dispatchReportCtrl",function ($scope,$http,$mdDialog,$mdToast,$modal,$translate,$filter,DTOptionsBuilder, DTColumnBuilder) {
//getting all regions
$scope.data = {};
$scope.data.usedRegions = [];
$scope.da... | kelvinmbwilo/VVS | public/controllers/reports/dispatchReportCtrl.js | JavaScript | gpl-2.0 | 23,494 |
(function ($, scope, undefined) {
function NextendSmartSliderAbstract(elementID, parameters) {
this.startedDeferred = $.Deferred();
if (elementID instanceof n2) {
elementID = '#' + elementID.attr('id');
}
var id = elementID.substr(1);
if (window[id] && window[... | ttthanhDC/ProjectTeamWP | wp-content/plugins/smart-slider-3/library/media/js/SliderAbstract.js | JavaScript | gpl-2.0 | 29,490 |
/**
This controller supports the interface for dealing with flags in the admin section.
@class AdminFlagsController
@extends Ember.Controller
@namespace Discourse
@module Discourse
**/
Discourse.AdminFlagsController = Ember.Controller.extend({
/**
Clear all flags on a post
@method clearFla... | SuperSonicDesignINC/FXDD | app/assets/javascripts/admin/controllers/admin_flags_controller.js | JavaScript | gpl-2.0 | 1,316 |
define([
'underscore',
'redux',
'redux-thunk',
'js/widgets/facet/reducers',
], function(_, Redux, Thunk, Reducer) {
return function createStore(config) {
// pass in specific default config vars (e.g. preprocessors)
// these come from the facet widget's initialize method
var config = {
config... | adsabs/bumblebee | src/js/widgets/facet/create_store.js | JavaScript | gpl-2.0 | 592 |
/** @scratch /panels/5
*
* include::panels/hits.asciidoc[]
*/
/** @scratch /panels/hits/0
*
* == Hits
* Status: *Stable*
*
* The hits panel displays the number of hits for each of the queries on the dashboard in a
* configurable format specified by the `chart' property.
*
*/
define([
'angular',
'app',
... | thesrinivas/rakshak | rest-server/web/src/main/ui/src/app/panels/hits/module.js | JavaScript | gpl-2.0 | 8,857 |
var chalk = require('chalk');
console.log(chalk.red('Hello World'));
| ErwanOsouf/_blank | corrections/nodejs/lesson1/exercise3/index.js | JavaScript | gpl-2.0 | 70 |
FusionCharts.ready(function () {
var openCB = document.getElementById('open'),
closeCB = document.getElementById('close'),
highLowCB = document.getElementById('highLow'),
//Function to show/hide anchors
showAnchor = function(evt) {
//Storing the attributes names to get th... | sguha-work/fiddletest | backup/fiddles/Chart/Spark_Line_Chart/Configuring_point_value_visibility_in_spark_line_chart/demo.js | JavaScript | gpl-2.0 | 3,017 |
(function($) {
var animationSpeed = 400;
$(document).ready(function() {
// Only enable hover functions, equal height sections and parallax on non iOs
if( !iosAgent() ) {
equalizeHeight();
stellarInit();
hoverInit();
}
// Hide address bar on... | vanie3/appland | wp-content/themes/appland/javascripts/script.js | JavaScript | gpl-2.0 | 8,719 |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
WARNING: Clear the browser cache after you modify this file.
If you do not do this, you may notice that the browser is ignoring all your changes.
*/
CKEDITOR.editorConf... | hpcalaf/findinmyphbalance | sites/all/modules/ckeditor/ckeditor.config.js | JavaScript | gpl-2.0 | 4,329 |
import keyCode from "../lib/keycode";
export default function (qunit, Inputmask) {
var $ = Inputmask.dependencyLib;
qunit.module("multi masks");
qunit.test("inputmask({ mask: [\"99-99\", \"999-99\"]}) - input 12345", function (assert) {
var done = assert.async(),
$fixture = $("#qunit-fixture");
$fixture.app... | alexrayu/sitecat8 | web/libraries/jquery.inputmask/qunit/tests_multi.js | JavaScript | gpl-2.0 | 15,814 |
/* global define */
define(function () {
"use strict";
/**
* Returns a structure used to create and update a Role Assign object. See for ex.
* {{#crossLink "UserService/assignRoleToUser"}}UserService.assignRoleToUser{{/crossLink}}
*
* @class RoleAssignInputStruct
* @constructor
* ... | ezsystems/ez-js-rest-client | src/structures/RoleAssignInputStruct.js | JavaScript | gpl-2.0 | 1,090 |
function enter(pi) {
pi.playPortalSE();
pi.warp(400030600);
return true;
} | Maxcloud/Mushy | scripts/portal/traitor1_enter.js | JavaScript | gpl-3.0 | 86 |
// LICENCE https://github.com/adaptlearning/adapt_authoring/blob/master/LICENSE
define(function(require) {
var Origin = require('coreJS/app/origin');
var BackboneForms = require('backboneForms');
var BackboneFormsLists = require('backboneFormsLists');
var ScaffoldItemsModalView = require('coreJS/scaffold/views/sca... | AmitGolhar/adapt_authoring | frontend/src/core/scaffold/scaffold.js | JavaScript | gpl-3.0 | 10,725 |
/* Dawnveil
[Ellinel Fairy Academy] The Search Concluded
Cootie
Made by Daenerys
*/
var status = -1;
function start(mode, type, selection) {
if (mode == 1)
status++;
else
status--;
if (status == 0) {
qm.sendNextS("Hey, #b#h ##k. I was just telling the Headmistress what we found...",4);
} ... | swordiemen/Mushy | scripts/quest/32116.js | JavaScript | gpl-3.0 | 2,275 |
angular.module('imgbi.directives', [])
.directive('holder', ['previewFile', function(previewFile) {
return {
link: function($rootScope, $element) {
$element.bind('click', function(event) {
event.preventDefault();
document.getElementById('imageUpload').click();
});
... | imgbi/img.bi | frontend/scripts/directives.js | JavaScript | gpl-3.0 | 1,424 |
var classqpp_1_1_timer =
[
[ "Timer", "classqpp_1_1_timer.html#a04d6c617a56ac388a89a5ad5756f3b53", null ],
[ "Timer", "classqpp_1_1_timer.html#ae5aa25c683ff6431b46231b2d15dceff", null ],
[ "Timer", "classqpp_1_1_timer.html#a83488eba2d1de80a0782b9c237b2b94b", null ],
[ "~Timer", "classqpp_1_1_timer.html#... | tempbottle/qpp | doc/html/classqpp_1_1_timer.js | JavaScript | gpl-3.0 | 1,045 |
var agent,
recipient;
function send_report(type, data) {
agent.transports.smtp.send(data, { to: recipient }, function(err, resp) {
if (err) agent.hooks.trigger('error', err);
})
}
exports.load = function(cb) {
if (!this.config.get('recipient'))
return cb(new Error('Recipient not found.'));
agent ... | eXcomm/prey-node-client | lib/agent/plugins/reports-to-inbox/index.js | JavaScript | gpl-3.0 | 535 |
// For authoring Nightwatch tests, see
// http://nightwatchjs.org/guide#usage
module.exports = {
'default e2e tests': function test(browser) {
// automatically uses dev Server port from /config.index.js
// default: http://localhost:8080
// see nightwatch.conf.js
const devServer = browser.globals.devS... | hexelberrystudios/pigeouli | test/e2e/specs/test.js | JavaScript | gpl-3.0 | 569 |
/* Copyright (c) 2017-2019 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
import * as tslib_1 from "tslib";
import { request } from "../request";
import { getPortalUrl } from "./get-portal-url";
/**
* Get the portal
* @param requestOptions
*/
export function getSelf(requestOptions) {
// just del... | hhkaos/awesome-arcgis | node_modules/@esri/arcgis-rest-request/dist/esm/utils/get-portal.js | JavaScript | gpl-3.0 | 1,127 |
dojo.provide("fox.PrefFilterTree");
dojo.require("lib.CheckBoxTree");
dojo.require("dojo.data.ItemFileWriteStore");
dojo.declare("fox.PrefFilterStore", dojo.data.ItemFileWriteStore, {
_saveEverything: function(saveCompleteCallback, saveFailedCallback,
newFileContentString) {
dojo.xhrPost({
url: "backe... | ruijst/ttrss-openshift | php/js/PrefFilterTree.js | JavaScript | gpl-3.0 | 2,533 |
frappe.provide("erpnext.pos");
{% include "erpnext/public/js/controllers/taxes_and_totals.js" %}
frappe.pages['pos'].on_page_load = function(wrapper) {
var page = frappe.ui.make_app_page({
parent: wrapper,
title: __('Point of Sale'),
single_column: true
});
wrapper.pos = new erpnext.pos.PointOfSale(wrapper)
... | bhupennewalkar1337/erpnext | erpnext/accounts/page/pos/pos.js | JavaScript | gpl-3.0 | 30,274 |
/**
* GaiaEHR (Electronic Health Records)
* Copyright (C) 2012 Ernesto Rodriguez
*
* This program 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 3 of the License, or
* (at your option) a... | waficom/tutus | app/ux/LiveLabsSearch.js | JavaScript | gpl-3.0 | 2,041 |
'use strict';
var path = require("path");
module.exports = function (app) {
var Person = app.orm.getModel('Person');
return {
"query": function (req, res, next) {
Person.findAll({}).
success(function (entity) {
if (entity) {
res.e... | levabd/persony | components/controllers/person.js | JavaScript | gpl-3.0 | 3,945 |
/*
* source/controls/selectoritem.js
*/
/* FeedReader - A RSS Feed Aggregator for Firefox OS
* Copyright (C) 2009-2013 Timo Tegtmeier
*
* This program 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; e... | carlstyx/tegis-feedreader | source/controls/selectoritem.js | JavaScript | gpl-3.0 | 2,780 |
import _ from "lodash";
import { check } from "meteor/check";
import { ServiceConfiguration } from "meteor/service-configuration";
import { Packages } from "/lib/collections";
import { Logger } from "/server/api";
import { EJSON } from "meteor/ejson";
/**
* @method loadSettings
* @summary
* This basically allows yo... | levu48/reaction | server/api/core/loadSettings.js | JavaScript | gpl-3.0 | 2,612 |
var myNamespace = myNamespace || {};
var debugwms = false;// debug flag
myNamespace.WebMapService = (function(OL) {
"use strict";
// fires an asyn. HTTP GET request to server
function asyncGetRequest(parameters, callback, url) {
OL.Request.GET({
url : url,
params : parameters,
callback : callback
});... | nansencenter/GreenSeasADC-portlet | docroot/js/src/webMapService.js | JavaScript | gpl-3.0 | 2,136 |
#!/usr/bin/env node
/*
* Module dependencies
*/
var fs = require('fs')
, exec = require('child_process').exec
, jshint = require('jshint').JSHINT
var jshintrc = JSON.parse(fs.readFileSync('.jshintrc', 'utf8'))
, sigPadPath = 'jquery.signaturepad.js'
, sigPadMinPath = 'build/jquery.signaturepad.min.js'
, s... | Webcampak/v2.0 | src/www/interface/lib/signature/build.js | JavaScript | gpl-3.0 | 1,170 |
OsciTk.models.NavigationItem = OsciTk.models.BaseModel.extend({
defaults: function() {
return {
title: null,
subtitle: null,
uri: null,
parent: null,
next: null,
previous: null,
depth: 0,
thumbnail: null,
timestamp: null
};
},
initialize: function() {
}
}); | aic-collections/OSCI-Toolkit-Frontend | js/oscitk/models/NavigationItemModel.js | JavaScript | gpl-3.0 | 293 |
"use strict";
/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
Object.defineProperty(exports, "__esModule", { value: true });
var arcgis_rest_request_1 = require("@esri/arcgis-rest-request");
function generateToken(url, requestOptions) {
// TODO: remove union type and type ... | hhkaos/awesome-arcgis | node_modules/@esri/arcgis-rest-auth/dist/node/generate-token.js | JavaScript | gpl-3.0 | 930 |
/*
Copyright (C) 2016 PencilBlue, LLC
This program 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 3 of the License, or
(at your option) any later version.
This program is distributed in th... | Whatsit2yaa/vast-tundra-84597 | plugins/pencilblue/controllers/article.js | JavaScript | gpl-3.0 | 3,903 |
var inPlaceSinglePage = null;
var inPlaceSinglePage_lock = null;
var displayXsl = null;
function prepareDisplayXSL() {
$.ajax({
url:"static/Display.xsl",
success:function(html){
displayXsl = html;
},
async:false
});
}
function getCurrentPage() {
return getCurre... | wazari972/WebAlbums | WebAlbums-ea/build/WebAlbums-Servlet/static/scripts/SinglePageInterface.js | JavaScript | gpl-3.0 | 5,150 |
/* 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/>. */
export type GripProperties = {
ownProperties?: Object,
ownSymbols?: Array<Object>,
safeGetterValues?: Obje... | jbhoosreddy/debugger.html | packages/devtools-reps/src/object-inspector/types.js | JavaScript | mpl-2.0 | 3,321 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
// @flow
import React, { PureComponent } from "react";
import { connect } from "react-redux";
import { bindActi... | amitzur/debugger.html | src/components/Editor/Tabs.js | JavaScript | mpl-2.0 | 13,883 |
// flow-typed signature: b67751356f09ffce4fd435bfd2c05ce9
// flow-typed version: <<STUB>>/json-loader_v^0.5.7/flow_v0.96.0
/**
* This is an autogenerated libdef stub for:
*
* 'json-loader'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with th... | mstange/cleopatra | src/types/libdef/npm/json-loader_vx.x.x.js | JavaScript | mpl-2.0 | 854 |
export default ability => hooks => {
hooks.beforeEach(function() {
this.ability = this.owner.lookup(`ability:${ability}`);
this.can = this.owner.lookup('service:can');
});
hooks.afterEach(function() {
delete this.ability;
delete this.can;
});
};
| dvusboy/nomad | ui/tests/helpers/setup-ability.js | JavaScript | mpl-2.0 | 271 |
import React from 'react';
import { toMatchImageSnapshot } from 'jest-image-snapshot';
import screenshot from 'react-screenshot-renderer';
import { Tags } from '../tags';
import Theme from '@mocks/theme';
expect.extend({
toMatchImageSnapshot
});
it('<Tags />', async () => {
expect(
await screenshot(
<T... | geek/joyent-portal | packages/my-joy-instances/src/containers/instances/__tests__/tags.ui.js | JavaScript | mpl-2.0 | 2,100 |
// Generated by CoffeeScript 1.10.0
var port, start;
start = function(port, callback) {
return require('americano').start({
name: 'Calendar',
port: port,
host: process.env.HOST || "0.0.0.0",
root: __dirname
}, function(err, app, server) {
var Realtimer, User, cozydb, localization, realtime;
... | cozy/cozy-calendar | build/server.js | JavaScript | agpl-3.0 | 1,697 |
module.exports = ['$scope', function ($scope) {
$scope.generateWallet = function () {
var key = ethUtil.sha3($scope.walletPhrase);
$scope.private = key.toString('hex');
$scope.address = '0x' + ethUtil.publicToAddress(
ethUtil.privateToPublic(new Buffer(key, 'hex'))
).toString('hex');... | ryepdx/ethaddress.org | src/controllers/brainWallet.js | JavaScript | agpl-3.0 | 902 |
"use strict";
function prettyDate(seconds){
var time_formats = [
[0, 'now', 'now', null],
[10, 'seconds ago', 'now', null],
[60, '< 1 minute ago', '< 1 minute from now', null],
[120, '1 minute ago', '1 minute from now',... | shacknetisp/redflare | static/js/pretty_date-1.0.js | JavaScript | agpl-3.0 | 1,736 |
Ext.define('Shopware.apps.ProductStream.view.condition_list.field.ReleaseDate', {
extend: 'Ext.form.FieldContainer',
layout: { type: 'hbox', align: 'stretch' },
mixins: [ 'Ext.form.field.Base' ],
height: 30,
value: undefined,
initComponent: function() {
var me = this;
me.items... | ShopwareHackathon/shopware-ajax-variant | themes/Backend/ExtJs/backend/product_stream/view/condition_list/field/release_date.js | JavaScript | agpl-3.0 | 2,338 |
$(document).ready(function () {
// Init some needed components here.
});
| CompassionCH/compassion-switzerland | theme_crowdfunding/static/src/js/mdb-components.js | JavaScript | agpl-3.0 | 77 |
import { map } from 'common/collections';
import { Fragment } from 'inferno';
import { act } from '../byond';
import { AnimatedNumber, Box, Button, LabeledList, Section, Tabs } from '../components';
import { InterfaceLockNoticeBox } from './common/InterfaceLockNoticeBox';
export const Cargo = props => {
const { stat... | McBawbaggings/HippieStation | tgui-next/packages/tgui/interfaces/Cargo.js | JavaScript | agpl-3.0 | 10,373 |
angular.module('casa').factory('Religieux', [ function() {
var religieux = [{
id: 0,
name: 'Les édifices religieux',
sousTitre: 'Introduction',
url: 'pages/religieux/heritage-religieux.html',
vignette: 'img/religieux-intro.jpg'
},{
id: 1,
name: 'Les... | opencasa/PatrimoineCASA | PatrimoineCASA/www/js/services/religieux.js | JavaScript | agpl-3.0 | 3,922 |
/*
* Copyright 2007-2017 Charles du Jeu - Abstrium SAS <team (at) pyd.io>
* This file is part of Pydio.
*
* Pydio is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | pydio/pydio-core | core/src/plugins/action.user/res/js/ComponentConfigParser.js | JavaScript | agpl-3.0 | 1,323 |
/* jshint strict: false */
// Gulp plugins
var gulp = require('gulp');
var concat = require('gulp-concat');
var jshint = require('gulp-jshint');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
// Orher libraries
var del = require('del');
var Server = require('karma').Server;
var runSequence ... | laclasse-com/service-portail | public/app/node_modules/angular-zxcvbn/gulpfile.js | JavaScript | agpl-3.0 | 1,504 |
var searchData=
[
['ident',['ident',['../vml-content_8js.html#a3f83b1f09ac62d3ade99e333cc73ea04',1,'vml-content.js']]],
['index',['index',['../classvml-expeyes-jr_1_1ExpPage.html#a7777fffea2699d75a562d921b41e0d7b',1,'vml-expeyes-jr::ExpPage']]],
['init_5fgraph',['init_graph',['../vml-scope_8js.html#a5b40a09b416ee... | wavicles/visitMyLab | doc/html/search/all_69.js | JavaScript | agpl-3.0 | 488 |
/**
* This file is part of Shuup.
*
* Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved.
*
* This source code is licensed under the OSL-3.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
window.onProductSubscriptionSelectionChange = function (element) {
const o... | shoopio/shoop | shuup/front/static_src/js/product_order.js | JavaScript | agpl-3.0 | 915 |
/**
* Global search parameters and label mapping.
*/
export const PARAMETERS = Object.freeze({
unique_name: 'Unique Name',
original_creator: 'Creator',
from_desk: 'From Desk',
to_desk: 'To Desk',
spike: 'Spiked',
subject: 'Subject',
company_codes: 'Company Codes',
marked_desks: 'Mark... | mugurrus/superdesk-client-core | scripts/apps/search/constants.js | JavaScript | agpl-3.0 | 3,337 |
import ITEMS from 'common/ITEMS';
import SPELLS from 'common/SPELLS';
import Analyzer from 'Parser/Core/Analyzer';
const LEGENDARY_NOBUNDO_BUFF = 208764;
const LEGENDARY_NOBUNDO_BUFF_EXPIRATION_BUFFER = 50; // the buff expiration can occur several MS before the heal event is logged, this is the buffer time that an IoL... | enragednuke/WoWAnalyzer | src/Parser/Shaman/Restoration/Modules/Items/Nobundo.js | JavaScript | agpl-3.0 | 1,087 |
"use strict";
var isInteger = require("is-integer");
var isNumber = require("lodash/lang/isNumber");
var t = require("../../types");
exports.UnaryExpression = function (node, print) {
var hasSpace = /[a-z]$/.test(node.operator);
var arg = node.argument;
if (t.isUpdateExpression(arg) || t.isUnaryExpres... | malmostad/soctanter | sites/all/themes/soctanter/node_modules/gulp-autoprefixer/node_modules/autoprefixer-core/node_modules/postcss/node_modules/babel/lib/babel/generation/generators/expressions.js | JavaScript | agpl-3.0 | 3,229 |
import React from 'react-native';
import PageEmpty from './PageEmpty';
import PageLoading from './PageLoading';
import DiscussionDetailsCard from './DiscussionDetailsCard';
import PeopleListContainer from '../containers/PeopleListContainer';
const {
ScrollView
} = React;
const DiscussionDetails = props => {
if (pro... | wesley1001/io.scrollback.neighborhoods | app/views/DiscussionDetails.js | JavaScript | agpl-3.0 | 856 |
/**
* This file is part of Shuup.
*
* Copyright (c) 2012-2016, Shoop Ltd. All rights reserved.
*
* This source code is licensed under the AGPLv3 license found in the
* LICENSE file in the root directory of this source tree.
*/
/* eslint-disable no-unused-vars */
$(function() {
"use strict";
if (window.Da... | hrayr-artunyan/shuup | shuup/admin/static_src/dashboard/js/dashboard.js | JavaScript | agpl-3.0 | 1,360 |
// CodeMirror 4.1.1, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd... | axisj/axu4j | axu4j-quick-start/src/main/webapp/plugins/CodeMirror/addon/fold/markdown-fold.js | JavaScript | lgpl-2.1 | 1,611 |
var classCqrs_1_1Azure_1_1ServiceBus_1_1AzureEventHubBus =
[
[ "AzureEventHubBus", "classCqrs_1_1Azure_1_1ServiceBus_1_1AzureEventHubBus_aef24d23dd76d6bb0f58b582e2abf9872.html#aef24d23dd76d6bb0f58b582e2abf9872", null ],
[ "AzureBusHelper", "classCqrs_1_1Azure_1_1ServiceBus_1_1AzureEventHubBus_ac70c513a41f42208c... | Chinchilla-Software-Com/CQRS | wiki/docs/2.2/html/classCqrs_1_1Azure_1_1ServiceBus_1_1AzureEventHubBus.js | JavaScript | lgpl-2.1 | 2,047 |
"use strict";
var grunt = require("grunt"),
fs = require("fs"),
gzip = require("gzip-js"),
_ = grunt.util._,
files = [ "tasks/compare-size.js", "test/compare-size.js" ],
compressors = [ "", "gz" ],
sizecache = ".sizecache.json",
harness = "harness/harness.js",
rfileLine = /^\s*((?:[-+=?... | AppCanOpenSource/appcan-jssdk | source/node_modules/grunt-compare-size/test/compare-size.js | JavaScript | lgpl-3.0 | 31,483 |
import React, { useContext } from 'react'
import { Route, Redirect } from 'react-router-dom'
import AppContext from 'src/AppContext'
import { isLoggedIn } from './utils'
const PublicRoute = ({ component: Component, restricted, ...rest }) => {
const { userData } = useContext(AppContext)
return (
<Route
... | lamassu/lamassu-server | new-lamassu-admin/src/routing/PublicRoute.js | JavaScript | unlicense | 539 |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.0.0-rc3
*/
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.checkbox
* @description Checkbox module!
*/
angular
.module('material.components.checkbox', ['material.cor... | GDGLegon/GDGLegon.github.io | bower_components/angular-material/modules/js/checkbox/checkbox.js | JavaScript | apache-2.0 | 5,795 |
/*
* Copyright (c) 2012, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/licenses/LICENSE-2.0
*
*/
// Singleton classes.
//
ShoppingListApp = {}; // Shopping list application o... | modulexcite/webapps-shopping-list | app/js/main.js | JavaScript | apache-2.0 | 59,838 |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... | mrtequino/JSW | nodejs/observables-rxjs/node_modules/rxjs/internal/operators/sequenceEqual.js | JavaScript | apache-2.0 | 6,659 |
var umdAppConfigBuilder = require('./umdAppConfigBuilder'),
htmlAppConfigBuilder = require('./htmlAppConfigBuilder'),
iframeAppConfigBuilder = require('./iframeAppConfigBuilder');
const builder = umdAppConfigBuilder;
builder[umdAppConfigBuilder.name] = umdAppConfigBuilder;
builder[htmlAppConfigBuilder.name] = htmlAp... | omsmith/frau-appconfig-builder | lib/index.js | JavaScript | apache-2.0 | 426 |
const path = require('path');
const assert = require('yeoman-assert');
const helpers = require('yeoman-test');
const ClientGenerator = require('../../generators/client');
const constants = require('../../generators/generator-constants');
const CLIENT_MAIN_SRC_DIR = constants.CLIENT_MAIN_SRC_DIR;
const mockBlueprintSu... | duderoot/generator-jhipster | test/needle-api/needle-client-react.spec.js | JavaScript | apache-2.0 | 4,786 |
'use strict';
// Use application configuration module to register a new module
ApplicationConfiguration.registerModule('player');
| jaredq/miplayer | public/modules/player/player.client.module.js | JavaScript | apache-2.0 | 131 |
var configureCasper = require('./configure').configureCasper;
var url = require('./configure').url;
var username = require('./configure').username;
var password = require('./configure').password;
module.exports = {
setup: function(casper) {
casper.start();
configureCasper(casper);
turnOnD... | aml-development/ozp-center | casper/setup.js | JavaScript | apache-2.0 | 1,119 |
/*
* 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/serviceFabric/lib/models/clusterHealthReport.js | JavaScript | apache-2.0 | 2,245 |
Ext.define('MCLM.view.apolo.aerodromo.MetarTafWindow', {
extend: 'Ext.Window',
id:'metarTafWindow',
xtype: 'metarTafWindow',
title : "Dados de METAR/TAF",
width : 650,
height: 500,
bodyStyle:{"background-color":"white"},
constrain: true,
renderTo: Ext.getBody(),
resizable: false,
autoScroll:true,
htm... | icemagno/mclm | src/main/webapp/app/view/apolo/aerodromo/MetarTafWindow.js | JavaScript | apache-2.0 | 333 |
/*
* Minio Cloud Storage (C) 2018 Minio, 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... | jimjag/minio | browser/app/js/browser/__tests__/Browser.test.js | JavaScript | apache-2.0 | 936 |
/**
* Author: Milica Kadic
* Date: 11/24/14
* Time: 2:38 PM
*/
'use strict';
angular.module('registryApp.common')
.controller('MarkdownCtrl', ['$scope', '$uibModalInstance', 'data', function($scope, $modalInstance, data) {
$scope.view = {};
$scope.view.description = data.markdown;
$sc... | rabix/cottontail | client/src/editors/app/scripts/common/controllers/MarkdownCtrl.js | JavaScript | apache-2.0 | 978 |
'use strict';
angular.module('creamApp')
.config(function ($stateProvider) {
$stateProvider
.state('settings', {
parent: 'account',
url: '/settings',
data: {
authorities: ['ROLE_USER'],
pageTitle: 'global.me... | bzinoun/cream | src/main/webapp/scripts/app/account/settings/settings.js | JavaScript | apache-2.0 | 949 |
/**
* @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/graphics/Label2.js | JavaScript | apache-2.0 | 1,819 |
Ext.define('SC.component.AppWindowManager',{
requires:[
'SC.utils.Map'
],
statics:{
windows:[],
addWindow:function(id){
if(this.hasWindow(id)){
console.log('window:' + id + 'has existed');
return;
}
this.windows.push(id);
console.log('addWindow:id = ' + id);
... | juxiangwu/SimpleSales | PCClient/app/component/AppWindowManager.js | JavaScript | apache-2.0 | 1,280 |
var _totalChartCount = 0;
var _retrievedChartCount = 0;
$(document).ready(function() {
//$('if( document.getElementById("filter-btn") ) {
// document.getElementById("filter-btn").click(); //chart-filter-btn
// }#filter-btn').click();
//
//click filter button if number of charts less or equal... | victorbrodsky/order-lab | orderflex/public/orderassets/AppUserdirectoryBundle/form/js/user-choices-plotly.js | JavaScript | apache-2.0 | 16,522 |
/**
* 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/main/mirroring/jobs_controller.js | JavaScript | apache-2.0 | 1,580 |
var NAVTREEINDEX4 =
{
"group__usbd__interface__gr.html#a0cc21434bc57e696fabf0207925fe5ff":[4,9,0,2,7],
"group__usbd__interface__gr.html#a217e38c26bbcdecbad8c984753b2597a":[4,9,0,2,9],
"group__usbd__interface__gr.html#a220859a8b5da0232739a11cbe7f79fc5":[4,9,0,4,1],
"group__usbd__interface__gr.html#a31d1785d6d46f75241ebb... | scarlso/LED_controller | CMSISfile/CMSIS/Documentation/Driver/html/navtreeindex4.js | JavaScript | apache-2.0 | 9,617 |
/**
* Copyright IBM Corp. 2016, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import { settings } from 'carbon-components';
const { prefix } = settings;
export default class ProgressIndicato... | carbon-design-system/carbon-components-react | src/components/ProgressIndicator/ProgressIndicator.Skeleton.js | JavaScript | apache-2.0 | 1,062 |
sap.ui.define(['sap/ui/core/UIComponent'],
function(UIComponent) {
"use strict";
var Component = UIComponent.extend("sap.m.sample.FacetFilterSimple.Component", {
metadata : {
rootView : "sap.m.sample.FacetFilterSimple.FacetFilter",
dependencies : {
libs : [
"sap.m",
"sap.ui.layout"
],
... | openui5/packaged-sap.m | test-resources/sap/m/demokit/sample/FacetFilterSimple/Component.js | JavaScript | apache-2.0 | 667 |
/**
* @author CaMnter
*/
import React, {Component} from 'react';
import {SimpleModal, ModalExample} from "./Modal";
class Root extends Component {
constructor(props) {
super(props);
}
render() {
return (
<ModalExample/>
);
}
}
module.exports = Root; | CaMnter/front-end-life | react-native-life/ReactNativeLife/js/Components/Modal/index.js | JavaScript | apache-2.0 | 309 |
//>>built
define(
"dojo/cldr/nls/ms/japanese", //begin v1.x content
{
"dateFormatItem-yyyyMMM": "MMM y G",
"dateFormatItem-Md": "d/M",
"dateFormatItem-yyyyMEd": "EEE, d/M/y G",
"dateFormatItem-yyyyMMMd": "d MMM y G",
"dateFormatItem-MEd": "E, d/M",
"dateFormatItem-Ed": "E, d",
"dateFormat-medium": "dd/MM/y G",
... | ibmWebsphereExtremeScale/AirportSample | src/main/webapp/dojo/dojo/cldr/nls/ms/japanese.js | JavaScript | apache-2.0 | 601 |
fil = new Array();
fil["0"]= "_network_node.html@@@Network Node - MidoNet Quick Start Guide for RHEL 7 / Icehouse - 2014.11-rev1@@@null";
fil["1"]= "_zookeeper_installation.html@@@ZooKeeper Installation - MidoNet Quick Start Guide for RHEL 7 / Icehouse - 2014.11-rev1@@@null";
fil["2"]= "_openstack_installation.html@@... | yantarou/midonet-docs | www/quick-start-guide_rhel-7_icehouse-osp/2014.11-rev1/content/search/htmlFileInfoList.js | JavaScript | apache-2.0 | 3,934 |
/* @ngInject */
function Controller ($state, $filter, torrentList, api) {
// initial values
this.db = torrentList.first();
torrentList.on('update', torrents => this.db = torrents);
this.checked = [];
this.removing = false;
this.orderByField = 'name';
this.orderReversed = false;
// functions
this.des... | colthreepv/alldebrid | client/main/states/torrents/index.js | JavaScript | apache-2.0 | 1,630 |
/*************************************************
* Copyright (c) 2015 Ansible, Inc.
*
* All Rights Reserved
*************************************************/
import { N_ } from '../../i18n';
export default {
name: 'managementJobsList.notifications',
route: '/:management_id/notifications',
params: ... | wwitzel3/awx | awx/ui/client/src/management-jobs/notifications/notification.route.js | JavaScript | apache-2.0 | 1,852 |
sap.ui.define([
'jquery.sap.global',
'sap/ui/core/mvc/Controller',
'sap/ui/model/json/JSONModel'
], function(jQuery, Controller, JSONModel) {
"use strict";
var ListController = Controller.extend("sap.m.sample.ListSelection.List", {
onInit : function (evt) {
// set explored app's demo model on this sampl... | openui5/packaged-sap.m | test-resources/sap/m/demokit/sample/ListSelection/List.controller.js | JavaScript | apache-2.0 | 655 |
//// [genericContextualTypingSpecialization.ts]
var b: number[];
b.reduce<number>((c, d) => c + d, 0); // should not error on '+'
//// [genericContextualTypingSpecialization.js]
var b;
b.reduce(function (c, d) { return c + d; }, 0);
| DickvdBrink/TypeScript | tests/baselines/reference/genericContextualTypingSpecialization.js | JavaScript | apache-2.0 | 240 |
import QuestionBase from '@/page/question/QuestionBase.vue'
import QuestionList from '@/page/question/QuestionList.vue'
export default [
{
path: '/question',
component: QuestionBase,
meta: {
requiresAuth: true,
keepAlive: true,
},
children: [
{
name: 'question',
... | slimkit/thinksns-plus | resources/spa/src/routers/question.js | JavaScript | apache-2.0 | 421 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | telefonicaid/fiware-cosmos-ambari | ambari-web/app/views/common/grid.js | JavaScript | apache-2.0 | 8,577 |
/*
* Copyright 2016 e-UCM (http://www.e-ucm.es/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* This project has received funding from the European Union’s Horizon
* 2020 research and innovation programme under grant agreeme... | RotaruDan/test-users | app.js | JavaScript | apache-2.0 | 6,366 |
/**
* jscolor, JavaScript Color Picker
*
* @version 1.4.2
* @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html
* @author Jan Odvarko, http://odvarko.cz
* @created 2008-06-15
* @updated 2013-11-25
* @link http://jscolor.com
*/
var jscolor = {
dir : '', // location of js... | haiyangxue/HMapVis | WebRoot/js/track/jscolor.js | JavaScript | apache-2.0 | 28,848 |
angular.module('BitGo.Common.BGInputNumbersOnly', [])
.directive('bgInputNumbersOnly',['$timeout', function ($timeout) {
return {
require: 'ngModel',
restrict: 'A',
scope: {}, // note: isolate scoping allows for better component testing
link: function (scope, element, attrs, ctrl) {
// $setView... | jmaurice/bitgo-chrome | common/scripts/bgInputNumbersOnlyDirective.js | JavaScript | apache-2.0 | 1,322 |
module.exports = {
VirtualTree: 1,
VirtualPatch: 2,
VirtualNode: 3,
SoftSetHook: 4
}; | nolanlawson/vdom-as-json | lib/types.js | JavaScript | apache-2.0 | 93 |
(function() {
var DEFAULT_TIMER_ACCURACY = 0;
// DEFAULT_PUZZLE_SETTINGS provides reasonable defaults for many of the fields
// on a Puzzle object.
var DEFAULT_PUZZLE_SETTINGS = {
scrambler: 'None',
scrambleType: 'None',
lastUsed: new Date().getTime(),
timerInput: 0,
graphMode: 0,
grap... | unixpickle/cubezapp | assets/scripts/model/local/puzzles.js | JavaScript | bsd-2-clause | 6,834 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... | ItsAsbreuk/website-itsa-react-server | development_server/versions/4.0.3/views/clientmodel.js | JavaScript | bsd-3-clause | 982,333 |
/**
* 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.
*
* @format
* @emails oncall+react_native
*/
import AnimatedProps from '../nodes/AnimatedProps';
import TestRenderer from 'react-t... | pandiaraj44/react-native | Libraries/Animated/__tests__/Animated-test.js | JavaScript | bsd-3-clause | 29,145 |
var app = angular.module('facebookApp', []); | hanjia2014/EnlightmentSwords | src/Orchard.Web/obj/Release/Package/PackageTmp/Modules/EnlightenmentSwords.FacebookPlugin/Scripts/app.js | JavaScript | bsd-3-clause | 47 |
window._timers = {};
function timeStart(obj) {
window._timers[obj] = null;
window._timers[obj] = (new Date).getTime();
}
function timeEnd(obj) {
if (window._timers[obj]) {
var diff = (new Date).getTime() - window._timers[obj];
window._timers[obj] = null;
ret... | eob/synckit-research | src/js/testrunner.js | JavaScript | bsd-3-clause | 8,902 |
var cdb = require('cartodb.js-v3');
var _ = require('underscore-cdb-v3');
var $ = require('jquery-cdb-v3');
var Utils = require('cdb.Utils');
var PaginationView = require('../../common/views/pagination/view');
var OrganizationUserView = require('./organization_user_view');
var ViewFactory = require('../../common/view_f... | codeandtheory/cartodb | lib/assets/javascripts/cartodb/organization/organization_users/organization_users_list_view.js | JavaScript | bsd-3-clause | 1,923 |
define(['extensions/extensions', 'knockout', 'amplify'], function (testee, ko, amplify) {
'use strict';
describe('extensions', function () {
var ampStub, target;
beforeEach(function () {
ampStub = sinon.stub(amplify, 'store');
target = ko.observable('myVal').extend({
... | pitography/BerryCamExpress | test/spec/extensions/extensions.spec.js | JavaScript | bsd-3-clause | 1,019 |
/*
* Copyright (C) 2011 Google 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 retain the above copyright
* notice, this list of conditions ... | espadrine/opera | chromium/src/third_party/WebKit/Tools/GardeningServer/scripts/garden-o-matic.js | JavaScript | bsd-3-clause | 6,718 |
//Description: sets a light's state to specific parameters from weather API and reports the outcome to the user
var geocoder;
var map;
var loaded;
var loadedToSendIcon;
var fourDayIntervalID, timeoutID = [];
var indexedDBItemCount = 0;
var forecastTimeoutInterval = 0;
var IconToHue =
{
sunny: '{"on":true, "sat":... | KaeduIT/ImageToPhilipsHue | js/weatherservice.js | JavaScript | bsd-3-clause | 12,654 |
if (self.importScripts) {
importScripts('../resources/fetch-test-helpers.js');
}
var URL = 'https://www.example.com/test.html';
test(function() {
var headers = new Headers;
headers.set('User-Agent', 'Mozilla/5.0');
headers.set('Accept', 'text/html');
headers.set('X-Fetch-Test', 'request test field')... | smishenk/blink-crosswalk | LayoutTests/http/tests/fetch/script-tests/request.js | JavaScript | bsd-3-clause | 25,747 |