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 {createSqlInstance} from "./utils"; import {createSchema, permissionHelper} from "../index"; import expect from "expect"; let instance; describe("permission helper", () => { before(async() => { instance = await createSqlInstance(); }); it("basic test - no settings - defaults deny", async() => { ...
VostroNet/sql2gql
src/tests/permission-helper.test.js
JavaScript
gpl-3.0
2,567
import classic from 'ember-classic-decorator'; import Route from '@ember/routing/route'; import HashPoll from 'mdeditor/mixins/hash-poll'; @classic export default class EditRoute extends Route.extend(HashPoll) {}
adiwg/mdEditor
app/pods/contact/show/edit/route.js
JavaScript
gpl-3.0
214
"use strict"; DTO.Events.EventsPageMapper = { "mapSingleObject": function(eventsPageObject) { var eventsPageDto = new DTO.Events.EventsPage(); eventsPageDto.events = DTO.Events.EventMapper.mapArray(eventsPageObject.events); eventsPageDto.previousTimestamp = moment(eventsPageObject.prev...
bderidder/ldm-guild-website
src/LaDanse/AngularBundle/Resources/public/ladanse/modules/events/dto/events/EventsPageMapper.js
JavaScript
gpl-3.0
951
// Karma configuration // Generated on Sat Sep 17 2016 17:56:17 GMT-0500 (CDT) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/k...
ArmRay/Arm_Ray_App
tests/karma.conf.js
JavaScript
gpl-3.0
1,699
#!/usr/bin/env node /** * @license MIT * @author 0@39.yt (Yurij Mikhalevich) * @module 'mine-and-count' */ 'use strict'; const VKMiner = require('./vk-miner'); const wordCounter = require('./vk-word-counter'); const MongoClient = require('mongodb').MongoClient; /** * @typedef {Object} Page * @property {number} ...
39dotyt/vk-mining
mine-and-count.js
JavaScript
gpl-3.0
2,046
var element = document.getElementById('birs_client_password'); if (typeof(element) != 'undefined' && element != null) { var password = Math.random().toString(36).slice(2) + Math.random().toString(36).slice(2); document.getElementById('birs_client_password').value = password; document.getElementById('birs_cl...
j-tronics/fe_theme
assets/js/schedule-form.js
JavaScript
gpl-3.0
723
/* ! * This file is part of Dazzler * Copyright(c) 2011 USI - Universidad de Concepcion * * Dazzler 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...
Kodomo/Dazzler
BAM/js/Dazzler/Dazzler.manager.projects.js
JavaScript
gpl-3.0
6,298
/*! * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ /** * Usage: * * <h2 piwik-enriched-headline>All Websites Dashboard</h2> * -> uses "All Websites Dashboard" as featurename * * <h2 piwik-enriched-headline feature-nam...
piwik/piwik
plugins/CoreHome/angularjs/enrichedheadline/enrichedheadline.directive.js
JavaScript
gpl-3.0
3,620
'use strict' const fs = require('fs') const uuid = require('uuid') const path = require('path') const mkdirp = require('mkdirp') const moment = require('moment') const koaPinoLogger = require('koa-pino-logger') const multistream = require('pino-multi-stream').multistream const streamOpt = {flags: 'a', encoding: 'utf8...
easy-mock/easy-mock
util/logger.js
JavaScript
gpl-3.0
1,063
var dir_d023481419f1fa3f05423bc2453e84de = [ [ "umqtt.c", "umqtt_8c.html", "umqtt_8c" ], [ "umqtt.h", "umqtt_8h.html", "umqtt_8h" ] ];
axillent/stavr
doxygen/html/dir_d023481419f1fa3f05423bc2453e84de.js
JavaScript
gpl-3.0
142
Joomla 2.5.0 = 028a4008975327acdc186d4c83645225
gohdan/DFC
known_files/hashes/media/editors/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
JavaScript
gpl-3.0
48
(function () { "use strict"; Fermata.document = Vex.document; Fermata.Drawer = function (data, container) { this.data = data; this.parts = this.data.getParts(); this.staves = []; this.container = container; // Client-side if (typeof module === 'undefined') { this.renderer = new Vex...
xuanvu/fermata
src/Fermata.Drawer.js
JavaScript
gpl-3.0
589
var searchData= [ ['optionsrelation',['OptionsRelation',['../d7/d6a/classCBuildTarget.html#a65a8d160e9cb9cc5632373836e0adb9e',1,'CBuildTarget']]], ['os_5ftype',['OS_Type',['../de/d43/classCPlatform.html#a2fb735c63c53052f79629e338bb0f535',1,'CPlatform']]] ];
dmpas/cbp2make
dox/html/search/enums_6f.js
JavaScript
gpl-3.0
262
/* * eGov suite of products aim to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) <2015> eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * is availa...
egovernments/egov-playground
eGov/egov/egov-pgrweb/src/main/webapp/resources/js/app/functionarywiseReport.js
JavaScript
gpl-3.0
13,493
// Search script generated by doxygen // Copyright (C) 2009 by Dimitri van Heesch. // The code in this file is loosly based on main.js, part of Natural Docs, // which is Copyright (C) 2003-2008 Greg Valure // Natural Docs is licensed under the GPL. var indexSectionsWithContent = { 0: "000000000000000000000000000000...
qmc/dsqss
dsqss/dsqss-1.1.18/doc/program_document/html/search/search.js
JavaScript
gpl-3.0
24,690
var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), VERSION: '0.3.3', LANGUAGE: 'None', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt', NAVIGATION_WITH_KEYS: false, };
statsmaths/dtv-toolkit
docs/_static/documentation_options.js
JavaScript
gpl-3.0
309
Ext.define('Omni.store.Contract', { extend : 'Ext.data.Store', alias : 'store.omni-Contract', model : 'Omni.model.Contract', autoLoad : false, storeId : 'ContractStore', remoteFilter : true, remoteSort : true, constructor : function (config) { var me = this; m...
tunacasserole/omni
app/assets/javascripts/omni/store/Contract.js
JavaScript
gpl-3.0
481
describe('Server', () => { const mongo = require('mongoose'); it('hello', () => { expect(1).toBe(1); }); });
Pirolf/nekochan
spec/server/server_spec.js
JavaScript
gpl-3.0
115
import Model, { attr } from '@ember-data/model'; import { or, alias } from '@ember/object/computed'; import { computed, observer } from '@ember/object'; import { once } from '@ember/runloop'; import { checkVersion, regex } from 'mdeditor/models/schema'; import { validator, buildValidations } from 'ember-cp-validations'...
adiwg/mdEditor
app/models/profile.js
JavaScript
gpl-3.0
2,407
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { TextPlugin, TweenLite, TimelineLite} from 'gsap'; import 'gsap/TextPlugin'; export default class Tagline extends Component { constructor(props) { super(props); let self = this; this.startGlitching = this.startGlitching....
rhodiumlabs/rhodium-website
src/components/Tagline.js
JavaScript
gpl-3.0
3,508
/*global Microdraw*/ /*global paper*/ var ToolSplitRegion = {splitRegion: (function() { var tool = { _findHitItem: function (point) { const hitResult = paper.project.hitTest(point, { tolerance: Microdraw.tolerance, stroke: true, segments: true, fill: true, handles: ...
r03ert0/microdraw
app/public/js/tools/splitRegion.js
JavaScript
gpl-3.0
3,256
define(['knockout', 'viewmodels/common/command', 'common/dialog', 'viewmodels/common/terms-dialog', 'viewmodels/common/profile-pulldown', 'moment'], function(ko, Command, Dialog, TermsDialog, ProfilePulldown, Moment) { var profileType = function(options){ var self = this; self.wa...
onsightit/web-wallet
public/wallet/js/viewmodels/profile/profile.js
JavaScript
gpl-3.0
9,924
///////////////////////////////////////////////////////////////////////////////// // // jHako WebGUI // Copyright (C) 2014-2015 Komatsu Yuji(Zheng Chuyu) // // 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 Softwar...
komatsuyuji/jhako
frontends/public/app/view/editor/JobunitTab.js
JavaScript
gpl-3.0
3,198
define(["ember"], function(Ember){ var HowManyDoneRoute = Ember.Route.extend({ model: function(params) { /** * @ToDo: * Routing with extra params */ Ember.Logger.log('Recover model:',this.modelFor('HowMany')); return this.modelFor('HowMany'); // Ember.Logger.log('HowManyRoute recover model:',p...
RedRudeBoy/HowManyRequireJSDeprecated
scripts/app/pages/HowMany/Done/HowManyDoneRoute.js
JavaScript
gpl-3.0
3,667
module.exports = Test var Readable = require('stream').Readable /* istanbul ignore if */ if (!Readable || process.version.match(/^v0\.10/)) { Readable = require('readable-stream').Readable } var Promise = require('bluebird') function Deferred () { this.resolve = null this.reject = null this.promise = new Pro...
chrisbjohannsen/no-gnus
node_modules/tap/lib/test.js
JavaScript
gpl-3.0
35,734
var searchData= [ ['hoa2d',['Hoa2d',['../namespacehoa.html#afeeb3ea8d8350f7e9c636d23679a4dcaa779b07b50e82744f519d182e16ad8d02',1,'hoa']]], ['hoa3d',['Hoa3d',['../namespacehoa.html#afeeb3ea8d8350f7e9c636d23679a4dcaa8c4ed07441a35763f9e4975625283399',1,'hoa']]] ];
CICM/HoaLibrary-Light
docs/search/enumvalues_3.js
JavaScript
gpl-3.0
266
import { defineMessages } from 'react-intl'; export default defineMessages({ signUp: { id: 'cboard.components.SignUp.signUp', defaultMessage: 'Sign Up' }, name: { id: 'cboard.components.SignUp.name', defaultMessage: 'Name' }, email: { id: 'cboard.components.SignUp.email', defaultMessa...
amberleyromo/cboard
src/components/WelcomeScreen/SignUp/SignUp.messages.js
JavaScript
gpl-3.0
1,219
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide("erpnext.job_offer"); frappe.ui.form.on("Job Offer", { select_terms: function (frm) { erpnext.utils.get_terms(frm.doc.select_terms, frm.doc, function (r) { if (!r.exc) ...
brownharryb/erpnext
erpnext/hr/doctype/job_offer/job_offer.js
JavaScript
gpl-3.0
1,060
// Angular app module (function(){ var app = angular.module('stockWatch',['stockWatch.routes','stockWatch.controllers', 'stockWatch.services','angular-loading-bar', "stockWatch.directives","ngSanitize","chart.js"]); angular.module('stockWatch.routes',['ui.router']); angular.module('stockWatch.controllers'...
muepsilon/Stocks-Monitering-Tool
stocks/static/javascripts/app.js
JavaScript
gpl-3.0
769
import crypto from 'crypto' // 5x5 grid; 0: sponsor; 1: community const patterns = [0b0010001010100010101000100, 0b1010001010000010101010000, 0b1000100100010100010010001, 0b0010010001010101000100100] function md5Hash (token) { var md5 = crypto.createHash('md5') md5.update(token) return md5.digest('hex') } fu...
CCIP-App/CCIP-Puzzle-Bueno
src/utils/generateBingo.js
JavaScript
gpl-3.0
1,357
/*!@license * Infragistics.Web.ClientUI ListView localization resources 15.2.20152.1027 * * Copyright (c) 2011-2015 Infragistics Inc. * * http://www.infragistics.com/ * */ /*global jQuery */ $.ig = $.ig || {}; if (!$.ig.mobileListView) { $.ig.mobileListView = {}; $.ig.mobileListViewFiltering = {}; ...
sherwel/filedectorweb
public/mobile/js/modules/i18n/infragistics.mobileui.list-es.js
JavaScript
gpl-3.0
1,564
import React from "react"; import { ConnectedRouter as Router } from "react-router-redux"; import { Provider } from "react-redux"; import createHistory from "history/createBrowserHistory"; import configureStore from "./configureStore"; const history = createHistory(); const store = configureStore(history); c...
Xyfi/react-redux-production-starter
src/js/TopLevelComponents.js
JavaScript
gpl-3.0
631
import React, { Component } from 'react'; import { View, Text, ScrollView, StyleSheet, TextInput } from 'react-native'; import TMListView from '../components/TMListView'; import TMMKButton from '../components/TMMKButton'; import { Field, reduxForm, formValueSelector, FieldArray } from 'redux-form'; import { M...
tiagofumo/renaSMS
src/containers/AddServerForm.js
JavaScript
gpl-3.0
6,113
var crypto = require('crypto'); module.exports = { uniqueHash: function() { var current_date = (new Date()).valueOf().toString(); var random = Math.random().toString(); return crypto.createHash('sha1').update(current_date + random).digest('hex'); } };
RocketBuilt/rocketbuilt-core
helpers.js
JavaScript
gpl-3.0
270
/* ** vlc.js for Epicom in /arm/libs/utils ** ** Git project https://github.com/yoann-mille/EpiCom.git ** ** Made by yoann mille ** Email <yoann.mille@epitech.eu> ** ** Started on Wed Jun 18 16:48:50 2014 yoann mille ** Last update Wed Jun 18 18:37:57 2014 yoann mille */ var path = require('./config').path; var ...
yoann-mille/EpiCom
arm/libs/utils/vlc.js
JavaScript
gpl-3.0
1,145
class TabView { constructor() { this.$el = $('<div class="tab-view">'); } /** * Shows a tab. * * If the tab is named and a tab with the same name already exists, it is * substituted. In adittion, all tabs to the right are removed. */ pushTab(content, options) { var self = this; options || (options ...
PolyFloyd/trollibox
src/assets/public/js/tabview.js
JavaScript
gpl-3.0
1,123
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> === * * Copyright 2011, Dominik Schmidt <domme@tomahawk-player.org> * Copyright 2011-2012, Leo Franchi <lfranchi@kde.org> * Copyright 2011, Thierry Goeckel * Copyright 2013, Teo Mrnjavac <teo@kde.org> * Copyright 2...
tomahawk-player/tomahawk
data/js/tomahawk.js
JavaScript
gpl-3.0
64,361
CR.Controllers.PositionSoughtFormGroup = React.createClass({ render() { // To avoid losing value if the page is reloaded, for example by a Sign in with LI const positionSought = CR.Services.Browser.getFromLocalStorage(CR.localStorageKeys.positionSought) || CR.order.getSoughtPosition(); cons...
PanzerKunst/redesigned-cruited.com-frontend
website/assets/scripts/controllers/common-components/positionSoughtFormGroup.react.js
JavaScript
gpl-3.0
787
//initialisation de mapbox L.mapbox.accessToken = 'pk.eyJ1IjoiYWx0b3IiLCJhIjoiY2llemxlMGU1MDBvanN1bTQxamszcHE5cSJ9.l021dXTkSGn9z-xUXDdreQ'; var map = L.mapbox.map('map', 'mapbox.dark', {attributionControl: false}) .setView([50.609283, 3.142132], 16); //initialisation des events var xhr = new XMLHttpRequest(); xhr...
COIN-L4D/L4D-intranet
server/map/static/map/js/map.js
JavaScript
gpl-3.0
1,678
(function(CATMAID) { "use strict"; /** * Create a new Neuron Similarity Result Widget. It lists neuron similarities. */ var NeuronSimilarityDetailWidget = function(options) { options = options || {}; this.widgetID = this.registerInstance(); this.idPrefix = "neuron-similarity-detail" + this.wi...
catmaid/CATMAID
django/applications/catmaid/static/js/widgets/neuron-similarity-detail-widget.js
JavaScript
gpl-3.0
29,819
'use strict'; const async = require('async'); const db = require('../database'); const meta = require('../meta'); const utils = require('../utils'); const slugify = require('../slugify'); const translator = require('../translator'); const plugins = require('../plugins'); const cache = require('../cache'); module.exp...
bdharrington7/NodeBB
src/categories/update.js
JavaScript
gpl-3.0
3,523
Joomla 3.6.4 = 6c370b577f5fa490194d8fed7a15f7e7
gohdan/DFC
known_files/hashes/media/editors/codemirror/addon/hint/xml-hint.js
JavaScript
gpl-3.0
48
/** * RestServiceController * * @description :: Server-side logic for managing Restservices * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ const slug = require('slug'); const _ = require('lodash'); const actionUtil = require('sails/lib/hooks/blueprints/actionUtil'); module.expo...
gcba-odin/odin
api/controllers/RestServiceController.js
JavaScript
gpl-3.0
3,042
import Automaton, {State, Transition} from "./automaton" import { UnknownCharError, UnknownStateError, DeterminismError, StateAlreadyExistError, NextTransitionError, AlreadyMinimizedError, NotValidWordError } from "./errors" const epsilon = "epsilon" // var contter = 0 export default class PDA extends Automa...
KenyStev/Automaton
js/PDA.js
JavaScript
gpl-3.0
7,621
var searchData= [ ['dat_5fdata_5fwrite',['dat_data_write',['../classdat__write.html#a20fe96990d93d3b6938083248eceddaf',1,'dat_write']]], ['digit_5fto_5fch',['digit_to_ch',['../classdat__write.html#ad22cbd84632a8d7a85960304073e3c54',1,'dat_write::digit_to_ch()'],['../classvtk__write.html#a10a8f6e1ed00480f1a7ce84d7cb...
Turbulence-Master/MeshGeneration-Framework
doc/doxygen/HTML/html/search/functions_0.js
JavaScript
gpl-3.0
362
/* eslint-env mocha */ import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import sinon from 'sinon'; import { CommentBox } from '../../../src/js/components/characterDetails/commentBox'; describe('<CommentBox />', () => { it('should render the comment form when user logged in...
nicksenger/marvelous
client/test/components/characterDetails/commentBox.spec.js
JavaScript
gpl-3.0
2,240
/* @license textAngular Author : Austin Anderson License : 2013 MIT Version 1.4.6 See README.md or https://github.com/fraywing/textAngular/wiki for requirements and use. */ /* Commonjs package manager support (eg componentjs). */ /* istanbul ignore next: */ 'undefined'!=typeof module&&'undefined'!=typeof exports&&m...
Mastenka/josefina
Josefina/Scripts/textAngular/textAngular.js
JavaScript
gpl-3.0
129,379
import uuid from 'uuid'; import express from 'express'; module.exports = (function() { var router = express.Router(); router.use(function(req, res, next){ req.uuid = uuid.v4(); console.log( '\n'+ `Host: ${req.headers.host}\n`+ `Remote: ${req.headers['x-forwarded-for'] || req.connection.rem...
we-human-space/website
server/src/routes/routes.js
JavaScript
gpl-3.0
510
var updateTypes = { NewRequest: 0, NewResponse: 1, DebuggingToggle: 2, InitialUpdate: 3 }; var commandTypes = { EnableDebugging: 0, DisableDebugging: 1, ContinueDebugging: 2 }; var receivedRequests = []; var receivedResponses = []; var receivedRequestsCount = 0; window.onload = function()...
yurigorokhov/httpception
src/httpception/frontend/web/main.js
JavaScript
gpl-3.0
3,051
var dataSet = []; var cat = []; $(document).ready(function() { var airlineId = 774; var serialNumber = $('#planeSerial').val(); var i = 0; $.ajax({ traditional : true, type : "GET", url : "airline/barPlaneHoursJSON/"+serialNumber, dataType : "json", success : function(result, success) { for (i = 0;...
Maracars/POPBL5
WebContent/js/airlinePlaneCharts.js
JavaScript
gpl-3.0
829
module.exports = function(express, utils, request, config){ var google = express.Router() google.post('/google', function(req, res) { var accessTokenUrl = 'https://accounts.google.com/o/oauth2/token'; var peopleApiUrl = 'https://www.googleapis.com/plus/v1/people/me/openIdConnect'; var params = { ...
martinop/royaledeck
server/auth/google.js
JavaScript
gpl-3.0
1,407
'use strict'; const _ = require('lodash'); const db = require('../database'); const user = require('../user'); const groups = require('../groups'); const plugins = require('../plugins'); const privileges = require('../privileges'); const cache = require('../cache'); const Categories = module.exports; require('./da...
yariplus/NodeBB
src/categories/index.js
JavaScript
gpl-3.0
11,659
/* * Copyright © 2012 Pedro Agullo Soliveres. * * This file is part of Log4js-ext. * * Log4js-ext 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 License. * * ...
opennode/opennode-console
lib/log4js/sm/log/src/util/Assert.js
JavaScript
gpl-3.0
1,964
// ***********GAME STATE RELATED VARIABLES ******************** //these variables keep track of the state of the game for gameplay logic***** function GameStates() { function Moods() { this.Fearful = false; //bool for determining if we should use fearful portrait this.Excited = true; //bool for determini...
vmichial/MathCat
Libs/oGame States.js
JavaScript
gpl-3.0
12,287
/** * plugin.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /*global tinymce:true */ tinymce.PluginManager.add('maharaimage', function(editor) { function getImageSize(url, callback) { v...
sdc/mahara
htdocs/js/tinymce/plugins/maharaimage/plugin.js
JavaScript
gpl-3.0
9,828
var searchData= [ ['button_5fok',['BUTTON_OK',['../class_c_dialog_change_credentials.html#a580d98af272faa4b7dbfcd33d3e245faacb35a829602d74b53fa8439fc3d20b10',1,'CDialogChangeCredentials::BUTTON_OK()'],['../class_c_dialog_set_path_to_tools.html#a95cefcd14341d3f97d905ef0c55b8d2da607ae542d4edb8f4174fe4e06cf46798',1,'CDi...
allenvanderlinde/grepster
documentation/html/search/enumvalues_1.js
JavaScript
gpl-3.0
533
;(function($){ $.fn.datepicker.dates['es'] = { days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"], daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"], daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa"], months: ["Enero", "Febrero", "Marzo", "...
Kuorum/Espamacs
grails-app/assets/javascripts/plugins/bootstrap-datepicker-i18n.js
JavaScript
gpl-3.0
673
var express = require('express'); var router = express.Router(); var Parse = require('parse').Parse; router.get('/', function(req, res, next) { if (Parse.User.current() == null) { res.render('index', { title: 'Scout', filename: 'index' }); } else { res.redirect('/dashboard'); } }); router.post('/', func...
jessicayuen/scout
ScoutWeb/routes/index.js
JavaScript
gpl-3.0
733
import '../../html/pages/PageError.html'
ProjemVar/Website
imports/ui/js/pages/PageError.js
JavaScript
gpl-3.0
41
/** * Created by alvarocbasanez on 27/07/17. */ import {connect} from 'react-redux'; import React, {Component} from 'react'; import Spinner from '../components/Spinner' import DetectorModuleComponent from '../components/DetectorModuleComponent' import {fetchData} from '../../../modules/actions/index'; import {bindAc...
alvcarmona/efficiencycalculatorweb
effcalculator/frontend/assets/js/routes/detectors/containers/DetectorModuleContainer.js
JavaScript
gpl-3.0
954
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2011 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/bom/webfonts/Manager.js
JavaScript
gpl-3.0
14,798
/* * PLUGIN SCHEDULER * * Polish language file. * * Author: Dare (piczok@gmail.com) */ theUILang.scheduler = "Harmonogram"; theUILang.schedulerOn = "Włącz Harmonogram"; theUILang.schedulerGraph = "Tablica harmonogramu"; theUILang.schShortWeek = [ "pon.", "wt.", "śr.", "czw.", "pt.", "sob.", "ndz." ]; th...
Rapiddot/ruTorrent
plugins/scheduler/lang/pl.js
JavaScript
gpl-3.0
1,077
"use strict" var Weapon = require("./weapon") class Dagger extends Weapon { constructor() { super(5, 4) } toString(){ return "Dagger" } } module.exports = Dagger
Sch-Tomi/FantasyClash
clash/weapons/dagger.js
JavaScript
gpl-3.0
198
var favicon = require('serve-favicon'), express = require('express'), mongoose = require('mongoose'), fs = require('fs'), http = require('http'), config = require('./config/config'), root = __dirname, app = express(), server = null; app.use(favicon(__dirname + '/favicon.ico')); // db configuration require('./c...
alstown/home
app.js
JavaScript
gpl-3.0
584
/* global process */ /* global require */ /* global console */ /* global module */ /* global __dirname */ ///////////////----------------------------- SERVER 'use strict'; require('dotenv').config(); var express = require('express'), app = express(), server = require('http').Server(app), io = require('soc...
convoo/backEnd
server.js
JavaScript
gpl-3.0
976
var universalTime = 0; function startUniversalTimer(){ playerTimer = game.time.create(false); playerTimer.loop(500, incrementUniversalTimer, this); playerTimer.start(); } function incrementUniversalTimer(){ universalTime++; //console.log("Universal Timer", universalTime); console.log("Active AI", activeAI...
tpascua11/Evermore_Wizard1
game/main_core/timer.js
JavaScript
gpl-3.0
332
/* irc.js - Node JS IRC client library (C) Copyright Martyn Smith 2010 This library 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) an...
jirwin/node-irc
lib/irc.js
JavaScript
gpl-3.0
39,402
const assert = require('assert'); const quicksort = require('./quicksort'); let A = [2, 8, 7, 1, 3, 5, 6, 4]; quicksort(A, 0, A.length); assert(A.toString() === '1,2,3,4,5,6,7,8');
dustinboston/algorithms
quicksort.spec.js
JavaScript
gpl-3.0
182
import React from 'react'; import {storiesOf} from '@kadira/storybook'; import {withKnobs, text} from '@kadira/storybook-addon-knobs'; import {StoryWrapper} from './../_lib/storyUtils.js'; import Tooltip from './index.js'; storiesOf('Tooltip', module) .addDecorator(withKnobs) .addWithInfo( 'default', ...
dimaip/neos-ui
packages/react-ui-components/src/Tooltip/index.story.js
JavaScript
gpl-3.0
500
module.exports = { content: [ "./index.html", "./src/**/*.{vue,ts}" ], theme: { extend: {}, }, plugins: [], }
bigbeno37/Binoctal-Hexadecimal
tailwind.config.js
JavaScript
gpl-3.0
136
try { var fs = require('fs'); var getStream = fs.createReadStream(__dirname +'\\'+ 'assets.txt','utf8'); getStream.on('data', function(dataStream){ console.log("Start Streaming"); console.log(dataStream); }); } catch (error) { console.log(error); }
fuadajip/nodejs
public/readstream.js
JavaScript
gpl-3.0
285
var Episode = require(__appbase + 'models/episode'); module.exports = { add: function (data, callback) { var episode = new Episode(); // check if POST data matches Schema for (var key in data) { if (data.hasOwnProperty(key) && !Episode.schema.paths.hasOwnProperty(key)) { ...
Rostlab/JS16_ProjectA
app/stores/episodes.js
JavaScript
gpl-3.0
3,638
var searchData= [ ['media_5froot',['MEDIA_ROOT',['../namespacedjangle_1_1settings.html#a8920f7f12320aadbc95b1333d35fac10',1,'djangle::settings']]], ['media_5furl',['MEDIA_URL',['../namespacedjangle_1_1settings.html#a3104f69bc9aba8e8d701639bc683ce46',1,'djangle::settings']]], ['message',['message',['../classforum_...
donkeyxote/djangle
docs/html/search/variables_9.js
JavaScript
gpl-3.0
1,505
(function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define("codemirror4/mode/d/d", ["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(functi...
soliton4/promiseLand-website
release/client/codemirror4/mode/d/d.js
JavaScript
gpl-3.0
7,451
angular.module('redprice').service('ConnectionSrv', ['$rootScope', function($rootScope) { var _this = this; this.connect = function(main_scope) { //var socket = this.Socket = new WebSocket('ws://localhost:3001'); var socket = this.Socket = new WebSocket('ws://5.45.119.19:3001'); socket.onopen = function() { ...
ArturMozhjer/CasperJSdemo
Client/app/services/connection.srv.js
JavaScript
gpl-3.0
1,201
import React from 'react' import {remoteData} from '../utils/mrequest'; import {Upload, Card , Form , Input , Col , Row, Button, Icon, message, InputNumber} from 'antd'; const FormItem = Form.Item; const InputGroup = Input.Group; var AdminFormEmpresa = Form.create()(React.createClass({ getInitialState: function ...
aurigadl/EnvReactAsk
src/components/AdminFormEmpresa.js
JavaScript
gpl-3.0
10,068
$wnd.es_sacyl_eva_ui_widgetset_EvarestWidgetset.runAsyncCallback1('Grb(2383,1,RKe);_.Wb=function Ttd(){yXb((!tXb&&(tXb=new AXb),tXb),this.a.d)};GLe(lh)(1);\n//@ sourceURL=1.js\n')
abada-investigacion/eva
avila/EvaREST/src/main/webapp/VAADIN/widgetsets/es.sacyl.eva.ui.widgetset.EvarestWidgetset/deferredjs/4EC0016032FBA169AEF2E928FC48533F/1.cache.js
JavaScript
gpl-3.0
180
/********************************************************************************* * SugarCRM is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU G...
Yuutakasan/SugarCRM-5.5.1-CE-JA-Dev
jssource/src_files/include/SugarFields/Fields/Collection/SugarFieldCollection.js
JavaScript
gpl-3.0
26,266
var expect = require('chai').expect; var dataCatalogCmkEncrypted = require('./dataCatalogCmkEncrypted'); const getDataCatalogEncryptionSettings = [ { "EncryptionAtRest": { "CatalogEncryptionMode": "SSE-KMS", "SseAwsKmsKeyId": "arn:aws:kms:us-east-1:111122223333:key/75e9285f-ae6b-4c3...
cloudsploit/scans
plugins/aws/glue/dataCatalogCmkEncrypted.spec.js
JavaScript
gpl-3.0
5,929
'use babel'; import { CompositeDisposable } from 'atom'; import Application from './app/app' const commands = new CompositeDisposable(); let app; export function activate(/*state*/) { app = new Application(); register_command(toggle, 'toggle'); register_command(run, 'run'); register_command(next, 'next'); ...
izaera/atom-byebug
lib/main.js
JavaScript
gpl-3.0
998
var PORT = 6000; var HOST = '127.0.0.1'; var dgram = require('dgram'); var fs = require('fs'); var server = dgram.createSocket('udp4'); var moment = require('moment'); const StringDecoder = require('string_decoder').StringDecoder; const decoder = new StringDecoder('utf8'); server.on('listening', function () { var...
franlu/mechatronics
udpServer.js
JavaScript
gpl-3.0
915
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2015 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: http://www.espocrm.com * * EspoCRM is free software: you can redistribute it...
sanduhrs/espocrm
frontend/client/modules/crm/src/views/mass-email/record/row-actions/for-campaign.js
JavaScript
gpl-3.0
1,632
'use strict'; /** * @ngdoc overview * @name unchatbar-stream * @description * # unchatbar-stream-connection * * run module */ angular.module('unchatbar-stream').run(['$rootScope', 'unStreamConnection', function ($rootScope, unStreamConnection) { $rootScope.$on('BrokerPeerCall', function (event,data) ...
unchatbar/unchatbar-stream
app/scripts/run.js
JavaScript
gpl-3.0
419
import { Directive, ElementRef, HostBinding, Input, Renderer } from '@angular/core'; import { Config } from '../../config/config'; import { Ion } from '../ion'; export class Icon extends Ion { constructor(config, elementRef, renderer) { super(config, elementRef, renderer); this._name = ''; t...
shdevops/JAF-Dice-Roller
node_modules/ionic-angular/es2015/components/icon/icon.js
JavaScript
gpl-3.0
3,146
var async = require('async'); var helpers = require('../../../helpers/google'); module.exports = { title: 'Connect Serial Ports Disabled', category: 'Compute', description: 'Ensures connecting to serial ports is not enabled for VM instances', more_info: 'The serial console does not allow restricting ...
cloudsploit/scans
plugins/google/compute/connectSerialPortsDisabled.js
JavaScript
gpl-3.0
3,474
import { inject as service } from '@ember/service'; import EmberObject, { get } from '@ember/object'; import AbstractEditRoute from 'hospitalrun/routes/abstract-edit-route'; import AddToPatientRoute from 'hospitalrun/mixins/add-to-patient-route'; import moment from 'moment'; import { t } from 'hospitalrun/macro'; expo...
HospitalRun/frontend
app/patients/operative-plan/route.js
JavaScript
gpl-3.0
1,613
var BaseElementView = require( 'elementor-views/base-element' ), WidgetView; WidgetView = BaseElementView.extend( { _templateType: null, getTemplate: function() { var editModel = this.getEditModel(); if ( 'remote' !== this.getTemplateType() ) { return Marionette.TemplateCache.get( '#tmpl-elementor-' + edit...
pedro-mendonca/elementor
assets/dev/js/editor/views/widget.js
JavaScript
gpl-3.0
3,258
/* @licstart The following is the entire license notice for the JavaScript code in this file. Copyright (C) 1997-2019 by Dimitri van Heesch This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundati...
cnr-isti-vclab/meshlab
src/external/xerces/doc/html/apiDocs-3/menudata.js
JavaScript
gpl-3.0
7,350
export default ["$stateProvider", "$urlRouterProvider", ($stateProvider, $urlRouterProvider) => { $urlRouterProvider.otherwise('/'); $stateProvider .state('index', { url: '/', controller: 'HomeCtrl', template: require('../modules/home/home.jade'), }); }];
schgressive/bachillerato-pwa
app/core/config/routes.js
JavaScript
gpl-3.0
287
import 'babel-polyfill' import { Log } from '@virtualpatterns/mablung' import Configuration from '../configuration' before(() => { Log.createFormattedLog(Configuration.tests.logPath) Log.debug('before (() => { ... })') }) require('./library/index') require('./www/index') after(() => { Log.debug('after(() => {...
virtualpatterns/nessa
source/tests/index.js
JavaScript
gpl-3.0
333
import Adapt from 'core/js/adapt'; export default class AudioNavigationView extends Backbone.View { tagName() { return 'button'; } className() { return 'btn-icon nav__btn nav__audio-btn js-nav-audio-btn'; } attributes() { return { 'aria-label': Adapt.course.get('_globals')._extensions._a...
deltanet/adapt-audio
js/audio-navigation-view.js
JavaScript
gpl-3.0
2,084
import React from 'react'; export default () => { return ( <div className="Footer"> <hr /> <p> Written by Andre Mueller in 2017 <a href="https://andremuellerdev.com" target="_blank" rel="noopener noreferrer" > My Portfolio </a> </p> ...
7022Andre/kitti
src/components/common/footer.js
JavaScript
gpl-3.0
339
/* Copyright © 2014 Rise Vision Incorporated. * Use of this software is governed by the GPLv3 license * (reproduced in the LICENSE file). */ /* global TEMPLATES */ /* jshint maxlen: 500 */ ;(function ($, window, document, TEMPLATES, undefined) { "use strict"; var _pluginName = "urlField"; function Plugin...
juggle21/sunsignage
web/bower_components/widget-settings-ui-components/src/url-field/url-field.js
JavaScript
gpl-3.0
2,955
var struct_micro_build_1_1_metadata_class = [ [ "Ptr", "struct_micro_build_1_1_metadata_class.html#acc33f0de7b205b7373625830af077413", null ], [ "BaseClasses", "struct_micro_build_1_1_metadata_class.html#a34b9f4488edbf831646786a2017766f3", null ], [ "bContainsGeneratedBodyTag", "struct_micro_build_1_1_metad...
TwinDrills/Ludo
Docs/html/struct_micro_build_1_1_metadata_class.js
JavaScript
gpl-3.0
1,585
// ==UserScript== // @name Pastebin Greentext // @namespace https://github.com/Sibusten // @include http://pastebin.com/* // @include https://pastebin.com/* // @require https://code.jquery.com/jquery-3.1.1.min.js // @version 1.1 // @grant none // ==/UserScript== $(document).ready(functio...
Sibusten/pastebin-greentext
pastebin-greentext.user.js
JavaScript
gpl-3.0
596
/* * Copyright 2016 Shaunak Kishore (kshaunak "at" gmail.com) * * This file is part of Inkstone. * * Inkstone 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 * ...
skishore/inkstone
client/templates/help/code.js
JavaScript
gpl-3.0
12,300
'use strict' let remote = (() => { // Ajax Request Constants const BASE_URL = 'https://baas.kinvey.com/'; const APP_KEY = 'kid_ryknRqwsM'; const APP_SECRET = '40a0f5111a3c4ff6be4a8d2d0bb40fd6'; function makeAuthentication(auth) { if (auth === 'basic') { return `Basic ${btoa(AP...
PlamenHP/Softuni
JS Apps/ContactBook/js/remote.js
JavaScript
gpl-3.0
1,779
/** * This file is part of CODESTRONG Mobile. * * CODESTRONG Mobile is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * CODESTR...
jarib/selenium-conf-app
Resources/windows/PresenterDetailWindow.js
JavaScript
gpl-3.0
8,165
'use strict'; import React, { StyleSheet } from 'react-native'; const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: '#F5FCFF', }, welcome: { fontSize: 20, textAlign: 'center', ...
mitrais-cdc-mobile/react-pocs
SampleProjectStructure/apps/modules/home/style_home.js
JavaScript
gpl-3.0
475
/* JSON-delta v2.0 - A diff/patch pair for JSON-serialized data structures. Copyright 2013-2015 Philip J. Roberts <himself@phil-roberts.name>. All rights reserved Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistri...
minoTour/minoTour
mT_web/minoTour/js/json_delta.js
JavaScript
gpl-3.0
17,064