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
// This file was autogenerated by calcdeps.js goog.addDependency("../../src/async_load.js", [], []); goog.addDependency("../../src/closure.js", [], []); goog.addDependency("../../src/core/browserinfo.js", ["webfont.BrowserInfo"], []); goog.addDependency("../../src/core/cssclassname.js", ["webfont.CssClassName"], []); g...
TakenCdosG/tkc
sites/all/themes/tkc/js/webfontloader-master/spec/deps.js
JavaScript
gpl-2.0
2,527
/* * FancyBox - jQuery Plugin * Simple and fancy lightbox alternative * * Examples and documentation at: https://fancybox.net * * Copyright (c) 2008 - 2010 Janis Skarnelis * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support ...
vasiljevski/admirorgallery
com_admirorgallery/admirorgallery/admirorgallery/popups/fancybox-downloadButton/js/jquery.fancybox-1.3.4.js
JavaScript
gpl-2.0
29,782
;(function buildStylesheetsEnclosure() { var fs = require('fs'); var less = require('less'); var UglifyJS = require('uglify-js'); //https://www.npmjs.com/package/uglify-js var tools = require('./build.tools.js'); //-------------------------------------------------------------------------------------------- ...
odedshr/theodorus
scripts/framework/build.stylesheets.js
JavaScript
gpl-2.0
1,601
!function(ns){var $,options,enqueue=function(fn){var queue=[],locked=1,working=0,fn=fn,instance=function(){queue.push([this,arguments]),locked||instance.execute()};return instance.execute=function(){if(!working){working=1,locked=0;for(var q;q=queue.shift();)fn.apply(q[0],q[1]);working=0}},instance.lock=function(){locke...
cuongnd/test_pro
media/foundry/3.1/config/a974404770b908e4d3fbd90ed8f2d46c.js
JavaScript
gpl-2.0
2,864
/** * editDepartamento * @namespace gestfg.departamentos.directives */ (function () { 'use strict'; angular .module('gestfg.departamentos.directives') .directive('editDepartamento', editDepartamento); /** * @namespace editDepartamento */ function editDepartamento() { /** * @name directive ...
gabriel-stan/gestion-tfg
static/javascripts/departamentos/directives/edit-departamento.directive.js
JavaScript
gpl-2.0
715
//>>built define("dojox/form/Manager","dijit/_Widget dijit/_AttachMixin dijit/_WidgetsInTemplateMixin ./manager/_Mixin ./manager/_NodeMixin ./manager/_FormMixin ./manager/_ValueMixin ./manager/_EnableMixin ./manager/_DisplayMixin ./manager/_ClassMixin dojo/_base/declare".split(" "),function(a,b,c,d,e,f,g,h,k,l,m){retur...
joshuacoddingyou/php
public/scripts/dojox/form/Manager.js
JavaScript
gpl-2.0
541
!function(e){"use strict";"function"==typeof define&&define.amd?define(["../widgets/datepicker"],e):e(jQuery.datepicker)}(function(e){"use strict";return e.regional.eo={closeText:"Fermi",prevText:"<Anta",nextText:"Sekv>",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Juli...
backdrop-ops/backdrop-pantheon
core/misc/ui/i18n/datepicker-eo.js
JavaScript
gpl-2.0
799
// Module module :P var Modules = angular.module("Modules", ["ngRoute", "ngAnimate"]); add_dependency("Modules"); // This controller is responsible to parse modules and load them Modules.controller("ModulesController", ["$location", "$scope", "$controller", "UserPermissions", "gettext", function($location, $scope, $c...
Yellowen/dashstrap
app/assets/javascripts/dashstrap/modules/modules.js
JavaScript
gpl-2.0
3,064
import fp from 'lodash/fp'; const unicodeRegex = /[\u00BC-\u00BE]|[\u2150-\u215E]/; const numberWithFractionRegex = /^(\d*\.?\d*)\s?((\d+)\/(\d+))?$/; const unicodeObj = { ['¼']: '1/4', ['½']: '1/2', ['¾']: '3/4', ['⅐']: '1/7', ['⅑']: '1/9', ['⅒']: '1/10', ['⅓']: '1/3', ['⅔']: '2/3', ['⅕']: '1/5', ['⅖']: '...
s-plum/nomsbase
src/js/reciparse/ingredient-amount.js
JavaScript
gpl-2.0
1,754
$(function () { //var tempwid = $('.lcd').width(); $("#sparkline").sparkline('html', { type: 'line', width: 600,// - tempwid, height: '100', fillcolor: undefined, minSpotColor: '#0000ff', maxSpotColor: '#ff0000', spotRadius: 3, normalRangeMin: 19.7...
icovada/riscaldapi
web_intf/script/script.js
JavaScript
gpl-2.0
1,437
/** * Jquery extensions by tvfeeds */ (function($,window,document){ "use strict"; /** * Function to acquire the breakpoint by using the content of the after element of the body. * Call function with $.getBreakpoint() */ $.getBreakpoint = function(){ var tag = window.getComputedStyle(document.body...
kevin-vb/tvfeeds8.local
themes/tvfeeds_base/js/min/scripts.js
JavaScript
gpl-2.0
6,490
; ; (function($) { Drupal.behaviors.ace_editor_admin = { attach: function(context, settings) { // Contains the settings for the editors. var editorSettings; var formIdentifier; /** * If the user selected a text format configured to be used with the editor, * show it, else show the default textarea...
MozillaUK/mozilla.org.uk
sites/default/files/js/js_dKSZH-4jMUKtSNBKCEKzZPUZZdvu6GluiKJGmrdb8OQ.js
JavaScript
gpl-2.0
12,554
(function ($) { /** * Attach the machine-readable name form element behavior. */ Drupal.behaviors.machineName = { /** * Attaches the behavior. * * @param settings.machineName * A list of elements to process, keyed by the HTML ID of the form element * containing the human-readable value. Each ele...
chanchal2002/test
sites/default/files/js/js_b7Rb8EF_Sp-kXdOAMc-UpZQ-nuqjlEmAy2QAFcpfNm0.js
JavaScript
gpl-2.0
13,673
/** * @file * Javascript, modifications of DOM. * * Manipulates links to include jquery load funciton */ (function ($) { Drupal.behaviors.jquery_ajax_load = { attach: function (context, settings) { jQuery.ajaxSetup ({ // Disable caching of AJAX responses cache: false }); var trig...
mikeusry/gsc
LASIK/js/js_vQ3suCFQWiZQBts147xxwajFr90Tj7EoGo7ZN75tIic.js
JavaScript
gpl-2.0
19,722
/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.provide("dojo.rpc.RpcService"); dojo.require("do...
zakiya/Peoples-History
sites/all/modules/civicrm/packages/dojo/src/rpc/RpcService.js
JavaScript
gpl-2.0
2,052
!function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}([function(e,t){function o(){r.setAttribute("src","http://localhost:8000/frame"),r.setAttribute("scrolling","no"),r.style....
gcoda/schizopass
bookmark/bookmark.js
JavaScript
gpl-2.0
772
var searchData= [ ['checkaccesstokenarg',['checkAccessTokenArg',['../classDropbox_1_1Client.html#ae73cabd68912379800579f1b424005f1',1,'Dropbox::Client']]], ['checkarg',['checkArg',['../classDropbox_1_1AppInfo.html#a25b686a10a8253857b2c3d699a49b742',1,'Dropbox\AppInfo\checkArg()'],['../classDropbox_1_1Host.html#a603...
beegee-tokyo/spMonitor
docs/html/search/functions_3.js
JavaScript
gpl-2.0
4,324
/* * Copyright (c) by the ACP3 Developers. * See the LICENSE file at the top-level module directory for licensing details. */ module.exports = (gulp) => { "use strict"; const componentPaths = require("./component-paths"); const gulpStylelint = require("gulp-stylelint"); const plumber = require("gulp-plumbe...
ACP3/cms
build/gulp/stylelint-scss.js
JavaScript
gpl-2.0
691
describe('directive fileInputChange', function() { var $document, scope, element; beforeEach(angular.mock.module('bonitasoft.designer.home')); beforeEach(inject(function($injector) { var rootScope = $injector.get('$rootScope'); var compile = $injector.get('$compile'); $document = $injector.get('$do...
bonitasoft/bonita-ui-designer
frontend/test/unit/home/file-input-change.directive.spec.js
JavaScript
gpl-2.0
906
showWord(["n fr. ","Mouri, ki rive kote li tap prale a, ki pa sou latè a ankò. Madan Jisten nan pye verite l kounye a." ])
georgejhunt/HaitiDictionary.activity
data/words/nanlyeverite_nanpyeverite_.js
JavaScript
gpl-2.0
124
/* phpTrackme * * Copyright(C) 2013 Bartek Fabiszewski (www.fabiszewski.net) * * This 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 Software Foundation; either version 2 of the License, or * (at your option) any l...
comitservice/phpTrackMe
main.js
JavaScript
gpl-2.0
10,507
/** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ define([ 'jquery', 'productGallery', 'jquery/ui', 'Magento_Ui/js/modal/modal', 'mage/translate', 'mage/backend/tree-suggest', 'mage/backend/validation', 'newVideoDialog' ], function ($, prod...
kunj1988/Magento2
app/code/Magento/ProductVideo/view/adminhtml/web/js/video-modal.js
JavaScript
gpl-2.0
2,109
/** * rtPanel Admin Scripts * * @package rtPanel * * @since rtPanel 2.0 */ jQuery(document).ready(function() { var expand = false; var post_date_u = jQuery('#post_date_u').attr('checked'); var post_date_l = jQuery('#post_date_l').attr('checked'); var post_author_u = jQuery('#post_author_u').attr(...
rtCamp/rtpanel
admin/js/rtp-admin.js
JavaScript
gpl-2.0
19,195
'use strict'; describe('Controller: MainCtrl', function () { // load the controller's module beforeEach(module('chiamoApp')); var MainCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); MainCtrl = $control...
byu-osl/chiamo
test/spec/controllers/main.js
JavaScript
gpl-2.0
505
var NwBuilder = require('node-webkit-builder'); var gulp = require('gulp'); var gutil = require('gulp-util'); var zip = require('gulp-zip'); var platforms = []; // Which platforms should we build if (process.argv.indexOf('--win32') > -1) platforms.push('win32'); if (process.argv.indexOf('--win64') > -1) platf...
ericleib/tyle
gulpfile.js
JavaScript
gpl-2.0
2,212
/** * Order Editor * * Authors: Mladen Mijatov */ var Caracal = Caracal || new Object(); Caracal.Backend = Caracal.Backend || new Object(); /** * Constructor function for order editor. * * @return object */ Caracal.Backend.OrderEditor = function() { var self = this; self.list = null; self.dragged_item = ...
Way2CU/Caracal
modules/backend/include/order_editor.js
JavaScript
gpl-2.0
2,797
showWord(["n. ","1. Zòn kòf lestomak, pati ant kou ak anba zo kòt. Madanm nan di doktè a li gen yon doulè nan pwatrin. 2. Tete, sen fi. Madanm sa a gen gwo pwatrin." ])
georgejhunt/HaitiDictionary.activity
data/words/pwatrin.js
JavaScript
gpl-2.0
173
var sound = new Sound(); var game = new atom.Game(); var currentScreen = new PresentedBy(); var canvas = document.getElementById('canvas'); var ctx = canvas.getContext('2d'); var link = document.createElement('link'); link.rel = 'stylesheet'; link.type = 'text/css'; link.href = 'assets/fonts.css'; document.getElement...
spherical-cows/fashion
lib/index.js
JavaScript
gpl-2.0
1,093
/** * @typedef {import('mdast').List} List * @typedef {import('../types.js').Handle} Handle */ import {containerFlow} from '../util/container-flow.js' import {checkBullet} from '../util/check-bullet.js' import {checkBulletOther} from '../util/check-bullet-other.js' import {checkBulletOrdered} from '../util/check-bu...
Xmetalfanx/linuxSetup
node_modules/mdast-util-to-markdown/lib/handle/list.js
JavaScript
gpl-3.0
3,282
// @flow import React, { PureComponent } from 'react'; import T from 'prop-types'; import { connect } from 'react-redux'; import cn from 'classnames'; import Link from 'components/generic/Link'; import { BaseLink } from 'components/ExtLink'; import { closeEverything } from 'actions/creators'; import { foundationPart...
ProteinsWebTeam/interpro7-client
src/components/Menu/MenuItem/index.js
JavaScript
gpl-3.0
2,678
// Runs megamark with default whitelist module.exports = function defaultMarkdown(element) { var html = require('megamark')( element, { sanitizer: { allowedTags: [ "a", "article", "b", "blockquote", "br", "caption", "code", "del", "details", "div", "em", "h1", "h2", "h3", ...
publiclab/inline-markdown-editor
src/defaultMarkdown.js
JavaScript
gpl-3.0
1,594
// ANZARD - Australian & New Zealand Assisted Reproduction Database // Copyright (C) 2017 Intersect Australia Ltd // // 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 Li...
IntersectAustralia/anzard
app/assets/javascripts/help_text.js
JavaScript
gpl-3.0
2,161
import OpenplatormMock from '../util/OpenplatformMock'; let openplatformMock = new OpenplatormMock(); // Set this to true if you want to record openplatform responses const record = false; describe('Order ', function() { beforeEach(function() { openplatformMock.init({ record, cy }); }); aft...
DBCDK/content-first
e2e/cypress/integration/order.spec.js
JavaScript
gpl-3.0
3,986
/* Defense against threats, both immediate and potential, local or global (weapons of mass destruction) http://defensedistributed.com/ http://defcad.org http://en.wikipedia.org/wiki/Martial_arts http://en.wikipedia.org/wiki/Krav_Maga http://en.wikipedia.org/wiki/Jeet_Kune_Do http://en.wikipedia.org/wiki/First_Ear...
Global-Survival/curiosume
plugin/defense.js
JavaScript
gpl-3.0
694
export const START_EDIT_BOOKING_FLOW = 'START_EDIT_BOOKING_FLOW'; export function startEditBookingFlow(id, owner, startTime, endTime, numberOfWashingMachineUses, numberOfTumbleDryUses, date) { return { type: START_EDIT_BOOKING_FLOW, id, owner, startTime, endTime, numb...
holdam/washingmachine-booking
WashingmachineFrontend/vaskemaskine-app/src/state/actions/editBookingFlow.js
JavaScript
gpl-3.0
554
{"exchanges":[{"info":[{"onclick":null,"link":"mailto:","value":"Matthias Cramer, President of Association"},{"onclick":null,"link":null,"value":"41 1 307 35 60"},{"onclick":null,"link":"mailto:info@swissix.ch","value":"info@swissix.ch"},{"onclick":"window.open(this.href,'ix-new-window');return false;","link":"http://w...
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/buildings/16193.js
JavaScript
gpl-3.0
551
const fs = require('fs') const fse = require('fs-extra') const path = require('path') const archiver = require('archiver') const VERSION = require(path.resolve(__dirname, '../package.json')).version.split('.').slice(0, 2).join('.') const DIST_DIR = path.resolve(__dirname, `../dist`) const DIST_FILE = path.resolve(DIST...
BlueSky-07/Shuang
scripts/release.js
JavaScript
gpl-3.0
1,267
var page = require('page'); var empty = require('empty-element'); var template = require('./template'); var title = require('title'); var request = require('superagent'); var header = require('../header'); var axios = require('axios'); page('/', header, loading,asyncLoad, function (ctx, next) { title('Platzigram'); ...
Maqnai2234/Gram
src/homepage/index.js
JavaScript
gpl-3.0
1,472
"use strict"; const OpeningBooks = require("./opening-books/index.js"); const ECO = require("./eco/index.js"); const EPD = require("./epd/index.js"); const Engines = require("./engines/index.js"); module.exports = { 'OpeningBooks' : OpeningBooks, 'ECO' : ECO, 'EPD' : EPD, 'Engines' : Engines }
johnfontaine/chess-tools
index.js
JavaScript
gpl-3.0
303
/* * * TableSorter 2.0 - Client-side table sorting with ease! * Version 2.0.3 * @requires jQuery v1.2.3 * * Copyright (c) 2007 Christian Bach * Examples and docs at: http://tablesorter.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.o...
zsh2938/FHC-Core
include/js/jquery.tablesorter.js
JavaScript
gpl-3.0
24,689
import React, { PureComponent } from "react"; import PropTypes from "prop-types"; import IconComposer from "global/components/utility/IconComposer"; export default class ResourceImportResultsImporting extends PureComponent { static displayName = "ResourceImport.Results.Importing"; static propTypes = { resourc...
zdavis/manifold
client/src/backend/components/resource-import/results/Importing.js
JavaScript
gpl-3.0
727
/** * cloud code App for Node.js * Created by Mathroz on 13-12-12. */ module.exports = function(BC){ BC.Bql = function(){ var common= BC.common; var err = BC.err; this.exec = function(options,fn){ options.method="GET"; options.table="cloudQuery"; ...
bmob/bmob-nodejs-sdk-demo
node_modules/bmob/lib/bql.js
JavaScript
gpl-3.0
694
'use strict'; Cryptocat.Patterns = { username: /^([a-z0-9]|_){1,16}$/, password: /^.{12,512}$/, version: /^(\d){1,2}.(\d){1,2}.(\d){1,2}$/, sticker: /^CryptocatSticker:\w{4,20}$/, file: /^CryptocatFile:.{240,512}$/, deviceName: /^(\w|\s|\"|\'){1,24}$/, deviceIcon: /^(0|1|2)$/, dateTime: /^\d{4}-\d{2}-\d{2}T\d{...
cryptocat/cryptocat
src/js/patterns.js
JavaScript
gpl-3.0
547
Ext.define('ExtJS6.store.chart.HitRecords2', { extend: 'Ext.data.JsonStore', fields: ['yValue', 'metric1', 'metric2'], alias: 'store.chart.hit2' });
aitch0083/extjs-and-more
extjs6/classic/src/store/chart/HitRecords2.js
JavaScript
gpl-3.0
157
import React from 'react'; import {Button, Icon, Radio, Toolbar} from './../../../../common/UserInterface'; export default class Proxy extends React.Component { static displayName = 'Proxy' static propTypes = { model: React.PropTypes.object.isRequired, onSwitch: React.PropTypes.func.isRequired, onEd...
toxzilla/app
src/app/modules/Network/components/items/Proxy.js
JavaScript
gpl-3.0
1,967
GO.base.SavedExportDialog = Ext.extend(GO.dialog.TabbedFormDialog , { jsonPost: true, className : null, initComponent : function(){ Ext.apply(this, { title:t("Saved export"), goDialogId:'saved-export-dialog', formControllerUrl: 'core/export', height:400, width:500, enableOkButton : true, ...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.3/views/Extjs3/javascript/base/SavedExportDialog.js
JavaScript
gpl-3.0
3,838
import Automaton, {State, Transition} from "./automaton" import { UnknownCharError, UnknownStateError, DeterminismError, StateAlreadyExistError, NextTransitionError } from "./errors" export default class DFAre extends Automaton{ constructor(name, alphabet){super(name, alphabet)} addState(stateName, isIn...
KenyStev/Automaton
js/DFA-RE.js
JavaScript
gpl-3.0
2,057
define(["require", "scripts/utils"],function (require, utils) { var pclass = utils.get_class(character.ctype); var allow_potions_purchase = utils.get_bool_var('allow_potions_purchase'); var allow_potions_purchase = utils.get_bool_var('allow_potions_purchase'); var buy_hp = utils.get_bool_var('buy_hp'); var buy_...
TiagoGoddard/AdventureLandCODE
buying.js
JavaScript
gpl-3.0
2,240
var volk__prefs_8h = [ [ "volk_arch_pref_t", "volk__prefs_8h.html#a0835a69131505c0a32e2b11ea45353ce", null ], [ "volk_get_config_path", "volk__prefs_8h.html#acfec5b37178adccc175445810a4a48f4", null ], [ "volk_load_preferences", "volk__prefs_8h.html#a47e3cd9fc5f53282372cc4525cd53f03", null ] ];
aviralchandra/Sandhi
build/gr36/docs/doxygen/html/volk__prefs_8h.js
JavaScript
gpl-3.0
306
/** ========================================================== * climateAnalogues_v1.js v1.0.0 * ========================================================== * @name Climate Analogues online * @version 1.0 * @author Ernesto Giron Echeverry * @copyright (c) 2013 CCAFS - CIAT, egiron * * Licensed under the Apache L...
CCAFS/Analogues-Platform
js/climateAnalogues_v1.js
JavaScript
gpl-3.0
133,010
/* * Implements a user-facing modal confirmation when link has a * "data-confirm" attribute using bootstrap's modals. MIT license. * * - vjt@openssl.it Tue Jul 2 18:45:15 CEST 2013 */ (function ($) { /** * Builds the markup for a [Bootstrap modal](http://twitter.github.io/bootstrap/javascript.html#modals...
BeGe78/esood
vendor/bundle/ruby/3.0.0/gems/data-confirm-modal-1.6.3/vendor/assets/javascripts/data-confirm-modal.js
JavaScript
gpl-3.0
11,111
module("wysihtml5.dom.setAttributes",{setup:function(){this.element=document.createElement("div")}});test("Basic test",function(){wysihtml5.dom.setAttributes({id:"foo","class":"bar"}).on(this.element);equal(this.element.id,"foo");equal(this.element.className,"bar")});
floss-bush/adsh
plugins/Neatline/views/shared/javascripts/libraries/wysihtml5/test/dom/set_attributes_test.js
JavaScript
gpl-3.0
269
'use strict' const fs = require('fs') const lineReader = require('readline').createInterface({ input: fs.createReadStream(`${__dirname}/data.txt`) }) const data = { fields: [], data: [] } lineReader.on('line', (line) => { if (line.length === 0) { return } const fields = line.split(/\t/) if (fields...
guyb7/animals-data
data_to_json.js
JavaScript
gpl-3.0
884
/* * SimpleModal Contact Form * http://simplemodal.com * * Copyright (c) 2013 Eric Martin - http://ericmmartin.com * * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php */ jQuery(function ($) { var contact = { message: null, init: function () { $('#contact-form inpu...
ufairiya/eams
js/fulljs files/item.js
JavaScript
gpl-3.0
6,168
/** * Overrides to add custom vtypes * * Apply all custom vtypes: * * Common.ui.overrides.VTypes.apply(); * * Apply some custom vtypes: * * Common.ui.overrides.VTypes.applyEqualTo(); * Common.ui.overrides.VTypes.applyHttpUrl(); * * See each method for specific documentation * */ CommonExt.def...
lopezdonaque/CommonJS
src/ui/overrides/VTypes.js
JavaScript
gpl-3.0
3,034
const crypto = require('crypto') const fs = require('fs') const path = require('path') const shell = require('shelljs') const paths = require('../paths') const entries = require('./entries') const compile = require('./compile') const BUILD_DIR = path.resolve(paths.web(), 'themes') const BUILD_FILE = path.resolve(path...
claroline/Distribution
main/core/Resources/server/themes/build.js
JavaScript
gpl-3.0
4,800
function show_receive_payment_form(member_id,basket_id,preferred_name) { // Get the receive_payment_form // var element_id = p_arrElements[j].attributes["id"].value; jQuery.post("ajax/receive_payments_process.php", { process:"get_receive_payment_form", basket_id:basket_id, member_id:member_id, pre...
KateDavis/OFS_trunk
public_html/food/receive_payments.js
JavaScript
gpl-3.0
3,063
//Generic web application routines. Assumes that Ext libraries are available var WebApp = (function() { //Check that the browser is compatible function checkBrowser() { if (Ext.isIE) { return false; } else { return true; } }; //Bomb with a message to leave IE function bombBrowser...
Michigan-State-University/gxseq
public/javascripts/sv/app/webapp.js
JavaScript
gpl-3.0
2,487
/** * Tarpo database files know what version of Tarpo they were * created with. This class detects if the open file needs * to be upgraded, and figures out what upgrades to run. * * Upgrades are functions of this class named, e.g. '1.0.2', '1.1.0' etc.. * * Tarpo will automatically run patch-level upgrades, then...
patspam/tarpo
src/js/Upgrade.js
JavaScript
gpl-3.0
7,213
/** * angular-strap * @version v2.0.3 - 2014-05-30 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes (olivier@mg-crea.com) * @license MIT License, http://www.opensource.org/licenses/MIT */ "use strict";angular.module("mgcrea.ngStrap.dropdown").run(["$templateCache",function(e){e.put("dropd...
smartinov/fennec
fennec/apps/dashboard/static/dashboard/js/angular-strap/modules/dropdown.tpl.min.js
JavaScript
gpl-3.0
797
/* 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","sl",{euro:"Znak za evro",lsquo:"Levi enojni narekovaj",rsquo:"Desni enojni narekovaj",ldquo:"Levi dvojni narekovaj"...
omeka/omeka-s
application/asset/vendor/ckeditor/plugins/specialchar/dialogs/lang/sl.js
JavaScript
gpl-3.0
4,362
'use strict'; angular.module('app.osd') .controller('OsdCtrl', OsdCtrl); function OsdCtrl($scope, $routeParams, $filter, OsdService) { $scope.items = OsdService.query(); $scope.items.$promise.then(function() { if ($scope.items.length == 0) $scope.key('setup'); }); $scope.key = function(key) ...
StefanTT/vdr-controller
src/main/resources/web/app/osd/osd.js
JavaScript
gpl-3.0
493
module.exports = { handleRouterCacheChangeEvent: function (event, callback) { try { SERVICE.DefaultCacheService.handleRouterCacheChangeEvent({ moduleName: request.target, config: event.data }).then(success => { callback(null, { ...
Nodics/nodics
gFramework/nCache/cache/src/service/event/defaultCacheChangeListenerService.js
JavaScript
gpl-3.0
1,666
#pragma strict //public var gcObj : GameObject; private var xNative : float = 1280; private var yNative : float = 800; public var guiSkin1 : GUISkin; public var guiSkin2 : GUISkin; public var guiSkin3 : GUISkin; public var guiSkin4 : GUISkin; public var oxygenLevel : float = 100.0; public var powerLevel : float = 1...
SamNeblett/ARMS
Unity Source/AstronautResourceManagingSystem/Assets/Scripts/GUI_MainResources.js
JavaScript
gpl-3.0
4,563
module.exports = function () { var publicKey = []; var privateKey = []; var modulus = null; var multiplier = null; var multiplierModularInverse = null; var letterBinaryEncode = false; var letterBinaryDecode = false; var letterBinaryChunkLength = false; var allowedMessageSymols = []; this.generateDefaultAllow...
bozerkins/crypto-staff-javascript
knapsack/knapsack-module.js
JavaScript
gpl-3.0
7,157
import React from 'react'; const ValueAxis = React.memo(({ scale, label, width, height, }) => { const [y1, y2] = scale.range(); return ( <g className="y axis" transform={`translate(${width - 1} -1)`} fill="none" fontSize="10" fontFamily="sans-serif" textAnchor="start...
corradio/electricitymap
web/src/components/graph/valueaxis.js
JavaScript
gpl-3.0
950
/** * Check if a prop settings value has changed */ export const checkPropChange = (prev, next, value) => { return !prev || next.settings[value].value !== prev.settings[value].value; }; /** * default Audio Effect settings object to extend */ export const defaultEffectSettings = { color: '#fcfe0e', effectLevel...
ruebel/synth-react-redux
src/utils/effect.js
JavaScript
gpl-3.0
462
/* Array indices */ var BAD = -1; var NORTH = 0; var SOUTH = 1; var EAST = 2; var WEST = 3; function Location(_id, _name, _description) { this.id = _id; this.name = _name; this.description = _description; /* N, S, E, W */ this.validMoves = [ BAD, BAD, BAD, BAD ]; this.visited = false; this.items; this.toStrin...
AnthonyGiorgio/cmpt120
v0.6/locations.js
JavaScript
gpl-3.0
2,087
import { RouterContext, match } from 'react-router'; import { renderToString } from 'react-dom/server'; import { Provider } from 'react-redux'; import React from 'react'; import configureStore from '../../client/store/configure_store'; import routes from '../../client/routes'; export default function reactMiddleware(...
jaadam/golfer
server/middleware/react.js
JavaScript
gpl-3.0
1,054
import React from 'react'; import { Icon } from '../components'; export default function NavIcon(name, color) { return <Icon name={name} color={color} size={32} />; }
arnef/ligatool-hamburg
app/Nav/NavIcon.js
JavaScript
gpl-3.0
170
Ext.namespace('Ext.ux', 'Ext.ux.pimf', 'Ext.ux.pimf.misc'); Ext.ux.pimf.misc.BlankPropertyView = Ext.extend(Ext.Panel, { constructor: function() { Ext.ux.pimf.misc.BlankPropertyView.superclass.constructor.call(this, { id: 'BlankPropertyView', border: false, html: '<div class="x-grid-empty">Bi...
lukaslentner/PIMF
Site/client/js/Ext/ux/pimf/misc/BlankPropertyView.js
JavaScript
gpl-3.0
529
/** * Xaman - Estrutura de Desenvolvimento * Copyright (C) 2008 Ivan Ogassavara * * 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)...
xmnlab/xsos_php
sos/mascara/estrutura/xaman/ferramenta/autenticacao/BarreiraXmn.js
JavaScript
gpl-3.0
2,210
/* MNSure Script Engine | (c) Lucas Shanley | https://raw.githubusercontent.com/lpshanley/MNSure-Script-Engine/master/LICENSE */ _engine.module.define('ui/topNotification',{ add: function( msg ){ if( typeof _engine.advanced._vars.topNotificationTicker === 'undefined' ) _engine.advanced._vars.topNotificationTick...
lpshanley/MNSure-Script-Engine
js/modules/ui/topNotification.js
JavaScript
gpl-3.0
2,387
import React from "react"; import PropTypes from "prop-types"; const CommentReplies = ({ children, commentId, dispatch, isReplyFormVisible, replyCommentForm }) => { const replyToggleLink = <p id={"comment-" + commentId + "-reply-toggle"} onClick={() => dispatch({ type: "TOGGLE COMMENT FORM VI...
publiclab/plots2
app/javascript/components/CommentReplies.js
JavaScript
gpl-3.0
1,016
/* YUI 3.4.1pr1 (build 4097) Copyright 2011 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("datasource-polling",function(b){function a(){this._intervals={};}a.prototype={_intervals:null,setInterval:function(e,d){var c=b.later(e,this,this.sendRequest,[d],true);...
uhoreg/moodle
lib/yui/3.4.1pr1/build/datasource-polling/datasource-polling-min.js
JavaScript
gpl-3.0
668
/** * aqiData,存储用户输入的空气指数数据 * 示例格式: * aqiData = { * "北京": 90, * "上海": 40 * }; */ var aqiData = {}; var cityValue;//存储符合要求的city值 var aqiValue; //存储符合要求的aqi值 /* 用途:检查输入字符串是否只由汉字、字母组成 输入: value:字符串 返回: 如果通过验证返回true,否则返回false */ function checkCity () { var city = docum...
xiaojianbu/ife2016-learning
task_16/js/task.js
JavaScript
gpl-3.0
4,686
var DataprooferTest = require("dataproofertest-js"); var util = require("dataproofertest-js/util"); var ss = require("simple-statistics"); var _ = require("lodash"); var medianAbsoluteDeviationOutliers = new DataprooferTest(); /** * Outlier detection using [median absolute deviation](https://en.wikipedia.org/wiki/Med...
dataproofer/Dataproofer
packages/stats-suite/src/medianAbsoluteDeviationOutliers.js
JavaScript
gpl-3.0
4,916
/** * Ajax.org Code Editor (ACE) * * @copyright 2010, Ajax.org Services B.V. * @license LGPLv3 <http://www.gnu.org/licenses/lgpl-3.0.txt> * @author Fabian Jakobs <fabian AT ajax DOT org> */ define(function(require, exports, module) { var oop = require("pilot/oop"); var lang = require("pilot/lang").lang; var...
tfe/cloud9
support/lib-v8debug/lib/v8debug/WSChromeDebugMessageStream.js
JavaScript
gpl-3.0
1,637
/* * FCKeditor - The text editor for internet * Copyright (C) 2003-2006 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * "Support Op...
idega/org.chiba.web
resources/javascript/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js
JavaScript
gpl-3.0
6,441
// display messages to be displayed on page refresh var msg = localStorage.importExportMsg; if (msg) { msg = JSON.parse(msg); $.jGrowl(msg.message, { header: msg.title }); localStorage.removeItem("importExportMsg"); } // hide import/export section when config window is opened $("#config-button, .ui-2.config").li...
zheref/Awesome-New-Tab-Page
javascript/import-export.js
JavaScript
gpl-3.0
5,654
export {default} from './application'
AoDev/kaiku-music-player
src/application/index.js
JavaScript
gpl-3.0
38
module.exports = { // Automatically clear mock calls and instances between every test clearMocks: true, // An array of file extensions your modules use moduleFileExtensions: [ 'js' ], moduleNameMapper: { '@woocommerce/e2e-tests/(.*)': '<rootDir>/tests/e2e/$1', }, preset: 'jest-puppeteer', setupFiles: [...
greguly/woocommerce
tests/e2e/env/config/jest.config.js
JavaScript
gpl-3.0
986
const express = require('express'); const router = express.Router(); const controller = require('./postits.controller')(); router.get('/', controller.query); router.get('/reset', controller.reset); router.post('/', controller.create); router.put('/:id', controller.setStatus); router.delete('/:id', controller.remove); ...
weboxstudio/artoo-campus
server/project/postits/index.js
JavaScript
gpl-3.0
406
/*global define*/ define([ '../Core/Cartesian2', '../Core/Cartographic', '../Core/Credit', '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/DeveloperError', '../Core/Event', '../Core/GeographicTilingScheme',...
cryo3d/cryo3d
static/Source/Scene/TileMapServiceImageryProvider.js
JavaScript
gpl-3.0
24,451
/// <reference path="jquery-1.9.0.min.js" /> /* count down 倒计时的容器必须标注:data-role=countdown 天:data-name=day 小时:data-name=hour 分钟:data-name=minute 秒:data-name=second 毫秒:data-name=millisecond */ (function () { if ($.fn.countDown) { if (console) { console.warn("$.fn.countDown已经存在"); } ...
ZeroOne71/ql
01_Website/ECommerce.UI/Resources/scripts/common/countdown.js
JavaScript
gpl-3.0
4,649
// // michael theodorides // multi answer question var MultiTypeQuestion = function (question) { var self = this; var listenForClicks = true; self.title = question['title']; self.image = question['img']; self.possibleAnswers = question['possible_answers']; self.correctAnswer = question['correc...
michaelthe/gameOfThronesQuiz
js/multible-type-question.js
JavaScript
gpl-3.0
4,271
//Translating enumerated types function getMapString(map) { switch(map) { case 0: return 'Twisted Treeline'; case 1: return "Summoner's Rift"; case 2: return 'Dominion'; case 3: return 'The Proving Grounds'; case 4: return 'Howling Abyss'; default...
epicvrvs/RiotControl
Web/Script/Module/Enumeration.js
JavaScript
gpl-3.0
668
/** * Copyright (C) 2017 Rafael Arquero (@arkeros) * * This file is part of Xnova OGame. * * Xnova OGame 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 o...
xnova/ogame
src/core/game/buildings/DeuteriumTank.js
JavaScript
gpl-3.0
1,605
var lastmark = ""; var lasttime = 0; function reloadPage() { location.reload(); } function openWindow(fileName) { win1 = window.open(fileName,'imageWindow','screenX=50,screenY=50,width=800,height=800,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=yes'); win1.focus(); } ...
mediatum/mediatum
web/js/mediatum.js
JavaScript
gpl-3.0
5,270
Bitrix 16.5 Business Demo = 5a9695c2fbaa1669f2bf2f9c95a6e07d Bitrix 17.0.9 Business Demo = 8eea23a3d707b78330ab051546015ce3
gohdan/DFC
known_files/hashes/bitrix/modules/advertising/install/js/advertising/template.js
JavaScript
gpl-3.0
124
exports.index = function(req, res){ res.render('../videos/index', { title: 'Videos' }); };
OutsourcedGuru/robo.fyi
routes/videos.js
JavaScript
gpl-3.0
92
/* * adapt-contrib-media * License - http://github.com/adaptlearning/adapt_framework/LICENSE * Maintainers - Chris Steele <chris.steele@kineo.com>, Daryl Hedley <darylhedley@hotmail.com>, * Kevin Corry <kevinc@learningpool.com> */ define(function(require) { var mep = require("components/adapt-contrib...
martinkimani/EduOnline
src/components/adapt-contrib-media/js/adapt-contrib-media.js
JavaScript
gpl-3.0
3,300
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : 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 *...
telldus/telldus-live-mobile-v3
js/App/Components/TabViews/SubViews/EmptyInfo/NoSensors.js
JavaScript
gpl-3.0
2,534
(function ($) { $.fn.slider = function (settings) { var s = $.extend({ data:'', // Data provide from WP_Query rlBtns:true, // Right and Left Buttons pointersBtns:true, // Pointers Buttons thumbBtns:true, // Thumbnails Buttons autoPlay:true, // Auto movement through items time:3, showTitl...
jlv-code/ncd
static/js/SliderjQuery.js
JavaScript
gpl-3.0
6,075
////////// //LOAD function change_settings() { //shutter do_shutter(1); //serialize var settings = $('settings_form').serialize(true); //send plk.req('change_options', settings, function(info,params) { if( info.errnum == 0 ) { //notify //do_info(plk.la.info_changedsettings); //relo...
pascalfree/ProjectLK
gui/default/localjs/settings.js
JavaScript
gpl-3.0
1,416
// Generated on 2015-11-03 using generator-angular-fullstack 2.0.13 'use strict'; module.exports = function (grunt) { var localConfig; try { localConfig = require('./server/config/local.env'); } catch(e) { localConfig = {}; } // Load grunt tasks automatically, when needed require('jit-grunt')(grun...
enfuse/competition_panel
Gruntfile.js
JavaScript
gpl-3.0
16,712
import React, { Component } from 'react'; import { Button, Modal, Row, Col, Label, FormControl } from 'react-bootstrap'; import i18n from '../lib/i18n'; class ModalEditMPD extends Component { constructor(props) { super(props); this.state = { show: props.show, player: props.player || {name: "", descripti...
babelouest/taliesin
webapp-src/src/Modal/ModalEditMPD.js
JavaScript
gpl-3.0
4,243
var classTelegram_1_1TelegramBot = [ [ "TelegramBot", "classTelegram_1_1TelegramBot.html#a99b561e695953e6b69a3ddf6937a4811", null ], [ "TelegramBot", "classTelegram_1_1TelegramBot.html#a52f2a5f734bac5f83d2c0e5068618646", null ], [ "addCommand", "classTelegram_1_1TelegramBot.html#a398bd76186e27d514afd835c543...
hauke68/LibTgBotPP
doc/html/classTelegram_1_1TelegramBot.js
JavaScript
gpl-3.0
2,115
import utils from'../utils'; import express from 'express'; import mongoose from 'mongoose'; var Person = mongoose.model('Person'); var Directory = mongoose.model('Directory'); var Toplevel = mongoose.model('Toplevel'); var Sublevel = mongoose.model('Sublevel'); var Article = mongoose.model('Article'); const ...
IldarFarh/LTradeWebSite
routes/admin.js
JavaScript
gpl-3.0
8,018
import React from 'react'; import _ from 'lodash'; import classNames from 'classnames'; import i18n from 'lib-app/i18n'; import API from 'lib-app/api-call'; import history from 'lib-app/history'; import Captcha from 'app/main/cap...
opensupports/opensupports
client/src/app/main/main-signup/main-signup-widget.js
JavaScript
gpl-3.0
6,308