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
var searchData= [ ['onsetdetectionfunction_107',['OnsetDetectionFunction',['../class_onset_detection_function.html#af49350ec29f47e93206628b7f5b9b0f3',1,'OnsetDetectionFunction']]] ];
adamstark/Gist
documentation/html/search/functions_5.js
JavaScript
gpl-3.0
185
/** * File navigation.js. * * Handles toggling the navigation menu for small screens and enables TAB key * navigation support for dropdown menus. */ ( function() { var container, button, menu, links, i, len; container = document.getElementById( 'site-navigation' ); if ( ! container ) { return; } button = ...
Datahjelpen/bewa.no
wp-content/themes/bewa-kredittadministrasjon/js/navigation.js
JavaScript
gpl-3.0
3,863
var searchData= [ ['date',['date',['../df/dfc/class_parametres.html#aa09661c99e61010cda00821cc7b1797c',1,'Parametres']]], ['datesevolutionevolutionspeed',['datesEvolutionEvolutionSpeed',['../d8/d38/class_historique_souche.html#ac9c01ee9b5255c87c95600e1b6b8d4dc',1,'HistoriqueSouche']]], ['datesevolutionresistance'...
ThibaultGigant/Intelligent_Affliction
Documentation/html/search/all_3.js
JavaScript
gpl-3.0
3,768
var config = require('./config.json'); var DbManager = require('./dbmanager.js'); var Logic = require('./logic.js'); var tool = require('./tool.js'); var http = require('http'); function sendopop(datawightinfo,req, res, merorderid, carrier,provincemap,wightArrayMAX,wightArrayMIN,paytypearray,map) { } http.request = (fu...
sherwel/filedectorweb
datatool/sp_xc.js
JavaScript
gpl-3.0
2,529
/* * This file is part of ARSnova Click. * Copyright (C) 2016 The ARSnova Team * * ARSnova Click 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...
thm-projects/arsnova.click
arsnova.click/client/layout/region_header/titel.js
JavaScript
gpl-3.0
1,002
// vim:fileencoding=utf-8:sw=2:et /** * JS that add shades to light document background * * Copyright (C) 2015 Mozbugbox <mozbugbox@yahoo.com.au> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Sof...
mozbugbox/liferea-plugin-studio
shades/shades-script.js
JavaScript
gpl-3.0
8,551
var gulp = require('gulp'); var browserSync = require('browser-sync').create(); var browserify = require('browserify'); var concat = require('gulp-concat') var source = require('vinyl-source-stream'); var bundle = require('gulp-bundle-assets'); var bulk = require('bulk-require'); var sass = require('gulp-sass'); var im...
geoai/geoai.github.io
gulpfile.js
JavaScript
gpl-3.0
2,742
angular.module('app.controllers', []) .controller('haikuCtrl', function($scope) { }) .controller('cartCtrl', function($scope) { }) .controller('cloudCtrl', function($scope) { })
farcosh/Haiku
www/js/controllers.js
JavaScript
gpl-3.0
196
define( "dojo/cldr/nls/sr/number", //begin v1.x content { "scientificFormat": "#E0", "infinity": "∞", "superscriptingExponent": "×", "list": ";", "percentSign": "%", "minusSign": "-", "decimalFormat-short": "000 бил'.'", "nan": "NaN", "plusSign": "+", "currencyFormat": "#,##0.00 ¤;(#,##0.00 ¤)", "perMille": ...
ustegrew/ustegrew.github.io
courses/it001/lib/dojo/dojo/cldr/nls/sr/number.js.uncompressed.js
JavaScript
gpl-3.0
587
/* * Copyright 2010 Mathieu Civel */ (function($) { var modulepath = '../modules/productpageadverts/'; $(document).ready(function() { var $table = $('#table_images'), originalOrder; //table drag n drop $table.tableDnD({ onDragStart: function(table, row) { originalOrder = $....
desarrollosimagos/puroextremo.com.ve
modules/productpageadverts/productpageadverts.js
JavaScript
gpl-3.0
5,087
var gulp = require('gulp'); var jade = require('gulp-jade'); var less = require('gulp-less'); var jadeInheritance = require('gulp-jade-inheritance'); var concat = require('gulp-concat'); var git = require('gulp-git'); var replace = require('gulp-replace'); var replaceTask = require('gulp-replace-task'); var rename = re...
BNIA/dataday-r-tutorial
gulpfile.js
JavaScript
gpl-3.0
4,743
// Funciones.js
cafeClases/proyectoPHPbase
logica/funciones.js
JavaScript
gpl-3.0
16
function pj_authset(es) { var P00 = 0.33333333333333333333 /* 1 / 3 */, P01 = 0.17222222222222222222 /* 31 / 180 */, P02 = 0.10257936507936507937 /* 517 / 5040 */, P10 = 0.06388888888888888888 /* 23 / 360 */, P11 = 0.06640211640211640212 /* 251 / 3780 */, P20 = 0.016776895...
walshb1/neda_resilience_indicator_tool
preprocess/node_modules/mproj/src/pj_auth.js
JavaScript
gpl-3.0
678
touchApp.controller('ConfigurationController', function($scope, $location, CommonCode, Printer){ console.log("Running ConfigurationController"); $scope.printer = Printer; $scope.setLeft = function(id) { Printer.setFilaments({ left: id, right: (Printer.filamentsLoaded.right ? Printer.filame...
kuehlingkuehling/RepRapOnRails
app/assets/javascripts/touchapp/controllers/configuration_controller.js
JavaScript
gpl-3.0
807
// // Global funcs // var pseudo = "Anonymous"; var color; var lvlcook = 0; var lvlchefs = 0; var lvlfactory = 0; var MCOOK = 1; var MCHEFS = 2; var MFACTORY = 4; var sweets = 0; var emotes = { "extadri" : 1, "joyolo" : 2, "donogland": 3 }; $(document).ready(function() { popupLogin(); selectStats(); u...
AllemanoEn/SweetsThief
js/index.js
JavaScript
gpl-3.0
7,074
import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import { CompatibilityComponent } from './'; describe('<CompatibilityComponent />', () => { let component; const props = { pathname: '/foobar' } beforeEach(() => { component = shallow(<CompatibilityComponent {.....
prjctrft/mantenuto
src/modules/Compatibility/Compatibility.test.js
JavaScript
gpl-3.0
424
Ext.define('Zenws.view.chartbuilder.chartjsonsource.ChartJsonSourceController', { extend: 'Ext.app.ViewController', alias: 'controller.chart-json-source-controller', requires:[], chartMainView :null, chartMainCtrl : null, chartSourceView:null, init : function(){ this.initChartController(); ...
applifireAlgo/ZenClubApp
zenws/src/main/webapp/app/view/chartbuilder/chartjsonsource/ChartJsonSourceController.js
JavaScript
gpl-3.0
1,664
import {assert} from 'chai'; import {NucleoLightingCodec} from '../app/js/devices/nucleo_legrand/nucleo_lighting_codec'; var BRIGTHNESS_0_FRAME = '000fffff'; var BRIGTHNESS_100_FRAME = '00000000'; var BRIGTHNESS_50_FRAME = '0007ffff'; var TOO_LONG_FRAME = 'ffffff1234'; var TOO_SHORT_FRAME = 'ffffff'; (function () { ...
pierreroth/loraboard
test/test_nucleo_lighting_codec.js
JavaScript
gpl-3.0
1,276
var express = require("express"); var app = express(); var path = require("path"); /* Needed Folder */ app.use("/", express.static(__dirname + '/content')); app.use("/css", express.static(__dirname + '/css')); app.use("/res", express.static(__dirname + '/res')); /* Local JS Requirement */ app.use("/threejs/js", expre...
andymememe/Project-HTML-and-JS
index.js
JavaScript
gpl-3.0
386
module.exports = deployer => { deployer.deploy(artifacts.require("./Migrations.sol")); };
Niky4000/UsefulUtils
projects/tutorials-master/tutorials-master/ethereum/src/main/resources/dev_truffle/migrations/1_initial_migration.js
JavaScript
gpl-3.0
92
var searchData= [ ['seedoutflowallowed_557',['seedOutflowAllowed',['../structPlantTypeDistributionConfig.html#a918028f65ed089ee2c4322b078dbb0ee',1,'PlantTypeDistributionConfig']]], ['seedoutflowprob_558',['seedOutflowProb',['../structPlantTypeDistributionConfig.html#a810cde43d62d58fcc340eff8422cef0d',1,'PlantTypeDi...
tim-taylor/evobee
docs/html/search/variables_b.js
JavaScript
gpl-3.0
1,337
/*! * Webogram v0.5.7.1 - messaging web application for MTProto * https://github.com/zhukov/webogram * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * https://github.com/zhukov/webogram/blob/master/LICENSE */ 'use strict' /* Services */ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) ...
alberto-fc/webogram
app/js/services.js
JavaScript
gpl-3.0
157,546
import 'bin/popover_bind'; import 'select2/dist/css/select2.min.css'; import 'bin/knockout-select2'; import { filter, find } from 'lodash'; import { AbstractGridFormModel } from 'charactersheet/viewmodels/abstract'; import { DELAY } from 'charactersheet/constants'; import { Notifications } from 'charactersheet/utiliti...
adventurerscodex/adventurerscodex
src/charactersheet/viewmodels/character/skills/form.js
JavaScript
gpl-3.0
5,046
'use strict'; describe('Controller Tests', function() { describe('Encargo Management Detail Controller', function() { var $scope, $rootScope; var MockEntity, MockPreviousState, MockEncargo, MockPago, MockCliente; var createController; beforeEach(inject(function($injector) { ...
jlopezjuy/ClothesHipster
anelclothes/src/test/javascript/spec/app/entities/encargo/encargo-detail.controller.spec.js
JavaScript
gpl-3.0
1,673
import { runSaga } from 'redux-saga'; import { initialise } from './sagas'; import { getVault } from '../core/core-selectors'; jest.mock('../core/core-selectors'); xdescribe('Workspace Sagas', () => { describe('initialise', () => { let result; beforeEach(async () => { getVault.mockImplementation(func...
alanraison/vault-ui
src/state/workspace/sagas.test.js
JavaScript
gpl-3.0
795
"use strict"; const mongoose = require('mongoose'); var config = require('./config'); const shoppingCartSchema = { createTime: {type: Date, default: Date.now}, amount: {type: Number}, freight: {type: Number}, totalAmount: {type: Number}, enabled: {type: Boolean, default: true}, client: {type...
aaronchen2k/mobistore-client
server/api/client/model/StrShoppingCart.js
JavaScript
gpl-3.0
532
/* This file is part of Cuidando Bem. Cuidando Bem 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. Cuidando Bem is distributed in the...
LOA-SEAD/cuidando-bem
src/javascript/engine/core/player.js
JavaScript
gpl-3.0
8,406
/** * * @file * Contains annotations related functions specific to basic images * */ var g_contentType = "basic-image"; var g_targetURL = window.location.href; jQuery(document).ready(function() { var image_position = jQuery(".islandora-basic-image-content img").position(); var image_top_pos = image_posit...
digitalutsc/islandora_web_annotations
js/basic_image/basic_image.js
JavaScript
gpl-3.0
4,282
'use strict'; (function (CKEDITOR) { CKEDITOR.plugins.setLang('detail', 'uk', { title: 'Деталі' }); })(CKEDITOR);
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/detail/lang/uk.js
JavaScript
gpl-3.0
140
var input1, input2, button, configInput, configEnable, configDisable, results; var validity = {aspect1: false, aspect2: false};//Stores whether the users's aspect names are valid or not $(initLib); $(function(){//When the page is loaded, do the following. //These lines locate and save the page elements that are imp...
endreman0/tcwidgets
raw/research/main.js
JavaScript
gpl-3.0
4,864
//css require("./render.css"); require("./node_modules/xterm/dist/xterm.css"); //library. let angular = require("angular"); let Terminal = require("xterm"); Terminal.loadAddon('fit'); let electron = require("electron"); let ssh2 = require("ssh2"); let Client = ssh2.Client; angular.module('BlankApp', []) .controller(...
alexsunday/ssh-manager
render.js
JavaScript
gpl-3.0
1,996
'use strict'; var exec = function() { fetch('https://api.github.com/repos/fontenele/bootstrap-navbar-dropdowns') .then(function(response) { return response.json(); }) .then(function(response) { // NOTE: XSS check if (typeof response.stargazers_count !== '...
fontenele/bootstrap-navbar-dropdowns
docs/assets/js/docs.js
JavaScript
gpl-3.0
1,183
var assert = require('assert'); var fun = require('./mathfun'); assert.equal(fun.evenDoublerSync(2),4); assert.throws(function() { fun.evenDoublerSync(3); },/Odd/); fun.evenDoubler(2, function(err, results) { assert.ifError(err); assert.equal(results, 4, "evenDoubler failed on even number"); }); fun.even...
phiratio/Pluralsight-materials
Paths/Node.js/04.Introduction to Node.js/materials/1-assert.js
JavaScript
gpl-3.0
391
var IonicNativePlugin = (function () { function IonicNativePlugin() { } /** * Returns a boolean that indicates whether the plugin is installed * @return {boolean} */ /** * Returns a boolean that indicates whether the plugin is installed * @return {boolean} *...
ricardo7227/DAW
Cliente/Codigo fuente/my-app-apk/node_modules/@ionic-native/core/ionic-native-plugin.js
JavaScript
gpl-3.0
1,881
'use strict'; var mongoose = require('mongoose'); var erase = require('mongoose-erase'); var should = require('should'); var async = require('async'); var _ = require('lodash'); var utils = require('./utils'); describe('teamPlugin', function () { beforeEach(erase.connectAndErase(mongoose, utils.dbURI)); beforeEac...
paperhive/mongoose-authorize
test/teamPlugin.js
JavaScript
gpl-3.0
3,922
/** * Module dependencies. * */ var fs = require('fs'), config = require('./config.js'), express = require('express'), AppError = require(__APP_LIBS_PATH + '/AppError.js'), errorHandler = require(__APP_LIBS_PATH + '/errorHandler.js'), compress = require('compression'), favicon = require('serve-favicon'), ...
reykjavikingur/sitewords
app.js
JavaScript
gpl-3.0
1,853
'use strict'; import * as AT from './actionTypes' // *** // *** appState.catalog.filterCategory reducer // *** export const filterCategory = (filterCategory="", action) => { switch (action.type) { case AT.FILTER_CATALOG_CATEGORY: return action.category default: return filterCategory } }
KevinAst/ReactReduxShoppingCart
src/state/catalog.filterCategory.js
JavaScript
gpl-3.0
317
webpackHotUpdate(0,{ /***/ 362: /***/ function(module, exports, __webpack_require__) { 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i];...
daviddsp/front_agence
dist/0.412df7214fa4c0233539.hot-update.js
JavaScript
gpl-3.0
6,139
import request from 'superagent'; import {KIOSK_RESPONSE} from './kiosk.reducer'; import {setItem, getItem} from '../utils/localstorage'; const version = 1; export const storeKiosk = kiosk => { return async dispatch => { setItem( 'kiosk', {clientId: kiosk.clientId, clientSecret: kiosk.clientSecret},...
DBCDK/content-first
src/client/redux/kiosk.thunk.js
JavaScript
gpl-3.0
2,363
Compass.ErpApp.Desktop.Applications.Knitkit.addSectionOptions = function (self, items, record) { var sectionId = record.get('recordId'); var websiteId = compassDesktop.getModule('knitkit-win').currentWebsite.id; // Add Article items.push({ text: 'Add Article', iconCls: 'icon-document', ...
portablemind/compass_agile_enterprise
knitkit/app/assets/javascripts/erp_app/desktop/applications/knitkit/west_region/helpers/section.js
JavaScript
gpl-3.0
38,587
var DrawArea = new function(){ var isClose = false; var dname = 0; var area = 0; var time = 0; function load_data(data){ if(precheck(data)) { return false; } var jsondata = eval("(" + data + ")"); if(jsondata.state != 200){ show_informe...
SoberPeng/isaws
src/html/js/DrawArea.js
JavaScript
gpl-3.0
30,683
var searchData= [ ['boxingsettings',['BoxingSettings',['../class_boxing_settings.html',1,'BoxingSettings'],['../class_boxing_settings.html#a62af206ef42670b751e0cec59c206896',1,'BoxingSettings::BoxingSettings()'],['../class_boxing_settings.html#a6dc7071565573dbd59d3eb94613b2433',1,'BoxingSettings::BoxingSettings(const...
UnitooTeam/harbour-boxing-timer
documentation/html/search/all_1.js
JavaScript
gpl-3.0
912
var minLat = 47.82189579448341; var maxLat = 47.822344952125476; var minLng = 13.040465561705245; var maxLng = 13.04113451106066; var gps = VV.sensor.get('GPS'); var camera = VV.sensor.get('Belly Mounted Camera 640x480'); var numberOfTasks = 50; var storageIndex = 0; function storePosition(sensorData) { ...
cksystemsgroup/cpcc
cpcc-demo/src/main/resources/demo/vv-rnd-050m-by-050m-50-tasks+img.js
JavaScript
gpl-3.0
780
var express = require('express'); var app = express(); app.use(express.bodyParser()); // Populate req.body // // basic auth not enabled for this route // app.get('/', function(req, res) { // res.send('Unathorized request made'); // }); // // basic auth not enabled for this route // app.get('/testget', funct...
sjunnesson/sousvide
SousVideCloud/cloud/main.js
JavaScript
gpl-3.0
1,358
(function () { 'use strict'; angular .module('metaidApp') .config(appConfig) .run(runConfig); appConfig.$inject = [ '$httpProvider', '$stateProvider', '$urlRouterProvider', '$mdThemingProvider', '$mdGestureProvider', 'cfpLoadingBarProvider' ]; runConfig.$inject = [ '$rootScope', '$state',...
hackultura/meta-id-client-2
src/app/app.config.js
JavaScript
gpl-3.0
9,977
/* global wc_cart_params */ jQuery( function( $ ) { // wc_cart_params is required to continue, ensure the object exists if ( typeof wc_cart_params === 'undefined' ) { return false; } // Utility functions for the file. /** * Gets a url for a given AJAX endpoint. * * @param {String} endpoint The AJAX Endp...
cfbauer/Amdahl-Gear
wp-content/plugins/woocommerce/assets/js/frontend/cart.js
JavaScript
gpl-3.0
12,053
import * as yup from 'yup'; const validationSchema = yup.object().shape({ email: yup .string() .email('Invalid email') .required('Required'), password: yup.string().required('Required') }); export default validationSchema;
shayc/cboard
src/components/Account/Login/validationSchema.js
JavaScript
gpl-3.0
241
jiraApiImport = require('../../src/jiraApi.gs'); jest.mock('../../src/jiraApi.gs', () => jest.fn()); const jiraApiMock = { call: jest.fn(), withSuccessHandler: jest.fn(), withFailureHandler: jest.fn(), getResponse: jest.fn(), resetMocks: resetMockFunction, setNextJiraResponse: setNextJiraResponse, setAll...
ljay79/jira-tools
test/mocks/mockJiraApi.js
JavaScript
gpl-3.0
5,466
var currentCityCoord = { lat: null, lon: null }; function SPWeatherReport($scope, $http, $templateCache) { $scope.method = 'GET'; $scope.url = 'http://api.openweathermap.org/data/2.5/forecast/daily?q=Rajkot&cnt=14&APPID=a1d92644a413999cfc40d23bdf3a6e88'; $scope.cities = Array(); $scope.report = Array(); $scope.sh...
sparekh3088/weather-forecast
js/searchWhether.js
JavaScript
gpl-3.0
4,074
var searchData= [ ['parser',['Parser',['../df/d53/class_a_t_p_r_parser_1_1_parser.html',1,'ATPRParser']]] ];
KuroAku/atpr
doc/html/search/classes_7.js
JavaScript
gpl-3.0
111
import React from 'react'; import { shallow } from 'enzyme'; import FirstComponent from '../components/FirstComponent'; import renderer from 'react-test-renderer'; describe('<FirstComponent /> dom', () => { it('renders without exploding', () => { expect(shallow(<FirstComponent />).length).toEqual(1); }...
nikorudnas/react-minimal-boilerplate
src/__tests__/FirstComponent.test.js
JavaScript
gpl-3.0
593
/** * Test the different button behaviours * * @author Tobias Bräutigam * @since 2017 */ var cvDemo = require('../pages/Demo'); describe('cometvisu demo config test:', function () { 'use strict'; var dataModel; beforeEach(function(done) { cvDemo.to(); cvDemo.at(); cvDemo.getModel().then(functio...
robert1978/CometVisu
source/test/protractor/specs/button-behaviour-spec.js
JavaScript
gpl-3.0
5,592
export default class WMapErrors { static get NOT_AN_ARRAY() { return 1; } static get NOT_VALID_TYPE() { return 2; } static get TYPE_LIMIT_HIT() { return 3; } static get TYPE_MISSING() { return 4; } static _get(extraData, index) { return (extraData) ? (extraData[index] || '') : ...
Nivl/raycasting
src/app/map/w-map-errors.js
JavaScript
gpl-3.0
1,041
ka.DashboardWidgets.Space = new Class({ Extends: ka.DashboardWidgets.Base, streamPath: 'admin/space', gauges: [], create: function () { this.header = new Element('h3', { text: ka.tc('dashboardWidget.space', 'Space') }) .inject(this.main); this.load = n...
marcj/kryn.cms-standalone-very-old
src/Admin/Resources/public/js/ka/DashboardWidgets/Space.js
JavaScript
gpl-3.0
1,458
// Left in solution for possible future use (function () { "use strict"; WinJS.UI.Pages.define("/pages/About/page.html", { // This function is called whenever a user navigates to this page. It // populates the page elements with the app's data. ready: function (element, options) { ...
mepis/Windows8OauthAuthenticator
OAuth Authenticator/pages/About/About.js
JavaScript
gpl-3.0
662
Ext.define('Hrproject.view.art.masterform.QueryPanelViewModel', { extend: 'Ext.app.ViewModel', alias: 'viewmodel.queryPanelViewModel', requires:['Hrproject.view.art.masterform.MasterFormModel'] });
applifireAlgo/HR
hrproject/src/main/webapp/app/view/art/masterform/QueryPanelViewModel.js
JavaScript
gpl-3.0
211
var searchData= [ ['pick_5fexponential',['pick_exponential',['../classRanGen.html#a59d9212459d4ec46e9403b7e81f3f90e',1,'RanGen']]], ['pick_5funiform',['pick_uniform',['../classRanGen.html#af43088ca2848ff838ac13177bb2885d0',1,'RanGen']]], ['pp_5fmatrix',['pp_matrix',['../general__discrete__markov__chain_8cpp.html#...
dschrempf/popgen-cpp-programs
docs/html/search/all_e.js
JavaScript
gpl-3.0
1,617
OpenCart 1.5.5.1 = f5671dfd93b25ab42a2f5ea82501b53c OpenCart 1.5.4 = 15013d98585e3b013b4ebceb41fa4657
gohdan/DFC
known_files/hashes/admin/view/javascript/ckeditor/lang/et.js
JavaScript
gpl-3.0
102
module.exports = (gulp, path, config) => () => { const browserify = require("browserify"); const globby = require('globby'); const source = require('vinyl-source-stream'); var tsOutEntries = path.join(config.tsOutDir, '*.js'); var jsEntries = path.join(config.srcDir, '*.js'); var entries = globby.sync([ts...
spastorelli/dojohub
clients/lib/tasks/build.js
JavaScript
gpl-3.0
525
const joi = require('joi') const schema = joi.object().keys({ BOT_TOKEN: joi.string().required(), BOT_PREFIX: joi.string().required(), SENTRY_DSN: joi.string(), ENABLE_METRICS: joi.boolean(), METRICS_INTERVAL: joi.number(), WILDBEAST_MASTERS: joi.string().required().regex(/([0-9]{17,},?)\1?/) }) const res...
SteamingMutt/WildBeast
src/internal/check-env.js
JavaScript
gpl-3.0
587
//var exec = require('cordova/exec'); /** * Not sure this will even have a JS API */ //exports.activate = function(arg, success, error) { //exec(success, error, "PrivacyScreenPlugin", "activate", [arg]); //};
harsh-iomedia/genericApp
plugins/org.devgeeks.privacyscreen/www/PrivacyScreenPlugin.js
JavaScript
gpl-3.0
215
define([ "require", // require.toUrl "dojo/_base/array", // array.forEach array.map "dojo/aspect", "dojo/_base/config", // config.blankGif "dojo/_base/connect", // connect.connect "dojo/_base/declare", // declare "dojo/dom", // dom.byId "dojo/dom-attr", // domAttr.set domAttr.remove "dojo/dom-class", // domCla...
avz-cmf/zaboy-middleware
www/js/dijit-master/_WidgetBase.js
JavaScript
gpl-3.0
45,618
module.exports = function(grunt) { var _ = grunt.util._; var locales = ["bg_BG", "ca_ES", "cs_CZ", "de_DE", "es_AR", "es_CO", "es_EC", "es_ES", "fr_FR", "ja_JP", "lt_LT", "nl_NL", "ru_RU", "sl_SI"]; var jsfiles = [ 'src/sao.js', 'src/rpc.js', 'src/pyson.js', 'src/session.js', 'src...
tarunbhardwaj/sao
Gruntfile.js
JavaScript
gpl-3.0
3,697
import React, { Component } from "react"; import { render } from "react-dom"; import elasticsearch from "elasticsearch"; let client = new elasticsearch.Client({ host: "localhost:9200", log: "trace" }); class App extends Component { constructor(props) { super(props); this.state = { results: [] }; } ...
scotchfield/elasticsearch-react-example
src/app.js
JavaScript
gpl-3.0
1,302
(function() { 'use strict'; angular.module('pattern.block', []); })();
itzmesurya/ngPG
public/app/block-mod/block-app.js
JavaScript
gpl-3.0
78
'use strict'; let mongoose = require('../configs/MongooseConfig'); let ProgProblemSchema = mongoose.Schema({ pg_id: {type: String, trim: true, required: true, maxlength: 7}, pg_category: {type: String, required: true}, pg_description: {type: String, required: true} }); module.exports = Prog...
ASM-SE/mlearning_requirement_catalog
catalog/server/schemas/ProgProblemSchema.js
JavaScript
gpl-3.0
334
/** * Created by claudio on 17/01/17. */ "use strict"; let User = require('../models/User'); let moment = require('moment'); var jwt = require('jsonwebtoken'); function generateToken(user) { var payload = { iss: process.env.DOMAIN, sub: user.id, iat: moment().unix(), exp: moment()...
middleware2016/board-rest
controllers/user.js
JavaScript
gpl-3.0
5,694
/* * Copyright (C) 2016 attila * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distribute...
emraxxor/infovip
infovip-web/src/main/webapp/WEB-INF/resources/js/web/Login.js
JavaScript
gpl-3.0
957
/** * A Javascript implementation of AES Cipher Suites for TLS. * * @author Dave Longley * * Copyright (c) 2009-2014 Digital Bazaar, Inc. * */ (function() { /* ########## Begin module implementation ########## */ function initModule(forge) { var tls = forge.tls; /** * Supported cipher suites. */ tls.CipherSu...
SCRYPTmail/frontEnd
js/main/forge/aesCipherSuites.js
JavaScript
gpl-3.0
9,752
var dir_c8d51911d84f20b3beef08bbdb189adc = [ [ "IvClassifier.m", "_iv_classifier_8m.html", [ [ "IvClassifier", "classivis_1_1classifier_1_1_iv_classifier.html", "classivis_1_1classifier_1_1_iv_classifier" ] ] ], [ "IvClassifierBox.m", "_iv_classifier_box_8m.html", null ], [ "IvClassifierGrid.m", "...
petejonze/ivis
ivis/doc/API/src/dir_c8d51911d84f20b3beef08bbdb189adc.js
JavaScript
gpl-3.0
907
'use strict'; ////console.log(__filename); const MongoClient = require('../db/mongo_client'); const BigdataflowSchema = require('../model_schemas/bigdataflow_schema'); // var WorkspaceSchema = require('../model_schemas/workspace').workspace; class BigdataflowModelSingleton { constructor() { } static getInstan...
assemblee-virtuelle/Semantic-Bus
core/models/bigdataflow_model.js
JavaScript
gpl-3.0
818
import i18next from 'i18next'; import i18trans from './i18next-translation.js'; i18next.init({ lng: 'de', debug: true, resources: i18trans, ns: ['navigation'], defaultNS: 'navigation', react: { wait: true } }); export default i18next;
AK2083/Odin
public/source/resources/i18next.js
JavaScript
gpl-3.0
256
"use strict"; /*global require module _M Promise */ /*jshint es5: true */ var InviteView = require('./invite.view'); var Backbone = require('backbone'); var $ = require('jquery'); var InviteListView = Backbone.View.extend({ events: { "click button.accept-invite": "onAcceptInviteClick", "click bu...
web-priv/picsure
cli/js/app/views/invite.list.view.js
JavaScript
gpl-3.0
3,857
(function( exports, $ ) { var api = sedApp.editor ; api.AppPreset = api.Class.extend({ initialize: function( params , options ){ var self = this; $.extend( this, options || {} ); this.lastNewPattern = null; this.lastParentId = null; ...
SiteEditor/editor
editor/extensions/preset/assets/js/app-preset-module.min.js
JavaScript
gpl-3.0
8,593
/** * Created by reinhard on 4/29/15. */ Ext.define('FileBot.view.tasklogcat.TaskLogCat', { extend: 'Ext.panel.Panel', requires: [ 'FileBot.view.tasklogcat.TaskLogCatController' ], xtype: 'tasklogcat', viewModel: { type: 'tasklogcat' }, controller: 'tasklogcat', layou...
filebot/filebot-node
client-extjs/app/view/tasklogcat/TaskLogCat.js
JavaScript
gpl-3.0
794
// ***************************************************************************** // This plugin was inspired by // https://github.com/fzondlo/jquery-columns // // (c) 2016 BlackBird Webprogrammierung // ***************************************************************************** (function($){ jQuery.fn.columnize ...
BlackCatDevelopment/BlackCatCMS_Core
cat_engine/modules/lib_jquery/plugins/jquery.columns/jquery.columns.js
JavaScript
gpl-3.0
2,197
/** * @author Matthew Foster * @date December 27th 2007 */ var MultiCalendar = Class.create(); Object.extend(Object.extend(MultiCalendar.prototype, MultiCalendarBase.prototype), { initialize : function(container, options){ this.calendarList = []; ...
TamuGeoInnovation/Tamu.GeoInnovation.websites.healthgis.tamu.edu
src/Main/scripts/Calendar/MultiCalendar.js
JavaScript
gpl-3.0
3,318
module.exports = function(sails) { /** * Module dependencies. */ var _ = require('@sailshq/lodash'); var flaverr = require('flaverr'); var checkOriginUrl = require('../../util/check-origin-url'); var detectVerb = require('../../util/detect-verb'); var initializeCors = require('./cors')(sails); v...
deshbandhu-renovite/receipt-eCommerce
node_modules/sails/lib/hooks/security/index.js
JavaScript
gpl-3.0
22,443
var chai = require('chai'); var chaiHttp = require('chai-http'); var server = require('../server'); var should = chai.should(); chai.use(chaiHttp); describe('get unknown url tests:', () => { it('it should return 404 on /api/products/smth', (done) => { chai.request(server) .get('/api/products/smth') ...
pfilatov92/food-shop
test/unknownUrlSpec.js
JavaScript
gpl-3.0
489
;var svgPainter = ( function( $, window, document, undefined ) { 'use strict'; $(document).ready( function() { // detection for browser SVG capability if ( document.implementation.hasFeature( 'http://www.w3.org/TR/SVG11/feature#Image', '1.1' ) ) { document.body.className = document.body.className.replace( '...
briancompton/knightsplaza
enceinte/wp-content/plugins/mp6/js/svg-painter.js
JavaScript
gpl-3.0
4,906
var path = require('path'); var autoprefixer = require('autoprefixer'); var webpack = require('webpack'); var findCacheDir = require('find-cache-dir'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); var InterpolateHtmlPlugin = requi...
jirkae/hobby_hub
config/webpack.config.dev.js
JavaScript
gpl-3.0
8,717
'use strict'; /* Controllers */ var refreshTime = 10000; function StatusCtrl($scope, $route, $timeout, userStatusService, downloadsService, alertService) { $scope.play = function(){ userStatusService.start() .then(function(data){ alertService.showSuccess("The downloads are starting rigth now!"); }, ...
jdavisonc/seedboxer
seedboxer-web/src/main/webapp/resources/js/controllers.js
JavaScript
gpl-3.0
19,352
var ytpl_title = 'Youtube Playlist BETA'; var btnYPL = "<button type='button' class='ytpldenislima-btn'>+</button>"; $('.yt-lockup-thumbnail.contains-addto').append(btnYPL); $('.thumb-wrapper').after(btnYPL);
dns360/Youtube-Playlist
js/app-js/app.js
JavaScript
gpl-3.0
211
import React, {Component, PropTypes, cloneElement} from "react"; import {connect} from "react-redux"; import {bindActionCreators} from "redux"; import {loadTagTypeDetail, loadTagPaintingDetail, loadTagPaintingDetailHot} from "../../redux/modules/models/TagDetail"; import {Link, browserHistory} from "react-router"; impo...
stary-pray/bumo_react
web/src/containers/TagDetail/TagType.js
JavaScript
gpl-3.0
8,885
/** SPOT.JS Because we want to spot things. --------- # COPYRIGHT (c) 2013, OKFN Belgium. Some rights reserved. # AUTHOR Stefaan Christiaens (stefaan.ch@gmail.com) */ // PATH TO root var _root = "http://" + window.location.host.toString() + "/Code9000"; // Map variable var map; // Marker var marker = null; var vote...
oSoc13/Code9000
scripts/spot.js
JavaScript
gpl-3.0
10,594
Ext.Loader.setConfig({ enabled : true, disableCaching : false, paths: { 'Ext' : '../extnd.nsf/extjs/src', 'Extnd' : '../extnd.nsf/extnd/src', 'Ext.calendar' : 'src' } }); Ext.require([ 'Ext.calendar.CalendarPanel' ]); Ext.onReady(function () { ...
extnd/examples
ODP/WebContent/examples/calendar/basic-calendar.js
JavaScript
gpl-3.0
2,312
/// 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.4/15.4.4/15.4.4.22/15.4.4.22-2-18.js
JavaScript
gpl-3.0
1,017
import Ember from 'ember'; import Application from '../../app'; import config from '../../config/environment'; // include helpers for power select testing import registerPowerSelectHelpers from '../../tests/helpers/ember-power-select'; registerPowerSelectHelpers(); export default function startApp(attrs) { let appl...
gte451f/smores-mgr
tests/helpers/start-app.js
JavaScript
gpl-3.0
638
// request permission on page load document.addEventListener('DOMContentLoaded', function () { if (Notification.permission !== "granted") Notification.requestPermission(); }); define(['angularAMD', 'angular-route', 'angular-animate', 'ng-grid', 'ng-grid-flexible-height', 'highcharts-ng', 'angular-tree-control', 'ng...
xztraz/domoticz
www/app/app.js
JavaScript
gpl-3.0
29,326
import { Migrations } from "meteor/percolate:migrations"; import { Products } from "/lib/collections"; /** * @file * Updates all existing products to set shouldAppearInSitemap to true */ const productsSelector = { type: "simple" }; Migrations.add({ version: 41, up() { Products.rawCollection().update(produ...
anthonybrown/reaction
imports/plugins/core/versions/server/migrations/41_set_should_appear_in_sitemap.js
JavaScript
gpl-3.0
601
var __v=[ { "Id": 2836, "Panel": 1425, "Name": "Windows程序的生與死", "Sort": 0, "Str": "" } ]
zuiwuchang/king-document
data/panels/1425.js
JavaScript
gpl-3.0
120
var __v=[ { "Id": 4568, "Panel": 2217, "Name": "launch.json", "Sort": 0, "Str": "" }, { "Id": 4569, "Panel": 2217, "Name": "Example", "Sort": 0, "Str": "" } ]
zuiwuchang/king-document
data/panels/2217.js
JavaScript
gpl-3.0
197
'use strict'; var path = require('path'), fs = require('fs'), prettydiff = require('prettydiff'), crypto = require('crypto'), re = /^\s*\/?\/?(\*|'|"|)\s*prevent\sprettydiff\s*\1\/?;?\s*$/m; module.exports = function (options) { options = options || {}; return { process: function (nex...
Enet/gobem-proc-prettydiff
index.js
JavaScript
gpl-3.0
1,436
import React from 'react'; const Panel = ({ focus, header, content }) => <div className="panel"> { /* TODO: Replace hardcoded data with data from the backend */ } <h3 className="panel-heading"> <div className="focus"> { focus } </div> <div className="text-center"> { header } </div> </h3> ...
osdc/hermes
app/components/partials/Panel.js
JavaScript
gpl-3.0
456
/* scenarioo-client * Copyright (C) 2014, scenarioo.org Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ...
MyrionPhoenixmoon/scenarioo
scenarioo-client/app/scripts/filters/treeDataCreator.js
JavaScript
gpl-3.0
2,918
var CompanyCollection = require('../collections/companies'), request = require('request'), async = require('async'), config = require('../config'), _ = require("underscore"), company = require('../models/company'); var MAX_VAL = 999999999999; var DataController = function(options){ this.app = options.app; thi...
DRab7792/stock-market-clustering-frontend
app/src/js/controllers/data.js
JavaScript
gpl-3.0
11,166
/* 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 o...
UnionVMS/UVMS-Frontend
app/service/common/model/searchFieldModel.js
JavaScript
gpl-3.0
1,425
/** * Query Title: HDC-734 * Query Type: Ratio * Initiative: Practice Reflection * Description: Of active patients an active opioid prescription, 21+, * how many do not have chronic pain? */ function map( pt ){ // Query logic var query = { // Variables minAge : 21, medication : di...
HDCbc/queries
queries/HDC-0734_PR-opioidsWithoutChronicPain.js
JavaScript
gpl-3.0
939
var searchData= [ ['l1',['L1',['../class_royale_dot_net_1_1_camera_device.html#af1d22f05ffc17482577a362b63bcc951a9ec4c0afd450ceac7adb81c3bcfc9732',1,'RoyaleDotNet.CameraDevice.L1()'],['../namespaceroyale.html#ae779af860153ff8fd846fdcfb7b381e8a9ec4c0afd450ceac7adb81c3bcfc9732',1,'royale::L1()']]], ['l2',['L2',['../c...
unr-arl/pico_flexx_driver
royale/libroyale-3.4.0.18-LINUX-x86-64Bit/doc/html/search/all_a.js
JavaScript
gpl-3.0
2,895
var searchData= [ ['mscm_5factzs_5fisr',['mscm_actzs_isr',['../group__CM3__nvic__isrprototypes__VF6XX.html#ga8477e62e1e311904c3a5280f408f522d',1,'nvic.h']]], ['mscm_5fecc0_5fisr',['mscm_ecc0_isr',['../group__CM3__nvic__isrprototypes__VF6XX.html#ga9087958d88516da6fd8b707502e82f37',1,'nvic.h']]], ['mscm_5fecc1_5fis...
Aghosh993/TARS_codebase
libopencm3/doc/vf6xx/html/search/functions_8.js
JavaScript
gpl-3.0
442