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
/** * PLEASE DO NOT MODIFY THIS FILE. WORK ON THE ES6 VERSION. * OTHERWISE YOUR CHANGES WILL BE REPLACED ON THE NEXT BUILD. **/ /** * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ ((document, sub...
RomanaBW/BwPostman
src/media/com_bwpostman/js/admin-subscribers-default-batch-footer.es6.js
JavaScript
gpl-3.0
1,041
angular.module('sofa.scrollingShadow', []) .directive('sofaScrollingShadow', function() { 'use strict'; return { restrict: 'A', link: function(scope, $element){ var $topShadow = angular.element('<div class="sofa-scrolling-shadow-top"></div>'), ...
sofa/angular-sofa-scrolling-shadow
src/sofaScrollingShadow.js
JavaScript
gpl-3.0
2,175
/* Copyright 2011 OCAD University Copyright 2010-2011 Lucendo Development Ltd. Licensed under the Educational Community License (ECL), Version 2.0 or the New BSD license. You may not use this file except in compliance with one these Licenses. You may obtain a copy of the ECL 2.0 License and BSD License at https://git...
gregrgay/booking
Web/scripts/infusion/framework/core/js/FluidIoC.js
JavaScript
gpl-3.0
54,696
var searchData= [ ['emails_2ephp',['emails.php',['../emails_8php.html',1,'']]], ['emails_5flinks_2ephp',['emails_links.php',['../emails__links_8php.html',1,'']]] ];
labscoop/xortify
releases/XOOPS 2.6/4.14/docs/html/search/files_65.js
JavaScript
gpl-3.0
169
/* Developed with the contribution of the European Commission - Directorate General for Maritime Affairs and Fisheries © European Union, 2015-2016. This file is part of the Integrated Fisheries Data Management (IFDM) Suite. The IFDM Suite is free software: you can redistribute it and/or modify it under the terms of th...
UnionVMS/UVMS-Frontend
app/partial/admin/adminConfiguration/adminConfiguration-spec.js
JavaScript
gpl-3.0
5,549
// ---------------------------------------------------------------------------- // Buzz, a Javascript HTML5 Audio library // v 1.0.x beta // Licensed under the MIT license. // http://buzz.jaysalvat.com/ // ---------------------------------------------------------------------------- // Copyright (C) 2011 Jay Salvat // h...
kushsolitary/Inkpen
public/assets/js/buzz.js
JavaScript
gpl-3.0
26,388
/** * Module dependencies */ var _ = require('@sailshq/lodash'); var getDisplayTypeLabel = require('./get-display-type-label'); /** * getNounPhrase() * * Given an RTTC "display type" string (and some options) * return an appropriate human-readable noun-phrase. * Useful for error messages, user interfaces, etc...
deshbandhu-renovite/receipt-eCommerce
node_modules/rttc/lib/get-noun-phrase.js
JavaScript
gpl-3.0
6,514
/*jslint browser: true*/ /*global Audio, Drupal*/ /** * @file * Displays Audio viewer. */ (function ($, Drupal) { 'use strict'; /** * If initialized. * @type {boolean} */ var initialized; /** * Unique HTML id. * @type {string} */ var base; function init(context...
nigelgbanks/islandora
modules/islandora_audio/js/audio.js
JavaScript
gpl-3.0
967
(function (window) { const settings = { info: {}, user: {}, currentTime: 0, specificUser: false, init() { // default settings applyed from here const coreSettings = virtualclassSetting.settings; virtualclass.settings.info = virtualclass.settings.parseSettings(coreSettings); const...
pinky28/virtualclass
src/settings.js
JavaScript
gpl-3.0
24,868
'use strict' import { Github as GithubAPI } from '../utils/github' const Github = new GithubAPI() import Result from '../models/result' import * as utils from '../utils/utils' function _processItems (items, oncomplete, onpromise) { var users_promises = items.map((repo) => { return new Promise((resolve, reject) ...
AgustinCB/programmmrs_api
src/app/sources/github.js
JavaScript
gpl-3.0
4,186
/* _____________________________________________________________________________ * | | * | === WARNING: GADGET FILE === | * | Changes to this page affect many users. ...
WMFGrants/joinEndorseGadget
gadget/js/join.js
JavaScript
gpl-3.0
13,692
#! /usr/bin/env node 'use strict'; let SlackClient = require('slack-api-client'); export class SlackAPI { constructor(token) { this.slackToken = token; this.slack = SlackAPI.initSlack(this.slackToken); } static initSlack(token) { return new SlackClient(token); } users() { return new Promis...
SouthPoleTelescope/slacklogging
slack-history-export/src/slack.api.js
JavaScript
gpl-3.0
2,141
const commander = require('commander'); const dnode = require('dnode'); commander .description('returnes the storj status for a given host and port as JSON') .option('--host <hostname>') .option('--port <port>') .parse(process.argv); let sock = dnode.connect(commander.host, commander.port); sock.on('error', ...
felixbrucker/storjshare-daemon-proxy
storj-status-json.js
JavaScript
gpl-3.0
764
// Copyright 2014-2021, University of Colorado Boulder /** * Model for the beaker in 'Acid-Base Solutions' sim. * Origin is at bottom center. * * @author Andrey Zelenkov (Mlearner) * @author Chris Malley (PixelZoom, Inc.) */ import Bounds2 from '../../../../dot/js/Bounds2.js'; import Dimension2 from '../../../....
phetsims/acid-base-solutions
js/common/model/Beaker.js
JavaScript
gpl-3.0
1,204
'use strict'; const expect = require('chai').expect; const Board = require('../src/board'); const Search = require('../src/search'); describe('search', () => { var board; var search; var timePerMove; // ms var maxDepth = 64; beforeEach(() => { board = new Board(); search = new Sea...
joeyrobert/ceruleanjs
test/search.test.js
JavaScript
gpl-3.0
1,071
(function () { define( ['i18next', 'appevents', 'uihandler', 'database', './receivemoney.html!text'], function (i18next, appevents, uihandle, database, template) { function MyReceiveMoney(params) { var viewModel = { // Fields message: ko....
streembit/streembitui
lib/app/views/wallet/receivemoney/receivemoney.js
JavaScript
gpl-3.0
7,037
webpackJsonpjwplayer([1],{ /***/ 41: /*!***********************************!*\ !*** ./src/js/providers/html5.js ***! \***********************************/ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; var _dataNormalizer = ...
vfremaux/moodle-mod_mplayer
extralib/players/jw/7.12/bin-debug/provider.html5.js
JavaScript
gpl-3.0
68,286
/* * Copyright (c) 2011 Vinay Pulim <vinay@milewise.com> * MIT Licensed * */ /*jshint proto:true*/ "use strict"; var sax = require('sax'); var inherits = require('util').inherits; var HttpClient = require('./http'); var NamespaceContext = require('./nscontext'); var fs = require('fs'); var url = require('url'); v...
momchil-anachkov/su-translation-app
src/node/node_modules/soap/lib/wsdl.js
JavaScript
gpl-3.0
63,995
/* * Copyright (C) 2019 Nethesis S.r.l. * http://www.nethesis.it - nethserver@nethesis.it * * This script is part of NethServer. * * NethServer 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 ve...
NethServer/nethserver-restore-data
ui/src/main.js
JavaScript
gpl-3.0
2,022
Point.sJSLogin.connect(pointSlotLogin); Point.sJSUpdateVertifyCode.connect(pointUpdateVertifyCode); var spliterBtwData = "#..#"; var spliterEnd = "#.^_^.#"; var pointLoginCheckInterval; var pointVertifyChangeIntervalId; // login frame $p_lf = $("#loginIframe").contents(); function pointSlotLogin(userName, pwd, ver...
PointTeam/PointDownload
PointDownload/resources/xware/xware_login.js
JavaScript
gpl-3.0
1,587
/* MOBILE SELECT MENU */ (function($){ //variable for storing the menu count when no ID is present var menuCount = 0; //plugin code $.fn.mobileMenu = function(options){ //plugin's default options var settings = { switchWidth: 767, topOptionText: 'Filter by category', indentS...
thepetronics/PetroFDS
Web/media/themes/local/menufiles/cat_nav_mobile.js
JavaScript
gpl-3.0
4,018
var assert = require('assert'); var expect = require('chai').expect; var usersMfaEnabled = require('./usersMfaEnabled') const createCache = (users) => { return { iam: { generateCredentialReport: { 'us-east-1': { data: users } } ...
cloudsploit/scans
plugins/aws/iam/usersMfaEnabled.spec.js
JavaScript
gpl-3.0
1,884
// Note: I had to change the name from [Aa]utocomplete to [Ss]elfcomplete // in order to get this to work at the same time as JQuery-UI /** * Ajax Selfcomplete for jQuery, version 1.4.4 * (c) 2017 Tomas Kirda * * Ajax Selfcomplete for jQuery is freely distributable under the terms of an MIT-style license. * For d...
maryszmary/ud-annotatrix
standalone/lib/ext/jquery.autocomplete.js
JavaScript
gpl-3.0
33,367
// Doctor personal info edit section functions $(function() { retrievePersonalInfo(); // Retrieves personal info var passFields = $('#third_step input[type=password]'); passFields.each(function() { // Erases password values $(this).val(""); }); ////// First form ////// ...
labrosb/Hospital-Management-System
client_processes/doctor_functions/edit_staff_profile.js
JavaScript
gpl-3.0
10,568
// Navigation active state on click or section scrolled var sections = $('section'), nav = $('.desktop-navigation'), nav_height = nav.outerHeight(); $(window).on('scroll', function () { var cur_pos = $(this).scrollTop(); sections.each(function() { var top = $(this).offset().top - nav_height -1, bottom ...
blueocto/code-snippets
jquery-javascript/sticky-nav-active-state-while-scrolling.js
JavaScript
gpl-3.0
823
/** * Copyright 2020 The Pennsylvania State University * @license Apache-2.0, see License.md for full text. */ import{LitElement as e,html as t,css as r}from"../../../lit/index.js";import{FutureTerminalTextLiteSuper as a}from"./FutureTerminalTextSuper.js";class FutureTerminalTextLite extends(a(e)){static get styles(...
elmsln/elmsln
core/dslmcode/cores/haxcms-1/build/es6/node_modules/@lrnwebcomponents/future-terminal-text/lib/future-terminal-text-lite.js
JavaScript
gpl-3.0
2,021
/* bender-tags: clipboard,pastefromword */ /* jshint ignore:start */ /* bender-ckeditor-plugins: pastefromword,ajax,basicstyles,bidi,font,link,toolbar,colorbutton,image */ /* bender-ckeditor-plugins: list,liststyle,sourcearea,format,justify,table,tableresize,tabletools,indent,indentblock,div,dialog */ /* jshint ignore:...
Mediawiki-wysiwyg/WYSIWYG-CKeditor
WYSIWYG/ckeditor_source/tests/plugins/pastefromword/generated/tickets4.js
JavaScript
gpl-3.0
2,627
Ext.define('Surveyportal.view.reportui.datachart.chart.ChartController', { extend : 'Ext.app.ViewController', alias : 'controller.chartController', reportView : null, reportViewController : null, reportJSON : null, defaultIncHeight:100, init : function() { this.control({ "button": { cl...
applifireAlgo/appDemoApps201115
surveyportal/src/main/webapp/app/view/reportui/datachart/chart/ChartController.js
JavaScript
gpl-3.0
5,406
angular.module('CarpentryApp.Index', ['CarpentryApp.Common']).controller( 'IndexController', function ($rootScope, $scope, $state, $http, $cookies, hotkeys, notify) { var limit = 720; var counter = 0; $rootScope.resetPollers(); $rootScope.indexPoller = setInterval(function(){ ...
gabrielfalcao/carpentry
carpentry/static/js/app.2.index.js
JavaScript
gpl-3.0
529
// ChaosUPS - a universal points system. // Copyright (C) 2015 Jay Baker var mongoose = require('mongoose'), async = require('async'), util = require('util') module.exports = function(app) { app.factory.bids = {} app.factory.bids.getAll = function(fn) { var Item = mongoose.model('Item', app.models.item)...
logikaljay/chaosups
factory/bids.js
JavaScript
gpl-3.0
4,945
const Command = require('../../structures/Command'); const { MessageEmbed } = require('discord.js'); const { stripIndents } = require('common-tags'); module.exports = class PokedexCommand extends Command { constructor(client) { super(client, { name: 'pokedex', aliases: ['pokemon', 'pokémon', 'pokédex'], gr...
dragonfire535/xiaobot
commands/search/pokedex.js
JavaScript
gpl-3.0
1,491
import { createCanvas, loadImage } from 'canvas' class Util { static createCanvas (size, image, fillType = 'fill') { var canvas = createCanvas() canvas.width = size canvas.height = size if (image) { switch (fillType) { case 'fill' : canvas.getContext('2d').drawImage(image, 0, ...
kciter/qart.js
src/util.js
JavaScript
gpl-3.0
1,005
import { RESET_PROGRESS_SUCCESS } from '../actions/progressActions' import { GET_INBOX_SUCCESS } from '../actions/inboxActions' import { GET_TASK_SUCCESS, GET_TASKS_SUCCESS, TASK_UPDATE_PROGRESS_SUCCESS, TASK_REVERT_PROGRESS_SUCCESS } from '../actions/taskActions' export default function tasksReducer(stat...
DemocracyGuardians/DGTeam
client/src/reducers/tasksReducer.js
JavaScript
gpl-3.0
658
yagpa.factory('playerService', function() { var player_selected = {}; var players_list = []; var loadlist = function() {}; });
YAGPATeam/YAGPA
YAGPA/static/scripts/services.js
JavaScript
gpl-3.0
131
'use strict'; import gulp from 'gulp'; import del from 'del'; import sass from 'gulp-sass'; import globbing from 'node-sass-globbing'; import browserSync from 'browser-sync'; import eslint from 'gulp-eslint'; import autoprefixer from 'autoprefixer'; import postcss from 'gulp-postcss'; const rootDir = process.cwd(); c...
UH-StudentServices/student_guide
gulpfile.babel.js
JavaScript
gpl-3.0
2,210
import React from 'react'; import Button from '../base/Button'; import T from '../base/T'; import withPermisisons, {ORDER_CONTEXT} from '../hoc/Permissions'; const OrderAllButton = props => ( <Button size="medium" type="quaternary" className="orderAllBtn" data-cy="orderAllButton" {...props} > ...
DBCDK/content-first
src/client/components/order/OrderAllButton.component.js
JavaScript
gpl-3.0
452
import React from 'react' import { Provider } from 'react-redux' import routes from '../routes' import { Router } from 'react-router' const Root = ({ store, history }) => ( <Provider store={store}> <Router history={history} routes={routes} /> </Provider> ) export default Root
reimertz/anolog
src/containers/Root.prod.js
JavaScript
gpl-3.0
288
/** * @author Attila Barna */ var DefaultModalComponent = easejs.Class('DefaultModalComponent').extend(ModalComponent,{ /** * The value of the current element */ 'private value' : null, /** * Required property * Input cannot be created without name */ 'private inputName' : null, /** * Optional pr...
emraxxor/infovip
infovip-web/src/main/webapp/WEB-INF/resources/js/core/dialog/modal/DefaultModalComponent.js
JavaScript
gpl-3.0
2,423
var app = angular.module("ngApp", ["ngGrid"]); app.controller("ngCtrl", function($scope) { $scope.ngData = data; $scope.gridOptions = { data: "ngData", plugins: [new ngGridCsvExportPlugin()], showFooter: true, showGroupPanel: true, enableColumnReordering: true, enableColumnResize: true, showC...
FH-Complete/FHC-AddOn-Reports
include/js/nggrid.js
JavaScript
gpl-3.0
368
$(document).ready(init); function init() { /* Declaring Events */ attachEvents(); } function attachEvents() { $('.addSlo').on('click', addIdo); $('.addIndicator').on('click', addIndicator); $('.addTargets').on('click', addTargets); $('.addCrossCuttingIssue').on('click', addCrossCuttingIssue); $('....
CCAFS/MARLO
marlo-web/src/main/webapp/global/js/superadmin/marloSLOs.js
JavaScript
gpl-3.0
2,668
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'undo', 'az', { redo: 'Təkrar et', undo: 'İmtina et' } );
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/undo/lang/az.js
JavaScript
gpl-3.0
251
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'embedbase', 'es', { pathName: 'objeto media', title: 'Media incrustado', button: 'Insertar Media incrustado', unsupportedUrlGi...
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/embedbase/lang/es.js
JavaScript
gpl-3.0
705
"use strict" const spawn = require('child_process').spawn; const INTERVAL_UPDATE = 24*60*60*1000; const INTERVAL_SYSTEM_UPDATE = 7*24*60*60*1000; let program_configs = [ { 'name': 'Core', 'child': null, 'executable': 'node', 'parameters': ['../Core/index.js'], 'root_dir': '../Core', 'version...
smwa/opensource-spa
Controller/src/Updater/index.js
JavaScript
gpl-3.0
3,447
var searchData= [ ['end_5ftest',['END_TEST',['../group___calls_malloc.html#gaefcd1ca1799d2395f7bbe3c50bcc8ff8',1,'unit_test.h']]], ['endgame',['endGame',['../game__state_8h.html#aeda119595fcc834db9cfec532a90cf79',1,'game_state.c']]], ['endtrial',['endTrial',['../profile_8h.html#a8aae37a7e7fa5f85958ca30807cae136',...
sherman5/MeleeModdingLibrary
docs/search/all_5.js
JavaScript
gpl-3.0
4,177
import { registerReducer } from 'foremanReact/common/MountingService'; import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill'; import { registerRoutes } from 'foremanReact/routes/RoutingService'; import Routes from './src/Router/routes' import reducers from './src/reducers'; // register reducer...
theforeman/foreman_plugin_template
webpack/global_index.js
JavaScript
gpl-3.0
682
import {NavElement} from 'helpers/nav-element'; export class Navigation { constructor() { this.home = new NavElement("Home"); this.about = new NavElement("About"); this.form = new NavElement("Upload"); this._active = this.home; } changeActive(navElement) { this._ac...
pbujok/workoutcombiner
src/FrontEnd/src/navigation.js
JavaScript
gpl-3.0
435
/** * Copyright (C) 2017 Order of the Bee * * This file is part of Community Support Tools * * Community Support Tools is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the Lice...
Vitezslav-Sliz/tieto-alfresco-repository_monitor
health-monitor-repo/src/main/resources/alfresco/extension/templates/webscripts/com/tieto/healthy-addon/admin/healthy-repo-addon/sites.lib.js
JavaScript
gpl-3.0
1,177
// // Vivado(TM) // rundef.js: a Vivado-generated Runs Script for WSH 5.1/5.6 // Copyright 1986-2017 Xilinx, Inc. All Rights Reserved. // var WshShell = new ActiveXObject( "WScript.Shell" ); var ProcEnv = WshShell.Environment( "Process" ); var PathVal = ProcEnv("PATH"); if ( PathVal.length == 0 ) { PathVal = "C:/Xil...
rongcuid/lots-of-subleq-cpus
Subleq V2/SubLEQV2Viv/SubLEQV2Viv.runs/synth_1/rundef.js
JavaScript
gpl-3.0
1,239
// Renders area for students in the classroom and their status App.StudentsInClassroomView = Backbone.View.extend({ el: "#studentsInClassList", initialize: function() { this.render(); }, // Todo: Will need add functionality to set status state defcon1 - 3 render: function() { this.$el.empty(); c...
RKJuve/class-barometer
js/view/studentInClassroomView.js
JavaScript
gpl-3.0
2,166
/* * Copyright 2017 Anton Tananaev (anton@traccar.org) * Copyright 2017 Andrey Kunitsyn (andrey@traccar.org) * * 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 Licen...
tananaev/traccar-web
web/app/view/dialog/SendCommand.js
JavaScript
gpl-3.0
2,976
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), SchoolClass = mongoose.model('SchoolClass'), Student = mongoose.model('Student'), ClassRegistry = mongoose.model('ClassRegistry'), ObjectId = mongoose.Types.ObjectId, async = require('async'), _ = require('lodash'...
apuliasoft/aurea
app/controllers/schoolClasses.js
JavaScript
gpl-3.0
3,519
var gAutoRender = true var gMirrorEntities = false var gNamedStyle = null var gLanguage = 'mscgen' var gDebug = false var gLinkToInterpreter = false var gVerticalLabelAlignment = 'middle' var gIncludeSource = true module.exports = { getAutoRender: function () { return gAutoRender }, setAutoRender: function (pBool)...
sverweij/mscgen_js
src/script/interpreter/state.js
JavaScript
gpl-3.0
1,921
var winston = require("winston"); var chalk = require("chalk"); var fs = require('fs'); var moment = require('moment'); try { fs.mkdirSync('logs') } catch (err) { if (err.code !== 'EEXIST') throw err } const TERM_COLORS = { error: "red", warn: "yellow", info: "blue", verbose: "white", sill...
turt2live/matrix-appservice-instagram
src/util/LogService.js
JavaScript
gpl-3.0
2,765
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'save', 'nb', { toolbar: 'Lagre' } );
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/save/lang/nb.js
JavaScript
gpl-3.0
228
import Form from 'cerebral-module-forms/Form'; import {TOX_MAX_FRIEND_REQUEST_LENGTH} from './../../../../shared/tox'; export default function sendMessage () { return Form({ message: { value: '', isRequired: true, validations: [{ maxBytes: TOX_MAX_FRIEND_REQUEST_LENGTH }], ...
toxzilla/app
src/app/modules/Chat/forms/sendMessage.js
JavaScript
gpl-3.0
368
/* * Palantír Pocket * http://mynameisrienk.com/?palantir * https://github.com/MyNameIsRienk/PalantírPocket **/ /* * IMPORTANT! * Temporarily added ?[Date.now] params to all urls to easily bypass * caching. This needs to be remove prior to commit for production! * * PROBLEM! * The window does not deal well w...
mynameisrienk/Palantir-Pocket
src/script.js
JavaScript
gpl-3.0
5,311
"use strict"; /* global global: false */ var ko = require("knockout"); var $ = require("jquery"); var console = require("console"); var tinymce = require("tinymce"); var timeout; var render = function() { timeout = undefined; if (typeof tinymce.activeEditor !== 'undefined' && tinymce.activeEditor !== null && ...
goodenough/mosaico
src/js/bindings/scrollfix.js
JavaScript
gpl-3.0
2,159
function geojsonToPath( geojson ) { var points = []; var features; if (geojson.type === "FeatureCollection") features = geojson.features; else if (geojson.type === "Feature") features = [geojson]; else features = [{type:"Feature", properties: {}, geometry: geojson}]; features.forEach(functi...
Wilkins/geojson-to-path
index.js
JavaScript
gpl-3.0
903
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
statusengine/interface
public/node_modules/@uirouter/core/lib/params/index.js
JavaScript
gpl-3.0
962
var class_g_u_i_vehicle_1_1_g_u_i_vehicle_popup_menu = [ [ "GUIVehiclePopupMenu", "db/d5b/class_g_u_i_vehicle_1_1_g_u_i_vehicle_popup_menu.html#a73018020f9f05d195dae7150d7d05f67", null ], [ "~GUIVehiclePopupMenu", "db/d5b/class_g_u_i_vehicle_1_1_g_u_i_vehicle_popup_menu.html#adb26386f308440afa1524afdc297a855", ...
cathyyul/sumo-0.18
docs/doxygen/db/d5b/class_g_u_i_vehicle_1_1_g_u_i_vehicle_popup_menu.js
JavaScript
gpl-3.0
3,913
console.log('Hello world!') require('./src')
VevoxDigital/Iota
index.js
JavaScript
gpl-3.0
45
/** * team-popup-links.js * Foxtrick show Team Popup * @author bummerland, convinced, ryanli */ 'use strict'; Foxtrick.modules['TeamPopupLinks'] = { MODULE_CATEGORY: Foxtrick.moduleCategories.SHORTCUTS_AND_TWEAKS, OUTSIDE_MAINBODY: true, PAGES: ['all'], NICE: 10, // after anythings that works on team/manager ...
minj/foxtrick
content/shortcuts-and-tweaks/team-popup-links.js
JavaScript
gpl-3.0
15,863
var sqlite3 = require('sqlite3').verbose(); /*Live database*/ var db = new sqlite3.Database(__dirname + '/database.db'); /*Testing database*/ module.exports.useTestDatabase = function(){ var path = __dirname + '/testDatabase.db' db = new sqlite3.Database(__dirname + '/testDatabase.db'); } /*Test or Live dependin...
TantalizingThyroids/Event.ly
server/db/db.js
JavaScript
gpl-3.0
388
import { Component, Directive, ElementRef, EventEmitter, forwardRef, HostListener, Input, NgZone, Renderer, Inject, Optional, Output } from '@angular/core'; import { Content } from '../content/content'; import { CSS, zoneRafFrames } from '../../util/dom'; import { Item } from './item'; import { ItemReorderGesture } fro...
shdevops/JAF-Dice-Roller
node_modules/ionic-angular/es2015/components/item/item-reorder.js
JavaScript
gpl-3.0
5,883
/** * This module removes the need to know which implementation of has we are using. * @module * @todo Make a decision and remove this! */ define(["lib/dojo/has"], /** @param {Object?} [has] @ignore */function(has) { "use strict"; var global = window; return global.has || has; });
Joshua-Barclay/wcomponents
wcomponents-theme/src/main/js/wc/has.js
JavaScript
gpl-3.0
289
cloudStreetMarketApp.factory("indicesGraphFactory", function (httpAuth) { return { getGraph: function (index) { var xmlHTTP = new XMLHttpRequest(); xmlHTTP.open('GET',"/api/charts/indices/"+index+".png",true); httpAuth.setHeaders(xmlHTTP); // Must include this li...
alex-bretet/cloudstreetmarket.com
cloudstreetmarket-parent/cloudstreetmarket-webapp/src/main/webapp/js/home/home_financial_graph.js
JavaScript
gpl-3.0
1,575
Template.addAction.actionCreationCancelled=function() { var context=EditContext.getContext(); if(context!=null) { context.keepEditContextOnNextRoute(); var route=context.getReturnRoute(); route.onCancel(); } else { Router.go('actions'); } return false; } Template...
dubsky/robolos
src/client/html/actions/addAction.js
JavaScript
gpl-3.0
1,248
function zeroFill( number, width ) { width -= number.toString().length; if ( width > 0 ) { return new Array( width + (/\./.test( number ) ? 2 : 1) ).join( '0' ) + number; } return number + ""; // always return a string } function populateEndtime() { var startVal = parseInt($('started').value,10); var hrs...
cosycode/collabtive2
include/js/timetracker_widget.js
JavaScript
gpl-3.0
745
(function() { "use strict"; pwf.reg_class('ui.list.team.member', { 'parents':['ui.link'], 'storage':{ 'opts':{ 'path':'user' } }, 'proto':{ 'prefix':'member', 'els':[ 'avatar', { 'name':'data', 'els':['name', 'roles'] }, { 'name':'cleaner', 'prefix':nu...
just-paja/improliga
share/scripts/ui/list/team/member.js
JavaScript
gpl-3.0
819
var spa = "spa/scripts/"; require.config({ jsx: { fileExtension: '.jsx' }, paths: { 'spa': "spa/scripts", 'underscore': "spa/scripts/vendor/underscore", 'jquery': "spa/scripts/vendor/jquery", 'Q': 'spa/scripts/vendor/q', 'marked': 'spa/scripts/vendor/marked', 'backbone': 'spa/scripts...
vortext/vortext-demo
resources/public/scripts/main.js
JavaScript
gpl-3.0
804
'use strict'; angular.module('risevision.editorApp.directives') .directive('resolutionSelector', [ function () { return { restrict: 'E', scope: false, templateUrl: 'partials/resolution-selector.html', link: function (scope) { // view will show resolutions on the...
Rise-Vision/editor-app
js/directives/dtv-resolution-selector.js
JavaScript
gpl-3.0
2,034
import React from 'react'; import Select from 'react-select'; import axios from 'axios'; export default class RuleTypeSelector extends React.Component { constructor() { super(); this.state = { ruleTypes: [] }; } componentDidMount() { axios.get('/rule-types').t...
kfirprods/tpp
client/src/components/atomic/RuleTypeSelector.js
JavaScript
gpl-3.0
776
var assert = require('assert'); var expect = require('chai').expect; var rds = require('./rdsEncryptionEnabled'); const listKeys = [ { KeyId: '60c4f21b-e271-4e97-86ae-6403618a9467', KeyArn: 'arn:aws:kms:us-east-1:112233445566:key/60c4f21b-e271-4e97-86ae-6403618a9467' } ]; const describeKey = [...
cloudsploit/scans
plugins/aws/rds/rdsEncryptionEnabled.spec.js
JavaScript
gpl-3.0
7,430
iris.ui(function (self) { self.settings({ col: null , row: null , color: null }); // var resource = iris.resource(iris.path.resource); self.create = function() { self.tmplMode(self.APPEND); self.tmpl(iris.path.ui.king.html); }; self.moves = function(p_squareTo) { var colIndex = chess.boa...
IGZOscarArce/chess-challenges
src/iris-front/iris/ui/king.js
JavaScript
gpl-3.0
1,575
'use strict'; define( [ 'lodash', 'forge/object/base' ], function( lodash, Base ) { /** * BBCode parser * * @param {Object} codes * @param {Object} options */ function BBCode(codes, options) { this.codes = {}; Base.call(this, options); this.setCodes(codes); } // prototype BBCode.prototype ...
DasRed/forge
bbCode.js
JavaScript
gpl-3.0
1,128
var util = require('util'); var Publisher = require('clickberry-nsq-publisher'); var Q = require('q'); var publishAsync; function Bus(options) { Publisher.call(this, options); publishAsync = Q.nbind(this.publish, this); } util.inherits(Bus, Publisher); Bus.prototype.publishVideoUpload = function (video, stor...
clickberry/videos-api-nodejs
lib/bus-service.js
JavaScript
gpl-3.0
895
/** * @file: greyhead_customisations.js * * Little JS nips and tucks go in here. */ var Drupal = Drupal || {}; (function($, Drupal){ "use strict"; /** * If we're on a node edit page and the URL slug field is present, copy the * menu title into the URL slug field converted to lowercase alphanumeric- ...
alexharries/greyhead_customisations
js/greyhead_customisations.js
JavaScript
gpl-3.0
2,442
/** * The main application class. An instance of this class is created by app.js when it * calls Ext.application(). This is the ideal place to handle application launch and * initialization details. */ Ext.define('Demo.Application', { extend: 'Ext.app.Application', name: 'Demo', stores: [ ...
chihchungyu/Demo
public/app/Application.js
JavaScript
gpl-3.0
739
/* YUI 3.4.1pr1 (build 4097) Copyright 2011 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('io-queue', function(Y) { /** Extends IO to implement Queue for synchronous transaction processing. @module io-base @submodule io-queue @for IO **/ var io = Y.io._map['...
uhoreg/moodle
lib/yui/3.4.1pr1/build/io-queue/io-queue-debug.js
JavaScript
gpl-3.0
3,560
let weightDependency = new Tracker.Dependency; Template.productSettings.helpers({ hasSelectedProducts() { return this.products.length > 0; }, itemWeightActive: function (weight) { weightDependency.depend(); for (let product of this.products) { let position = product.position || {}; let c...
ScyDev/reaction
packages/reaction-product-variant/client/templates/products/productSettings/productSettings.js
JavaScript
gpl-3.0
3,087
import { curry, split, indexBy, path, prop, } from 'ramda'; import fetchUserInstallations from './fetchUserInstallations'; import fetchInstallationRepositories from './fetchInstallationRepositories'; export default curry((accessToken, repository) => { const [installationName] = split('/', rep...
branch-bookkeeper/pina
src/lib/fetchRepository.js
JavaScript
gpl-3.0
959
import * as actions from '../../actions' import AppBar from 'material-ui/AppBar' import { connect } from 'react-redux' import Menu from 'material-ui/Menu' import MenuItem from 'material-ui/MenuItem' import MUIDrawer from 'material-ui/Drawer' import React, { PropTypes } from 'react' import { reset } from 'redux-form' im...
gom3s/math4Kids
src/components/app/Drawer.js
JavaScript
gpl-3.0
2,173
"use strict"; const serversdb = require("../servers"); const hands = [":ok_hand::skin-tone-1:", ":ok_hand::skin-tone-2:", ":ok_hand::skin-tone-3:", ":ok_hand::skin-tone-4:", ":ok_hand::skin-tone-5:", ":ok_hand:"]; const hand = hands[Math.floor(Math.random() * hands.length)]; module.exports = { // eslint-disable-...
LaChocola/Mei
commands/art.js
JavaScript
gpl-3.0
6,637
var ALLOWED_VARIANCE = 0.05; /* Nested model forms BEGIN */ function inspect (obj) { var str; for(var i in obj) str+=i+";\n" //str+=i+"="+obj[i]+";\n" alert(str); } function remove_fields(link) { $(link).prev("input[type=hidden]").val("1"); $(link).closest(".fields").hide(); //...
siyelo/hrtv1
public/javascripts/application.js
JavaScript
gpl-3.0
51,126
"use strict"; const ConnectionState = Object.freeze({ Disconnected: "disconnected", Connected: "connected", Reconnecting: "reconnecting", Connecting: "connecting" }); exports.ConnectionState = ConnectionState;
Firebottle/Firebot
shared/connection-constants.js
JavaScript
gpl-3.0
227
/** * Cloud9 Language Foundation * * @copyright 2011, Ajax.org B.V. * @license GPLv3 <http://www.gnu.org/licenses/gpl.txt> */ define(function(require, exports, module) { var Range = require("ace/range").Range; var Anchor = require('ace/anchor').Anchor; var tooltip = require('ext/language/tooltip'); var Editors = ...
Phara0h/cloud9
plugins-client/ext.language/marker.js
JavaScript
gpl-3.0
7,580
/** * selectbox-utils for jQuery * For Virtual-Office Company * Copyright (c) 2007 Yoshiomi KURISU * Licensed under the MIT (MIT-LICENSE.txt) licenses. * * @example $('#year1').numericOptions({from:2007,to:2011}); * @example $('#month1').numericOptions({from:1,to:12}); * @example $('#date1').numericOptions...
ulinke/phpb2b
static/scripts/jquery/selectbox.js
JavaScript
gpl-3.0
3,526
var searchData= [ ['gpio_2ec',['gpio.c',['../gpio_8c.html',1,'']]], ['gpio_2ed',['gpio.d',['../gpio_8d.html',1,'']]], ['gpio_2eh',['gpio.h',['../gpio_8h.html',1,'']]], ['gpio0',['GPIO0',['../group__gpio__pin__id.html#ga20f88dbc839eb32b5fec903474befdd7',1,'gpio_common_all.h']]], ['gpio1',['GPIO1',['../group__g...
Aghosh993/TARS_codebase
libopencm3/doc/stm32f0/html/search/all_7.js
JavaScript
gpl-3.0
7,420
ig.module( 'game.weapons.beam' ) .requires( 'impact.entity' ) .defines(function() { WeaponBeam = ig.Class.extend({ name: 'WeaponBeam', displayName: 'Lasers', playerAnimOffset: 0, hudImage: new ig.Image( 'media/hud-bullet.png' ), shootSFX: new ig.Sound('media/sounds/eyebeams.*'), fire: fun...
gamebytes/rock-kickass
lib/game/weapons/beam.js
JavaScript
gpl-3.0
1,887
turingApp.controller('TurConverseTrainingListCtrl', [ "$scope", "$filter", "turConverseTrainingResource", function ($scope, $filter, turConverseTrainingResource) { $scope.conversations = turConverseTrainingResource.query( function() { $scope.conversations = $filter('orderBy')($scope....
openviglet/turing
src/main/resources/public/js/build/extract/feature/converse/training/TurConverseTrainingListCtrl.js
JavaScript
gpl-3.0
373
/*! * @copyright &copy; Kartik Visweswaran, Krajee.com, 2013 - 2016 * @version 4.0.1 * * A simple yet powerful JQuery star rating plugin that allows rendering fractional star ratings and supports * Right to Left (RTL) input. * * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related dem...
uc-web/CHAMBING
resources/plugins/ratingbar/star-rating.js
JavaScript
gpl-3.0
23,526
import config from './config'; import webpackConfig from './webpack.config'; import path from 'path'; import _ from 'lodash'; import gulp from 'gulp'; import webpack from 'webpack'; import rimraf from 'rimraf-promise'; import sequence from 'run-sequence'; import $plumber from 'gulp-plumber'; import $sass from 'gulp-sas...
Genert/bsp-viewer
gulpfile.babel.js
JavaScript
gpl-3.0
5,487
/*****************************************************************************/ /* _QnA: Event Handlers and Helpers .js*/ /*****************************************************************************/ Template._QnA.events({ "submit #newQuestion": function (e, tmpl) { e.preventDefault(); var question = Utils...
fletchtj/BackRowChatter
client/views/chatters/chatters_qna/chatters_qna.js
JavaScript
gpl-3.0
2,484
(function($){ /* * VGA, SVGA, QVGA */ libDraw.ns('risc.hw.vga'); // Text mode... // /* CGA 16 colors pallete: */ var _CGA_PALLETE = [ '#000000', '#0000AA', '#00AA00', '#00AAAA', '#AA0000', '#AA00AA', '#AA5500', '#AAAAAA', ...
natemago/primer
src/hw/vga.js
JavaScript
gpl-3.0
5,034
isc.defineClass("BrewClubs", "myWindow").addProperties({ initWidget: function(initData){ this.Super("initWidget", arguments); this.BrewClubsDS = isc.myDataSource.create({ cacheAllData: false, dataURL: serverPath + "BrewClubs.php", showFilterEditor: true, fields:[ {name: "clubID", primaryKey: true, ...
braddoro/cabrew
bluehost/smart/client/BrewClubs.js
JavaScript
gpl-3.0
1,399
/* eslint-disable react/prop-types */ /* eslint-disable react/destructuring-assignment */ /* eslint-disable react/prefer-stateless-function */ import React, { Component } from 'react'; import IconButton from '@material-ui/core/IconButton'; import CloseIcon from '@material-ui/icons/Close'; import { withStyles } from '@m...
linea-it/dri
frontend/landing_page/src/pages/Home/partials/ModalInterfaces/CloseModal.js
JavaScript
gpl-3.0
772
module.exports = function (grunt) { var exec = require('child_process').exec; var rimraf = require('rimraf'); var fs = require('fs'); // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), connect: { server: { options: { ...
gengen1988/bootplate
Gruntfile.js
JavaScript
gpl-3.0
5,163
var class_undoable = [ [ "Undoable", "class_undoable.html#a9b5187143377380164baa7bda8756b30", null ], [ "execute", "class_undoable.html#a8ce5a456598a27152d873ebaeb063e00", null ], [ "isClearingUndoRedo", "class_undoable.html#a58b3ab47ca3687f314542ef72497b858", null ], [ "isExecutable", "class_undoable.h...
Ryoga-Unryu/pidgirl-engine
doc/html/class_undoable.js
JavaScript
gpl-3.0
612
'use strict'; angular.module('risevision.common.header') .controller('CompanySettingsModalCtrl', ['$scope', '$modalInstance', 'updateCompany', 'companyId', 'countries', 'REGIONS_CA', 'REGIONS_US', 'TIMEZONES', 'getCompany', 'regenerateCompanyField', '$loading', 'humanReadableError', 'userState', 'userAut...
Rise-Vision/rise-vision-app-launcher
web/scripts/common-header/controllers/ctr-company-settings-modal.js
JavaScript
gpl-3.0
6,693
var Main = require('../src/Main.purs'); var initialState = require('../src/Types.purs').init; var debug = process.env.NODE_ENV === 'development' if (module.hot) { var app = Main[debug ? 'debug' : 'main'](window.puxLastState || initialState)(); app.state.subscribe(function (state) { window.puxLastState = state; })...
input-output-hk/rscoin-haskell
block-explorer/support/index.js
JavaScript
gpl-3.0
404