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
require([ "esri/map", "esri/layers/FeatureLayer", "esri/dijit/Legend", "dojo/_base/array", "dojo/parser", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/layout/AccordionContainer", "dojo/domReady!" ], function( Map, FeatureLayer, Legend, a...
PSIG-EHESS/Toledo
js/symbology.js
JavaScript
gpl-2.0
839
//This file should stay empty, as it //Ovverides the default js file loaded by the "geofield_gmap" module in its info file, //as our map js will be loaded in the my_geofield_gmap_widget_gmap_afterbuild function
itamair/italomairo
sites/all/modules/custom_modules/my_geofield_gmap/js/geofield_gmap.js
JavaScript
gpl-2.0
210
var React = require( 'react' ); var assign = require( 'react/lib/Object.assign' ); var ReactTransitionGroup = React.createFactory( require( 'react/lib/ReactTransitionGroup' ) ); var Child = React.createFactory( require( './child' ) ); var SingleChildCSSTransitionGroup = React.createClass( { displayName: 'SingleCh...
ironmanLee/my_calypso
client/components/single-child-css-transition-group/index.js
JavaScript
gpl-2.0
1,415
'use strict'; // these are the controllers that this route uses var editableFiles = require('../controllers/editableFiles'), authorization = require('./middlewares/authorization'); module.exports = function(app){ // route to create a new file app.post('/createEditableFiles', authorization.requiresLogin, editableFi...
pricemc/SynergyCode
app/routes/editableFiles.js
JavaScript
gpl-2.0
715
(function($) { /** * Initialize editor instances. * * @todo Is the following note still valid for 3.x? * This function needs to be called before the page is fully loaded, as * calling tinyMCE.init() after the page is loaded breaks IE6. * * @param editorSettings * An object containing editor settings for each...
mikeusry/gaspa
hot_tub/js/js_3xqg2O88gzUWx0DRW6zwifuEPc1qbEi23vfWtIW5Xm4.js
JavaScript
gpl-2.0
74,055
/** Unisender extension - admin JS */ jQuery(document).ready(function($){ const $donor_fields = $('#leyka_unisender_donor_fields-field'); if ($donor_fields) { update_donor_fields_description(); $donor_fields.on('change', () => {update_donor_fields_description()}); function update_d...
Teplitsa/Leyka
extensions/unisender/assets/js/admin.js
JavaScript
gpl-2.0
1,703
/** * Json Edit Dialog * * @class * @extends OO.ui.ProcessDialog * * @constructor * @param {Object} config Dialog configuration object */ mw.JsonConfig.JsonEditDialog = function MwJsonConfigJsonEditDialog( config ) { // Parent constructor mw.JsonConfig.JsonEditDialog.super.call( this, config ); this.$elemen...
wikimedia/mediawiki-extensions-JsonConfig
modules/ext.jsonConfig.JsonEditDialog.js
JavaScript
gpl-2.0
5,240
/*********************************************************** * Cliente.js * * Consexión con el web server Autobhan * Recepción y visualización de los datos. * Comunicación desde el panel de control con el servidor, * para manejar la microcontroladora. ************************************************************/ ...
yeagob/Manta-Sensores
cliente.js
JavaScript
gpl-2.0
6,301
(function ($) { "use strict"; var defaultOptions = { tagClass: function(item) { return 'label label-info'; }, itemValue: function(item) { return item ? item.toString() : item; }, itemText: function(item) { return this.itemValue(item); }, freeInput : true }; functi...
Great-Bee/NVWA-Client
js/bower_components/bootstrap-tagsinput/src/bootstrap-tagsinput.js
JavaScript
gpl-2.0
12,793
/** * Internal dependencies */ import { createReducerStore } from 'lib/store'; import { reducer, initialState, getThemeById } from '../reducers/themes'; const ThemesStore = createReducerStore( reducer, initialState ); ThemesStore.getThemes = () => ThemesStore.get().get( 'themes' ).toJS(); ThemesStore.getById = ( id...
ironmanLee/my_calypso
shared/lib/themes/stores/themes.js
JavaScript
gpl-2.0
394
/** * @licence GNU GPL v2+ * @author Adrian Lang < adrian.lang@wikimedia.de > */ ( function( $, ExpertExtender, testExpertExtenderExtension, sinon, QUnit, CompletenessTest ) { 'use strict'; QUnit.module( 'jquery.valueview.ExpertExtender.Preview' ); if( QUnit.urlParams.completenesstest ) { new CompletenessTes...
Wikidata-lib/ValueView
tests/src/ExpertExtender/ExpertExtender.Preview.tests.js
JavaScript
gpl-2.0
846
var searchData= [ ['tableau_5fperipheriques_5fin',['tableau_peripheriques_in',['../whitecat_8h.html#a9cfc2be439bf3a1e0ef95ee3e4ce8f46',1,'whitecat.h']]], ['tableau_5fperipheriques_5findexs_5fin',['tableau_peripheriques_indexs_in',['../whitecat_8h.html#a3072b90409c98123c1d7278f64079fc3',1,'whitecat.h']]], ['tablea...
ChristophGuillermet/whitecat_crossplateform
docAPIwhitecat/html/search/variables_12.js
JavaScript
gpl-2.0
14,758
/** * $JA#COPYRIGHT$ */ var jaboxes = []; var jaboxoverlay = null; showBox = function (box,focusobj, caller, e) { //Add overlay if (!jaboxoverlay) { jaboxoverlay = new Element ('div', {id:"jabox-overlay"}).inject ($(box),'before'); jaboxoverlay.setStyle ('opacity', 0.01); jaboxoverlay.addEvent ('click', funct...
binhnk0791/joomla
modules/mod_jalogin/assets/script.js
JavaScript
gpl-2.0
2,444
/* global module, require */ module.exports = function( grunt ) { 'use strict'; var pkg = grunt.file.readJSON( 'package.json' ); grunt.initConfig( { pkg: pkg, clean: { build: [ 'build/' ] }, copy: { build: { files: [ { expand: true, src: [ '*.php', 'css/**', ...
madmimi/madmimi-wp
Gruntfile.js
JavaScript
gpl-2.0
5,578
define([ 'jquery', 'socketio', 'websocket' ], function ($, io, socket) { 'use strict'; $(function(){ // Start angular when document is ready console.log('document ready'); }); function onAddIceCandidateSuccess () { console.log('Remote candidate added successfully');...
Co-opComplete/K4
TabletApps/K4Portal/www/js/main.js
JavaScript
gpl-2.0
9,381
var logger = { log: function () { arguments[0] = arguments[0].bgBlack; console.log.apply(null, arguments); }, green: function () { arguments[0] = arguments[0].green; this.log.apply(this, arguments); }, red: function () { arguments[0] = arguments[0].red; ...
LightningCoders/EDDPIN
lib/classes/logger.js
JavaScript
gpl-2.0
999
jQuery(document).ready(function () { jQuery(document).projectslide(); }); (function ($) { $.fn.projectslide = function () { var slide_width = $('.projectslide').width(); var image_width = (slide_width / 2) - 30; var slide_height = ((slide_width / 2) / 16) * 9; // var image_heigh...
kankan513/leearc
components/com_ditc_portfolio/asset/js/project.js
JavaScript
gpl-2.0
3,969
( function($) { var file_frame; $( '#theme-slider-image' ) .on('click', '.select_image', function(e) { e.preventDefault(); if ( file_frame ) { file_frame.open(); return; } file_frame = wp.media.frames.file_frame = wp.media( { title: $(this).data( 'uploader_titl...
sgegan/EPICPeople
wp-content/themes/magazine-premium/library/js/custom-image.js
JavaScript
gpl-2.0
966
var app = require('angular').module('app'); app.factory('jwtInterceptor', function($q, $window) { 'use strict'; return { request: function(request) { request.headers = request.headers || {}; if ($window.localStorage.token) { // RFC 6750 p. 5 request.headers.Authorization = 'Bearer...
onttoni/web-base
src/public/app/shared/interceptors/jwt.js
JavaScript
gpl-2.0
493
function dragactions(){ $('.view').find('table:first').find('td:first').mouseenter(function(){ $(this).find('table:first').addClass('selecthover'); }); $('.view').find('table:first').find('td:first').mouseleave(function(){ $(this).find('table:first').removeClass('selecthover'); }); } fun...
Arnaud69/phpmynewsletter-2.0
js/wysiwyg/editor_draggables_en.js
JavaScript
gpl-2.0
3,747
jQuery(document).on("keypress", ":input:not(textarea)", function(event) { return event.keyCode != 13; }); jQuery(document).ready(function() { jQuery('div.field--type-entity-reference-revisions').each(function() { var sty = jQuery(this).css('display'); if(sty == 'none') { jQuery(th...
rsathishkumar/edtx
modules/custom/edtx/js/custom.js
JavaScript
gpl-2.0
7,523
/* * This file is part of EC-CUBE * * Copyright(c) 2000-2014 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * 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 v...
Yammy/ec-cube
html/user_data/packages/admin/js/eccube.admin.js
JavaScript
gpl-2.0
17,838
(function(exports) { var pc = { version: "0.0.1" }; // export this to window.peta_caleg exports.peta_caleg = pc; var gm; try { gm = google.maps; } catch (err) { console.warn("the Google Maps JS API is not loaded"); } /* * shallow copy the keys of an object into a new object */ ...
pemiluAPI/pemiluAPI.github.io
samples/peta-caleg/js/peta_caleg.js
JavaScript
gpl-2.0
3,299
/* * Copyright (C) 2013 vrivas * * Víctor M. Rivas Santos: vrivas@ujaen.es - http://vrivas.es * GeNeura Team- http://geneura.ugr.es * * 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, eit...
Lividjsk/jsEO
js/libs/jsEO/jsEOBitString/jsEOBSOpMutation.js
JavaScript
gpl-2.0
2,347
$(window).load(function(){FusionCharts.ready(function () { var revenueChart = new FusionCharts({ type: 'stackedcolumn3dline', renderAt: 'chart-container', width: '550', height: '350', dataFormat: 'json', dataSource: { "chart": { ...
sguha-work/fiddletest
fiddles/Chart/Combination-Charts/A-sample-3D-stacked-column-+-line-chart_37/demo.js
JavaScript
gpl-2.0
3,661
'use strict'; var fs = require('fs'), path = require('path'); function parseJson(filename) { return JSON.parse(fs.readFileSync(path.join(__dirname, filename))); } module.exports = { findByEmail: parseJson('schema-find-by-email.json'), findById: parseJson('schema-find-by-id.json'), jsonRpc: parseJson('schem...
ride-share-market/data
app/lib/schemas/index.js
JavaScript
gpl-2.0
482
define(function (require, exports, module) { window.MultiFileDownloadView = Backbone.View.extend({ tagName: 'div', id: 'multiFileDownloadView', className: 'modal fade hide multiFileDownloadView', $downloadBtn: undefined, $zipTip: undefined, $loadingView: un...
huhao1989/Phenom
web/commons/views/support/MultiFileDownloadView.js
JavaScript
gpl-2.0
2,214
http://jsfiddle.net/fusioncharts/KRZ9W/ http://jsfiddle.net/gh/get/jquery/1.9.1/sguha-work/fiddletest/tree/master/fiddles/Chart/Spark-Line-Chart/Adding-trendlines-in-spark-line-chart_298/
sguha-work/fiddletest
fiddles/Chart/Spark-Line-Chart/Adding-trendlines-in-spark-line-chart_298/url.js
JavaScript
gpl-2.0
187
/** * $Id: editable_selects.js,v 1.1 2007-05-05 09:21:24 umut Exp $ * * Makes select boxes editable. * * @author Moxiecode * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. */ var TinyMCE_EditableSelects = { editSelectElm : null, init : function() { var nl = docume...
atealxt/crm
intouch2/war/tinymce/utils/editable_selects.js
JavaScript
gpl-2.0
1,775
'use strict'; /** * A set of general utilities that provide common functionality to view models. */ var ViewModelUtilities = { /** * Given an view model containing other view models, * call the function with the provided attribute name on all sub view * models containing the phrase "viewModel" ...
tanyxp/charactersheet
charactersheet/charactersheet/utilities/view_model_utilities.js
JavaScript
gpl-2.0
2,102
/** * DOCLink 1.5.x * @version $Id: en.js 247 2007-09-01 09:44:15Z mjaz $ * @package DOCLink_1.5 * @copyright (C) 2003-2007 The DOCman Development Team * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.joomlatools.org/ Official website **/ /** * TRANSLATORS: * PLEASE CHANGE...
thinkcollege/tc-code
plugins/editors-xtd/doclink/lang/da.js
JavaScript
gpl-2.0
767
/****************************************************************************************************************************** COMMING SOON PAGE *******************************************************************************************************************************/ (function($) { /** * Set your date he...
DarkoDanchev/UserControlPanel-PHP-
najredovni/Theme/assets/js/soon/custom.js
JavaScript
gpl-2.0
4,865
/** * @file * Provides options for recline visualization. */ (function ($) { Drupal.behaviors.Recline = { attach: function (context) { file = Drupal.settings.recline.file; grid = Drupal.settings.recline.grid; graph = Drupal.settings.recline.graph; map = Drupal.settings.recline.map; ...
ABREPR/cipp
profiles/dkan/modules/contrib/recline/recline.app.js
JavaScript
gpl-2.0
5,067
showWord(["a. "," Ki gen fòtifyan ladan l. Manje nourisan.<br>"])
georgejhunt/HaitiDictionary.activity
data/words/nourisan.js
JavaScript
gpl-2.0
66
var svo = null; // the main application object function SVO() { // Trafalgar Square this.lat = 48.866511; this.lng = 2.355399000000034; this.zoom = 1; this.slat = 48.866436; this.slng = 2.355325; this.image = "img/slidecat.gif"; this.pt = new google.maps.LatLng(this.lat, this.lng); ...
matthieulefrancois/IS4-CNAM-Remix
svo/streetviewoverlay.js
JavaScript
gpl-2.0
6,392
$(document).ready(function() { $("input[name='reportTypeSelected']").on("change", function(){ $(".reportOptions").fadeIn('slow'); }); $("#allActivitiesByYear").on("change", function(){ if($(this).is(':checked')){ $("#activities_reportYear").attr("disabled", false); $("#activityID").attr("di...
CCAFS/ccafs-ap
logframes/src/main/webapp/js/summaries/activitiesSummaries.js
JavaScript
gpl-3.0
850
webpackJsonp([4],{ /***/ 773: /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d...
tuxado/Universal-CMS
dist/client/4.bundle.js
JavaScript
gpl-3.0
5,569
var class_simple_const_mapping_iterator = [ [ "KeyEntrySet", "class_simple_const_mapping_iterator.html#acd382b24005d9a14b143b6efd5922eb5", null ], [ "KeyEntryType", "class_simple_const_mapping_iterator.html#a54ae3def7249f54515c6683ba554ccf5", null ], [ "SimpleConstMappingIterator", "class_simple_const_mappi...
JoeAlisson/ITSA
Veins-ITSA/doc/doxy/class_simple_const_mapping_iterator.js
JavaScript
gpl-3.0
1,970
/** * @class Ext.app.MapPanel * @extends Ext.panel.Panel * Class for display and work with map * @constructor * @param {Object} config The config object */ Ext.define('Ext.app.MapPanel', { extend: 'Ext.panel.Panel', alias: 'widget.mappanel', bodyPadding: 10, map:...
LiveStalker/phermes
tracker/media/js/MapPanel.js
JavaScript
gpl-3.0
5,907
(function($, _, _utils){ _.fullscreen = new _utils.FullscreenAPI(); _.Panel.Fullscreen = _.Panel.Button.extend({ construct: function(panel){ var self = this; self._super(panel, "fullscreen", { icon: ["expand", "shrink"], label: panel.il8n.buttons...
fooplugins/foogallery-client-side
src/core/js/panel/buttons/Fullscreen.js
JavaScript
gpl-3.0
2,597
'use strict'; angular.module('mobileApp') .controller('SurveyCtrl', function($scope, $routeParams, server) { $scope.survey = server.getSurvey($routeParams.surveySlug);   $scope.survey.then(function (survey) { $scope.question = survey.questions[0]; }); $scope.answerQuestion = funct...
point97/hapifis
server/static/mobile/scripts/controllers/survey.js
JavaScript
gpl-3.0
380
var Info = new function(){ function get_devicename(){ var cfg = {}; cfg.type = "get_device_name"; cfg = JSON.stringify(cfg); $.ajax({ type:"POST", url: '/sys_request_message.php', data:cfg, dataType:"text", success:function...
SoberPeng/isaws
src/html/js/Info.js
JavaScript
gpl-3.0
2,573
//Written by Austin Guest April 2014 //Free Software licensed under GPL v3.0 (see http://www.gnu.org/copyleft/gpl.html) //Deployed here: http://badideafactory.net/bks/maps/allAccountsWithRadius $(document).ready(function(){//initialize tabletop on load initTabletop(); }); var pins = []; function initTabletop() {//...
aguestuser/bksMaps
allAccountsWithRadius/mapAllAccountsWithRadius.js
JavaScript
gpl-3.0
2,255
import React from 'react'; class BreadCrumb extends React.Component { render(){ return(); } } export default BreadCrumb;
liu599/BlogUpgrade
FrontEnd/src/base/bread-crumb/bread-crumb.js
JavaScript
gpl-3.0
141
(function($){ $(document).on('ready', function(){ setTimeout(function(){ $('body .wrap').fadeTo('fast', 1); }, 50); }); })(jQuery);
ThemeFuse/Unyson-Framework
extensions/styling/static/js/scripts.js
JavaScript
gpl-3.0
140
/* * This file is part of INSPIRE. * Copyright (C) 2014 CERN. * * INSPIRE 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. * * ...
zzacharo/inspire-next
inspirehep/modules/forms/static/js/forms/conferences_typeahead.js
JavaScript
gpl-3.0
2,450
var NeatlineTime = { resizeTimerID: null, resizeTimeline: function() { if (resizeTimerID == null) { resizeTimerID = window.setTimeout(function() { resizeTimerID = null; tl.layout(); }, 500); } }, loadTimeline: function(timelineId, timelineData, timelineStartDat...
UCSCLibrary/gdao
plugins/NeatlineTime/views/shared/javascripts/neatline-time-scripts.js
JavaScript
gpl-3.0
2,306
import Builder from '../libs/Builder'; import World from '../models/World'; import htmlHelper from '../libs/helpers/HtmlHelper'; import infoWindow from '../libs/helpers/InfoWindow'; import styles from './lobby.scss'; import client from '../libs/Client'; export default class Lobby extends Builder { rooms = [{name: 'p...
JanciMertel/Risk
frontend/src/views/lobby.js
JavaScript
gpl-3.0
1,401
import { http, api, } from './../utils'; function userLogin(params) { return http.post(api.userLogin, params); } function tokenValid() { return http.get(api.tokenValid); } function getOrganizationTree() { return http.get(api.organizationTree); } /* @desc 日志管理-登陆日志,操作日志查询 */ function logsList(params) { ...
sxyhappy/mi-srv-fe
src/services/userService.js
JavaScript
gpl-3.0
3,890
(function ($) { $.fn.wordsSlider = function (options) { var _this = this; // Pseudo This var currentItem = 0; var currentPosition = 0; // Options / Settings var settings = $.extend({ names: [], time: 1000, transitionTime: 400, ...
fareilweb/code-notes
jquery-words-slider.js
JavaScript
gpl-3.0
4,556
var searchData= [ ['framesize',['frameSize',['../structuart__struct__t.html#a731120458ab216815bded3b5abf439e4',1,'uart_struct_t']]], ['frequency',['frequency',['../structtimer__struct__t.html#a1918cfeef64ce2fde6b9df49140cb3a0',1,'timer_struct_t']]] ];
PhoenixArsTechnica/ATmega-HAL
Documentation/HTML/search/variables_5.js
JavaScript
gpl-3.0
256
/* * This file is part of Super Simple Highlighter. * * Super Simple Highlighter 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....
dexterouslogic/super-simple-highlighter
js/shared/ng-modules/i18n_filters.js
JavaScript
gpl-3.0
951
/* * rrequest * http://www.rrequest.com/ * (C) Copyright Bashton Ltd, 2013 * * This file is part of rrequest. * * rrequest 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 Licen...
BashtonLtd/rrequest
modules/email-gateway/server/publish.js
JavaScript
gpl-3.0
1,427
// *** src/dashboard.js/main.js // Codacy declarations /* global clipboard */ /* global Ps */ if (NETDATA.options.debug.main_loop) { console.log('welcome to NETDATA'); } NETDATA.onresizeCallback = null; NETDATA.onresize = function () { NETDATA.options.last_page_resize = Date.now(); NETDATA.onscroll(); ...
3cky/netdata
web/gui/src/dashboard.js/main.js
JavaScript
gpl-3.0
154,548
const roles = require('../lib/consts/roles') const express = require('express') const router = express.Router() const isAuthenticated = require('../authentication/middleware') const isAdminWindowAvailable = require('../availability/middleware') const hdfController = require('../controllers/hdf') router.get( ['/', '...
DFEAGILEDEVOPS/MTC
admin/routes/hdf.js
JavaScript
gpl-3.0
2,149
function showdoc(d){ content=_getdata("/help?id="+d); doctext.innerHTML=content; doc.hidden=false; } function edit_user(iduser){ ed_content=_getdata("/user?iduser="+iduser); ed_user.innerHTML="<div class='infoline center norm'> Редактирование пользователя</div>"+ed_content; ed_user.hidden=false...
redeyser/IceCash2
site/js/icecash.js
JavaScript
gpl-3.0
2,681
/*************** * Handle clicks on the Public column */ AIR2.Reader.publicHandler = function (dv) { // handle row clicks dv.on('click', function (dv, index, node, e) { var el, publish_state, rec, url; if (e.getTarget('.public-state')) { e.pre...
publicinsightnetwork/audience-insight-repository
public_html/js/reader/publichandler.js
JavaScript
gpl-3.0
3,989
/* * ATLauncher CLI - https://github.com/ATLauncher/ATLauncher-CLI * Copyright (C) 2016 ATLauncher * * 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 * ...
ATLauncher/ATLauncher-CLI
inc/classes/mod.js
JavaScript
gpl-3.0
948
var chai = require('chai') , fs = require('fs') , fileutils = require('../../platypi-cli/utils/file.utils') , sinon = require('sinon') , sinonChai = require('sinon-chai') , expect = chai.expect , referencesFileHandler = require('../../platypi-cli/handlers/references.handler'); chai.use(sinonCha...
tonylegrone/platypi-cli
test/handlers/references.handler.test.js
JavaScript
gpl-3.0
3,707
var classIWeaponObresver = [ [ "~IWeaponObresver", "classIWeaponObresver.html#a7e8d18ad74fcaa826006834b986de39a", null ], [ "assign", "classIWeaponObresver.html#a6847551157a3b5818b31a33bbe14600a", null ] ];
DAlexis/caustic-lasertag-system
docs/doxygen/html/classIWeaponObresver.js
JavaScript
gpl-3.0
214
'use strict'; // Modules const _ = require('lodash'); const fs = require('fs'); const path = require('path'); const toObject = require('./../../lib/utils').toObject; const utils = require('./lib/utils'); const warnings = require('./lib/warnings'); // Helper to get http ports const getHttpPorts = data => _.get(data, '...
kalabox/lando
plugins/lando-core/app.js
JavaScript
gpl-3.0
10,517
/** * @fileoverview A class of the code path. * @author Toru Nagashima */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var CodePathState = require("./code-path-state")...
jlbooker/shop-hours-demo
node_modules/react-scripts/node_modules/eslint/lib/code-path-analysis/code-path.js
JavaScript
gpl-3.0
6,834
"use strict"; /*global componentHandler, define, socket, app, ajaxify, utils, bootbox, Mousetrap, Hammer, RELATIVE_PATH*/ (function() { $(document).ready(function() { setupKeybindings(); if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { require(['admin/modules/s...
xiaohuilam/NodeBB
public/src/admin/admin.js
JavaScript
gpl-3.0
3,655
Template.end.events({ 'click #feedback_submission': function(event){ var feedback_value = document.getElementsByName("feedback")[0].value; Meteor.call('submitFeedback', Session.get("worker_ID_value"), feedback_value, function(error, result){ if (error){ alert("The following error occured wh...
CdavM/bts
client/end.js
JavaScript
gpl-3.0
515
const a = function () { console.log('module a!!!') } export { a, }
fishjar/gabe-study-notes
nodejs/babeljs4/lib/a.js
JavaScript
gpl-3.0
73
const ipc = require('electron').ipcRenderer; const shell = require('electron').shell; /** * error function handles errors sent from the main process. * Errors should appear on the rendered side of the display. */ ipc.on('error', (event, errorMessage) => { var type = errorMessage.type; var message = errorMessage...
steventhanna/sage
index.js
JavaScript
gpl-3.0
2,224
angular .module('chordSelector', []) .component('chordSelector', { templateUrl: './components/chordselector/chordselector.html', bindings: { onSelected: '&', options: '<', selectedVal: '=' }, controller: function() { 'use strict'; var ctrl = this; this.it...
joshrouwhorst/MusicTheory
src/app/components/chordselector/chordselector-controller.js
JavaScript
gpl-3.0
968
export default function MiddlewareMerge({ getState }) { return (next) => (action) => { console.log('MiddlewareMerge', action); let returnValue = next(action); let state = getState(); console.log('MiddlewareMerge: state after dispatch', state); if(action.type === 'activities/merge') { co...
cmilfont/zonaextrema
app/offline/MiddlewareMerge.js
JavaScript
gpl-3.0
712
import React from 'react' import { Slide, Heading, Text, Appear, List, ListItem, Image } from 'spectacle' import preloader from 'spectacle/lib/utils/preloader' const images = { storybook: 'https://github.com/kadirahq/react-storybook/raw/master/docs/demo.gif' } preloader(images) export default [ <Sli...
occitech/conference-react-lyra-network
presentation/3-migration.js
JavaScript
gpl-3.0
4,209
// This file is part of Pypers. // Pypers 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. // Pypers is distributed in the ho...
frankosan/pypers
mithril-ui/src/scripts/pages/landingpage.js
JavaScript
gpl-3.0
11,830
/* Note: modified to 2015 coefficients by Dave J */ /* DOD World Magnetic Model 2010-2015 See bottom of file for info from original Fortran source code Reminder - this is just a model! See the USGS and BGS sites for predicted accuracy. Usage is var wmm = new WorldMagneticModel(); then var dec...
djacobow/alexa_metar
WorldMagneticModel.js
JavaScript
gpl-3.0
22,044
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'save', 'uk', { toolbar: 'Зберегти' } );
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/save/lang/uk.js
JavaScript
gpl-3.0
239
define(["../../polymer/polymer-legacy.js", "../../polymer/lib/legacy/polymer-fn.js", "../neon-animation-behavior.js"], function (_polymerLegacy, _polymerFn, _neonAnimationBehavior) { "use strict"; /** @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used und...
elmsln/elmsln
core/dslmcode/cores/haxcms-1/build/es5-amd/node_modules/@polymer/neon-animation/animations/slide-down-animation.js
JavaScript
gpl-3.0
1,678
'use strict'; angular.module('elmApp').directive('elmCounter', ['Elm', function(Elm){ return { restrict: 'A', link: function(scope, element, attrs) { Elm.embed(Elm.CounterMain, element[0]); } }; }]);
sawady/elm-example
app/angular/directives/elm-counter.js
JavaScript
gpl-3.0
211
var request = require('request') module.exports = { sendTextMessage: function (recipientId, text) { _sendMessage(recipientId, { text: text }) }, sendWelcomeMessage: function (recipientId) { _sendMessage(recipientId, { attachment: { type: 'template', payload: { template_typ...
migueloruiz/GasParser
src/controllers/messegerApi.js
JavaScript
gpl-3.0
5,155
(function(w) { var app = { "openAddParamModal" : function() { $('#addParamKey').val(''); $('#addParamValue').val(''); $('#addParamModal').modal('show'); $('#addParamKey').focus(); }, "openAddVirtualServerModal" : function() { $('#addVirtualServerAlertDiv').html(''); $('#addVirtualServerName').v...
leonindy/camel
camel-admin/src/main/webapp/static/js/application.js
JavaScript
gpl-3.0
6,901
// http error codes // (c)copyright 2014 by Gerald Wodni <gerald.wodni@gmail.com> "use strict"; module.exports = { 403: { title: "Forbidden", text: "You are not entitled to access the specified resource." }, 404: { title: "Not Found", text: "The specified resource could not be found." }, 422: { title: "Unp...
GeraldWodni/kern.js
httpStati.js
JavaScript
gpl-3.0
781
// http://stackoverflow.com/questions/1663741/is-there-a-good-jquery-drag-and-drop-file-upload-plugin // Forbid the access to IE if ($.browser.msie) { alert("Please use Mozilla Firefox or Google Chrome. Microsoft Internet Explorer is not supported."); } // http://jquerymobile.com/demos/1.1.0/docs/api/globalconfig....
amirkogithub/orthanc
OrthancExplorer/explorer.js
JavaScript
gpl-3.0
25,573
//******************************************************************************************** // Fonction scroller : Permet de faire défiler la page progressivement jusqu'à un élément. //******************************************************************************************** function scroller(origine, cible, ...
sebmag/scroller
scroller.js
JavaScript
gpl-3.0
720
odoo.define('web.form_relational', function (require) { "use strict"; var ControlPanel = require('web.ControlPanel'); var core = require('web.core'); var data = require('web.data'); var Dialog = require('web.Dialog'); var common = require('web.form_common'); var ListView = require('web.ListView'); var Model = require(...
ChawalitK/odoo
addons/web/static/src/js/views/form_relational_widgets.js
JavaScript
gpl-3.0
63,891
/* * Copyright (C) 2012-2014 by Coriolis Technologies Pvt Ltd. * This program is free software - see the file COPYING for license details. */ /* * Interactive shell */ function IShell(opts) { var self = this; IShell.base.call(self, opts); self.tabstate = 0; } inherit(IShell, Command); IShell.proto...
pigshell/pigshell
src/cmd/ish.js
JavaScript
gpl-3.0
16,112
var models = require('../models/models.js'); // Autoload :id de comentarios exports.load = function(req, res, next, commentId){ models.Comment.find({ where: {id: Number(commentId)} }) .then(function(comment){ if(comment){ req.comment =comment; next(); }else{next(new Error('No existe c...
DiegoE3/EncueZta
controllers/comment_controller.js
JavaScript
gpl-3.0
1,609
/* Brick : Webhook * POST '/api/webhook/VERSION/:webhookId/catch' */ (function (root) { /* Webhook component : Stamplay.Webhook This class rappresent the Webhook Object component on Stamplay platform It very easy to use: Stamplay.Webhook([WebhookName]) */ //constructor function Webhook(resourceId) { ...
impertinent-creations/gamestudio
bower_components/stamplay-sdk/src/webhook.js
JavaScript
gpl-3.0
966
exports.font = { default: "12px sans-serif", title: "bold 13px sans-serif", time: "11px sans-serif" };
calbrecht/devtime
src/style.js
JavaScript
gpl-3.0
115
/* * Copyright (c) 2011-2013 Lp digital system * * This file is part of BackBee. * * BackBee 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 l...
ndufreche/BbCoreJs
src/tb/component/contentformbuilder/main.js
JavaScript
gpl-3.0
1,768
angular.module('reddit', []) .controller('News', function($scope, $http) { $http.get('http://www.reddit.com/r/news/new.json'). then(function(response) { $scope.listing = response.data; }); });
bdhoff/angular-playground
reddit.js
JavaScript
gpl-3.0
216
/* AUTHOR: Destan Sarpkaya - 2013 destan@dorukdestan.com http://cevirgec.sarpkaya.net LICENSE: This file is part of Çevirgeç. Çevirgeç 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 ver...
destan/cevirgec
source/resources/offlineWeb/dictionaryDetails/dictionaryDetails.js
JavaScript
gpl-3.0
6,123
'use strict' define(['docSettingView'],function(view){ var userCtrl = function(fid){ this.api = "api/docManage.cgi"; this.fid = fid; }; userCtrl.prototype = { post : function(data, callback) { $.ajax({ 'url' : this.api, 'type' : 'POST', ...
gm2bv/mdDog
js/doc_setting/userCtrl.js
JavaScript
gpl-3.0
2,849
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add( 'styles', { requires : [ 'selection' ], init : function( editor ) { // This doesn't look like correct, but it's the safest way to proper // pass ...
bjverde/formDin
base/js/ckeditor/_source/plugins/styles/plugin.js
JavaScript
gpl-3.0
50,361
module.exports = function() { this.prototype.appendHtml = function(collectionView, itemView, index) { var childrenContainer = collectionView.itemViewContainer ? collectionView.$(collectionView.itemViewContainer) : collectionView.$el; var collection = collectionView.collection; // If the ind...
jamesmacwhite/Radarr
src/UI/Mixins/AsSortedCollectionView.js
JavaScript
gpl-3.0
877
/* */ "format global"; /*! { "name": "Video Loop Attribute", "property": "videoloop", "tags": ["video", "media"] } !*/ define(['Modernizr', 'createElement'], function(Modernizr, createElement) { Modernizr.addTest('videoloop', 'loop' in createElement('video')); });
GreatWorksCopenhagen/gw-xmascard
src/lib/bower/modernizr@3.2.0/feature-detects/video/loop.js
JavaScript
gpl-3.0
274
@import '../node_modules/owl.carousel/dist/owl.carousel.js';
kurjoz/carclean
src/js/owlcarousel.js
JavaScript
gpl-3.0
61
/** * Takes a plain text sentence, returns a sentence in CoNLL-U format. * @param {String} text Input text (sentence) * @return {String} Sentence in CoNLL-U format */ function plainSent2Conllu(text) { // TODO: if there's punctuation in the middle of a sentence, // indices shift when drawing an arc /...
maryszmary/ud-annotatrix
standalone/lib/converters.js
JavaScript
gpl-3.0
4,801
var MAX_OPTIONS = 5; var numOptions = 1; $(document).ready(function(){ $('#survey_form') // add button click handler .on('click', '.addButton', function() { if(numOptions < MAX_OPTIONS) { $('#option' + (numOptions + 1)).attr('name', 'options[' + numOptions + ']'); ...
jacobrs/hackday2015
js/input-add-remove.js
JavaScript
gpl-3.0
1,178
ModX Revolution 2.5.0 = fad5b4c1bad9c70ab5cd216737ec05c5 MODX Revolution 2.2.8 = c111432e2d5f863eede20815fcc73a5b
gohdan/DFC
known_files/hashes/manager/assets/modext/sections/element/tv/create.js
JavaScript
gpl-3.0
114
'use strict' const express = require('express') const router = express.Router() const isAuthenticated = require('../authentication/middleware') const roles = require('../lib/consts/roles') const checkWindowController = require('../controllers/check-window') const featureToggles = require('feature-toggles') if (featur...
DFEAGILEDEVOPS/MTC
admin/routes/check-window.js
JavaScript
gpl-3.0
1,086
var structlib_c_z_i_1_1_dimension_and_value = [ [ "dimension", "structlib_c_z_i_1_1_dimension_and_value.html#a0274b97af7cdb3f56231868fb22e92b1", null ], [ "value", "structlib_c_z_i_1_1_dimension_and_value.html#a297b6a1b603c8e8e5ae77d271e93ea15", null ] ];
zeiss-microscopy/libCZI
Doc/html/structlib_c_z_i_1_1_dimension_and_value.js
JavaScript
gpl-3.0
263
(function() { var engines = [ ['Google', 'q', /\.google\./ ], ['Yahoo!', 'p', /search\.yahoo\./ ], ['MSN', 'q', /\.msn\./ ], ['Live', 'q', /\.live\./ ], ['AlltheWeb', 'q', /\.alltheweb\./ ], ['AOL', 'query', /\.aol\./ ], ['Ask', 'q', /\.ask\./ ], ['AltaVista', 'q', /\.altavista\./ ], ...
cassiuschen/CMW-Website
index_doc/Your Shopping Cart – DIY Market_files/shopify_stats.js
JavaScript
gpl-3.0
5,148
'use strict'; function data(delay, cb){ setTimeout(() => { cb(null, 'data'); }, delay); } function error(delay, cb){ setTimeout(() => { cb(new Error('error')); }, delay); } //Callback style data(1000, (err, data) => { console.log(data); }) error(1000, (err, data) => { console.log(err.message) }); //Conve...
mectest1/HelloNodeJS
beginning-node/base/nodeback-conversion.js
JavaScript
gpl-3.0
552
'use strict'; var billerModule = angular.module('billerModule', [ 'ngRoute', 'ngCookies', 'billerModule', 'ui.bootstrap', 'dialogs.main', 'tc.chartjs', 'pascalprecht.translate']); billerModule.config([ '$routeProvider', function($routeProvider, $rootScope, $location) { $routeProvider.when('/users', { templateUrl :...
labcabrera/biller
biller-web/src/main/webapp/js/app.js
JavaScript
gpl-3.0
12,993