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= [ ['graphtreebuilder',['graphTreeBuilder',['../classgraphTreeBuilder.html',1,'']]] ];
dmordom/hClustering
doc/html/search/classes_67.js
JavaScript
gpl-2.0
104
'use strict'; // Development specific configuration // ================================== module.exports = { // MongoDB connection options mongo: { uri: process.env.MONGODB_DB_URL || 'mongodb://localhost/thepotterystore-dev' }, sequelize: { uri: 'sqlite://', options: { logging:...
jotismoore/thepotterystore
server/config/environment/development.js
JavaScript
gpl-2.0
437
/** * realm1.js * Realm Database Example * @flow */ import React, {Component} from 'react'; import { AppRegistry, StyleSheet, Text, View, AsyncStorage, TextInput, TouchableOpacity, Picker } from 'react-native'; import Realm from 'realm'; var realm; export default class l11_storage extends Component ...
kobkrit/learn-react-native
l11_storage/realm3.js
JavaScript
gpl-3.0
3,440
/* * Copyright (C) Pootle contributors. * Copyright (C) Zing contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'rea...
evernote/zing
pootle/static/js/auth/components/RequestPasswordResetForm.js
JavaScript
gpl-3.0
3,289
/************************************************************************ * 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...
IgorGulyaev/iteamzen
client/src/views/record/panels/side.js
JavaScript
gpl-3.0
7,832
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { dist: { options: { style: 'expanded', trace: true }, files: { 'grails-app/as...
manufarfaro/musichub-api
Gruntfile.js
JavaScript
gpl-3.0
1,395
/* Copyright (c) 2009 Robert Johnston This file is part of Boxes. Boxes 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. Boxes is distri...
rdallasgray/bxs
js/Bxs.Filter.List.js
JavaScript
gpl-3.0
1,617
$(document).ready(function() { $("#edit-form").validate({ rules: { 'user[email]': { required: true, email: true }, 'user[password]': { minlength: 8 }, 'user[password_confirmation]': { equalTo: "#new_password" } }, messages: { 'user[...
publiclab/plots2
app/assets/javascripts/validation.js
JavaScript
gpl-3.0
10,221
/** * * * Created by Ugrend on 18/07/2016. */ //TODO: support animation osu = osu || {}; osu.objects = osu.objects || {}; osu.objects.ScorePoint = class ScorePoint { constructor(x,y,game){ this.game = game; this.hit300Sprite = new PIXI.Sprite(osu.skins.resources.hit300_0 && osu.skins.resource...
Ugrend/mmmyeh
src/js_src/osu/objects/scorepoint.js
JavaScript
gpl-3.0
1,852
define(['leaflet'], function(L) { L.Control.Legend = L.Control.extend({ options: { featureTypes: [], position: 'bottomleft', }, initialize: function (options) { L.setOptions(this, options); }, onAdd: function (map) { this._con...
ebrelsford/v2v
vacant_to_vibrant/static/js/leaflet.legend.js
JavaScript
gpl-3.0
2,064
//********************************************************// // // // pitanja iz marketinga za 2. krug ispitivanja // // // //********************************************************// // marketing p...
cornx/geografija
data/marketing/ponavljanje_app/js/data-2.js
JavaScript
gpl-3.0
6,843
/* @flow */ import { $ } from '../vendor'; import { Module } from '../core/module'; import * as Hover from './hover'; export const module: Module<*> = new Module('RESMenu'); module.moduleName = 'menuName'; module.category = 'coreCategory'; module.description = 'The <span class="gearIcon"></span> dropdown menu to man...
corylulu/Reddit-Enhancement-Suite
lib/modules/menu.js
JavaScript
gpl-3.0
2,697
go.Modules.register("legacy", "scanbox"); GO.mainLayout.onReady(function(){ if(!go.Modules.isAvailable("legacy", "scanbox")) { return; } Ext.TaskMgr.start({ run: function(){ GO.request({ url: 'scanbox/scanbox/scan', success: function(options, response, result) { if(!result.success) { ...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.3/modules/scanbox/views/Extjs3/ScanboxModule.js
JavaScript
gpl-3.0
749
Joomla 3.6.4 = 01776e9a9102f6dc4e42763aecfd25b7
gohdan/DFC
known_files/hashes/media/editors/codemirror/mode/pascal/pascal.js
JavaScript
gpl-3.0
48
'use strict'; import React from 'react'; import ReactDOM from 'react-dom'; import {Provider} from 'react-redux'; import {createStore, combineReducers} from 'redux'; import {reducer as reduxFormReducer} from 'redux-form'; import FieldArraysForm from './FieldArraysForm'; const dest = document.getElementById('container'...
Muzietto/react-playground
redux-form/example-fieldArrays/jsx/index.js
JavaScript
gpl-3.0
918
/* * Copyright (C) 2010 ETH Zurich * * This file is part of Fosstrak (www.fosstrak.org) and * was developed as part of the webofthings.com initiative. * * Fosstrak is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by...
Fosstrak/fosstrak-webadapters
src/main/webapp/resources/javascript/restful.js
JavaScript
gpl-3.0
5,950
var async = require('async'); var helpers = require('../../../helpers/aws'); module.exports = { title: 'Lambda Log Groups', category: 'Lambda', description: 'Ensures each Lambda function has a valid log group attached to it', more_info: 'Every Lambda function created should automatically have a CloudWa...
cloudsploit/scans
plugins/aws/lambda/lambdaLogGroups.js
JavaScript
gpl-3.0
3,840
"use strict"; parserFactory.register("translationchicken.com", function() { return new TranslationChickenParser() }); class TranslationChickenParser extends WordpressBaseParser{ constructor() { super(); } findContent(dom) { let content = dom.querySelector("div.post-content"); let ...
dteviot/WebToEpub
plugin/js/parsers/TranslationChickenParser.js
JavaScript
gpl-3.0
548
/* * FuidXel 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. * * FuidXel is distributed in the hope that it will be usefu...
javeeto/FuidxelServer
entrada/vista/js/validacion.js
JavaScript
gpl-3.0
1,349
var ImmutablePuzzle = require("./puzzle"); var Puzzle = require("../puzzle"); module.exports = { toImmutable: function toImmutable(puzzle) { return new ImmutablePuzzle({ grid: puzzle.grid, clues: puzzle.clues, userSolution: puzzle.userSolution, info: puzzle.info, extensions: puzzle...
turnerhayes/xpuz
lib/immutable/utils.js
JavaScript
gpl-3.0
702
<!-- function textCounter(theField,theCharCounter,theLineCounter,maxChars,maxLines,maxPerLine) { var strTemp = ""; var strLineCounter = 140; var strCharCounter = 140; for (var i = 0; i < theField.value.length; i++) { var strChar = theField.value.substring(i, i + 1); if (strChar == '\n') { strTemp += strChar; strCharCou...
akosednar/Pingfm-Widget
Web/js/charactercounter.js
JavaScript
gpl-3.0
622
'use strict'; var assert = require('assert'); var sinon = require('sinon'); var sinonAsPromised = require('sinon-as-promised'); var util = require('../../../../lib/mavensmate/util').instance; var mavensmate = require('../../../../lib/mavensmate'); var _ = require('lodas...
prabhat11/MavensMate
test/unit/cli/debug/execute-apex.js
JavaScript
gpl-3.0
2,319
import './../css/App.css'; import React, { Component } from 'react'; import logo from './../images/andromeda_initiative.png'; import CharacterOptions from './CharacterOptionsContainer'; export default class App extends Component { constructor(){ super(); this.firstSkill = new OverloadSkill(); } render() ...
GillesDV/Andromeda-Skillpicker
src/components/AppStatic.js
JavaScript
gpl-3.0
4,680
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray'); var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2); var _slicedToArray2 = require('babel-runtime/helpers/slicedToArray'); var _slicedToAr...
Cy6erlion/wharica
node_modules/webdriverio/build/lib/launcher.js
JavaScript
gpl-3.0
31,607
import StateStore, {maharaServer} from './state.js'; import Router from './router.js'; import {getLangString} from './i18n.js'; import {REATTEMPT_UPLOADS_AFTER_MILLISECONDS, PENDING, JOURNAL, FILE_ENTRY, PAGE_URL} ...
MaharaProject/mahara-mobile
src/js/upload.js
JavaScript
gpl-3.0
3,990
var searchData= [ ['place_5fboat',['place_boat',['../game_8c.html#ac45172851820db0b66e0e3d4b3178461',1,'place_boat(boat *boat_p, grid grid_p):&#160;game.c'],['../game_8h.html#ac45172851820db0b66e0e3d4b3178461',1,'place_boat(boat *boat_p, grid grid_p):&#160;game.c']]], ['place_5freq',['PLACE_REQ',['../network_8h.htm...
Richard-Degenne/battleships
doc/html/search/all_d.js
JavaScript
gpl-3.0
1,044
'use strict'; var fs = require('fs'); var path = require('path-posix'); var mkdirp = require('mkdirp'); var walkSync = require('walk-sync'); var Minimatch = require('minimatch').Minimatch; var arrayEqual = require('array-equal'); var Plugin = require('broccoli-plugin'); var symlinkOrCopy = require('symlink-or-copy'); ...
fm2g11/MEAN_Starter_Kit
public/node_modules/ui-bootstrap/node_modules/broccoli-funnel/index.js
JavaScript
gpl-3.0
11,640
describe("IWitness.savedSetController", function() { var controller, result, duplicate; beforeEach(function() { controller = IWitness.savedSetController; spyOn(SavedResultsCache, 'add'); spyOn(SavedResultsCache, 'remove'); spyOn(SavedResultsCache, 'forEach'); controller.set('content', []); ...
djacobs/iWitness
spec/specs/controllers/saved_set_controller_spec.js
JavaScript
gpl-3.0
2,250
Joomla 1.5.23 = 269e1f13215172c8fe6a51dcd6ec4be3
gohdan/DFC
known_files/hashes/plugins/editors/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/jscripts/abbr.js
JavaScript
gpl-3.0
49
/** * -------------------------------------------------------------------------- * common.js * -------------------------------------------------------------------------- */ module.exports = { /** * get the tenant name of current page, e.g. * return 'bqsq' from http://localhost:3000/t/bqsq/course/1/vi...
ChuanyuWang/test
src/common/common.js
JavaScript
gpl-3.0
2,372
function getW(){ return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; } function getH(){ return window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; }
squarecandy/squarecandy-underscores
js/helper-functions.js
JavaScript
gpl-3.0
233
Ext.define('MusicTube.view.Main', { extend: 'Ext.ux.slidenavigation.View', xtype: 'main', id: 'main', requires: [ 'Ext.Panel', 'Ext.TitleBar', 'Ext.Audio', 'Ext.slider.Slider', 'MusicTube.view.Search', 'MusicTube.view.PlayList', 'MusicTube.view.Information', 'MusicTube.view.ListManager', 'MusicTub...
taktod/musicTube
app/view/Main.js
JavaScript
gpl-3.0
2,939
function TABLE_SORT(e) { function swap(a,b) { a.parentNode.insertBefore(b,a); } function compare1(a,b) { var _a=a.innerHTML; var _b=b.innerHTML; // alert(a); //alert(_a+"_"+_b); if(parseFloat(_a) && parseFloat(_b)) retu...
siartis/ICSVZLET
html/table_sort.js
JavaScript
gpl-3.0
3,415
process.env.CI = true
SnappyRobotics/snappy-gui
test/setup.js
JavaScript
gpl-3.0
22
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'pastetext', 'fr', { button: 'Coller comme texte sans mise en forme', title: 'Coller comme texte sans mise en forme' });
tsmaryka/hitc
public/javascripts/ckeditor/plugins/pastetext/lang/fr.js
JavaScript
gpl-3.0
297
'use strict'; var path = require('path'); var gulp = require('gulp'); var conf = require('./conf'); var browserSync = require('browser-sync'); var $ = require('gulp-load-plugins')(); function webpack(watch, callback) { var webpackOptions = { watch: watch, module: { preLoaders: [{ test: /\.js...
Stibbons/Squirrel
frontend/gulp.before/scripts.js
JavaScript
gpl-3.0
1,352
import CampFinder from '../components/CampFinder.vue' import afAge from '../../openy_af_vue_app/components/AgeStep.vue' import afWeek from '../components/WeekStep.vue' import afActivity from '../../openy_af_vue_app/components/ActivityStep.vue' import afLocation from '../../openy_af_vue_app/components/LocationStep.vue' ...
hamrant/openy
modules/custom/openy_activity_finder/openy_cf_vue_app/js/script.js
JavaScript
gpl-3.0
836
const {ipcRenderer} = require('electron') $(document).ready(function() { $('#startBtn').click( () => { ipcRenderer.send( 'newDownloadDialog:addUrl', $('#url').val() ) }) $('#cancelBtn').click( () => { ipcRenderer.send('newDownloadDialog:cancel') }) })
SadeghHayeri/Together
src/render/newDownloadDialog/js/javascript.js
JavaScript
gpl-3.0
272
/**************************************************************************************** * Copyright (c) 2014 Klaus Greff, Maik Nauheim, Johannes Merkert * * * * This file is part of Findeco. ...
Qwlouse/Findeco
static/js/services/graphDataService.js
JavaScript
gpl-3.0
6,061
import Ember from 'ember'; export default Ember.Route.extend({ disabled: true, });
vikramviswanathan/CrowdFundingUI
app/routes/browse.js
JavaScript
gpl-3.0
87
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("specialchar","eo",{euro:"Eŭrosigno",lsquo:"Supra 6-citilo",rsquo:"Supra 9-citilo",ldquo:"Supra 66-citilo",rdquo:"Supra 99-citilo"...
omeka/omeka-s
application/asset/vendor/ckeditor/plugins/specialchar/dialogs/lang/eo.js
JavaScript
gpl-3.0
4,081
Ext.define('TE.util.ChartEditor', { extend:'Ext.form.FieldSet', alias: 'widget.charteditor', requires:['TE.util.GridEditor'], itemId:"chart_container", index:'', name:"chart", title:tr('Chart', 'common'), collapsible: true, collapsed:false, getValue: function() // ---------...
c3d/tao-webui
www/app/util/ChartEditor.js
JavaScript
gpl-3.0
15,608
// a transform stream is a readable/writable stream where you do // something with the data. Sometimes it's called a "filter", // but that's not a great name for it, since that implies a thing where // some bits pass through, and others are simply ignored. (That would // be a valid example of a transform, of course.)...
TrossSoftwareAndTech/webvt
lib/node-v7.2.0/lib/_stream_transform.js
JavaScript
gpl-3.0
6,449
import React from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' import Icon from '../../content/Icon/Icon' import Button from '../../content/Button/Button' import Backdrop from '../../layout/Backdrop/Backdrop' import { borderSpacing, borderSpacingPropTypes } from '../../utils' cons...
ourcities/rebu-client
packages/bonde-styleguide/src/cards/Tooltip/Tooltip.js
JavaScript
gpl-3.0
5,624
var searchData= [ ['fabs_5ffptr',['FABS_FPTR',['../native__functions__102_8h.html#af4f9a7e959ec85fdc55cc2a9f6e931be',1,'native_functions_102.h']]], ['falco',['FALCO',['../ai_8h.html#a9048a2e314c97dfce03a07535084a9fd',1,'ai.h']]], ['falco_5fid',['FALCO_ID',['../melee__info_8h.html#ad6eca8f9d45dd2d8007dc016aa40e511...
sherman5/MeleeModdingLibrary
docs/search/defines_6.js
JavaScript
gpl-3.0
933
$( function () { var sources = { }; $( '#source' ).change( function() { var sourceVal = $( '#source' ).val(); $( '#source-prefix,#source-url,#source-selector' ).val( '' ); if ( sourceVal ) { var source = sources[ sourceVal ]; $( '#source-prefix' ).val( source.prefix ); $( '#source-u...
ryanttb/bernie
js/scrape.js
JavaScript
gpl-3.0
1,743
function drawWall(current, ctx) { ctx.beginPath(); ctx.arc(current.pos.x, current.pos.y, current.radius.inner, current.angle.start, current.angle.finish); ctx.lineTo(current.pos.x + Math.cos(current.angle.finish) * current.radius.outer, current.pos.y + Math.sin(current.angle.finish) * current.radius.outer); ...
StanislavNikolov/NodeShooter
userFiles/game.js
JavaScript
gpl-3.0
4,604
/* --------------------------------------- | serpExports | --------------------------------------- | @author: Victor Vila Sendon | twitter@tirop.com | 2016-11-11 | Injected in a serp's webpage, this script creates and | download a csv file containing info about | the links contained in the SERP : | ...
VictorVila/CoolSEOTool
serpExport/serpExport.js
JavaScript
gpl-3.0
2,168
var Bar = { controller: function() { var ctrl = this; }, view: function(ctrl) { return m('#bar', [ m('h1[id="title"]', 'Roundhousedit'), m.component(Menu) ] ); } } var Menu = { controller: function() { var ctrl = this; ctrl.showMenu = m.prop(false); }, view: func...
GreenRaccoon23/roundhousedit
client/components/bar.js
JavaScript
gpl-3.0
2,086
'use strict'; var Mathjs = require('./math.js'); var math = new Mathjs(); module.exports = function (hmmModel, observations, alpha) { var row, column, time, prevColumn, sum; var N = hmmModel.getStatesSize(); var T = observations.length; var pi = hmmModel.getStartProbability(); var emissionProbability = hmmModel....
HerdiandKun/nlp
node_modules/nodehmm/lib/forward.js
JavaScript
gpl-3.0
1,093
/*! * VisualEditor DataModel Transaction tests. * * @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org */ QUnit.module( 've.dm.Transaction' ); /* Helper methods */ function runBuilderTests( assert, cases ) { var msg, tx, i; for ( msg in cases ) { tx = new ve.dm.Transaction( {} )...
Facerafter/starcitizen-tools
extensions/VisualEditor/lib/ve/tests/dm/ve.dm.Transaction.test.js
JavaScript
gpl-3.0
69,562
const selectors = { DOMAIN: 'http://100nto.org', BASE_RESOURCE: '/objects-po-oblasti/', BASE_URL: 'http://100nto.org/objects-po-oblasti/', AREA_SELECTOR: 'h2 > a', LANDMARK_TITLE_SELECTOR: '.itemHeader .itemTitle', LANDMARK_IMG_SELECTOR: '.itemImage a img', LANDMARK_DESCRIPTION_SELECTOR: '.i...
SoftGuys/LetsMakeUsFamous
crawler-app/selectors/selectors.js
JavaScript
gpl-3.0
526
module.exports = { init: (function(_this) { return function(app) { // add the router app.web_api.settings['router'] = require('./api-routes/settings.js'); app.web_api.workspace['router'] = require('./api-routes/workspace.js'); }; })(this), exec: function() {} };
kipr/harrogate
apps/settings/exec.js
JavaScript
gpl-3.0
296
$(window).load(function() { // Animate loader off screen $(".loader-on-the-page").fadeOut("slow");; });
marijadjokic/PIBASFedSPARQL
js/loader.js
JavaScript
gpl-3.0
108
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'computedstyles', 'fa', { bold: 'درشت', italic: 'خمیده', strike: 'خط‌خورده', subscript: 'زیرنویس', superscript: 'بالانویس', ...
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/computedstyles/lang/fa.js
JavaScript
gpl-3.0
393
/* * This file is part of ARSnova Mobile. * Copyright (C) 2011-2012 Christian Thomas Weber * Copyright (C) 2012-2017 The ARSnova Team * * ARSnova 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, e...
dhx/arsnova-mobile
src/main/webapp/app/model/Statistics.js
JavaScript
gpl-3.0
1,053
GO.billing.OrdersGrid = function(config){ if(!config) { config = {}; } // var summary = new Ext.grid.JsonSummary(); // // config.plugins = [summary]; var fields ={ fields : [ 'id', 'late', 'due_date', 'overdue', 'status_id', 'status_name', 'user_name', 'order_id', 'po_id', 'ctime', 'mt...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.3/modules/billing/OrdersGrid.js
JavaScript
gpl-3.0
13,012
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
ricardo7227/DAW
Cliente/Codigo fuente/my-app-apk/node_modules/@ionic/app-scripts/dist/build.js
JavaScript
gpl-3.0
14,616
( function( global, factory ) { if ( typeof module === 'object' && typeof module.exports === 'object' ) module.exports = global.document ? factory( global, true ) : function( w ) { if ( !w.document ) throw new Error( 'Requires a window ...
letwolf/LwScrollBar
src/lw-scrollbar.js
JavaScript
gpl-3.0
23,323
var whTOC = [ ["\n <span class=\"webhelp-toc-chapter-entry\">Глава 1. Общие Сведения</span>\n ","overview.html#overview",null], ["\n <span class=\"webhelp-toc-chapter-entry\">Глава 2. Политика Безопасности</span>\n ","identity.html#identity",[ ["\n <span class=\"webhelp-toc-section1...
nk-the-crazy/Ats1
src/main/webapp/resources/manual/_wh/toc.js
JavaScript
gpl-3.0
2,133
//const React = require('react'); import React, { PropTypes } from 'react'; class Contest extends React.Component { componentDidMount() { this.props.fetchNames(this.props.nameIds); } render () { /*return ( <div id='s' className='Content'> <div className='contest-description'> ...
MarcoRob/Node-React-MongoDB
src/components/Contest.js
JavaScript
gpl-3.0
2,374
chrome.browserAction.onClicked.addListener(function(tab) { chrome.tabs.create({'url': chrome.extension.getURL('dist/index.html')}); });
esphen/RESTED
main.js
JavaScript
gpl-3.0
139
/** * Created by rodrigopavezi on 11/14/14. */ function rebootDisplay() { console.log('rebootDisplay'); // getting parameter values var _id = document.getElementById('rebootDisplay_id').value; var _fields = document.getElementById('rebootDisplay_fields').value; // create a javascript object which...
Rise-Vision/core-api
javascript/endpoints/display/core.display.reboot.js
JavaScript
gpl-3.0
830
/* 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/partial/polling/newPollWizard/selectMobileTerminals/newPollWizardSelectMobileTerminals-spec.js
JavaScript
gpl-3.0
7,680
var estuaryProtocolInspector = (function () { function onRecvMsg(protocol, callback) { var oldOnMessage = protocol.onMessage; protocol.onMessage = function (/*...arguments*/) { var oldLen = protocol.responses.length; var result = oldOnMessage.apply(protocol, arguments); var newLen = protoc...
d0kt0r0/estuary
client/src/Estuary/test/Estuary/Test/protocol-inspector.js
JavaScript
gpl-3.0
1,419
var passport = require('passport'); var User = require('../models/user.js'); const MeetupStrategy = require('passport-meetup').Strategy; passport.serializeUser(function(user, done) { done(null, user.id); }); passport.deserializeUser(function(id, done) { User.findById(id, function(err,user) { done(err,...
mrlynn/phillymug-signin
config/passport.js
JavaScript
gpl-3.0
690
var _ = require('underscore'); var moment = require('moment'); var marked = require('marked'); module.exports = { index: function(req, res, next) { var limit = 20; var query = {}; // only show one author query._author = req.app.engine._author; query._parent = { $exists: false }; Post.paginat...
martindale/confluence
controllers/posts.js
JavaScript
gpl-3.0
4,085
/* This file is part of the Zimbra OpenPGP Zimlet project. Copyright (C) 2014-2015 Barry de Graaff Bugs and feedback: https://github.com/barrydegraaff/pgp-zimlet/issues 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 S...
evook/pgp-zimlet
tk_barrydegraaff_zimbra_openpgp/tk_barrydegraaff_zimbra_openpgp.js
JavaScript
gpl-3.0
122,120
/** * Created by Akkadius on 2/10/2015. */ $(document).ready(function() { var lootdrop_table = $(".loottable_entries").DataTable( { scrollY: "75px", scrollX: "200px", sScrollXInner: "320px", scrollCollapse: true, paging: false, "searching": fa...
Akkadius/EQEmuEOC
modules/NPC/ajax/npc_top_right_pane.js
JavaScript
gpl-3.0
9,313
/* Ⓒ Copyright 2013 Jeremy Carter * * This file is part of Box Hunter Online. * * Box Hunter Online 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)...
defcronyke/box-hunter-online
src/levels/Level013.js
JavaScript
gpl-3.0
1,977
import Greensock from '../views/index' import Preloader from '../components/Preloader' import Castle from '../components/Castle' import KineticJS from '../components/KineticJS' export default [ { path: '', component: Greensock, children: [ { path: 'preloader', name: 'preloader', ...
hjl19911127/codehuang
frontend/src/sites/greensock/router/routes.js
JavaScript
gpl-3.0
559
var create_datepickers = function(){ $('input.datepicker').datepicker({format: 'yyyy-mm-dd'}).on('changeDate', function() { $(this).data('datepicker').hide(); }); // $('input.datetimepicker').datepicker({format: "yyyy-mm-dd HH:mm pp", pick12HourFormat: true}).on('changeDate', function() { // $(this).dat...
joshvc/cardboard
app/assets/javascripts/cardboard/datepicker.js
JavaScript
gpl-3.0
453
/* Commuter Bliss UK - a Pebble watchface for UK rail commuters Copyright (C) 2015 Steven Blair 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 ...
stevenblair/commuter-bliss-uk
src/data.js
JavaScript
gpl-3.0
20,250
$(function(){var giftaid_hmrc_spreadsheet={render:function(){return[html.content_header("HMRC Gift Aid Spreadsheet"),html.warn("WARNING: Generating gift aid spreadsheets can take a few minutes if you have many donations."),'<form id="hmrcform" action="giftaid_hmrc_spreadsheet" method="get">','<table>','<tr>','<td><lab...
aubzen/sheltermanager
src/static/js/min/giftaid_hmrc_spreadsheet.min.js
JavaScript
gpl-3.0
989
/*! jQuery UI - v1.12.1 - 2019-01-19 * http://jqueryui.com * Includes: widget.js, data.js, scroll-parent.js, widgets/sortable.js, widgets/mouse.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an ...
jcj83429/MiniGS
jquery-ui.js
JavaScript
gpl-3.0
73,458
var group___console = [ [ "gwinGConsoleCreate", "group___console.html#ga30fb419ad7a466beec5be42d5aba6e27", null ], [ "gwinPrintf", "group___console.html#gaac36e6c1fb0e07bf6c136619377b3371", null ], [ "gwinPutChar", "group___console.html#gab484ed9b8a2fcec4737f2f5eaf2ad610", null ], [ "gwinPutCharArray", ...
netik/chibios-orchard
ext/ugfx/docs/html/group___console.js
JavaScript
gpl-3.0
478
/** * Desencadena un evento al dar click sobre un elemento con esta clase. */ $(function () { 'use strict'; $('body').on('click', '.trigger-event', function (event) { var target = $(event.currentTarget); if (window.getSelection().toString().length === 0) { eventos.emit(target.dat...
sigmalibre/inventarios
public/js/click-trigger-event.js
JavaScript
gpl-3.0
370
var system = require('system'); var checkBoxes = require('../lib/check_boxes.js'); var logout = require('../lib/logout.js'); var host = 'http://localhost:3000'; function cap(num) { casper.capture('screenshots/block-low-' + num + '.png'); } casper.on('waitFor.timeout', function() { casper.capture('screenshots/...
jsha/blocktogether
test/integration/block_low_follower_users_test.js
JavaScript
gpl-3.0
3,161
/// <reference path="angular-ui-router.d.ts" /> var myApp = angular.module('testModule'); myApp.config(function ($stateProvider, $urlRouterProvider, $urlMatcherFactory) { var matcher = $urlMatcherFactory.compile("/foo/:bar?param1"); $urlRouterProvider.when('/test', '/list').when('/test', '/list').when('/test'...
dstockhammer/burgerama
Web/UI/Scripts/typings/angular-ui/angular-ui-router-tests.js
JavaScript
gpl-3.0
4,266
// Copyright (c) 2011 by Code Computerlove (http://www.codecomputerlove.com) // Licensed under the MIT license // version: 3.0.4 (function (window) { // https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/bind if (!Function.prototype.bind ) { Function.prototype.bind = function( obj ) {...
Diveboard/diveboard-web
app/assets/javascripts/lib/code.photoswipe.jquery-3.0.4.js
JavaScript
gpl-3.0
135,886
import React from 'react' import ReactDOM from 'react-dom' import { formatBytes, formatDuration } from './formatters' describe('formatBytes', () => { it('format bytes', () => { expect(formatBytes(0)).toEqual('0 Bytes') expect(formatBytes(1000)).toEqual('1000 Bytes') expect(formatBytes(1024)).toEqual('1 K...
cloudsonic/sonic-server
ui/src/utils/formatters.test.js
JavaScript
gpl-3.0
1,003
"use strict"; /*global require module*/ var $ = require('jquery'); var bootstrap = require('bootstrap'); var Backbone = require('backbone'); Backbone.$ = $; var App = require('./app'); App.init();
web-priv/picsure
cli/js/app/main.js
JavaScript
gpl-3.0
200
/* Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? */ /** * Definition for singly-linked list. * function ListNode(val) { * this.val = val; * this.next = null; * } */ /** * @param {ListNode} head * @return {boolean} */ /* extra space */...
matrixki/LeetCode
141. Linked List Cycle.js
JavaScript
gpl-3.0
1,096
const electron = require('electron'); const {app, ipcMain} = electron; const main = require('../../main'); const {win} = main; const DataStore = require('nedb') , db = new DataStore({ filename: app.getPath('userData') + '/database/regel.db', autoload: true }); /*...
baukevdw/pannestratie
js/database/regel.js
JavaScript
gpl-3.0
2,964
// const SpecReporter = require('jasmine-spec-reporter').SpecReporter; exports.config = { specs: [ 'test/e2e/*.feature', ], directConnect: true, capabilities: { browserName: 'chrome', }, framework: 'custom', frameworkPath: require.resolve('protractor-cucumber-framework'), cucumberOpts: { ...
slaweet/lisk-nano
protractor.conf.js
JavaScript
gpl-3.0
711
// game functions library const GAME_SIZE = 500; const TILE_SIZE = 50; function draw_entity(context, entity) { const x = entity.get("x")*TILE_SIZE, y = entity.get("y")*TILE_SIZE; const src_x = entity.get("imageX"), src_y = entity.get("imageY"); const src_h = entity.get("imageH"), src_w = entity.get("imageW"); ...
gabriel-fallen/talks
ImmutableJS/lib.js
JavaScript
gpl-3.0
2,093
var class_event_processor = [ [ "EventProcessor", "d6/d65/class_event_processor.html#ad4a51f6f2d1f9b69ef60136767e2767e", null ], [ "EventProcessor", "d6/d65/class_event_processor.html#a7446a4cc94a4aa78de0de855aadbae29", null ], [ "~EventProcessor", "d6/d65/class_event_processor.html#af30a066c911c3841d35854c...
pixie16/paassdoc
d6/d65/class_event_processor.js
JavaScript
gpl-3.0
2,504
var satPercent = 20 ; var satPercentTomorrow = 10 ; var satPercentDay2 = 10 ; var satPercentDay3 = 0 ; var satPercentMax = 20 ;
elipsey/hsatool
var/www/SalmonCreek/sat_percent.js
JavaScript
gpl-3.0
128
function decodeQuery() { var queryString = window.location.search.substring(1); var token = queryString.split("&"); var to = ""; for (var i = 0; i < token.length; i++) { var pair = token[i].split("="); if (decodeURIComponent(pair[0]) == "to") { to = decodeURIComponent(pair[1]...
wildskyf/ihatecontentfarm
stop.js
JavaScript
gpl-3.0
2,500
//TODO:test if connection fails var chai = require('chai'); const chaiJWT = require('chai-jwt'); chai.use(chaiJWT); var expect = chai.expect; var Server = require("../entities/servers/servers"); describe('Restart server', function() { it('restart() should restart the openstack instance', function() { var ...
siddrc/irislogic-openstack-sdk
tests/testServerRestart.js
JavaScript
gpl-3.0
992
var searchData= [ ['satformulae_2ecpp',['SATFormulae.cpp',['../SATFormulae_8cpp.html',1,'']]], ['semopt_2eh',['semopt.h',['../semopt_8h.html',1,'']]], ['setarguments_2ecpp',['SetArguments.cpp',['../SetArguments_8cpp.html',1,'']]], ['symbolicargumentsset_2ecpp',['SymbolicArgumentsSet.cpp',['../SymbolicArgumentsS...
MORZorg/SemOptRZ
docs/html/search/files_73.js
JavaScript
gpl-3.0
445
angular.module('teachers') .controller('newTeacherDialogController',function($scope, $state, $mdDialog, TeachersService, toastService){ var vm = this; activate(); // References to functions. vm.closeDialog = closeDialog; vm.saveTeacher = saveTeacher; ...
ButterFlyDevs/StudentsManagementSystem
SMS-Front-End/app/js/teaching/teachers/newTeacherDialog.js
JavaScript
gpl-3.0
1,933
const { environment } = require('@rails/webpacker') const webpack = require('webpack') environment.plugins.prepend( 'Provide', new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', jquery: 'jquery', 'window.jQuery': 'jquery' }) ) environment.config.merge({ module: { rules: [{ te...
searls/fine-ants-app
config/webpack/environment.js
JavaScript
gpl-3.0
541
/** * */ Ext.define('RODAdmin.view.cms.snippet.details.SnippetProperties', { extend: 'Ext.panel.Panel', alias: 'widget.snippetproperties', itemId: 'snippetproperties', title:'Snippet Properties', // id: 'fileproperties', width : "100%", height : "100%", layout : 'border', collapsible:...
cosminrentea/roda
src/main/webapp/RODAdmin/app/view/cms/snippet/details/SnippetProperties.js
JavaScript
gpl-3.0
2,645
/*globals qq */ /** * Upload handler used by the upload to Azure module that depends on File API support, and, therefore, makes use of * `XMLHttpRequest` level 2 to upload `File`s and `Blob`s directly to Azure Blob Storage containers via the * associated Azure API. * * @param spec Options passed from the base hand...
TeamDeltaQuadrant/fine-uploader
client/js/azure/azure.xhr.upload.handler.js
JavaScript
gpl-3.0
8,524
import { pipe, curry, toPairs, splitEvery, merge, head, } from 'ramda' import { ObjectId } from 'mongodb' import membersExp from '../core/membersExp' import { level } from '../core/level' import { statUpgradeCost, unspentStatPoints, statIds } from './statHelpers' import { showBonus, equippedIds, equi...
telemmo/telemmo
src/game/handlers/improveStats.js
JavaScript
gpl-3.0
2,093
/* * #%L * Eva * %% * Copyright (C) 2013 Abada Servicios Desarrollo (investigacion@abadasoft.com) * %% * 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...
abada-investigacion/eva
eva-server/eva-web/src/main/webapp/ext4/src/picker/Month.js
JavaScript
gpl-3.0
16,311
var editorBox =UE.getEditor('topcontent'); var tid =""; var nid =""; var sc="收藏"; var href = window.location.href; var currPage=""; var userid=$("#userid").val(); tid=this.href.substr(this.href.indexOf("?")+1); showPersonal("user/userinfo"); function showPersonal(url){ $.post(url+"?userid="+userid,function...
joyceshenhui/tieba
tieba/src/main/webapp/js/typeDetail.js
JavaScript
gpl-3.0
5,817
'use strict'; const convert = require('./convert'); const func = convert('negate', require('../negate'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func;
rafa1231518/CommunityBot
lib/xml2js-req/xmlbuilder/lodash/fp/negate.js
JavaScript
gpl-3.0
204
var client; $(document).ready(function() { interface.getAjaxMenu(); client = new WSClient('ws://' + window.location.hostname + ':9000/', false); // the interface needs to be aware of the ws client to delegate data write requests interface.wsclient = client; interface.rpi_menu_click = function(cont...
blaisejarrett/PiIO.SS
pi_io_site/static/js/load.js
JavaScript
gpl-3.0
1,680