code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
'use strict' var remix = require('ethereum-remix') /** * Manage remix and source highlighting */ function Debugger (id, appAPI, executionContextEvent, editorEvent) { this.el = document.querySelector(id) this.debugger = new remix.ui.Debugger() this.sourceMappingDecoder = new remix.util.SourceMappingDecoder() ...
luongnt95/oyente
web/app/assets/javascripts/src/app/debugger.js
JavaScript
gpl-3.0
3,232
$(document).ready(function() { $('.test').each(function() { $(this).css('background',randomColor()); }); $('.pro').mouseover(function(){ console.log('hello'); $('.profile').slideDown("fast"); }); $('.pro').mouseout(function(){ console.log('hello'); $('.p...
rajatthepagal/QuickTest
backend dummies/quickTest/web/assets/scripts/upcoming_page.js
JavaScript
gpl-3.0
612
/** * A Node.js wrapper for terminal-notify. * * Requirements: * - Mac OS X 10.8 */ var path = require('path') , notifier = path.resolve(__dirname, '../../vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier') , utils = require('../utils'); var Notifier = function () { if (!(this instanceof Notif...
cmeraz/vigtrucking
node_modules/gulp-notify/node_modules/node-notifier/lib/notifiers/terminal-notifier.js
JavaScript
gpl-3.0
1,029
var searchData= [ ['verbose',['verbose',['../class_a_r_t_o_s_1_1_d_p_m_detection.html#ae679935bdeccfa79c6de8a3a1d3ab5bc',1,'ARTOS::DPMDetection']]] ];
mbakthav/artos
docs/libartos/html/search/variables_f.js
JavaScript
gpl-3.0
153
// Copyright 2015, 2016 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 la...
immartian/musicoin
js/src/ui/Form/FormWrap/index.js
JavaScript
gpl-3.0
746
/** * OpenEyes * * (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 * (C) OpenEyes Foundation, 2011-2013 * This file is part of OpenEyes. * OpenEyes 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,...
openeyesarchive/eyedraw
src/ED/Doodles/Oph/RPERip.js
JavaScript
gpl-3.0
5,759
// flow-typed signature: 9a8594f0aab9a1f91c4f839deede2e68 // flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.66.0 /** * This is an autogenerated libdef stub for: * * 'babel-cli' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with the ...
legislated/legislated-api
flow-typed/npm/babel-cli_vx.x.x.js
JavaScript
gpl-3.0
3,006
var tproxy = require('./index.js'); var http = require('http'); //Client: /*var req = httproxy.request({ createConnection: httproxy.createTproxyConnection, agent: false, hostname: 'ifconfig.me', host: '49.212.149.105', port: 80, path: '/ip', tproxy_addr: '41.213.181.29', tproxy_port: 0, }, function(res) { //c...
binarysec/gate
src/lib/tproxy/test.js
JavaScript
gpl-3.0
788
(function(){ var paths = [ function(ctx) { ctx.transform(-0.49,0,0,0.48,6058,4537); ctx.fillStyle='#BF56F6'; ctx.beginPath(); ctx.moveTo(-5167,-1469); ctx.quadraticCurveTo(-5024,-1226,-4984,-966); ctx.quadraticCurveTo(-4959,-863,-4965,-769); ctx.quadraticCurveTo(-4916,-591,-4930,-434); ctx.q...
shaunlebron/PterodactylAttack
project/swf/pteros/baby_mountain_purple/4.svg.js
JavaScript
gpl-3.0
45,537
/* * This is called from the NDN toolbar and the doorhanger popup on Firefox for Android. * Copyright (C) 2013-2015 Regents of the University of California. * @author: Jeff Thompson <jefft0@remap.ucla.edu> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Les...
ndncomm/ndn-js
ndn-protocol/content/ndn-toolbar.js
JavaScript
gpl-3.0
1,736
/* * Phusion Passenger - https://www.phusionpassenger.com/ * Copyright (c) 2010-2017 Phusion Holding B.V. * * "Passenger", "Phusion Passenger" and "Union Station" are registered * trademarks of Phusion Holding B.V. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this ...
BeGe78/esood
vendor/bundle/ruby/3.0.0/gems/passenger-6.0.10/src/helper-scripts/node-loader.js
JavaScript
gpl-3.0
13,002
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2009 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
09zwcbupt/undergrad_thesis
ext/poxdesk/qx/framework/source/class/qx/test/ui/core/Appearance.js
JavaScript
gpl-3.0
4,425
// to defear the loading of stylesheets // just add it right before the </body> tag // and before any js inclusion (for performance) function loadStyleSheet(src){ if (document.createStyleSheet) document.createStyleSheet(src); else { var styleshee...
rudametw/rudametw.github.io.backup-repo
src/_assets/javascripts/DeferCSS.js
JavaScript
gpl-3.0
594
odoo.define('mail.composer', function (require) { "use strict"; var chat_manager = require('mail.chat_manager'); var core = require('web.core'); var data = require('web.data'); var dom_utils = require('web.dom_utils'); var Model = require('web.Model'); var session = require('web.session'); var Widget = require('web.W...
web30s/odoo-9.0c-20160402
hello/templates/openerp/addons/mail/static/src/js/composer.js
JavaScript
gpl-3.0
27,084
//Tic Tac Toe game in JavaScript with two different levels //Author: Bharath Kumar //Github: https://github.com/iambk /* GLOBAL variables */ var human = "X"; //Default var computer = "O"; //Default var humanMoves = []; var computerMoves = []; var player1Moves = []; var player2Moves = []; var level = ""; va...
sagarduwal/programming
games_dev/TicTacToe/tictactoe.js
JavaScript
gpl-3.0
23,403
'use strict'; angular.module('risevision.editor.services') .factory('placeholdersFactory', ['editorFactory', 'artboardFactory', 'presentationParser', 'presentationTracker', 'placeholderFactory', function (editorFactory, artboardFactory, presentationParser, presentationTracker, placeholderFactory) { ...
Rise-Vision/rise-vision-app-launcher
web/scripts/editor/services/svc-placeholders-factory.js
JavaScript
gpl-3.0
5,463
/* */ "format cjs"; (function(process) { ; (function(global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['moment'], factory) : factory(global.moment); }(this, fu...
aitch0083/extjs-and-more
ReactJS/jspm_packages/npm/moment@2.11.1/locale/lb.js
JavaScript
gpl-3.0
3,738
/** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ define([ 'underscore', 'mageUtils', 'uiRegistry', 'uiComponent', 'uiLayout', 'Magento_Ui/js/modal/confirm' ], function (_, utils, registry, Component, layout, confirm) { 'use strict'; var c...
rajmahesh/magento2-master
vendor/magento/module-ui/view/base/web/js/form/components/collection.js
JavaScript
gpl-3.0
5,241
function rand(a,b) { return a+Math.random()*(b-a); } function randInt(a,b) { return Math.floor(a+Math.random()*(b-a)); } function randSelect(a) { return a[randInt(0,a.length)]; } /* for (var i=0; i<10; i++) { var animal = randSelect(['dog', 'cat']); console.log("%s", animal); } */ /* S = NP VP NP = DET N V...
ccckmit/wd
db/js1/code/gensentence.js
JavaScript
mpl-2.0
683
/* * Copyright (c) 2017 ThoughtWorks, Inc. * * Pixelated 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, or * (at your option) any later version. * * Pixelated i...
pixelated/pixelated-user-agent
web-ui/src/login/page.js
JavaScript
agpl-3.0
2,066
function includeFile(scriptPath) { // Need to convert to JavaScript String, as eval does not play nice with // java.lang.String. var scriptString = String(game.getScriptAsString(scriptPath)); // Evaluate at the global scope. I hope users are only calling this function // at the global scope. return eval...
toastythought/rpgboss
common/src/main/resources/defaultrc/script/sys/globals.js
JavaScript
agpl-3.0
9,505
/* * 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/gui.ajax/res/js/ui/Workspaces/search/components/SearchScopeSelector.js
JavaScript
agpl-3.0
2,171
$(document).ready(function(){ $("#address_street").hide(); //Autocomplete COUNTRY $(function(){ $('#address_country').autocomplete({source:'custom/modules/Realty/tpls/data.php?field_name=country', width: 200, max: 5 }); }); //Autocomplete REGION $('#add...
MarStan/sugar_work
custom/modules/Contacts/tpls/script.js
JavaScript
agpl-3.0
2,238
/** * Splitting the inputs into 3 letters for search indexing. * + first letter * + first two letters combination * to increase the quality * * @param {*} string * @returns [Array] */ const splitForSearchIndexes = (...searchTexts) => { const arr = []; searchTexts.forEach((item) => { item.split(/[\s-]/g).for...
schul-cloud/schulcloud-server
src/utils/search.js
JavaScript
agpl-3.0
638
steal.plugins('jquery/lang').then(function( $ ) { /** * @add jQuery.String */ $.String. /** * Splits a string with a regex correctly cross browser * @param {Object} string * @param {Object} regex */ rsplit = function( string, regex ) { var result = regex.exec(string), retArr = [], first_idx, las...
dukedorje/dreamcatcher
public/jquery/lang/rsplit/rsplit.js
JavaScript
agpl-3.0
721
OC.L10N.register( "federation", { "Added to the list of trusted servers" : "Pievienots uzticamo serveru sarakstam", "Server is already in the list of trusted servers." : "Serveris jau ir uzticamo serveru sarakstā .", "No server to federate with found" : "Nav atrasts neviens serveris", "Could not...
andreas-p/nextcloud-server
apps/federation/l10n/lv.js
JavaScript
agpl-3.0
1,408
/* * (c) Copyright Ascensio System SIA 2010-2015 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU ...
fluent93/DocumentServer
OfficeWeb/sdk/Word/Drawing/GraphicsEvents.js
JavaScript
agpl-3.0
2,852
module.exports = { env: 'production', server: { host: '0.0.0.0' }, store: { host: 'geocouch' } }
TransforMap/transformap-api
config/production.js
JavaScript
agpl-3.0
115
function Resolve() { var base_domain = Resolve.ExtractBaseDomain( location.hostname ); var dom = ""; switch ( location.protocol ) { case "http:": dom = location.protocol + "//api-" + base_domain + ":8080"; break; case "https:": dom = location.protocol + "//api-" + base_domain + ":8443"; break; } ...
danielbradley/PureJavascript
source/js/purejavascript2/Resolve.js
JavaScript
lgpl-2.1
560
var namespaceCqrs_1_1Tests_1_1Substitutes = [ [ "TestAggregate", "classCqrs_1_1Tests_1_1Substitutes_1_1TestAggregate.html", "classCqrs_1_1Tests_1_1Substitutes_1_1TestAggregate" ], [ "TestAggregateCreated", "classCqrs_1_1Tests_1_1Substitutes_1_1TestAggregateCreated.html", "classCqrs_1_1Tests_1_1Substitutes_1_1Te...
cdmdotnet/CQRS
wiki/docs/2.0/html/namespaceCqrs_1_1Tests_1_1Substitutes.js
JavaScript
lgpl-2.1
3,989
/** * {literal} * * @names features* * @property {} features_options * @method featuresInit * @method featuresAction * @method featuresBlur * @todo flush unavailable hash (edit/delete/etc) */ if (typeof($) != 'undefined') { $.extend($.settings = $.settings || {}, { features_options: { ...
Amethyst-web/vinst
wa-apps/shop/js/settings/features.js
JavaScript
lgpl-3.0
86,121
/*jslint indent: 2, maxlen: 80, sloppy: true, nomen: true */ /*global jIO: true */ jIO.addStorageType('replicate', function (spec, my) { var that, cloned_option, priv = {}, super_serialized = that.serialized; spec = spec || {}; that = my.basicStorage(spec, my); priv.return_value_array = []; priv.storag...
novaking/jio
src/jio.storage/replicatestorage.js
JavaScript
lgpl-3.0
2,699
/*! jQuery UI - v1.10.3 - 2013-12-21 * http://jqueryui.com * Includes: jquery.ui.effect.js * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ (function($, undefined) { var dataSpace = "ui-effects-"; $.effects = { effect: {} }; /*! * jQuery Color Animations v2.1.2 * https://github.com/jque...
wazery/Firn
app/assets/javascripts/jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.js
JavaScript
lgpl-3.0
31,847
// partial var timekeeper = {}; timekeeper.freeze = function(date) {}; timekeeper.reset = function() {};
coopsource/eulalie
src/eulalie/externs/timekeeper.js
JavaScript
unlicense
105
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2015 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * Phaser.Game has a single instance of the TweenManager through which all Tween objects are created and updated. * Twe...
lodyb/hope
phaser/modules/tweens.js
JavaScript
unlicense
74,326
/** * houses.js * * Computer Science 50 * Problem Set 8 * * Houses' approximate coordinates. */ var HOUSES = { "Adams House": {lat: 42.37189, lng: -71.11639}, "Cabot House": {lat: 42.381842, lng: -71.123857}, "Currier House": {lat: 42.381704, lng: -71.125773}, "Dunster House": {lat: 42.368648, ...
bansarids30/cs50
pset8/js/houses.js
JavaScript
unlicense
786
define([ 'angular' ], function( angular ) { 'use strict'; var copy = angular.copy; var each = angular.forEach; var isArray = angular.isArray; var isObject = angular.isObject; var RESOURCE_TYPE = 'Task'; var DEFAULT_COLOR = '#EEEEEE'; var likeExp = /Like$/; function fixLike(key, value) { if ...
nagyistoce/camunda-tasklist-ui
client/scripts/filter/modals/cam-tasklist-filter-modal.js
JavaScript
apache-2.0
8,654
/* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
filmaj/medic
dashboard.js
JavaScript
apache-2.0
4,540
/* * Copyright 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
yangleo/cloud-github
openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js
JavaScript
apache-2.0
17,939
#!/usr/bin/env node /** * @license Copyright 2017 The Lighthouse 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...
ev1stensberg/lighthouse
lighthouse-cli/index.js
JavaScript
apache-2.0
740
var bitcore = require('bitcore'); var PrivateKey = bitcore.PrivateKey; function Bitbox() { this.type = 'FOO123'; this.key = new PrivateKey(); return this; } Bitbox.prototype.toObject = function toObject() { return { key: this.key, type: this.type }; }; Bitbox.prototype.toJSON = fu...
y12studio/y12js
node/bitcore-node/jestfoo/bitbox.js
JavaScript
apache-2.0
771
/*jqueryzoom&&jcarousel*/ (function($){ $.fn.jqueryzoom=function(options){ var settings={ xzoom:400, yzoom:400, offset:10, position:"right", lens:1, preload:1}; if(options){ $.extend(settings,options);} var noalt=''; $(this).hover(function(){ var imageLeft=$(this).offset().left; var imageTop=$(this).offset().top; var i...
shenzeyu/recommend
src/main/webapp/scripts/js/1/zoom.js
JavaScript
apache-2.0
3,024
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.11/esri/copyright.txt for details. //>>built define("esri/layers/dynamic",["../geometry","./DynamicMapServiceLayer"],function(){return{}});
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.11/3.11compact/esri/layers/dynamic.js
JavaScript
apache-2.0
250
/* Copyright [2016] [Relevance Lab] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
RLOpenCatalyst/core
server/app/model/classes/application/application.js
JavaScript
apache-2.0
11,893
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // 'License'); you may not use this f...
kawamon/hue
desktop/core/src/desktop/js/ko/components/assist/ko.assistFunctionsPanel.test.js
JavaScript
apache-2.0
2,904
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ // Test whether a machine which differs only on vendor, but otherwise // exactly matches the blacklist entry, is not blocked. // Uses test_gfxBlacklist.xml Components.utils.import("resource://testing-common/ht...
sergecodd/FireFox-OS
B2G/gecko/toolkit/mozapps/extensions/test/xpcshell/test_gfxBlacklist_Vendor.js
JavaScript
apache-2.0
2,824
/* * Copyright (c) 2013 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...
HunseopJeong/WATT
libs/brackets-server/lib/domains/Logger.js
JavaScript
apache-2.0
5,663
const puppeteer = require("puppeteer"); const assert = require("assert"); const cas = require("../../cas.js"); (async () => { const browser = await puppeteer.launch(cas.browserOptions()); console.log("Fetching Scratch codes from /cas/actuator..."); let response = await cas.doRequest("https://localhost:8443...
fogbeam/cas_mirror
ci/tests/puppeteer/scenarios/mfa-trusted-device-auto-naming/script.js
JavaScript
apache-2.0
1,158
// test FunctionNode var assert = require('assert'), approx = require('../../../tools/approx'), math = require('../../../index')(), Node = require('../../../lib/expression/node/Node'), ConstantNode = require('../../../lib/expression/node/ConstantNode'), OperatorNode = require('../../../lib/expressio...
CraigCav/mathjs
test/expression/node/FunctionNode.test.js
JavaScript
apache-2.0
1,652
var searchData= [ ['gentable_2ec',['gentable.c',['../gentable_8c.html',1,'']]] ];
johnwilkey/RainbowTable
Documentation/html/search/files_2.js
JavaScript
apache-2.0
84
/** * Copyright 2013-2020 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see https://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
vivekmore/generator-jhipster
generators/entity/prompts.js
JavaScript
apache-2.0
43,963
(function () { // The HTML for this View var viewHTML; // Instantiate the ADAL AuthenticationContext var authContext = new AuthenticationContext(config); function refreshViewData() { // Empty Old View Contents var $dataContainer = $(".data-container"); $dataContainer.empt...
AzureADSamples/SinglePageApp-jQuery-DotNet
TodoSPA/App/Scripts/Ctrls/userDataCtrl.js
JavaScript
apache-2.0
1,225
define([ "dojo/_base/declare", "dojo/query", "dojo/_base/lang", "dojo/_base/sniff", "dojo/aspect", "dojo/dom-construct", "dojo/dom-class", "dojo/dom-style", "dojo/dom-geometry", "dojo/keys", "../core/_Module" ], function(declare, query, lang, has, aspect, domConstruct, domClass, domStyle, domGeo, keys, _Modu...
abssi/poc-tijari
dojoLib/toolkit/dojo/gridx/modules/RowHeader.js
JavaScript
apache-2.0
13,111
/** * @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 export default [ 'ar-MR...
HeH-Projects/team-agozzino
frontend/node_modules/@angular/common/locales/ar-MR.js
JavaScript
apache-2.0
1,817
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides enumeration for changes in model sap.ui.define(function() { "use strict"; /** * @class * Change Reason for Model/Li...
icgretethe/BeAware
resources/sap/ui/model/ChangeReason-dbg.js
JavaScript
apache-2.0
1,322
//// [moduleAsBaseType.ts] module M {} class C extends M {} interface I extends M { } class C2 implements M { } //// [moduleAsBaseType.js] var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d...
synaptek/TypeScript
tests/baselines/reference/moduleAsBaseType.js
JavaScript
apache-2.0
932
/* * Copyright (c) 2005-2014, 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....
malakasilva/carbon-event-processing
components/event-stream/event-formatter/org.wso2.carbon.event.formatter.ui/src/main/resources/web/eventformatter/js/create_eventFormatter_helper.js
JavaScript
apache-2.0
12,964
AUI().ready( function(A) { /* -------- navigation submenu effect --------- */ (function($){ //cache nav var nav = $("#navigation"); //add indicator and hovers to submenu parents nav.find("li").each(function() { if ($(this).find("ul").length > 0) { //show subnav on hover $(this).mouseenter(funct...
shubha1/Custom62-theme
docroot/js/main.js
JavaScript
apache-2.0
916
'use strict'; angular.module('arachne.controllers') .controller('DataexportController', ['$scope', '$http', '$timeout', 'arachneSettings', 'authService', 'messageService', function ($scope, $http, $timeout, arachneSettings, authService, messageService) { $scope.status = { tasks: {} }...
dainst/arachnefrontend
app/pages/dataexport.controller.js
JavaScript
apache-2.0
3,098
(function() { function Message($firebaseArray) { var ref = firebase.database().ref().child("messages"); var messages = $firebaseArray(ref); return { getByRoomId: function (roomId) { // .. logic for filtering messages }, send: function(newMessage) { // Send method logic ...
malworks/bloc-chat
dist/scripts/services/Message.js
JavaScript
apache-2.0
432
/** * AugmentedPresentation.js - The Presentation Core UI Component and package<br/> * The <b>Presentation</b> extension adds extensive abilities to the presentation layer.<br/> * This extension adds:<br/> * Mediator patterned PubSub Views * Enhanced Application Object - PubSub mediation and bootstrapping for...
Augmentedjs/example
src/main/webapp/scripts/lib/augmentedPresentation.js
JavaScript
apache-2.0
137,818
/* * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicabl...
jfederico/oae-bbb
tests/test-meetings.js
JavaScript
apache-2.0
178,326
//Method that used in jsp files function addOutputWSO2EventProperty(dataType) { var propName = document.getElementById("output" + dataType + "DataPropName"); var propValueOf = document.getElementById("output" + dataType + "DataPropValueOf"); var propertyTable = document.getElementById("output" + dataT...
lankavitharana/carbon-event-processing
components/event-stream/event-formatter/org.wso2.carbon.event.formatter.ui/src/main/resources/web/eventformatter/js/event_formatter.js
JavaScript
apache-2.0
27,599
import { module, test } from 'qunit'; import { setupIntegrationTest } from 'open-event-frontend/tests/helpers/setup-integration-test'; import hbs from 'htmlbars-inline-precompile'; import { render } from '@ember/test-helpers'; module('Integration | Component | widgets/steps indicator', function(hooks) { setupIntegra...
ritikamotwani/open-event-frontend
tests/integration/components/widgets/steps-indicator-test.js
JavaScript
apache-2.0
579
/*global emp, ozpIwc */ emp.environment.iwc = (function() { var template = emp.createEnvironmentTemplate(); var iwcClient; var channelLookup = {}; var callbackLookup = {}; var adjustChannelName = function(channelName) { return "/cmapi_" + channelName.replace(/\./g, '_'); }; var re...
missioncommand/emp3-web
src/sdk/core/environment/iwc/emp.environment.iwc.js
JavaScript
apache-2.0
6,210
/*global angular*/ /*global _*/ /*global $U*/ /*global moment*/ (function() { var app = angular.module('gab_order_details', []); app.controller('gab_order_details', [ 'server', '$scope', '$rootScope', '$routeParams', 'gapi', 'stripe', 'dropdown', function(db, s, r, params, gapi, stripe, dropdown...
javimosch/bastack
src/client/getabiker/js/ctrl/gab_order_details.js
JavaScript
apache-2.0
23,125
// (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/Drag.js
JavaScript
apache-2.0
1,773
var DateObject = require('ui/common/DateObject'); var CachedImageView = require('ui/common/CachedImageView'); var WebView = require('ui/common/WebView'); /* * Post Object * Essential attributes */ function FeatureRow(post, tracker, title) { this.containerheight = 0; var row = Ti.UI.createTableViewRow({ has...
okpala/IowaAlumni--iPhone-
build/iphone/build/Debug-iphonesimulator/UIowa Alumni.app/ui/common/FeatureRow.js
JavaScript
apache-2.0
4,151
const path = require('path'); const DirectoryNamedWebpackPlugin = require('directory-named-webpack-plugin'); exports.onCreateWebpackConfig = ({ stage, getConfig, rules, loaders, actions, }) => { actions.setWebpackConfig({ resolve: { modules: [path.resolve(__dirname, 'src'), 'node_modules'], ...
growcss/docs
gatsby-node.js
JavaScript
apache-2.0
383
/** * @license Copyright 2018 The Lighthouse 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 applica...
umaar/lighthouse
lighthouse-core/computed/metrics/metric.js
JavaScript
apache-2.0
2,995
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. /* global json */ $(document).ready(function () { 'use strict'; if (json.type == 'mp3') { $('#jquery_jplayer_1').jPlayer({ ready: function () { $(this).jPlayer('setMedia', { m...
jcfr/Midas
modules/visualize/public/js/media/media.index.js
JavaScript
apache-2.0
1,455
/* * Copyright 2022 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
gocd/gocd
server/src/main/webapp/WEB-INF/rails/app/assets/javascripts/enhanced_modalbox.js
JavaScript
apache-2.0
967
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requi...
mztaylor/rice-git
rice-framework/krad-web/src/main/webapp/krad/scripts/krad.message.js
JavaScript
apache-2.0
7,412
add_dependencies({ zxcvbn: 'node_modules/zxcvbn/dist/zxcvbn.js', }); set_global('i18n', global.stub_i18n); var common = require("js/common.js"); (function test_basics() { var accepted; var password; var warning; var bar = (function () { var self = {}; self.width = function (widt...
Galexrt/zulip
frontend_tests/node_tests/password.js
JavaScript
apache-2.0
2,329
/** * Copyright 2016 Google 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...
google/beautiful-audio-editor
src/js/original/action/encode/encode-project-state-action.js
JavaScript
apache-2.0
14,525
/******************************************************************************* * 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...
ffromm/sling
bundles/scripting/sightly/testing-content/src/main/resources/SLING-INF/apps/sightlyperf/test/test.js
JavaScript
apache-2.0
1,421
define(function(require) { var Agent = require('state/agent'); var Random = require('state/random'); function AgentFactory() { this.SexDistribution = 0.5; this.TotalStatPoints = 16; this.MaxStatValue = 5; this.FirstNames = ['Roman', 'Arne', 'Matt', 'Krieger', 'Wes', 'Yash', 'James']; th...
kurrik/ld28
src/main/js/state/agent_factory.js
JavaScript
apache-2.0
2,018
'use strict'; const modelwrapper = require('server/storage/modelwrapper.js'); const metaModelTemplate = require('./metamodeltemplate.js'); const modelName = 'MetaStatuses'; const model = modelwrapper({ name: modelName, import: function() { return function(sequelize, DataTypes) { return sequelize.defin...
Kharatsa/SampleTransportTracking
app/server/stt/models/metadata/metastatuses.js
JavaScript
apache-2.0
453
'use strict'; angular.module('cloudSlangWebsiteApp') .controller('FooterCtrl', function () { });
gal1419/CloudSlang.github.io
app/scripts/controllers/footer.js
JavaScript
apache-2.0
107
/* * 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/deploymentmanagerManagement/lib/models/serviceUnitProperties.js
JavaScript
apache-2.0
2,443
var _ = require('underscore'), QueryOp = require('./QueryOp'), Type = require('./Type'); var handler = { translateFrom: function(query, provider) { var result = { options: {}, collection: '', db: '' }; result.db = query.model.getDb(); result.collection = query.model.getMappedName(); return...
sbirk1983/cushy-data-mongodb
DropModelQuery.js
JavaScript
apache-2.0
364
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pr...
yoyocms/YoYoCms.AbpProjectTemplate
src/YoYoCms.AbpProjectTemplate.Web/Scripts/i18n/angular-locale_kw.js
JavaScript
apache-2.0
2,781
var fs = require('fs') var request = require('request').defaults({json: true}) var path = require('path') var concat = require('concat-stream') var Dat = require('../../') module.exports.paths = function(test, common) { test('.paths', function(t) { var dat = new Dat(common.dat1tmp, function ready() { var p...
ajschumacher/dat
test/tests/init.js
JavaScript
bsd-2-clause
6,959
// Generated by CoffeeScript 2.6.1 /* The `argument` plugin map an argument which is not an object into a configuration property. */ var mutate; ({mutate} = require('mixme')); module.exports = { name: '@nikitajs/core/lib/plugins/metadata/argument_to_config', hooks: { 'nikita:schema': function({schema}) { ...
adaltas/node-mecano
packages/core/lib/plugins/metadata/argument_to_config.js
JavaScript
bsd-3-clause
924
/* * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). * Copyright (C) 2009 Joseph Pecoraro * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:...
ds-hwang/chromium-crosswalk
third_party/WebKit/Source/devtools/front_end/main/Main.js
JavaScript
bsd-3-clause
45,083
import propTypes from 'prop-types'; import React from 'react'; const RadioButton = ({ onChange, name, label, checked }) => { return ( <div> <div className="field"> <div className="ui radio checkbox"> <input checked={checked} id={label.replace(/\s/g, '_')} ...
FCC-Alumni/alumni-network
client/src/components/dashboard/Profile/Preferences/common/RadioButton.js
JavaScript
bsd-3-clause
673
/** * 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. * * @flow * @format */ 'use strict'; const BatchedBridge = require('../BatchedBridge/BatchedBridge'); const BugReporting = requir...
exponentjs/react-native
Libraries/ReactNative/AppRegistry.js
JavaScript
bsd-3-clause
9,783
if (!window.LChart) { throw new Error('未能加载loongchart.core.js,该js必须在其他LChart框架的js加载之前被引用。\n' + 'Not loaded loongchart.core.js which must be loaded before other LChart\'s js.'); } else { LChart.Const.Skins.BlackAndWhite.QueueHistogram = { LabelColor: null }; } LChart.QueueHistogram = LChart.ge...
ShefronYudy/LoongChart
loongchart 1.2/loongchart.queuehistogram.js
JavaScript
bsd-3-clause
14,422
const kelda = require('kelda'); const infrastructure = require('../../config/infrastructure.js'); const infra = infrastructure.createTestInfrastructure(); const container = new kelda.Container({ name: 'red', image: 'google/pause' }); container.deploy(infra);
NetSys/quilt
integration-tester/tests/connection-credentials/connectionCredentials.js
JavaScript
mit
261
var _a; ((_a = a).b).apply(_a, babelHelpers.toConsumableArray(args));
jridgewell/babel
packages/babel-plugin-transform-spread/test/fixtures/call-context/parenthesized-expressions/output.js
JavaScript
mit
71
/* * Copyright (c) 2017. MIT-license for Jari Van Melckebeke * Note that there was a lot of educational work in this project, * this project was (or is) used for an assignment from Realdolmen in Belgium. * Please just don't abuse my work */ /* * DateJS Culture String File * Country Code: mi-NZ * Name: Maori (N...
N00bface/Real-Dolmen-Stage-Opdrachten
stageopdracht/src/main/resources/static/vendors/DateJS/src/i18n/mi-NZ.js
JavaScript
mit
5,911
/* * 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/batch/lib/models/poolEndpointConfiguration.js
JavaScript
mit
1,758
/* * A commit in a repository. */ RB.RepositoryCommit = RB.BaseResource.extend({ defaults: function() { return _.defaults({ /* * Whether this commit appears accessible. * * On Subversion, a commit will be inaccessible if blocked by ACLs, * an...
beol/reviewboard
reviewboard/static/rb/js/resources/models/repositoryCommitModel.js
JavaScript
mit
1,701
#!/usr/bin/env node // Copyright 2014 Technical Machine, Inc. See the COPYRIGHT // file at the top-level directory of this distribution. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/lice...
achalc/m2c_tessel
node_modules/tessel/bin/tessel-logs.js
JavaScript
mit
910
'use strict'; var addEvent = addEventEasy; var removeEvent = removeEventEasy; if (!window.addEventListener) { addEvent = addEventHard; } if (!window.removeEventListener) { removeEvent = removeEventHard; } function addEventEasy (element, evt, fn) { return element.addEventListener(evt, fn); } function addEvent...
modulexcite/hint
src/events.js
JavaScript
mit
957
var _ = require('lodash'), testUtils = require('../utils'), should = require('should'), rewire = require('rewire'), uuid = require('uuid'), // Stuff we are testing packageInfo = require('../../../package'), updateCheck = rewire('../../server/update-che...
daimaqiao/Ghost-Bridge
core/test/integration/update_check_spec.js
JavaScript
mit
4,181
import '../css/style.css'; console.log('browserslist');
kidney/guido
examples/browserslist/src/js/index.js
JavaScript
mit
57
angular.module("<%= appName %>").controller("ToolbarCtrl", ['$scope', '$meteor', function($scope, $meteor){ }]);
damirkusar/generator-catena-angular-meteor-material
generators/app/templates/app/client/main/toolbar/controller/toolbar.js
JavaScript
mit
118
cur_frm.cscript.onload = function(doc, dt, dn) { if(has_common(user_roles, ["Administrator", "System Manager"])) { if(!cur_frm.roles_editor) { var role_area = $('<div style="min-height: 300px">') .appendTo(cur_frm.fields_dict.roles_html.wrapper); cur_frm.roles_editor = new frappe.RoleEditor(role_area); }...
cadencewatches/frappe
frappe/core/doctype/user/user.js
JavaScript
mit
8,116
MaterialPrime.widget.ScrollFire = PrimeFaces.widget.BaseWidget.extend({ init : function(cfg) { this._super(cfg); var options = [{ selector:PrimeFaces.escapeClientId(cfg.selector), offset:cfg.offset, callback:cfg.onScroll }]; Materialize.scrollFire(options); } });
MaterialPrime/material-prime
src/main/resources/META-INF/resources/material-prime/scrollfire/scrollfire.js
JavaScript
mit
288