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
/** * Created by DaisyCream on 15/10/13. */ /*****************************set the element Height**********************************/ var SCROLLWHEEL = function(){}; var screenHeight = document.documentElement.clientHeight; SCROLLWHEEL.target = document.getElementsByTagName('div'); body = document.getElementsByTagName...
DaisyCream/example
theScreenScroll/scroll.js
JavaScript
gpl-2.0
3,090
const colorLegend = { create(groups) { let legend = document.createElement('ul') legend.id = 'interactive-services__color-legend' legend.classList.add('interactive__color-legend') groups.forEach(group => { legend.innerHTML = legend.innerHTML + `<li data-group="${group.id}">${group.label...
CSIS-iLab/cpower-viz
china-trade-deficit/src/js/services/color-legend.js
JavaScript
gpl-2.0
438
"use strict"; var assert = require('assert-plus'), util = require("util"), events = require("events"), servicePrefix = '/api'; /* { id: 1, version: 1, path: '/myserver/...' } Simple class for validating service resources */ function Service(opts) { events.EventEmi...
slively/hubba
lib/service/service.js
JavaScript
gpl-2.0
1,583
( function ( M, $ ) { var EventEmitter = M.require( 'mobile.oo/eventemitter' ), View, // Cached regex to split keys for `delegate`. delegateEventSplitter = /^(\S+)\s*(.*)$/, idCounter = 0; /** * Generate a unique integer id (unique within the entire client session). * Useful for temporary DOM ids. * @...
dowast92/mediawiki-extensions-MobileFrontend
resources/mobile.view/View.js
JavaScript
gpl-2.0
10,456
FullScreenMario.prototype.settings.sprites = { "scale": FullScreenMario.scale, "spriteWidth": "spritewidthpixels", "spriteHeight": "spriteheightpixels", "flipVert": "flip-vert", "flipHoriz": "flipped", "paletteDefault": [ [0, 0, 0, 0], // Grayscales (1-4) [255, 255, 255, ...
Predator-Design-Studios/Super-Mario-Bros
settings/sprites.js
JavaScript
gpl-2.0
116,508
/* ========================================================= * composer-storage.js 1 * ========================================================= * Copyright 2013 Wpbakery * * Visual composer backbone/underscore Storage hidden field * ========================================================= */ (function ($...
teloniusz/rwwwdev
wp-content/themes/nimva/builder/js_composer/assets/js/backend/composer-storage.js
JavaScript
gpl-2.0
14,780
var searchData= [ ['delete',['delete',['../namespacetincr_1_1cells.html#a96e3e0042c39e66cb031e57c2f20a62c',1,'tincr::cells::delete()'],['../namespacetincr_1_1macros.html#a172e882d075748714bd3a653658f09ca',1,'tincr::macros::delete()'],['../namespacetincr_1_1nets.html#a1566703d16d7d5d3495dce6b67905b32',1,'tincr::nets::...
ttown523/tincr
docs/search/all_3.js
JavaScript
gpl-2.0
1,334
/* * Datatoegang */ var ini = require("ini"); var fs = require("fs"); var config = ini.parse(fs.readFileSync('./dataaccess/dataaccess.ini', 'utf-8')); var mongoose = require('mongoose'); var exports = module.exports = {}; mongoose.connect(config.mongodb.url); var metingSchema = new mongoose.Schema({ datumtij...
jljvdm/temperatuur
dataaccess/dataaccess.js
JavaScript
gpl-2.0
1,599
define([ 'dojo/_base/declare', 'dojo/query', 'dojo/_base/array', 'dojo/_base/lang', 'dojo/_base/html', 'dijit/_Widget', 'dijit/_TemplatedMixin', 'dijit/_WidgetsInTemplateMixin', 'dijit/Dialog', 'dojo/on', 'dgrid/Grid', 'dgrid/Keyboard', 'dgrid/Selection', 'dojo/te...
nextgis/entels_front_demo
entels_demo/static/js/entels/Dialog.js
JavaScript
gpl-2.0
2,137
// Here we implement folding. It works fine with MSIE5.5, MSIE6.0 and // Mozilla 0.9.6. if (document.layers) { //Netscape 4 specific code pre = 'document.'; post = ''; } if (document.getElementById) { //Netscape 6 specific code pre = 'document.getElementById("'; post = '").style'; } if (documen...
freeplane/freeplane
freeplane/src/editor/resources/html/folding.js
JavaScript
gpl-2.0
2,394
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2014 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ jQuery.sap.declare("sap.m.CheckBox");jQuery.sap.require("sap.m.library");jQuery.sap.require("sap.ui.core.Control");sap.ui....
amiramw/ALS-hackathon
ALS_client/src/main/webapp/openui5-runtime-1.24.3/resources/sap/m/CheckBox.js
JavaScript
gpl-2.0
3,231
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- /* exported Component */ const { Clutter, Gio, GLib, GObject, St } = imports.gi; var Tpl = null; var Tp = null; try { ({ TelepathyGLib: Tp, TelepathyLogger: Tpl } = imports.gi); Gio._promisify(Tp.Channel.prototype, 'close_async', 'close_finish');...
endlessm/gnome-shell
js/ui/components/telepathyClient.js
JavaScript
gpl-2.0
36,462
/* Zepto plugin : slide transition v1.1 */ (function($) { /* SlideDown */ $.fn.slideDown = function(duration, callback) { // get the element position to restore it then var position = this.css('position'); // show element if it is hidden this.show(); // place it so it displays as usually but hidden th...
piaoxuelia/lxapp
js/libs/slidefx.js
JavaScript
gpl-2.0
2,899
var searchData= [ ['graphpositionx',['graphPositionX',['../group___t_xC3_xA1rol_xC3_xB3k.html#ga62db14394e0e6029bb7fc7fd06ecb284',1,'RobotStateHistory']]], ['graphpositiony',['graphPositionY',['../group___t_xC3_xA1rol_xC3_xB3k.html#ga57b091ef8159b6cdc0a5f7462645a156',1,'RobotStateHistory']]], ['graphvelocities',[...
muszkab/Alkalmazasfejlesztes-hazi
RobotDiagnosticApp/docs/html/search/variables_4.js
JavaScript
gpl-2.0
442
//>>built define("dijit/_KeyNavMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_1,_2,_3,_4,_5,on,_6,_7){ return _2("dijit._KeyNavMixin",_7,{tabIndex:"0",childSelector:null,postCreate:function(){ this.inherited(argu...
trainkg/zsq
bench/bench.webapp/src/main/webapp/zsq/dojo/dijit/_KeyNavMixin.js
JavaScript
gpl-2.0
5,027
'use strict'; //var burst = require('burst-node'); //var controls = burst.core.controls; var News = require('../models/News'); /** * Home - Home page controller * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * The constructor, defined by Burst-Node core, inits two instance attribut...
apinsard/burst-node
examples/structure/core/controls/Home.js
JavaScript
gpl-2.0
1,536
/** * jQuery goMap * * @url http://www.pittss.lv/jquery/gomap/ * @author Jevgenijs Shtrauss <pittss@gmail.com> * @version 1.3.2 2011.07.01 * This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ (function($) { var geocoder = new google.maps.Geocoder(...
mikeusry/gaspa
hot_tub/advagg_js/js__HiMnTC8Gc4rCruwP2-_9QWE9P4EVDUvnCGv0oBLqyVc__E-wgMEmu6ZbvEGjIQ3AlPUNifcSa6JP_x7etO-7qCT0__1KK25nem_EPNAP9KteoRWEXgIS7biX0CWG1b3_R2upA.js
JavaScript
gpl-2.0
58,435
!function(e){"use strict";CHERRY_API.utilites.namespace("ui_elements.switcher"),CHERRY_API.ui_elements.switcher={init:function(e){var s=this;CHERRY_API.status.document_ready?s.render(e):CHERRY_API.variable.$document.on("ready",s.render(e))},render:function(s){e(".cherry-switcher-wrap",s).each(function(){var s=e(".cherr...
roberto-alarcon/Neuroglobal
wp-content/themes/cherryframework4/lib/admin/ui-elements/ui-switcher/assets/min/ui-switcher.min.js
JavaScript
gpl-2.0
913
/** * Given a form id, this will return the form JSON object assembled by the * form's call back function. If the form fails to load, this returns false. * @param {String} form_id * @return {Object} */ function drupalgap_form_load(form_id) { try { var form = drupalgap_form_defaults(form_id); // The form...
jacobembree/DrupalGap
src/includes/form/form.load.js
JavaScript
gpl-2.0
7,109
/*! * jQuery UI Effects Pulsate 1.13.0 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ !function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],e):e(jQuery)}(function(c)...
backdrop-ops/backdrop-pantheon
core/misc/ui/jquery.ui.effect-pulsate.min.js
JavaScript
gpl-2.0
686
(function ($) { $.prettyPhoto = { version: '3.1.4' }; $.fn.prettyPhoto = function (pp_settings) { pp_settings = jQuery.extend({ hook: 'data-rel', animation_speed: 'fast', ajaxcallback: function () {}, slideshow: 5000, autoplay_slide...
educakanchay/kanchay
templates/sj_hexagon/html/mod_sj_k2_reslisting/js/jquery.prettyPhoto.js
JavaScript
gpl-2.0
37,251
const {St, GObject, Clutter, Pango} = imports.gi; const PanelMenu = imports.ui.panelMenu; const PopupMenu = imports.ui.popupMenu; const Params = imports.misc.params; const Gettext = imports.gettext.domain('gnome-shell-extensions-kimpanel'); const _ = Gettext.gettext; const Me = imports.misc.extensionUtils.getCurrentEx...
wengxt/kimpanel-for-gnome-shell
indicator.js
JavaScript
gpl-2.0
6,088
#pragma strict var UI_Tablet:GameObject; var UI_R_PAD:GameObject; var UI_L_PAD:GameObject; var UI_PC:GameObject; function Start () { if(Application.platform==RuntimePlatform.Android || Application.platform==RuntimePlatform.IPhonePlayer) { UI_Tablet.active=true; UI_R_PAD.active=true; UI_L_PAD.active=true; ...
alexnunes2015/ZED-OS
SCRIPTS/ChoseTABLETorPC_UI.js
JavaScript
gpl-2.0
1,194
"undefined"==typeof jwplayer&&(jwplayer=function(d){if(jwplayer.api)return jwplayer.api.selectPlayer(d)},jwplayer.version="6.6.3867",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(d){function a(b){return function(){re...
wgcowan/VideoStream
views/shared/javascripts/jwplayer/jwplayer.js
JavaScript
gpl-2.0
49,777
var express = require('express'); var router = express.Router(); var ObjectId = require('mongodb').ObjectID; /* * GET movieList. */ router.get('/', function (req, res) { var db = req.db; db.collection('movieList').find().toArray(function (err, results) { res.json(results); }); }); router.get('/:id',functio...
LaurNichitean/my-homepage-back
routes/movies.js
JavaScript
gpl-2.0
1,396
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2014 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ jQuery.sap.declare("sap.m.MultiInputRenderer"); jQuery.sap.require("sap.ui.core.Renderer"); jQuery.sap.require("sap.m.Inpu...
amiramw/ALS-hackathon
ALS_client/src/main/webapp/openui5-runtime-1.24.3/resources/sap/m/MultiInputRenderer-dbg.js
JavaScript
gpl-2.0
1,232
var rewire = require('rewire'); var bnf = rewire('../lib/bnf'); var parser = rewire('../lib/parser'); var assert = require('assert'); var chai = require('chai'); var expect = chai.expect; var sinon = require('sinon'); describe('ambiguous grammer', function(){ var itemSetArray = []; before(function(){ var y...
lxdcn/sql-json-obsolete
test/test-desk-calc.js
JavaScript
gpl-2.0
4,361
'use strict'; var path = require('path'); var hof = require('hof'); var i18n = hof.i18n({ path: path.resolve(__dirname, '../apps/common/translations/__lng__/__ns__.json') }); var config = require('../config'); var logger = require('../lib/logger'); // eslint-disable-next-line no-unused-vars module.exports = functio...
UKHomeOffice/brp_app
errors/index.js
JavaScript
gpl-2.0
1,199
/* =========================================================================== * alice.core.js * =========================================================================== * * Copyright 2011-2012 Research In Motion Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
cuongnd/test_pro
media/system/js/blackberry-Alice-ba84bf8/tests/qunit/alice.core.qunitTests.js
JavaScript
gpl-2.0
3,964
var _ = require('underscore'); var colors = require('colors'); var gulp = require('gulp'); var bower = require('bower'); gulp.task('bower', function(){ bower.commands .install() .on('end', function (installed) { console.log(colors.cyan("Installed"), _.keys(installed)); }) .on('error', function (error) {...
dtaylor7/Backbone-Boilerplate
gulp/tasks/bower.js
JavaScript
gpl-2.0
424
(function(w, undefined) { var lifetime = 1800, //in seconds path = undefined, domain = undefined, secure = undefined, sid = 'JSSESSID'; /** * Check for a PHPSESSID. If found unpack it from the cookie * If not found, create it then pack everything in $_SESSION * into a cookie. */ w.session_...
marcosptf/phpjs
tests/functions/session/session.js
JavaScript
gpl-2.0
2,442
/***************************************************************************** ** ANGRYBIRDS AI AGENT FRAMEWORK ** Copyright (c) 2014,XiaoYu (Gary) Ge, Stephen Gould,Jochen Renz ** Sahan Abeyasinghe, Jim Keys, Andrew Wang, Peng Zhang ** All rights reserved. **This work is licensed under the terms of the GNU Affe...
ruofeidu/CMSC722_AngryBirds
plugin/script.js
JavaScript
gpl-2.0
4,959
/** * */ (function ($) { var data = {}; Drupal.behaviors.os_sv_list = { attach: function (ctx) { // add a click handler $(ctx).find('.block-boxes-os_sv_list_box', ctx).click(click_handler).each(function () { // save the current page to our cache // get the delta of the box a...
baisong/openscholar-build
profiles/openscholar/modules/os/modules/os_sv_list/os_sv_list_display.js
JavaScript
gpl-2.0
3,399
Package.describe({ summary: "Mediator where you can subscribe to messages" }); Package.onUse(function (api) { var both = ["client", "server"]; api.use('coffeescript', both); api.use('deps', 'client'); api.use('underscore', 'client'); api.addFiles("mediator.coffee", both); api.export('Mediator'...
eriksterneberg/meteor-reader
packages/mediator/package.js
JavaScript
gpl-2.0
326
/* uploader */ function decorate(clazz){ Object.getOwnPropertyNames(clazz.prototype).forEach(function (k) { var desc = Object.getOwnPropertyDescriptor(clazz.prototype,k); desc.enumerable = true; Object.defineProperty(clazz.prototype,k,desc) }) } class dhtmlXFileUploaderHtml5 { constructor(){ return decorat...
casser/dhx
src/dhtmlx/form/item/upload.js
JavaScript
gpl-2.0
30,174
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Lithuanian language. */ /**#@+ @type String @example */ /** * Constains th...
Khanos/HardCode
OpenEMR/src/library/custom_template/ckeditor/_source/lang/lt.js
JavaScript
gpl-2.0
24,286
"use strict";gambio.widgets.module("core_workarounds",[],function(){var e={},a=function(){var e=$("#topbar-container nav > ul> li").clone(),a=e.find(".login-off-item"),i=a.clone();i.addClass("dropdown navbar-topbar-item"),a.remove(),e=e.add(i),$("#categories nav > ul").append(e),$("#categories nav > ul").attr("data-gam...
khadim-raath/gambioTest
templates/Honeygrid/assets/javascript/engine/widgets/core_workarounds.min.js
JavaScript
gpl-2.0
665
/*global describe, it, runs, waitsFor, expect, require, document*/ describe("Topbar module", function () { 'use strict'; var qs = function(){return { getHash: function(){}, setHash: function(){} }}, loader = {}, toc = {}, track = { event: function(){} }, throbber = {}, body = getBody(), wind...
SuriyaaKudoIsc/wikia-app-test
extensions/wikia/WikiaMobile/js/spec/topbar.spec.js
JavaScript
gpl-2.0
939
export { default as mdlUpgrade } from './utils/mdlUpgrade'; export { default as MDLComponent } from './utils/MDLComponent'; // components export { default as Badge } from './Badge'; export { default as Button } from './Button'; export { Card, CardTitle, CardActions, CardMedia, CardText, CardMenu } from './Card...
Alex-Shilman/Drupal8Node
node_modules/react-mdl/src/index.js
JavaScript
gpl-2.0
1,615
const { buildRadioGroup, appCommandSender } = require('./utils'); const platform = require('../detect/platform'); const buildViewMenu = (settings, isAuthenticated) => { settings = settings || {}; isAuthenticated = isAuthenticated || false; const themeSubMenu = []; if (!platform.isLinux()) { themeSubMenu.p...
Automattic/simplenote-electron
desktop/menus/view-menu.js
JavaScript
gpl-2.0
4,805
(function (window, chrome, console) { // Based on https://github.com/googlecast/CastVideos-chrome/blob/master/CastVideos.js /** * Constants of states for Chromecast device **/ var DEVICE_STATE = { 'IDLE': 0, 'ACTIVE': 1, 'WARNING': 2, 'ERROR': 3, ...
RavenB/Emby
MediaBrowser.WebDashboard/dashboard-ui/scripts/chromecast.js
JavaScript
gpl-2.0
24,741
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp","hi",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"सामान्य",items:[{name:"Ed...
christopherhuntley/daphnedixon
sites/all/libraries/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js
JavaScript
gpl-2.0
3,961
/** * Shell Volume Mixer * * Volume menu item implementation. * * @author Alexander Hofbauer <alex@derhofbauer.at> */ /* exported Menu */ const Gvc = imports.gi.Gvc; const Lib = imports.misc.extensionUtils.getCurrentExtension().imports.lib; const PopupMenu = imports.ui.popupMenu; const Volume = imports.ui.statu...
aleho/gnome-shell-volume-mixer
shell-volume-mixer@derhofbauer.at/lib/menu/menu.js
JavaScript
gpl-2.0
10,441
/* Extends the setting class for colour changing */ Setting.extend("Colour",{ init: function(data, serverUrl, roomId, deviceId, capType){ this._super(data, serverUrl, roomId, deviceId, capType); this.cw = Raphael.colorwheel($(this.divId)[0], 200); this.cw.input($(this.divId + "_input")[0])...
abradner/homely
app/frontend/js/colour-setting.js
JavaScript
gpl-2.0
1,892
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; define(["require", "exports", "../../interfaces/IPageContent/i...
benshez/DreamWeddingCeremomies
JsonApiApplication/client/app/queries/page-content/query.js
JavaScript
gpl-2.0
1,475
const browser_reqs = [ 'typedarrays', 'queryselector', 'websockets', 'webgl', 'xhrresponsetypearraybuffer', 'requestanimationframe', 'raf', // 'FAKE_BROWSER_FEATURE', // this can be used for testing the bad-browser message ]; function create() { let modname = location.hash.replace(/...
mwcz/Kimotion
src/app.js
JavaScript
gpl-2.0
746
jQuery(document).ready(function($) { var $body = $('body'), $edd_cart_amount = $('.edd_cart_amount'); // Update state/province field on checkout page $body.on('change', '#edd_cc_address input.card_state, #edd_cc_address select', function() { var $this = $(this); if( 'card_state' != ...
sumobi/Easy-Digital-Downloads
assets/js/edd-checkout-global.js
JavaScript
gpl-2.0
10,406
/* * File: app/view/loginWindow.js * * This file was generated by Sencha Architect version 3.2.0. * http://www.sencha.com/products/architect/ * * This file requires use of the Ext JS 4.2.x library, under independent license. * License of Sencha Architect does not include license for Ext JS 4.2.x. For more * det...
nices96/athena-meerkat
console/app/view/loginWindow.js
JavaScript
gpl-2.0
5,555
function openTab(value) { var colours = new Object(); colours.one = 'rgba(126, 173, 199, 0.95)'; colours.two = 'rgba(95, 255, 249, 0.95)'; colours.three = 'rgba(242, 187, 255, 0.95)'; var borders = new Object(); borders.one = '#2790B9'; borders.two = '#0CE6E6'; borders.three = '#E6A4CB'; var tab...
Peter-Bugaj/three-D-Calendar
src/layout/tabs/main-tab-entry.js
JavaScript
gpl-2.0
1,780
showWord(["v. ","ale nan diferan direksyon. Mache tankou yon moun ki sou. Avanse san desizyon.<br>"])
georgejhunt/HaitiDictionary.activity
data/words/zigzage.js
JavaScript
gpl-2.0
101
showWord(["v. "," 1. Fèmen kòl, fèmen nan kou. Rad sa a kòlte. 2. Mete kòl, mete kravat. Jan pati byen kòlte." ])
georgejhunt/HaitiDictionary.activity
data/words/k~olte.js
JavaScript
gpl-2.0
120
showWord(["","1. Vini avèk. Pote liv jeyometri a prete m. 2. Ale avèk, pran. Li pote tout gato a ale lakay li. " ])
georgejhunt/HaitiDictionary.activity
data/words/pote_pot_.js
JavaScript
gpl-2.0
117
export default angular.module('VirtualBookshelf', ['angular-growl', 'blockUI', 'ngDialog', 'angularUtils.directives.dirPagination']) .config(function (growlProvider, blockUIConfig, paginationTemplateProvider) { growlProvider.globalTimeToLive(2000); growlProvider.globalPosition('top-left'); growlProvider.glo...
Galiaf47/VirtualBookshelf
src/js/app.js
JavaScript
gpl-2.0
559
if(ActivityDiagramClass && ArrowClass){ $(document).on('activityAdded.wfAuthoring', function(event, response){ try{ var activity = ActivityDiagramClass.feedActivity({ "data": response.label, "attributes": {"id": response.uri} }); //draw activity with the default positionning: ActivityDiagramCl...
oat-sa/extension-tao-wfauthoring
views/js/authoring/ActivityDiagramEventBinding.js
JavaScript
gpl-2.0
5,770
/*! * tablesorter (FORK) pager plugin * updated 2018-08-27 (v2.31.0) */ /*jshint browser:true, jquery:true, unused:false */ ;(function($) { 'use strict'; /*jshint supernew:true */ var ts = $.tablesorter; $.extend({ tablesorterPager: new function() { this.defaults = { // target the pager markup contai...
lamsfoundation/lams
lams_central/web/includes/javascript/jquery.tablesorter-pager.js
JavaScript
gpl-2.0
45,783
function initialise_sliders(){ $( "div.slider" ).slider({ slide: slid, step: 0.000000001, change: changed }); populate(); }; function slid(event, ui){ update_indicator(event.target.id, ui.value); } function update_indicator(slider_id, penalty){ var indicator_id = "#" + slider_id + "Penalty"; $...
TabLand/timetabling
ux/js/penalizer.js
JavaScript
gpl-3.0
1,245
import React, { PureComponent } from 'react'; import { Modal } from 'antd'; import { inject, observer } from 'mobx-react'; import PropTypes from 'prop-types'; import ProofreadAuditorForm from './ProofreadAuditorForm'; import ProofreadTypeForm from './ProofreadTypeForm'; import ProofreadReturnForm from './ProofreadRetur...
sxyhappy/mi-srv-fe
src/containers/news-proofread-container/ProofreadModal.js
JavaScript
gpl-3.0
1,330
/// 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.20/15.4.4.20-5-9.js
JavaScript
gpl-3.0
875
export default { methods: { // ready 状态延迟时间,200ms getReady (readyDelay = 200) { setTimeout(() => this.ready = true, readyDelay); }, setError (error) { // 没错误 if (error === undefined) { this.error = { }; return; ...
ppyTeam/bigger-blog
resources/assets/js/mixins/common.js
JavaScript
gpl-3.0
515
import { Record } from 'immutable'; const InitialState = Record({ selectedSymbol: 'ciseaux', }); const initialState = new InitialState; export default (state = initialState, action) => { switch (action.type) { case 'SELECT_SYMBOL': return state.set('selectedSymbol', action.payload); default: ...
micabe/PFCLS-exercise
src/reducers/ui.js
JavaScript
gpl-3.0
342
// Get data from a data source, using localStorage for now. function getData(key) { const namespacedKey = STORENAMESPACE + key; return JSON.parse(localStorage.getItem(namespacedKey)); } // Set the data in a data source, using localStorage for now. function setData(key, value) { const namespacedKey = STORENAMESPACE...
louisgv/1217-230
project3/documentation/js/store.js
JavaScript
gpl-3.0
573
import React, { Component } from "react"; import PropTypes from "prop-types"; import classnames from "classnames"; import { Components, registerComponent } from "@reactioncommerce/reaction-components"; class Switch extends Component { static defaultProps = { checked: false } static propTypes = { checked...
xxbooking/reaction
imports/plugins/core/ui/client/components/switch/switch.js
JavaScript
gpl-3.0
2,251
/** * Overscroll v1.6.4 * A jQuery Plugin that emulates the iPhone scrolling experience in a browser. * http://azoffdesign.com/overscroll * * Intended for use with the latest jQuery * http://code.jquery.com/jquery-latest.js * * Copyright 2012, Jonathan Azoff * Dual licensed under the MIT or GPL Version 2 li...
SethStalley/Project-Nitrate
Prototipo/App/App prototype/resources/_jim/javascript/mobile/ios/ios8/function-external-overscroll.js
JavaScript
gpl-3.0
25,665
module.exports.odin = { baseUrl: 'http://localhost:3000', kongHost: '0.0.0.0', kongAdmin: '0.0.0.0:8001', recaptchaSecret: '6LcBhAkUAAAAABqD6jm_Cd3uFALNoXRr6ZXqvyBG', uploadFolder: 'files', datasetZipFolder: 'datasets', logFolder: 'logs', logFile: 'sailsApp.log', statisticsPath: 'sta...
gcba-odin/odin
config/odin.js
JavaScript
gpl-3.0
942
'use strict'; const router = require('express').Router(); const middleware = require('../../middleware'); const controllers = require('../../controllers'); const routeHelpers = require('../helpers'); const setupApiRoute = routeHelpers.setupApiRoute; module.exports = function () { const middlewares = [middleware.aut...
bdharrington7/NodeBB
src/routes/write/posts.js
JavaScript
gpl-3.0
1,396
import I18n from "i18n-js" I18n.translations || (I18n.translations = {}); I18n.translations["en"] = { "days_in_office": "Days in office: %{nb_days}", "mandate_terminated": "Mandate ended", "entity_full_title": "%{name} lead by %{leader}", "promise": { "one": "Promise", "other": "Promises", "status"...
Betree/democracy-watcher
src/translations/en.js
JavaScript
gpl-3.0
686
var classlognotify_1_1_condicion = [ [ "Condicion", "classlognotify_1_1_condicion.html#a7fa2c60cf042b82ef04a446c8b223a02", null ], [ "evaluar", "classlognotify_1_1_condicion.html#a1eb83a1cf9cc215fe5eaaab6f6fab971", null ], [ "regex_", "classlognotify_1_1_condicion.html#aa9df9f3969295db87c0fc14a380947dd", nu...
guillermofarina/lognotify
lognotifycli/doc/html/classlognotify_1_1_condicion.js
JavaScript
gpl-3.0
422
import { connect } from 'react-redux' import { setTranslation, setValue } from '../actions/index.js' import Input from './Input' const mapStateToProps = (state) => { return { spacing: state.spacing, runes: state.runes } } const mapDispatchToProps = (dispatch) => { return { handleChange: (e, spacing,...
perrymacneill/runic-unicode-translator
src/components/TranslationInput.js
JavaScript
gpl-3.0
567
var keystone = require('keystone'), Types = keystone.Field.Types; /** * Author Model * ========== */ var Author = new keystone.List('Author'); Author.add({ name: { type: Types.Name, required: true, index: true }, email: { type: Types.Email, initial: true, required: false, index: true }, image: { type: Types.U...
didymu5/inhkeystone
models/Author.js
JavaScript
gpl-3.0
704
/*! jQuery UI - v1.10.4 - 2015-10-04 * http://jqueryui.com * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.sq={closeText:"mbylle",prevText:"&#x3C;mbrapa",nextText:"Përpara&#x3E;",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qer...
avitheque/amc-builder
public/jquery/jquery-ui-1.11.4/ui/minified/i18n/jquery.ui.datepicker-sq.min.js
JavaScript
gpl-3.0
814
var mongo = require('mongoose'); var schema = mongo.Schema; var bcrypt = require('bcrypt-nodejs'); var userSchema = new schema({ name: String, username: { type: String, required: true, index: { unique: true } }, password: { type: String, required: true, select: false } }); userSchema.pre( 'save', function(next){...
awci/todo
app/models/user.js
JavaScript
gpl-3.0
712
import getFakeMongoCursor from "/imports/test-utils/helpers/getFakeMongoCursor"; import navigationItemsByShopIdResolver from "./navigationItemsByShopId"; const opaqueShopId = "cmVhY3Rpb24vc2hvcDoxMjM="; // reaction/shop:123 const mockNavigationItems = [ { _id: "n1", createdAt: "2018-11-16T15:09:38.586Z", ...
anthonybrown/reaction
imports/plugins/core/navigation/server/no-meteor/resolvers/Query/navigationItemsByShopId.test.js
JavaScript
gpl-3.0
1,738
{"buildings":[{"latitude":"33.415954","address":["3402 E. University","Phoenix, United States"],"longitude":"-112.009214","offset":"background:url('images/markers.png') no-repeat -1166px 0;","id":18895},{"latitude":"33.45179","address":["Carpathia Phoenix","120 East Van Buren Street","Phoenix, United States, 85004"],"l...
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/metro-areas/phoenix.js
JavaScript
gpl-3.0
907
'use strict'; /* Directives */ angular.module('blogularApp.directives', []). directive('appVersion', ['version', function(version) { return function(scope, elm, attrs) { elm.text(version); }; }]);
beydogan/blogular
app/js/directives.js
JavaScript
gpl-3.0
218
// ============================================= $(function () { // ----------------------------------------- }); // ============================================= // ------------------------------------------------------------------------------------------ function createProposal() { if ($('#newproposal-fo...
kristofzerbe/OpenAntrag
OpenAntrag/ScriptsCustom/representations.js
JavaScript
gpl-3.0
16,315
/** EuBrazilCC UC3 Gateway Copyright 2014-2015 EUBrazilCC (EU‐Brazil Cloud Connect) 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 vers...
Ophidia/eubrazilcc-uc3-gateway
WebContent/ophwebanalytics/expdetails/model/IndicatorModel.js
JavaScript
gpl-3.0
881
/** * Genji Scrum Tool and Issue Tracker * Copyright (C) 2015 Steinbeis GmbH & Co. KG Task Management Solutions * <a href="http://www.trackplus.com">Genji Scrum Tool</a> * * 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...
trackplus/Genji
src/main/webapp/js/util/PersonPickerDialog.js
JavaScript
gpl-3.0
9,149
document.addEventListener('DOMContentLoaded', function () { if (!Notification) { alert('Desktop notifications not available in your browser. Try Chromium.'); return; } if (Notification.permission !== "granted") Notification.requestPermission(); }); module.exports = function (title, icon, body) { if ...
igorgottschalg/Tomaatti
client/templates/components/notify.js
JavaScript
gpl-3.0
623
import React from 'react'; import { Component, PropTypes } from 'react'; import Link from 'react-router/lib/Link' // Utils import { getAvg } from '@/utils'; // Boostrap import { Tooltip, OverlayTrigger } from 'react-bootstrap'; // Components import Rating from '@/components/common/rating'; import SvgComponent from '...
luisfbmelo/reda
public/assets/scripts/components/resources/common/resource.js
JavaScript
gpl-3.0
4,858
var list = {} var status = {} var requestLink = {} var splitLink = {} var temp var DL = require('ytdl-core') var YT = require('youtube-dl') var fs = require('fs') var Logger = require('./logger.js').Logger var Config = require('../../config.json') var bugsnag = require('bugsnag') bugsnag.register(Config.api_keys.bugsna...
Wyox/WildBeast
runtime/internal/voice.js
JavaScript
gpl-3.0
24,280
/* If an id is also specified and a window with a matching id has been shown before, the remembered bounds of the window will be used instead. */ 'use strict'; function startApplication() { var applicationStartTime = new Date().getTime(); chrome.app.window.create('main.html', { id: 'main-window', ...
openLRSng/openLRSng-configurator
eventPage.js
JavaScript
gpl-3.0
4,523
import Queue from 'bull'; import logger from 'lib/logger'; import { isString, values } from 'lodash'; import * as redis from 'lib/connections/redis'; import { Promise } from 'bluebird'; const Bull = { queues: {} }; const logError = queueName => (error) => { logger.error(`QUEUE ERROR: ${queueName}`, error); }; co...
LearningLocker/learninglocker
lib/services/queue/bull/index.js
JavaScript
gpl-3.0
2,612
// Reddit Music Player // Copyright (C) 2014 Ilias Ismanalijev // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (a...
EpicWolverine/redditmusicplayer
app/js/modules/events.js
JavaScript
gpl-3.0
4,302
/*replacement to TinyMCE codesample plugin (supports Markdown); dedicated to MODX Revolution community and anybody else out there. by donshakespeare https://github.com/donShakespeare/twPreCodeManager twPreCodeManager.js An ingenious way to use TinyMCE to do the infamous thing called, HTML entitizing tinymce.init({ ...
donShakespeare/tinymce_wrapper
assets/components/tinymcewrapper/tinymceplugins/twPreCodeManager.js
JavaScript
gpl-3.0
12,954
const npcWins = document.querySelector('#NPCWins'); const playerWins = document.querySelector('#PlayerWins'); // Add a badge to the winning side function addWinningBadge(winSide){ const badge = createElementWithClass('span', 'oi') badge.setAttribute('data-glyph', 'star'); winSide.appendChild(badge) } // The comb...
louisgv/1217-230
project2/src/combat.js
JavaScript
gpl-3.0
5,030
var searchData= [ ['magnitude',['magnitude',['../classjackal_1_1_vector2.html#acfe54d395f883e03921a2fba962ad41d',1,'jackal::Vector2::magnitude()'],['../classjackal_1_1_vector3.html#a56d062411460882a6a4df49d51b4b928',1,'jackal::Vector3::magnitude()']]], ['magnitudesqr',['magnitudeSqr',['../classjackal_1_1_vector2.ht...
ShadowArkitecht/Jackal-Engine
doc/html/search/all_c.js
JavaScript
gpl-3.0
3,238
import React, { PropTypes } from 'react' const Reset = ({ onClick }) => { return <div onClick={onClick} className="reset">Reset</div> } Reset.propTypes = { onClick: PropTypes.func.isRequired } export default Reset
rlayeh/TicTacToe
src/components/Reset.js
JavaScript
gpl-3.0
223
var DataprooferTest = require("dataproofertest-js"); var numberOfRowsIs65k = new DataprooferTest(); /** * Test to see if number of rows is exactly 65,536 rows (cutoff by Excel) * * @param {Array} rows - an array of objects representing rows in the spreadsheet * @param {Array} columnHeads - an array of strings fo...
dataproofer/Dataproofer
packages/core-suite/src/numberOfRowsIs65k.js
JavaScript
gpl-3.0
967
var searchData= [ ['remoteaddress',['remoteAddress',['../d4/d33/classSocket.html#aea5a56e9aa58cd921df2d28693aa52c7',1,'Socket']]], ['remoteport',['remotePort',['../d4/d33/classSocket.html#a4ad81f48d21bceda7bc1c27389685c6f',1,'Socket']]], ['response',['response',['../d6/d28/classMessage.html#a78167fa1a78f782d15ea7...
xushiwei/fibjs
docs/search/variables_11.js
JavaScript
gpl-3.0
759
/** * Ext.ux.ingraph.View * Copyright (C) 2012 NETWAYS GmbH, http://netways.de * * This file is part of Ext.ux.ingraph. * * Ext.ux.ingraph 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...
NETWAYS/ingraph
icinga-web/inGraph/lib/js/ext/ux/ingraph/View.js
JavaScript
gpl-3.0
31,895
/* ***** BEGIN LICENSE BLOCK ***** * Version: GPL 3.0 * * The contents of this file are subject to the General Public License * 3.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.gnu.org/licenses/gpl.html * * Software dist...
asine/exchangecalendar
common/exchangeapi/erAutoDiscover.js
JavaScript
gpl-3.0
8,399
import eq from './eq'; /** Used for built-in method references. */ var objectProto = Object.prototype; /** Used to check objects for own properties. */ var hasOwnProperty = objectProto.hasOwnProperty; /** * Assigns `value` to `key` of `object` if the existing value is not equivalent * using [`SameValueZero`](http:...
adrian-spataru/minitube
node_modules/lodash-es/_assignValue.js
JavaScript
gpl-3.0
870
var searchData= [ ['vex',['vex',['../namespacevex.html',1,'']]] ];
RobertBakaric/MinVexCov
doc/doxy/html/search/namespaces_76.js
JavaScript
gpl-3.0
69
function entra(){ // Recuperem les imatges var imatges = document.getElementsByTagName("img"); //Desactivem l'event onclick imatges[0].onclick=""; imatges[1].onclick=""; //Obrim l'aplicació en una nova finestra sense barres d'eines, barra de navegació, menú,... var win = window.open("index.php","_blan...
bitdixit/latofona
js/inici.js
JavaScript
gpl-3.0
608
var fs = require('fs'); // var async = require('async'); var _ = require('underscore'); var pg = require('pg'); pg.defaults.database = 'intersect_test'; pg.defaults.host = 'localhost'; pg.defaults.user = 'mrbuttons'; pg.defaults.password = 'mrbuttons'; // { // id: '12345', // lon: "-40.123", // lat...
aepyornis/you-are-at
osm_to_pg.js
JavaScript
gpl-3.0
3,151
var onSaveClicked = function (event, tab) { var filter = event.selectionText; var id = CryptoJS.SHA256(filter).toString(); window.console.log("onSaveClicked: check for hash" + id); chrome.storage.sync.get("jiraFilters", function (items) { if (Object.keys(items).length !== 0) { it...
patrick-blom/jira-filterxport
src/bg/background.js
JavaScript
gpl-3.0
2,703
// FILTRO DA LISTAGEM PARCEIROS function searchParceiros() { var input, filter, table, tr, td, i; input = document.getElementById("searchParceiros"); filter = input.value.toUpperCase(); table = document.getElementById("listParceiros"); tr = table.getElementsByTagName("tr"); for (i = 0; i < tr.length; i++) ...
raphacmartin/rotary
admin/js/gerenciar-parceiros.js
JavaScript
gpl-3.0
831
MODX Evolution 1.0.2 = 0a9e3175637c1ea924d225d541161992
gohdan/DFC
known_files/hashes/assets/plugins/tinymce3241/jscripts/tiny_mce/plugins/advhr/langs/ru_dlg.js
JavaScript
gpl-3.0
56
// RequireJS Mustache template plugin // http://github.com/jfparadis/requirejs-mustache // // An alternative to https://github.com/millermedeiros/requirejs-hogan-plugin // // Using Mustache Logic-less templates at http://mustache.github.com // Using and RequireJS text.js at http://requirejs.org/docs/api.html#text // @a...
LucaMarzialetti/BGP_streamgraph
dev/libs/stache.js
JavaScript
gpl-3.0
2,838
/* widget personnalisable pour le HBS (connectizz) Copyright (C) 2016 B2f-concept 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 version 3 of the License. This program is di...
b2fconcept/widget-hbs
js/lib/jquery/hbs/pagination.js
JavaScript
gpl-3.0
6,060