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
import express from 'express' import bodyParser from 'body-parser' import morgan from 'morgan' import TelegramBot from 'node-telegram-bot-api' import log from 'log-to-file-and-console-node' import botHandler from './routes/botHandler' import root from './routes/root' const app = express() const bot = new TelegramBot(...
siutsin/ihatecontentfarms-telegram-bot
src/app.js
JavaScript
gpl-3.0
638
/* * Copyright (c) 2002-2020 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j 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 ...
akollegger/neo4j-browser
src/browser/modules/D3Visualization/lib/visualization/utils/adjacentAngles.js
JavaScript
gpl-3.0
2,818
// upload stuff to the keying server... function putPng(desturl, obj) { jQuery.ajax({ type: "PUT", url: desturl, contentType: "image/png", data: obj, error: function(jqxhr, textStatus) { //alert("Communication error: " + textStatus); } }); } functi...
exavideo/exacore
keyer/public_html/upload.js
JavaScript
gpl-3.0
1,276
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'quicktable', 'cy', { more: 'Mwy...' } );
Copona/copona
admin/view/javascript/ckeditor/plugins/quicktable/lang/cy.js
JavaScript
gpl-3.0
222
function createView(a){var b={items:[],pages:[],additionalData:[],limit:pagination.itemsPerPage,offset:0,sortBy:a.sortBy||"",sortDirection:a.sortDirection||"ASC",currentPage:1,itemsCount:0,itemType:a.itemType,url:a.url,dependencies:a.dependencies},c=new Vue({el:"#"+a.el,data:b,methods:{update:function(a){updateView(thi...
philippK-de/Collabtive
include/js/viewManager.min.js
JavaScript
gpl-3.0
3,995
var bfrequire = require('../../node_modules/node-brainfuckex/').require; process.chdir('../../'); bfrequire('bt.bf')(['samples/hellowhat/hw.tpl', 'World', 'Foo']);
Yuuji/bf-templates
samples/hellowhat/run.js
JavaScript
gpl-3.0
164
Ext.define('Onlineshopping.onlineshopping.shared.shop.model.authentication.UserAccessLevelModel', { "extend": "Ext.data.Model", "fields": [{ "name": "primaryKey", "type": "string", "defaultValue": "" }, { "name": "userAccessLevelId", "type": "string", ...
applifireAlgo/OnlineShopEx
onlineshopping/src/main/webapp/app/onlineshopping/shared/shop/model/authentication/UserAccessLevelModel.js
JavaScript
gpl-3.0
1,135
// ==UserScript== // @name GBI Ref App Styling // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://ref.groupbycloud.com/* // @grant none // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jqu...
jatkinson10/tampermonkey
js/ref.groupbycloud.com_tm.js
JavaScript
gpl-3.0
1,097
/* demoquest - An adventure game demo with parallax scrolling * Copyright (C) 2017 Peter Rogers * * 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...
parogers/demoquest
src/dialog.js
JavaScript
gpl-3.0
4,967
var searchData= [ ['humidity',['Humidity',['../a00004.html#afc87e0fad26178d122954b0a266ce996',1,'HomeGenie::Automation::Scripting::ModulesManager']]] ];
sanyaade-iot/HomeGenie-Docs
html/docs/doxy/search/properties_3.js
JavaScript
gpl-3.0
155
import React, { Component, PropTypes } from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import { requestGetNotifications, requestDeleteNotification } from './NotificationActions' import { getNotifications } from './NotificationReducer' import NotificationList from './compone...
caleb272/ProjectAccent
client/modules/Notification/Notification.js
JavaScript
gpl-3.0
1,601
/** * Created by tmanson on 03/05/2016. */ angular.module('redCrossQuestClient').factory('YearlyGoalsResource', function ($resource, $localStorage) { return $resource('/rest/:roleId/ul/:ulId/yearlyGoals/:id', { roleId: function () { return $localStorage.currentUser.roleId}, ulId : function () { re...
dev-mansonthomas/RedCrossQuest
client/src/app/admin/yearlyGoals/yearlyGoals.resource.js
JavaScript
gpl-3.0
584
/* * Copyright (C) 2016 Alex Yatskov <alex@foosoft.net> * Author: Alex Yatskov <alex@foosoft.net> * * 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 * ...
ninja33/anki-dict-helper
ext/fg/js/popup.js
JavaScript
gpl-3.0
2,644
// src_hydrology/post_change_longitude_latitude.js // ----------------------------------------------- function post_change_longitude_latitude( element ) { var degrees; var minutes; var seconds; var seconds_integer; var floating_point; var string_array; var seconds_array; var delimiter; var minus_sign; var el...
timhriley/appaserver
src_hydrology/post_change_longitude_latitude.js
JavaScript
gpl-3.0
3,492
'use strict'; //const Path = require('path'); import test from './test'; test('Babel is working!'); //import _ from 'lodash'; const Hapi = require('hapi'); const Hoek = require('hoek'); // Load Neo4j DB Driver const neo4j = require('neo4j-driver').v1; const server = new Hapi.Server(); server.connection({port: 3000, ...
agm1984/neo4j-chartist
app.js
JavaScript
gpl-3.0
2,340
/* global sch, sb, map */ function AnimationManager () { this.bkgStep = 150 this.bkgPosition = 0 this.setAnimationSpeed = (speed) => { document.body.style.setProperty('--animation-pace', speed) } this.stopRunning = () => { sch.setPace(750) this.getLight().style.setProperty('transform', `scale(1...
lopis/hoosdere
src/animation.js
JavaScript
gpl-3.0
2,247
// // some mobile-oriented app config overrides // if(typeof(config) == 'undefined') config = {}; Object.merge(config, { api_url: 'https://api.turtl.it/v2', client: 'mobile-ubuntu', version: cordova_app_version, cookie_login: true, base_url: window.location.toString().replace(/\/(index\.html)?$/, '/app'), has_au...
cibersheep/turtl-ut
www/config.js
JavaScript
gpl-3.0
339
import latinize from 'latinize'; export function urlify(m) { return m.toLowerCase().replace(/[^a-z0-9]/g, ''); } // remove all html tags export function textify(m) { return m.replace(/<\/?[^>]+(>|$)/g, '').replace(/\s{2,}/g, ' '); } export function sanitize(str) { return textify(latinize(str.toLowerCase())); }...
pzhine/derribase
src/lib/_helpers.js
JavaScript
gpl-3.0
682
/** * TrackerMap * * @author Alexey Grebenshchikov * @copyright (c) 2008, by Alexey Grebenshchikov * @date 14 october 2010 * @version 0.1 * * @license login.js is licensed under the terms of the Open Source * LGPL 3.0 license. Commercial use is permitted to the extent that the * code/component(s) do...
LiveStalker/phermes
tracker/media/js/Application.TrackerMap.js
JavaScript
gpl-3.0
3,922
{"address":["NLix (Hilversum, Netherlands)","Sumatralaan 45","Hilversum, Netherlands"],"buildings":[{"latitude":"52.2351344","longitude":"5.1726535","address":["Sumatralaan 45","Hilversum, Netherlands"],"offset":"background:url('images/markers.png') no-repeat -22px 0;","id":15145}],"name":"NLix (Hilversum, Netherlands)...
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/internet-exchanges/nlix-hilversum-netherlands.js
JavaScript
gpl-3.0
681
( function( window ) { "use strict"; window.innerWidth = 600; window.innerHeight = 400; window.gadget = window.gadget || {}; window.gadget.settings = { "params": {}, "additionalParams": { "interactivity": { "interactive": false, "scrollbars": false }, "refresh": 0, ...
Rise-Vision/widget-web-page
test/data/webpage-unload.js
JavaScript
gpl-3.0
532
// staff-global.js if ( KOHA === undefined ) var KOHA = {}; function _(s) { return s; } // dummy function for gettext // http://stackoverflow.com/questions/1038746/equivalent-of-string-format-in-jquery/5341855#5341855 String.prototype.format = function() { return formatstr(this, arguments) } function formatstr(str, c...
misilot/Koha
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js
JavaScript
gpl-3.0
4,787
/** * Copyright Intermesh * * This file is part of Group-Office. You should have received a copy of the * Group-Office license along with Group-Office. See the file /LICENSE.TXT * * If you have questions write an e-mail to info@intermesh.nl * * @version $Id: EventPanel.js 22112 2018-01-12 07:59:41Z mschering $ ...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.3/modules/calendar/EventPanel.js
JavaScript
gpl-3.0
1,612
/* * uget-chrome-wrapper is an extension to integrate uGet Download manager * with Google Chrome, Chromium, Vivaldi and Opera in Linux and Windows. * * Copyright (C) 2016 Gobinath * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
slgobinath/uget-chrome-wrapper
extension/popup.js
JavaScript
gpl-3.0
3,640
Ext.define('Omni.view.bin_skus.Inspector', { extend:'Buildit.ux.inspector.Panel', alias:'widget.omni-bin_skus-Inspector', initComponent:function () { var me = this; // LABELS (Start) ====================================================================== // LABELS (End) // INSPE...
tunacasserole/omni
app/assets/javascripts/omni/view/bin_skus/Inspector.js
JavaScript
gpl-3.0
1,081
module("About Scope (topics/about_scope.js)"); thisIsAGlobalVariable = 77; test("global variables", function() { equal(77, thisIsAGlobalVariable, 'is thisIsAGlobalVariable defined in this scope?'); }); test("variables declared inside of a function", function() { var outerVariable = "outer"; // this is a self-...
MTEySS/taller-web
07_js_basico/soluciones/01_koans/topics/about_scope.js
JavaScript
gpl-3.0
764
var loggedInUserInfo; function setupMenu() { jQuery.ajaxSetup({async:false}); $.get('/adoration/getLoggedInUserInfo', function(data) { loggedInUserInfo = data.loggedInUserInfo; if (loggedInUserInfo.isLoggedIn) { $("#loggedInUserLegend").text("Belépve: " + loggedInUserInfo.loggedInUs...
tkohegyi/adoration
adoration-application/modules/adoration-webapp/src/main/resources/webapp/resources/js/common.js
JavaScript
gpl-3.0
4,661
/** * Roundcube Webmail Client Script * * This file is part of the Roundcube Webmail client * * @licstart The following is the entire license notice for the * JavaScript code in this file. * * Copyright (C) 2005-2015, The Roundcube Dev Team * Copyright (C) 2011-2015, Kolab Systems AG * * The JavaScript code...
mhorvvitz/webmail
program/js/app.js
JavaScript
gpl-3.0
279,924
var path = require('path'); var Sequelize = require('sequelize'); var env = require(path.join(__dirname, '../env')); var db = new Sequelize(env.DATABASE_URI, { logging: env.LOGGING }); module.exports = db;
qwerpoiuty/humantics-data-mapping
server/db/_db.js
JavaScript
gpl-3.0
211
import { asyncRoute } from 'helpers/routerHelpers'; export default [ { requireAuth: false, module: 'goodbye', path: 'goodbye', getComponent: asyncRoute((nextState, cb) => { require.ensure( [], () => { const { openGoodbyeOverlay } = require('./module'); cb(nu...
BramscoChill/BlendleParser
information/blendle-frontend-react-source/app/modules/goodbye/routes.js
JavaScript
gpl-3.0
501
/** * @author Mathew "WSpecificermadev" WSpecificer * created on 09.05.2017 */ (function () { 'use strict'; angular.module('BlurAdmin.pages.claim') .controller('ClaimCtrl', ClaimCtrl); /** @ngInject */ function ClaimCtrl($scope, $stateParams, claim, explorer, utility) { $scope.explo...
cryptodevorg/Cortes-Explorer
src/app/pages/claim/ClaimCtrl.js
JavaScript
gpl-3.0
574
function MissingFilesPage() { } MissingFilesPage.prototype.createNodes = function() { var self = this; this.page = document.createElement("div"); this.page.innerHTML = "<h1>Missing Files</h1>"; this.content = document.createElement("div"); this.page.appendChild(this.content); this.loadList(fu...
Nehmulos/media-u
src/public/js/MissingFilesPage.js
JavaScript
gpl-3.0
2,077
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-46.js
JavaScript
gpl-3.0
910
import { initializeApp } from 'firebase/app'; import { getPerformance } from 'firebase/performance'; const config = require('./config.json'); const firebaseApp = initializeApp(config); getPerformance(firebaseApp); export default firebaseApp;
Taldrain/Turn-Based-Accounting
src/firebase/index.js
JavaScript
gpl-3.0
245
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2012 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/application/mobileshowcase/source/class/mobileshowcase/page/AnimationLanding.js
JavaScript
gpl-3.0
2,189
import React from 'react'; import AccessibleReactTable from 'accessible-react-table'; import PropTypes from 'prop-types'; import gql from 'graphql-tag'; import { Query } from 'react-apollo'; import EmailDownload from '../../shared/EmailDownload'; import Map from '../../shared/visualization/Map'; import { getBoundsFromP...
cityofasheville/simplicity2
src/app/address/AddressesByNeighborhood.js
JavaScript
gpl-3.0
6,767
import React from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import PublicationPageLayout from '../components/PublicationPageLayout'; import * as PublicationPageActions from '../actions/PublicationPageActions'; class PublicationPage extends React.Component { render()...
ASIX-ALS/asix-final-project-frontend
src/containers/PublicationPage.js
JavaScript
gpl-3.0
780
//Application description box AnnoJ.AboutBox = (function() { var info = { //logo : "<a href='http://www.annoj.org'><img src='http://neomorph.salk.edu/epigenome/img/Anno-J.jpg' alt='Anno-J logo' /></a>", logo : "", version : 'Beta 1.1', engineer : 'Julian Tonti-Filippini', contact : 'tontij01(a...
Michigan-State-University/gxseq
public/javascripts/sv/gui/aboutbox.js
JavaScript
gpl-3.0
1,837
/* 添加用户的教育经历 */ import React, { PropTypes } from 'react'; import { Toast, Msg } from 'react-weui'; import RecordHistory from '../detail/RecordHistory'; import AddRecord from './AddRecord'; import RemoveRecord from './RemoveRecord'; import { connect } from 'react-redux'; import * as actions from '../../../actions/accep...
nagucc/jkef-wxe
src/routes/acceptors/edit-record/EditRecord.js
JavaScript
gpl-3.0
1,642
var $house=$(".box .box1 .house");$house.on("tap",function(){window.location.href="./component.html"});
jessiejieying/projectapp-zjy
public/minjs/appointment/addafter.js
JavaScript
gpl-3.0
103
/* 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', 'hr', { pathName: 'objekt medija', title: 'Media Embed', button: 'Umetanje Media Embed', unsupportedUrlGiven: 'Nav...
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/embedbase/lang/hr.js
JavaScript
gpl-3.0
676
$.components.register("ajax", { defaults: { }, init: function(context) { }, api: function() { $(document).on('click.site.ajax', '[data-plugin="ajax"]', function(e) { e.preventDefault(); var $this = $(this); var href, url = $(this).attr('data-target') || (href = $(this...
meloncocoo/spring-based
web-ui/html/global/src/js/components/ajax.js
JavaScript
gpl-3.0
759
//placeholder for custom scripts
Renogmusic/GStore
GStore/GStoreWeb/Content/Server/Scripts/Scripts.js
JavaScript
gpl-3.0
35
var classConsor_1_1RadioBox = [ [ "RadioBox", "classConsor_1_1RadioBox_aae20cff4d62bf98f51a48d77599a3481.html#aae20cff4d62bf98f51a48d77599a3481", null ], [ "~RadioBox", "classConsor_1_1RadioBox_a7e6c1b1b1b6474b2f9af331f135cfe7e.html#a7e6c1b1b1b6474b2f9af331f135cfe7e", null ], [ "AddChoice", "classConsor_1_1...
KateAdams/kateadams.eu
static/*.kateadams.eu/Consor/Doxygen/classConsor_1_1RadioBox.js
JavaScript
gpl-3.0
1,690
'use strict'; var localConnection; var remoteConnection; var sendChannel; var receiveChannel; var pcConstraint; var dataConstraint; var dataChannelSend = document.querySelector('textarea#dataChannelSend'); var dataChannelReceive = document.querySelector('textarea#dataChannelReceive'); var startButton = document.queryS...
Kebatoufragile/Videodorant
public/js/comments.js
JavaScript
gpl-3.0
5,410
import React, { Component } from 'react'; import { connect } from 'react-redux'; export class Footer extends Component { render() { return ( <footer className="opendata-footer footer"> <nav className="navbar bottom navbar-expand-lg navbar-dark bg-primary"> <d...
vectrconsulting/OpenParliament
src/main/javascript/dashboard/components/opendata.footer.js
JavaScript
gpl-3.0
1,022
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2022 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko * Website: https://www.espocrm.com * * EspoCRM is free software: you can redistribute...
espocrm/espocrm
client/src/views/fields/datetime-short.js
JavaScript
gpl-3.0
3,185
/* -*- indent-tabs-mode:nil; coding: utf-8 -*- Copyright (C) 2015 "Mu Lei" known as "NalaGinrut" <NalaGinrut@gmail.com> Grandis is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License by the Free Software Foundation, either version 3 of the License, o...
NalaGinrut/grandis
utils.js
JavaScript
gpl-3.0
1,146
Template.messages.helpers({ messages: [ { title : "This feature is coming soon!" } ] });
ak-org/rend_ez_vous
client/views/messages/messages.js
JavaScript
gpl-3.0
110
/** # Mantis Plugin "EasyEnter" # Copyright (C) 2015 Frithjof Gnas - fg@prae-sensation.de # # Javascript functions and calls to slim down the bug-report-form on the # configured base of include_fields, field_values etc.. # # Disclaimer & License: # This plugin - EasyEnter - is distributed in the hope that it wi...
fg-ok/EasyEnter
files/easyenter_page.js
JavaScript
gpl-3.0
4,477
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-200.js
JavaScript
gpl-3.0
913
/** * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Catalan language. */ /**#@+ @type String @example */ /** * Contains the di...
Ayahadhiie/Sistem-Konservasi-Energi
lang/ca.js
JavaScript
gpl-3.0
3,441
import freeze from 'deep-freeze' import {ensure} from '#/main/core/tests' import {TYPE_QUIZ, TYPE_STEP} from './../enums' import select from './selectors' import {tex, t} from '#/main/core/translation' describe('Thumbnails selector', () => { it('returns the quiz and step thumbs with active and errors set', () => { ...
ClaroBot/Distribution
plugin/exo/Resources/modules/quiz/editor/selectors.test.js
JavaScript
gpl-3.0
5,556
'use strict'; var async = require('async'), validator = require('validator'), url = require('url'), S = require('string'), utils = require('../../public/src/utils'), meta = require('../meta'), events = require('../events'), db = require('../database'), Password = require('../password'), plugins = require('....
HanRJ/mooc
src/user/profile.js
JavaScript
gpl-3.0
8,118
import React from 'react' import PropTypes from 'prop-types' import Link from '@material-ui/core/Link' import Dialog from '@material-ui/core/Dialog' import IconButton from '@material-ui/core/IconButton' import TableContainer from '@material-ui/core/TableContainer' import Table from '@material-ui/core/Table' import Tabl...
cloudsonic/sonic-server
ui/src/dialogs/AboutDialog.js
JavaScript
gpl-3.0
4,279
tinymce.PluginManager.add('tabpanel', function(editor, url) { var walker = tinymce.dom.TreeWalker; editor.ui.registry.addNestedMenuItem('tabpanel', { //icon: 'tabpanel', text: "Tabs", tooltip: "Tabs", getSubmenuItems: function () { return [ { ...
magix-cms/magixcms-3
admin/template/js/vendor/tiny_mce.5.8.2/plugins/tabpanel/plugin.js
JavaScript
gpl-3.0
2,609
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) { ext...
ricardo7227/DAW
Cliente/Codigo fuente/my-app-apk/node_modules/ionic-angular/components/action-sheet/action-sheet-transitions.js
JavaScript
gpl-3.0
5,337
/* * uSelect iDownload * * Copyright © 2011-2013 Alessandro Guido * Copyright © 2011-2013 Marco Palumbo * * This file is part of uSelect iDownload. * * uSelect iDownload 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 So...
lasagnacode/uselect-idownload
js/background.js
JavaScript
gpl-3.0
2,657
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-19924913-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js...
rasmusbergpalm/AESpad
app/webroot/js/ga.js
JavaScript
gpl-3.0
418
/* eslint unused: 0 */ import test from 'ava'; import sortObject from 'deep-sort-object'; import { templateAccount, templateDeployment, templateLambdaIntegration, templateMethod, templateModel, templateResource, templateResourceHelper, templateRest, templateStage, templateCloudWatchRole, templat...
dawson-org/dawson-cli
src/factories/cf_apig.spec.js
JavaScript
gpl-3.0
26,162
'use strict'; angular.module('app').controller('FundraiserNavTabsController', function ($scope, $location) { $scope.active_tab = function(name) { if (name === 'overview' && (/^\/fundraisers\/[a-z-_0-9]+$/i).test($location.path())) { return "active"; } if (name === 'updates' && (/^\/fundraisers\/[a-z-_0-9]+\/...
jeffrey-l-turner/frontend
app/pages/fundraisers/controllers/nav_tabs.js
JavaScript
gpl-3.0
743
'use strict' /* globals describe it spyOn expect fail */ const pupilDataService = require('../../../services/data-access/pupil.data.service') const pupilMock = require('../mocks/pupil') const pupilAttendanceDataService = require('../../../services/data-access/pupil-attendance.data.service') const redisCacheService = r...
DFEAGILEDEVOPS/MTC
admin/spec/back-end/service/attendance.service.spec.js
JavaScript
gpl-3.0
4,062
"use strict"; const dbHelper = require('../utils/dbhelper.js'); const Stacks = function () { }; /** * Get all the stack * @param done function to call with the results */ Stacks.getAll = function( done ) { dbHelper.getAllFromTable("STACKS" , done ); }; /** * Add a new stack * @param name Name of the stack...
gpimblott/TechRadar
dao/stacks.js
JavaScript
gpl-3.0
1,062
/* * LIXUZ content management system * Copyright (C) Utrop A/S Portu media & Communications 2008-2011 * * 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, ...
portu/lixuz
root/source-js/dragdrop/lixuzdd.js
JavaScript
gpl-3.0
9,574
window.addEvent('domready', function() { // Add effect on all the menu boxes, and the ajax request $('test-button').addEvents( { 'click': function(event) { //prevent the page from changing (i.e. following the link) event.stop(); $(...
fbianco/webraptor
admin.js
JavaScript
gpl-3.0
895
angular.module('MODULE.SUBMODULE').factory( 'FACTORY_SERVICE', function FACTORY_SERVICEProvider( $log, otherService ) { 'use strict'; var constructor; constructor = function constructor (spec) { var initialize, instanceVar1, ...
dctr/boilerplates
JavaScript/AngularJS/angularFactoryService.js
JavaScript
gpl-3.0
1,818
Joomla 1.5.23 = 9828ab260a60ea25a88b7657c937f666
gohdan/DFC
known_files/hashes/plugins/editors/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js
JavaScript
gpl-3.0
49
#!/usr/bin/env node // // Written by Maarten Thibaut. // Released under the GPL. // var argv = require('optimist') .usage('Usage: $0 -f file [-v var]') .demand(['f']) .argv, fs = require('fs'); function parseCsvFile(fileName, callback_data, callback_close){ var stream = fs.createReadStream(fileName) ...
mthibaut/csv2json
csv2json.js
JavaScript
gpl-3.0
1,822
var xhr, xmlDocumentConstructor; module("responding", { setup: function(){ xhr = new FakeXMLHttpRequest(); xmlDocumentConstructor = makeXMLDocument().constructor; }, teardown: function(){ xhr = undefined; xmlDocumentConstructor = undefined; } }); // Different browsers report different construct...
Elektro1776/latestEarthables
core/client/bower_components/FakeXMLHttpRequest/test/responding_test.js
JavaScript
gpl-3.0
3,711
/** * @license Ulakbus-UI * Copyright (C) 2015 ZetaOps Inc. * This file is licensed under the GNU General Public License v3 * (GPLv3). See LICENSE.txt for details. */ /** * @ngdoc module * @name ulakbus.formService * @module ulakbus.formService * @description * The `formService` module provides generic ser...
kunthar/ulakbus-ui
app/zetalib/form_service.js
JavaScript
gpl-3.0
74,403
/** * $Id: editor_plugin_src.js,v 1.1 2012/04/05 12:12:25 simoneAdm Exp $ * * @author Moxiecode * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. */ (function() { var DOM = tinymce.DOM, Event = tinymce.dom.Event, each = tinymce.each, explode = tinymce.explode; tinymce.create('tinym...
xdamsorg/xDams-core
src/main/webapp/resources/xd-js/tiny_mce/plugins/tabfocus/editor_plugin_src.js
JavaScript
gpl-3.0
2,461
const StitchMongoFixture = require('../fixtures/stitch_mongo_fixture'); import {getAuthenticatedClient} from '../testutil'; describe('Values V2', ()=>{ let test = new StitchMongoFixture(); let apps; let app; beforeAll(() => test.setup({createApp: false})); afterAll(() => test.teardown()); beforeEach(async...
cassiane/KnowledgePlatform
Implementacao/nodejs-tcc/node_modules/mongodb-stitch/test/admin/values.test.js
JavaScript
gpl-3.0
2,204
var __v=[ { "Id": 2478, "Panel": 1245, "Name": "number", "Sort": 0, "Str": "" } ]
zuiwuchang/king-document
data/panels/1245.js
JavaScript
gpl-3.0
101
/* * Project: jsProject Examples * * File: translationsModule.js * * Purpose: * creates a json object with translations * adds the application function: getTranslation to the application * * Last Revision: 21-03-2017 * * Author: Sharesoft * Web: www.sharesoft.nl * Mai...
SharesoftNL/jsProject
examples/settings/translationsModule_en.js
JavaScript
gpl-3.0
7,861
/* * Authors: * Petr Vobornik <pvoborni@redhat.com> * * Copyright (C) 2014 Red Hat * see file 'COPYING' for use and warranty information * * 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 Founda...
apophys/freeipa
install/ui/src/freeipa/idviews.js
JavaScript
gpl-3.0
28,221
/* global salesReporterFactory, dataLoaderFactory, dataSourceAccessFactory, pointOfSaleDataUtilsFactoryBuilder, reportDataBuilderFactory */ // eslint-disable-next-line function getSalesReporter() { const dataSourceAccess = dataSourceAccessFactory(); const dataLoader = dataLoaderFactory(dat...
cmstead/jsLearnerForms
jsforms-source/4_test-dummy-form/index.js
JavaScript
mpl-2.0
599
import transitionable from 'consul-ui/utils/routing/transitionable'; import { module, test } from 'qunit'; const makeRoute = function(name, params = {}, parent) { return { name: name, paramNames: Object.keys(params), params: params, parent: parent, }; }; module('Unit | Utility | routing/transitiona...
hashicorp/consul
ui/packages/consul-ui/tests/unit/utils/routing/transitionable-test.js
JavaScript
mpl-2.0
1,538
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ (function() { 'use strict'; var client = Mozilla.Client; var form = new Mozilla.SendYourself('dow...
kyoshino/bedrock
media/js/firefox/whatsnew/whatsnew-id.js
JavaScript
mpl-2.0
863
// META: script=/resources/testdriver.js // META: script=/resources/testdriver-vendor.js // META: script=/bluetooth/resources/bluetooth-helpers.js 'use strict'; const test_desc = 'multiple calls to getDevices() resolves with the same' + 'BluetoothDevice objects for each granted Bluetooth device.'; bluetooth_test(a...
UK992/servo
tests/wpt/web-platform-tests/bluetooth/getDevices/returns-same-bluetooth-device-object.https.window.js
JavaScript
mpl-2.0
895
importScript([ '../modevlib/main.js', '../modevlib/Dimension-Bugzilla.js', "../modevlib/Dimension-Tracked.js", "../js/grid.js", "../modevlib/gui/accordion.js", "../modevlib/gui/dynamic.js", "../modevlib/gui/aColor.js", "blockerCharts.js", "nominationCharts.js", "regressionCharts.js", "blockers.css" ]);
ashughes1/pi-tracked-bugs
js/chart_lib.js
JavaScript
mpl-2.0
316
var lizLayerActionButtons = function() { var tooltipControl = null; var tooltipLayers = []; var featureTypes = null; var opacityLayers = {}; function fillSubDock( html ){ $('#sub-dock').html( html ); // Style opacity button $('#sub-dock a.btn-opacity-layer').each(function(...
aeag/lizmap-web-client
lizmap/www/js/switcher-layers-actions.js
JavaScript
mpl-2.0
17,683
Components.utils.import("resource://gre/modules/Services.jsm"); const nsIInterfaceRequestor = Components.interfaces.nsIInterfaceRequestor; const nsIWebNavigation = Components.interfaces.nsIWebNavigation; const nsIDocShellTreeItem = Components.interfaces.nsIDocShellTreeItem; const nsIDOMWindow = Com...
therealglazou/bluegriffon
base/content/bluegriffon/prefs/shortcuts.js
JavaScript
mpl-2.0
19,048
"use strict"; module.exports = OTR var path = require('path') var EventEmitter = require('events').EventEmitter var inherits = require('inherits') var smwPath = 'sm-webworker.js' var Worker = global.Worker if (!Worker) { smwPath = path.join(__dirname, smwPath) try { // load optional dep. in node Worker = r...
mvayngrib/otr
lib/otr.js
JavaScript
mpl-2.0
18,767
/* 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/. * * Owner: david@famo.us * @license MPL 2.0 * @copyright Famous Industries, Inc. 2014 */ var PE = require('../p...
mizchi/famous-bundled
transitions/SpringTransition.js
JavaScript
mpl-2.0
6,656
const Cu = Components.utils; const {devtools} = Cu.import("resource://gre/modules/devtools/Loader.jsm", {}); const {require} = devtools; const {installHosted, installPackaged} = require("devtools/app-actor-front"); Cu.import("resource://gre/modules/devtools/dbg-server.jsm"); Cu.import("resource://gre/modules/devtools/d...
malini/certtest
device_setup/app_install.js
JavaScript
mpl-2.0
1,344
function (user, context, callback) { // /!\ DO NOT EDIT THIS FILE /!\ // Please use http://github.com/mozilla-iam/auth0-rules instead var WHITELIST = [ 'moc-sso-monitoring@mozilla.com', // MOC see https://bugzilla.mozilla.org/show_bug.cgi?id=1423903 'moc+servicenow@mozilla.com' // MOC see https://bugzilla...
jdow/auth0-deploy
rules/duosecurity.js
JavaScript
mpl-2.0
1,403
/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* * The list of phases mapped to their corresponding profiles. The object * here must be in strict JSON format, as it will get parsed by the Python * testrunner (no single quotes, extra comma's, etc). */ E...
Yukarumya/Yukarum-Redfoxes
services/sync/tests/tps/test_history.js
JavaScript
mpl-2.0
3,085
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ /* * * Date: 03 June 2...
mozilla/rhino
testsrc/tests/js1_5/Object/regress-137000.js
JavaScript
mpl-2.0
3,991
importScripts('sw-helpers.js'); async function getFetchResult(record) { response = await record.responseReady; if (!response) return Promise.resolve(null); return { url: response.url, status: response.status, text: await response.text(), }; } self.addEventListener('backgroundfetchsuccess', e...
SimonSapin/servo
tests/wpt/web-platform-tests/background-fetch/service_workers/sw.js
JavaScript
mpl-2.0
676
initSidebarItems({"fn":[["DefineDOMInterface",""],["GetProtoObject",""],["Wrap",""]],"mod":[["FileReaderConstants",""]],"static":[["sNativePropertyHooks",""]],"trait":[["FileReaderMethods",""]]});
susaing/doc.servo.org
servo/script/dom/bindings/codegen/Bindings/FileReaderBinding/sidebar-items.js
JavaScript
mpl-2.0
196
const getEngineName = (engine) => { switch (engine) { case 'electron': { return 'Electron'; } case 'firefox': { return 'Mozilla Firefox'; } case 'chromium': { return 'Chromium'; } case 'chrome': { return 'Google Chrome'; } case 'brave': { return 'Brave...
quanglam2807/webcatalog
src/helpers/get-engine-name.js
JavaScript
mpl-2.0
546
var NAVTREEINDEX0 = { "adc_8h_source.html":[2,0,0], "annotated.html":[1,0], "classes.html":[1,1], "crc_8h_source.html":[2,0,1], "cs_8h_source.html":[2,0,2], "driverlib_8h_source.html":[2,0,3], "ecomp_8h_source.html":[2,0,4], "eusci__a__spi_8h_source.html":[2,0,5], "eusci__a__uart_8h_source.html":[2,0,6], "eusci__b__i2c...
ots-m2m/sew-lwm2m-reference-design
thirdparty/msp430/doc/MSP430FR2xx_4xx/html/navtreeindex0.js
JavaScript
mpl-2.0
17,055
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 3.3.0 build: 3167 */ YUI.add("lang/datatype-date-format_es-PY",function(a){a.Intl.add("datatype-date-format","es-PY",{"a":["dom","lun","mar","mié","jue","vie","sáb"],"...
RajkumarSelvaraju/FixNix_CRM
jssource/src_files/include/javascript/yui3/build/datatype/lang/datatype_es-PY.js
JavaScript
agpl-3.0
895
linguas.directive('bunchRow', ['$window', 'TranslationService', function ($window, TranslationService) { return { restrict: 'AE', replace: true, scope: { bunch: '=bunch' }, templateUrl: 'app/features/translation-bunch/bunch-row/bunch-row.html', controller: function ($sc...
asm-products/linguas
app/features/translation-bunch/bunch-row/bunch-row.js
JavaScript
agpl-3.0
349
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import Snackbar from 'material-ui/Snackbar'; import { Route } from 'react-router'; import { store } from '..'; import { isConfigLoaded, getConfig } from '../modules/config'; import AppBar from './AppBar'; import Dashb...
tallessa/tallessa-frontend
src/components/App.js
JavaScript
agpl-3.0
2,288
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":54,"id":84685,"methods":[{"el":40,"sc":2,"sl":38},{"el":45,"sc":2,"sl":42},{"el":52,"sc":2,"sl":47}],"name":"EscapeHTML","sl":33}]} // JSON: {test_ID : {"methods": [ID1, ID2, ID3.....
cm-is-dog/rapidminer-studio-core
report/html/com/rapidminer/tools/expression/internal/function/text/EscapeHTML.js
JavaScript
agpl-3.0
697
/** * app.js * * Use `app.js` to run your app without `sails lift`. * To start the server, run: `node app.js`. * * This is handy in situations where the sails CLI is not relevant or useful. * * For example: * => `node app.js` * => `forever start app.js` * => `node debug app.js` * => `modulus deploy`...
Scalair-OpenSource/occi-board
app.js
JavaScript
agpl-3.0
1,766
export const divides = (y) => (x) => y % x === 0; export const divisible = (y) => (x) => x % y === 0;
aureooms/js-predicate
src/numbers.js
JavaScript
agpl-3.0
102
'use strict'; var REGEXP = /^(.+)\s+(.+)$/ function parser(str) { var deps = str.replace(/(\#(.*))/g, '').split("\n").reduce( (accum, line) => { var match = line.match(REGEXP); if (!match) return accum; let name = match[1].trim(), version = match[2].trim() accum.push({ name: name, ve...
librariesio/librarian-parsers
lib/parsers/gpm.js
JavaScript
agpl-3.0
446
/* MAP FUNCTIONS */ var mapStyle = 'Wikimedia'; var mapOverlay = null; var resultMapLayer = null; var resultMapOverlay = null; var resultMapObj = null; var mapMarkers = {}; var cityLat = null; var cityLon = null; function toggleMap() { backScrollY = null; if (!...
regenduft/mobile.kartevonmorgen
map.js
JavaScript
agpl-3.0
10,196