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
export default (function (window,document,$,undefined) { $('.js-input-date').each(function(){ let $el = $(this); let restrict = $el.data('restrict'); let picker = new Pikaday({ field: this, format: 'MM/DD/YYYY', }); switch(restrict) { case 'max': picker.s...
massgov/mayflower
packages/patternlab/styleguide/source/assets/js/modules/pikaday.js
JavaScript
gpl-2.0
512
$(function() { var animationDuration = 500; $('.portal-menu-siblings').each(function() { var self = $(this); var parent = $(this).parent(); var a = parent.children('a'); var chevron = parent.find('.icon-chevron-down'); var inTimeout, outTimeout; var orientation = ...
papedaniel/oioioi
oioioi/portals/static/common/portal.js
JavaScript
gpl-3.0
2,167
page = []; term = new Terminal(); sTerm = new Terminal(); page.server = "http://molly/moiras/server-terminal.php"; //- - - - - Pop page.loaded = function(){ //------------ configuracao term = new Terminal(); sTerm = new Terminal(); term.server = page.server; sTerm.server = page.server; sTerm.on(); term.on();...
CupBlack/Moiras
resources/js/page.js
JavaScript
gpl-3.0
2,263
/* canvas.lineWidth=int; canvas.rect() canvas.fillRect() window.onorientationchange */ var position=[0,0,0,0];//---位置信息 //-------------------------------------------功能绑定区 canvas_View.addEventListener('touchstart',function(){//---把开始触摸点定为起点 if(config.type=='pen'){ drawTable.getStarPosition(2); } ...
DFFXT/DFFXT.github.io
canvas/css_js/main.js
JavaScript
gpl-3.0
13,453
/** * 支持ArcGIS Online地图 */ max.Layer.AGSTileLayer = function (serviceUrl) { this.serviceUrl = serviceUrl; this._imageList = []; this.cors=false; this.fullExtent = new max.Extent({ xmin:-20037508.3427892, ymin:-20037508.3427892, xmax:20037508.3427892, ymax:20037508.34278...
Maxgis/maxCanvasMap
src/Layer/AGSTileLayer.js
JavaScript
gpl-3.0
1,811
// Copyright 2015-2022, University of Colorado Boulder /** * Class that represents messenger ribonucleic acid, or mRNA, in the model. This class is fairly complex, due to the * need for mRNA to wind up and unwind as it is transcribed, translated, and destroyed. * * @author John Blanco * @author Mohamed Safi * @a...
phetsims/gene-expression-essentials
js/common/model/MessengerRna.js
JavaScript
gpl-3.0
22,291
'use strict'; /** * Module dependencies */ var path = require('path'), config = require(path.resolve('./config/config')); /** * Quiz module init function. */ module.exports = function (app, db) { };
AnnaGenev/pokeapp-meanjs
modules/quiz/server/config/quiz.server.config.js
JavaScript
gpl-3.0
208
(function($){ $.fn.MKNotification = function(mknOptions){ var mkn = $.extend({ 'MKMessage' : 'Default Message!', 'MKDelay' : 'None', 'MKIcon' : 'None', 'MKSound' : 'None' },mknOptions); var docHeight = $(document).height(); return this.each(function(index, e...
mustafakucuk/MKNotification
MKNotification.js
JavaScript
gpl-3.0
1,750
/* * Copyright 2014 REI Systems, Inc. * * This file is part of GovDashboard. * * GovDashboard is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) an...
REI-Systems/GovDashboard-Community
webapp/sites/all/modules/custom/dashboard/admin/js/DashboardSection.js
JavaScript
gpl-3.0
2,933
apex.region('emp').widget().interactiveGrid('getToolbar'); /** * Call this method when the size of the widget element changes. This can happen if the browser window * changes for example. This will resize the current view. * Note: Most of the time it is not necessary to call this method as Interactive Grid detects whe...
mgoricki/orclapex-ig-cheat-sheet
ig_methods.js
JavaScript
gpl-3.0
3,779
// Compiled by ClojureScript 1.9.293 {:static-fns true, :optimize-constants true} goog.provide('thi.ng.dstruct.streams'); goog.require('cljs.core'); goog.require('thi.ng.xerror.core'); /** * @interface */ thi.ng.dstruct.streams.IInputStream = function(){}; thi.ng.dstruct.streams.read_utf8_line = (function thi$ng$d...
scientific-coder/Mazes
target/main.out/thi/ng/dstruct/streams.js
JavaScript
gpl-3.0
66,698
QUnit.test( "TestDate", function( assert ) { var converter = new DataTypeConverter(); var value = "CAF 92"; var dt = converter.inferDataTypeOfValue(value); assert.equal(dt, DataTypeConverter.TYPES.TEXT, "Text /" + value + "/ correctly recognized."); var value = "2023-04"; var dt = converter.in...
donpir/JSDataChecker
tests/TestCase01_InferDataTypeOnSingleValue/DataTypeSingleValueTestCase.js
JavaScript
gpl-3.0
8,748
// Copyright 2002-2013, University of Colorado Boulder /** * Detector for absorbance (A) and percent transmittance (%T). * * @author Chris Malley (PixelZoom, Inc.) */ define( function( require ) { 'use strict'; // modules var ATDetector = require( 'BEERS_LAW_LAB/beerslaw/model/ATDetector' ); var Image = r...
concord-consortium/beers-law-lab
js/beerslaw/view/ATDetectorNode.js
JavaScript
gpl-3.0
8,297
var util = require('util'); var https = require('https'); var querystring = require('querystring'); var emitter = require('events').EventEmitter; var retry = require('retry'); function FCM(apiKey) { if (apiKey) { this.apiKey = apiKey; } else { throw Error('No apiKey is given.'); ...
matso165/islands-of-tribes
StoneAge/server/node_modules/fcm/lib/fcm.js
JavaScript
gpl-3.0
3,559
var panfeedModule = angular.module('panfeedModule', []); panfeedModule.config(function($interpolateProvider) { $interpolateProvider.startSymbol('[['); $interpolateProvider.endSymbol(']]'); }); /* https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax */ jQuery(document).ajaxSend(function(event, xhr, settin...
Landric/PANFeed
panfeed/static/panfeed/scripts/initapp.js
JavaScript
gpl-3.0
2,447
/* * * DATA SCENE * */ // Fait la moyenne des data sommé par le hub function getSensorData() { var result = {}; if (motion.counter != 0) { result.motion = { acceleration : { x : motion.acceleration.x / motion.counter, y : motion.a...
sandros06/R-3D
apps/base_websocket/public/javascripts/scripts/data_scene.js
JavaScript
gpl-3.0
2,528
const merge = require("merge"); function fakeOne(modelName, overrides) { const model = require("../models/" + modelName); const fakeData = require("../fakers/" + modelName); instance = new model(merge.recursive(true, fakeData(), overrides)); return instance.save(); } module.exports = (modelName, count, override...
BlackChaosNL/dragontide
lib/fake.js
JavaScript
gpl-3.0
660
var searchData= [ ['flash_2ec',['flash.c',['../flash_8c.html',1,'']]], ['flash_2eh',['flash.h',['../flash_8h.html',1,'']]], ['flash_5fcommon_5ff234_2ec',['flash_common_f234.c',['../flash__common__f234_8c.html',1,'']]], ['flash_5fcommon_5ff234_2ed',['flash_common_f234.d',['../flash__common__f234_8d.html',1,'']]]...
Aghosh993/TARS_codebase
libopencm3/doc/stm32f2/html/search/files_4.js
JavaScript
gpl-3.0
703
define(["dojo/_base/kernel", "dojo/_base/declare", "dojo/_base/lang", "dojo/_base/Deferred", "dojo/on", "dojo/aspect", "dojo/query", "dojo/has", "./util/misc", "put-selector/put", "xstyle/has-class", "./Grid", "dojo/_base/sniff", "xstyle/css!./css/columnset.css"], function(kernel, declare, lang, Deferred, listen, aspec...
spatialagent001/BlogExamples
example16/js/dojo/dgrid/ColumnSet.js
JavaScript
gpl-3.0
11,189
jQuery( function( $ ) { // wc_single_product_params is required to continue, ensure the object exists if ( typeof wc_single_product_params === 'undefined' ) { return false; } // Tabs $( '.woocommerce-tabs > .panel' ).hide(); $( '.woocommerce-tabs ul.tabs li a' ).click( function() { ...
shramee/test-ppb
js/wc-single-product.js
JavaScript
gpl-3.0
2,543
'use strict'; var obj = { a: 100, b: 200 }; var myVar = 10; console.log('Before delete'); console.log(obj); console.log(myVar); delete obj.a; //delete myVar;//ERROR console.log('After delete' + obj); console.log(obj); console.log(myVar);
ramezmagdy/NetPull
js/deletingStuff.js
JavaScript
gpl-3.0
242
/* jshint expr: true */ !(function($, wysi) { 'use strict'; var templates = function(key, locale, options) { return wysi.tpl[key]({locale: locale, options: options}); }; var Wysihtml5 = function(el, options) { this.el = el; var toolbarOpts = options || defaultOptions; for(var t in toolbarOpts....
UnsafeDriving/JDIY
web/jdiy/admin/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.js
JavaScript
gpl-3.0
10,258
module.exports = { //--------------------------------------------------------------------- // Action Name // // This is the name of the action displayed in the editor. //--------------------------------------------------------------------- name: "Leave Voice Channel", //----------------------------------------------...
Bourbbbon/PickleRi6
actions/leave_voice_channel.js
JavaScript
gpl-3.0
3,272
calculaAreaRectangulo = function() { this.resultado.value = parseInt(this.alto.value) * parseInt(this.ancho.value); this.metodoCompartido("EEEEEAH!"); } calculaAreaTriangulo = function() { this.resultado.value = parseInt(this.alto.value) * parseInt(this.ancho.value) / 2; this.metodoCompa...
germanux/cursomeanstack
02_js/18_figuras_poo/18_figuras.js
JavaScript
gpl-3.0
1,253
var searchData= [ ['dnasequencealignment_20_26_25_20dnasequencegenerator',['DNASequenceAlignment &% DNASequenceGenerator',['../md__home_cristianfernando__documentos_git__d_n_a_sequence_alignment__r_e_a_d_m_e.html',1,'']]] ];
crisferlop/DNASequenceAlignment
doc/html/search/pages_0.js
JavaScript
gpl-3.0
231
var classppm__java_1_1__dev_1_1concept_1_1trial_1_1_t_atomic_buffer_1_1_t_dev___trial___atomic_buffed45a420e4fba64d481cf2bcce0c03f63 = [ [ "TConsumer", "d2/df2/classppm__java_1_1__dev_1_1concept_1_1trial_1_1_t_atomic_buffer_1_1_t_dev___trial___atomic_buffed45a420e4fba64d481cf2bcce0c03f63.html#abd01c6ae70c7d4e0aac56...
ustegrew/ppm-java
doc/javadoc/html/d2/df2/classppm__java_1_1__dev_1_1concept_1_1trial_1_1_t_atomic_buffer_1_1_t_dev___trial___atomic_buffed45a420e4fba64d481cf2bcce0c03f63.js
JavaScript
gpl-3.0
2,396
///////////////////////////////////////////////////////////////////////////////// // // Jobbox WebGUI // Copyright (C) 2014-2015 Komatsu Yuji(Zheng Chuyu) // // 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 Softwa...
komatsuyuji/jobbox
frontends/public/app/controller/editor/Tree.js
JavaScript
gpl-3.0
10,826
;(function() { 'use strict'; /*this is only to be used in tests, so the same grid doesn't need to be repeated over and over. it is the smallest solvable level that can be produced in Sokoban, but already solved.*/ angular.module('meanieBanApp') .factory('smallestSolvableSolved', smallestS...
simonwendel/meanieban
client/test/utilities/smallestsolvablesolved.js
JavaScript
gpl-3.0
629
'use strict';(function(){function I(a){return 4<a?"znak\u00f3w":1<a?"znaki":"znak"}function S(a,b){return Object.keys(a).reduce(function(c,e){c[e]=b(a[e]);return c},{})}function f(a){return"undefined"!==typeof a}function d(a){return"function"===typeof a}function v(a){return"[object RegExp]"===Object.prototype.toString....
PayLane/paylane_woocommerce
assets/js/paylane-woocommerce.js
JavaScript
gpl-3.0
28,619
define(['jquery', 'system', 'i18n'], function($,_system,i18n){ 'use strict'; var remote = null; function init () { remote = remote || window.apis.services.partition; }; var partial = { myalert: function (msg) { var $alert = $('#myalert'); $alert.off('click', '...
sonald/Red-Flag-Linux-Installer
examples/installer/client/assets/js/remote_part.js
JavaScript
gpl-3.0
6,162
const router = require('express').Router({ mergeParams: true }); const HttpStatus = require('http-status-codes'); const path = '/status'; function health(_, res) { res.status(HttpStatus.OK); res.send('ok'); } function ready(_, res) { res.send('ok'); } router.get('/health', health); router.get('/ready', ready)...
omarcinp/cronos
src/api/routes/status.js
JavaScript
gpl-3.0
363
'use strict'; const express = require('express'); const service = express(); var os = require('os'); var networkInterfaces = os.networkInterfaces(); module.exports = service; module.exports.networkInterfaces = networkInterfaces;
orhaneee/SlackBotHeroku
server/service.js
JavaScript
gpl-3.0
232
/************************* Coppermine Photo Gallery ************************ Copyright (c) 2003-2016 Coppermine Dev Team v1.0 originally written by Gregory DEMAR This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as publishe...
CatBerg-TestOrg/coppermine
js/date.js
JavaScript
gpl-3.0
13,375
// Copyright (c) Clickberry, Inc. All rights reserved. // Licensed under the GNU GENERAL PUBLIC LICENSE Version 3. See License.txt in the project root for license information. define("datacontext", ["jquery"], function($) { return function(resourceUri) { if (!resourceUri) { throw Error("Inva...
clickberry/video-portal
Source/FrontEnd/Portal.Web/Cdn/js/spa/datacontext.js
JavaScript
gpl-3.0
2,802
var searchData= [ ['adc_20channel_20numbers',['ADC Channel Numbers',['../group__adc__channel.html',1,'']]], ['adc_20number_20of_20channels_20in_20discontinuous_20mode_2e',['ADC Number of channels in discontinuous mode.',['../group__adc__cr1__discnum.html',1,'']]], ['adc_20mode_20selection',['ADC Mode Selection',[...
Aghosh993/TARS_codebase
libopencm3/doc/stm32f1/html/search/groups_0.js
JavaScript
gpl-3.0
2,969
var express = require('express'); var router = express.Router(); var seminar = require('../controllers/seminar.controllers'); router.get('/', function(req, res) { res.json({status: false, message: 'None API Implemented'}); }); router.get('/user/:id', function(req, res) { seminar.get(req, res); }); // router.get...
Rajamuda/ittoday-2017
api/routes/seminar.routes.js
JavaScript
gpl-3.0
733
#!/usr/bin/env node // Special Pythagorean triplet var SUM = 1000; var triplet = get_pythagorean_triplet_by_sum(SUM); console.log(triplet[0] * triplet[1] * triplet[2]); function get_pythagorean_triplet_by_sum(s) { var s2 = Math.floor(SUM / 2); var mlimit = Math.ceil(Math.sqrt(s2)) - 1; for (var m = 2; ...
iansealy/projecteuler
optimal/9.js
JavaScript
gpl-3.0
1,296
// Events document.onkeypress = function (e) { e = e || window.event; var key = e.key; return keymap[key](); }; // Mouse events document.onmousemove = function (e) { e = e || window.event; lfo.frequency.value = e.clientX; main_osc.frequency.value = e.clientY / 10; changeBackgroundColor(lfo...
ruckert/web_audio_experiments
synth007/events.js
JavaScript
gpl-3.0
534
import { Menu } from 'electron' import menuActions from './actions' import deviceItems from './devices' import folderItems from './folders' import { getDevicesWithConnections } from '../reducers/devices' import { getFoldersWithStatus } from '../reducers/folders' import { name, version } from '../../../package.json' ...
JodusNodus/syncthing-tray
app/main/menu/index.js
JavaScript
gpl-3.0
1,367
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
hgrall/merite
src/communication/v0/typeScript/build/tchat/commun/chat.js
JavaScript
gpl-3.0
4,687
'use strict'; var CONFIGURATOR = { 'releaseDate': 1456739663000, // 2016.02.29 - new Date().getTime() or "date +%s"000 'firmwareVersionEmbedded': [3, 8, 8], // version of firmware that ships with the app, dont forget to also update initialize_configuration_objects switch ! 'firmwareVersionLiv...
remspoor/openLRSng-configurator
js/data_storage.js
JavaScript
gpl-3.0
6,310
/* jshint node: true */ module.exports = function(grunt) { "use strict"; var theme = grunt.option( 'theme', 'blue' ); var out = 'blue'; var lessFiles = [ 'base', 'autocomplete_tagging', 'embed_item', 'iphone', 'masthead', 'library', 'trackster', 'circster', 'jstree' ];...
mikel-egana-aranguren/SADI-Galaxy-Docker
galaxy-dist/static/style/Gruntfile.js
JavaScript
gpl-3.0
2,103
"use strict"; var path = require("path"); var fs = require("fs"); var sourceMap = require('source-map'); var sourceMaps = {}; var coffeeMaps = {}; var registered = false; function registerErrorHandler() { if (registered) return; registered = true; function mungeStackFrame(frame) { if (frame.isNative()) return; ...
phun-ky/heritage
node_modules/neo4j/node_modules/streamline/lib/compiler/underscored.js
JavaScript
gpl-3.0
7,491
class CheckPoint extends MasterBlock { constructor(heading, x, y, moving, rotating) { super("img/blocks/ellenorzo.png", heading, x, y, moving, rotating) this._hit = false } get_newDir(dir) { this._hit = true return [dir] } hitStatus() { return this._hit ...
Sch-Tomi/light-breaker
dev_js/blocks/checkpoint.js
JavaScript
gpl-3.0
326
"use strict"; var validMoment = require('../helpers/is-valid-moment-object'); module.exports = function (value, dateFormat) { if (!validMoment(value)) return value; return value.format(dateFormat); };
matfish2/vue-tables-2
compiled/filters/format-date.js
JavaScript
gpl-3.0
206
var inherit = function(){ $('*[inherit="source"]').change(function(){ $.get('/admin/libio/variety/hierarchy/' + $(this).val(), function(data){ $('*[inherit="target"]').each(function(key, input){ var id = $(input).prop('id'); var fieldName = id.substring(id.ind...
libre-informatique/SymfonyLibrinfoVarietiesBundle
src/Resources/public/js/inherit.js
JavaScript
gpl-3.0
651
"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; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
umeshsohaliya/AngularSampleA
app/components/home/home.component.js
JavaScript
gpl-3.0
1,660
'use strict'; var BarcodeScan = require('com.tlantic.plugins.device.barcodescan.BarcodeScan'); var barcodeScan; exports.init = function (success, fail, args) { if (!barcodeScan) { barcodeScan = new BarcodeScan(); barcodeScan.onReceive = exports.rcMessage; barcodeScan.init(success, fail);...
Tlantic/cdv-device-barcodescan-plugin
src/windows8/BarcodeScanProxy.js
JavaScript
gpl-3.0
897
var btimer; var isclosed=true; var current_show_id=1; var current_site_id; var wurl; var comment_recapcha_id; function hideVBrowser() { isclosed=true; $('#websiteviewer_background').fadeOut(); } function submitTest(view_token) { $('#websiteviewer_browserheader').html('<center>...در حال بررسی</center>'); ...
amir9480/Traffic-booster
public_html/js/websites.js
JavaScript
gpl-3.0
10,083
import Component from './mock/component.spec'; QUnit.module( 'File: core/common/assets/js/api/extras/hash-commands.js', ( hooks ) => { hooks.before( () => { $e.components.register( new Component() ); } ); QUnit.test( 'get(): Ensure valid return format', ( assert ) => { // Act. const actual = $e.extras.hashCo...
ramiy/elementor
tests/qunit/tests/core/common/assets/js/api/extras/hash-commands.spec.js
JavaScript
gpl-3.0
2,172
/*! * Ext JS Library * Copyright(c) 2006-2014 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.define('Ext.org.micoli.app.modules.GridWindow', { extend: 'Ext.ux.desktop.Module', requires: [ 'Ext.data.ArrayStore', 'Ext.util.Format', 'Ext.grid.Panel', 'Ext.grid.RowN...
micoli/reQuester
desk6/app/org/micoli/app/modules/samples/GridWindow.js
JavaScript
gpl-3.0
3,137
var dir_74389ed8173ad57b461b9d623a1f3867 = [ [ "Containers", "dir_08cccf7962d497a198ad678c4e330cfd.html", "dir_08cccf7962d497a198ad678c4e330cfd" ], [ "Controls", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5.html", "dir_6f73af2b2c97c832a8b61d1fc1ff2ac5" ], [ "Util", "dir_7db6fad920da64edfd558eb6dbc0c610.html", "dir...
KateAdams/kateadams.eu
static/*.kateadams.eu/Consor/Doxygen/dir_74389ed8173ad57b461b9d623a1f3867.js
JavaScript
gpl-3.0
2,985
/** @jsx React.DOM */ jest.dontMock('./../jsx/jestable/DeleteButton.js'); describe('DeleteButton', function() { it('creates a button that deletes keyword from the keyword list', function() { var React = require('react/addons'); var DeleteButton = require('./../jsx/jestable/DeleteButton.js'); ...
Reynslan/moggo
components/__tests__/DeleteButton-test.js
JavaScript
gpl-3.0
1,154
function failure () { } function create_msg(){ //alert(document.getElementById('intraweb').value); if (document.getElementById('intraweb').value == '') { jQuery('#intraweb').focus(); } } function enableTopicListSort(){ if (jQuery( "#EnDisSort" ).hasClass( "disabled" )) { jQuery('.hand...
projectestac/intraweb
intranet/modules/IWforums/javascript/IWforums.js
JavaScript
gpl-3.0
14,075
const path = require('path') const webpack = require('webpack') var config = { devtool: 'source-map', entry: './lib/index.js', output: { path: path.join(__dirname, 'dist'), filename: 'napchart.min.js', library: 'Napchart', libraryTarget: 'var' }, module: { rules: [ { ...
larskarbo/napchart
webpack.config.js
JavaScript
gpl-3.0
798
// ----------- General Utility Functions ----------- function get_answer_div(answer_id) { return dom_lookup("answer-", answer_id) } function get_answer_div_desc_div(answer_div) { return dom_lookup("desc-", answer_div.id) } function get_question_desc_div(question_id) { return dom_lookup("question-desc-", ...
kc0bfv/RankedChoiceRestaurants
RankedChoiceRestaurants/static/voting/ranked_choice.js
JavaScript
gpl-3.0
9,999
// // Installs the bash completion script // // Load the needed modules var fs = require('fs'); var path = require('path'); // File name constants var BASH_COMPLETION = '/etc/bash_completion.d'; var COMPLETION = path.join(__dirname, '..', 'completion.sh'); // Make sure the bash completion directory exists path.exist...
kbjr/node-crux
scripts/bash-completion.js
JavaScript
gpl-3.0
1,206
const constants = require('./../routes/constants.json'); const logger = require('../utils/logger'); const amanda = require('amanda'); const jsonSchemaValidator = amanda('json'); const math = require('mathjs'); const calculatePopularity = popularity => { logger.debug('Calculating popularity'); if (popularity) { ...
tallerify/shared-server
src/handlers/response.js
JavaScript
gpl-3.0
16,674
!function(a){a.fn.datepicker.dates.no={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","Setembro","Oktober","November","Desemb...
Brasmid/servicedesk-metal
theme/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.no.min.js
JavaScript
gpl-3.0
491
var searchData= [ ['network',['Network',['../classNetwork.html',1,'Network&lt; Vertex, Edge &gt;'],['../classNetwork.html#a5041dbbc6de74dfee903edb066476ddb',1,'Network::Network()'],['../classNetwork.html#ae591a151ac8f3fbfb800b282f1d11ea7',1,'Network::Network(NetworkInfo i)']]], ['networkinfo',['NetworkInfo',['../st...
leoandeol/network-coverage-computation
docs/search/all_8.js
JavaScript
gpl-3.0
353
jQuery(window).load( function() { if( local_data.form_id ) { var pardot_id = local_data.form_id; } else{ var pardot_id = jQuery('[id^="form-wysija-"]').attr('id'); } jQuery('.pardotform').contents().find('#pardot-form').submit(function () { var ajax_data = { action: 'pardot_capture_lead', 'firstnam...
leadferry/lf-leads
leads/classes/vendors/js/pardot.js
JavaScript
gpl-3.0
673
$(window).load(function() { /* Seleccionar el primer radio button (Persona) */ var contr = $('#form-adhere input[type=radio]'); contr.first().prop( "checked", true ); /* Cargar lista de paises en el select */ $.ajax({ url: location.origin + location.pathname + '/assets/js/countries.json', d...
DemocraciaEnRed/redinnovacionpolitica.org
assets/js/adhere-form.js
JavaScript
gpl-3.0
2,368
const UserAuthentication = function () { let _userPool = new AmazonCognitoIdentity.CognitoUserPool( window.auth.config.cognito ); let _cognitoUser = _userPool.getCurrentUser(); const _getUser = function (email) { if (!_cognitoUser) { _cognitoUser = new AmazonCognitoIdentity.CognitoUser({ ...
aodn/aodn-portal
web-app/js/aws-cognito/UserAuthentication.js
JavaScript
gpl-3.0
6,716
Simpla CMS 2.3.8 = afa50d5f661d65b6c67ec7f0e80eee7d
gohdan/DFC
known_files/hashes/simpla/design/js/codemirror/addon/hint/css-hint.js
JavaScript
gpl-3.0
52
'use strict'; /** * pratice Node.js project * * @author Mingyi Zheng <badb0y520@gmail.com> */ import {expect} from 'chai'; import {request} from '../test'; describe('user', function () { it('signup', async function () { try { const ret = await request.post('/api/signup', { name: 'test1', ...
akin520/pratice-node-project
src/test/test_user.js
JavaScript
gpl-3.0
1,036
/** * @file Surface Component * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ComponentRegistry } from "../globals.js"; import { defaults } from "../utils.js"; import Component from "./component.js"; /** * Component wrapping a Surface object * @class * @extends Component * @par...
deepchem/deepchem-gui
gui/static/ngl/src/component/surface-component.js
JavaScript
gpl-3.0
2,061
(function() { 'use strict'; angular .module('weatheropendataApp') .config(stateConfig); stateConfig.$inject = ['$stateProvider']; function stateConfig($stateProvider) { $stateProvider.state('register', { parent: 'account', url: '/register', ...
hackathinho/open-clean-energy
backend-weather/src/main/webapp/app/account/register/register.state.js
JavaScript
gpl-3.0
993
/** * initSession * * @module :: Policy * @description :: make sure all session related values are properly setup * */ module.exports = function(req, res, next) { // make sure the appdev session obj is created. req.session.appdev = req.session.appdev || ADCore.session.default(); // if th...
appdevdesigns/appdev-core
api/policies/initSession.js
JavaScript
gpl-3.0
500
Monster = ring.create([AbstractIcon], { constructor: function() { this.sprite = objPhaser.add.sprite(0, 0, Constants.ASSET_MONSTER); this.sprite.animations.add("fly"); this.sprite.animations.play("fly", 3, true); this.type = Constants.ASSET_MONSTER; this.anim = 0; this.sinchange = 0; }, update: funct...
gfrymer/GGJ2015-BSAS-Duality
src/entities/Monster.js
JavaScript
gpl-3.0
629
function direction(dir, neg) { if (dir == 'x') { return function (num) { num = num == null ? 1 : num; return new Tile(this.x + (neg ? -num : num), this.y); }; } return function (num) { num = num == null ? 1 : num; return new Tile(this.x, this.y + (neg ...
alpha123/Arq
tile.js
JavaScript
gpl-3.0
2,213
/* Copyright (C) 2016 Julien Le Fur This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is dist...
Ju-Li-An/gs_engine
lib/dataAccess/fs/template/delete.js
JavaScript
gpl-3.0
1,386
import Palabra from '../../models/palabras' import { GROUP_ID } from '../../config' /** * Obtiene el ranking de palabras más usadas. * @param {*} msg */ const ranking = async msg => { if(msg.chat.id !== GROUP_ID) return; try { let palabras = await Palabra.find({}).sort('-amount').exec(); ...
jesusgn90/etsiit-moderator
lib/lib/estadisticas/estadisticas.js
JavaScript
gpl-3.0
1,257
var Octopi = function(words) { this.uid = 0; this.tree = {$$: []}; this.table = {}; words = (words || []); for (var i = 0; i < words.length; i++) this.add(words[i]); }; /** * Take serialized Octopi data as string and initialize the Octopi object * @param json String The serialized Octopi trie */ Octopi....
ebursztein/SiteFab
plugins/site/rendering/autocomplete/autocomplete.js
JavaScript
gpl-3.0
2,263
(function() { var billerModule = angular.module('billerModule'); billerModule.filter('offset', function() { return function(input, start) { start = parseInt(start, 10); return input != null ? input.slice(start) : []; }; }); billerModule.directive('billRecalculationInfo', function() { return { ...
labcabrera/biller
biller-web/src/main/webapp/js/controllers/bill-recalculation-ctrl.js
JavaScript
gpl-3.0
3,019
module.exports = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { dist: { options: { style: 'compressed' }, files: { 'assets/css/global.css': 'src/sass/global.sc...
Treenity/bbpress-wp-support
gruntfile.js
JavaScript
gpl-3.0
1,604
import { Empty as _Empty } from 'elementor-document/elements/commands'; import ElementsHelper from '../../elements/helper'; export const Empty = () => { QUnit.module( 'Empty', () => { QUnit.test( 'Single Selection', ( assert ) => { const eColumn = ElementsHelper.createSection( 1, true ); ElementsHelper.creat...
kobizz/elementor
tests/qunit/core/editor/document/elements/commands/empty.spec.js
JavaScript
gpl-3.0
1,829
'use strict'; module.exports = { minVersion: "5.0.0", currentVersion: "5.2.0", activeDelegates: 101, addressLength: 208, blockHeaderLength: 248, confirmationLength: 77, epochTime: new Date(Date.UTC(2016, 4, 24, 17, 0, 0, 0)), fees:{ send: 10000000, vote: 100000000, secondsignature: 500000000, delegate:...
shiftcurrency/shift
helpers/constants.js
JavaScript
gpl-3.0
1,217
const path = require('path'); const webpack = require('webpack'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin'); var CopyWebpackPlugin = require('copy-webpack-plugin'); module.exports = { // 页面入口文件配置 entry: { app: [ path.norma...
saas-plat/saas-plat-native
web/webpack.config.js
JavaScript
gpl-3.0
3,434
angular.module('starter.controllers') .controller('HistoryCtrl', function($scope) { $scope.history = [ { label: "Today, 10am-11am", min: 60, max: 87}, { label: "Today, 9am-10am", min: 62, max: 76}, { label: "Today, 8am-9am", min: 55, max: 79}, { label: "Yesterday, 10pm-11pm", min: 66, max...
JBeaudaux/JBeaudaux.github.io
OpenHeart/js/history.js
JavaScript
gpl-3.0
987
const editor = require('./form-editor/form-editor.js') const fields = require('./form-editor/fields.js') const settings = require('./settings') const notices = {} function show (id, text) { notices[id] = text render() } function hide (id) { delete notices[id] render() } function render () { let html = '' ...
ibericode/mailchimp-for-wordpress
assets/src/js/admin/notices.js
JavaScript
gpl-3.0
2,625
/* Gerador de nomes @author Maickon Rangel @copyright Help RPG - 2016 */ function download_para_pdf(){ var doc = new jsPDF(); var specialElementHandlers = { '#editor': function (element, renderer) { return true; } }; doc.fromHTML($('#content').html(), 15, 15, { 'width': 170, ...
maickon/Help-RPG-4.0
app/assets/js/nomes/nomes.js
JavaScript
gpl-3.0
2,470
define(['forum/accountheader'], function(header) { var AccountSettings = {}; AccountSettings.init = function() { header.init(); $('#submitBtn').on('click', function() { var settings = { showemail: $('#showemailCheckBox').is(':checked') ? 1 : 0 }; socket.emit('user.saveSettings', settings, functio...
changyou/NadBB
public/src/forum/accountsettings.js
JavaScript
gpl-3.0
522
OJ.importCss('nw.components.NwTray'); OJ.extendComponent( 'NwTray', [OjComponent], { '_props_' : { 'actuator' : null, 'allowSlide' : false, 'tray' : null }, '_template' : 'nw.components.NwTray', '_is_open' : false, // '_tray_anim' : null, ...
NuAge-Solutions/NW
src/js/components/NwTray.js
JavaScript
gpl-3.0
4,779
'use strict'; var async = require('async'); var rss = require('rss'); var nconf = require('nconf'); var validator = require('validator'); var posts = require('../posts'); var topics = require('../topics'); var user = require('../user'); var categories = require('../categories'); var meta = require('../meta'); var hel...
BenLubar/NodeBB
src/routes/feeds.js
JavaScript
gpl-3.0
14,110
var Gpio = function (physicalPin, wiringPiPin, name) { this.id = physicalPin; this.physicalPin = physicalPin; this.wiringPiPin = wiringPiPin; this.name = name; } Gpio.fromGpioDefinition = function (definition) { return new Gpio(definition.physicalPin, definition.wiringPiPin, definition.name); } mo...
jvandervelden/rasp-train
src/node/models/gpio.js
JavaScript
gpl-3.0
340
$(function(){$('a[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var t=$(this.hash);if((t=t.length?t:$("[name="+this.hash.slice(1)+"]")).length)return $("html, body").animate({scrollTop:t.offset().top},500),!1}})})...
david-ma/Thalia
websites/example/public/js/scripts.min.js
JavaScript
gpl-3.0
321
window.saveData = function (key, data) { if(!localStorage.savedData) localStorage.savedData = JSON.stringify({}); var savedData = JSON.parse(localStorage.savedData) var type = typeof data; savedData[key] = { type: type, data: (type === 'object') ? JSON.stringify(data) : data }; localStorage.savedData = JS...
zrispo/wick
lib/localstoragewrapper.js
JavaScript
gpl-3.0
780
import request from '@/utils/request' export function fetchCommon() { return request({ url: '/setting/common/cron/', method: 'get' }) } export function editCommon(formData) { const data = formData return request({ url: '/setting/common/cron/', method: 'put', data }) } export function fe...
wdxtub/Patriots
frontend/src/api/setting.js
JavaScript
gpl-3.0
823
const errorHandler = require('../../../src/controllers/middlewares/error') describe('Error Handler', () => { describe('with generic error', () => { const error = { code: '007', stack: 'StackTrace', } const req = { id: 'request_id' } const res = { locals: {}, } const next = ...
hails/tane
tests/unit/middlewares/error.test.js
JavaScript
gpl-3.0
2,113
import DS from 'ember-data'; export default DS.LSAdapter.extend({ namespace: 'bateria_namespace' });
hugoruscitti/bateria
app/adapters/application.js
JavaScript
gpl-3.0
105
'use strict' const config = { development: './env/dev', production: './env/prod', test: './env/test' } const { NODE_ENV = 'development' } = process.env module.exports = require(config[NODE_ENV])
calebgregory/node-testing-with-mocha-chai
config/index.js
JavaScript
gpl-3.0
204
/* Copyright (C) 2016 PencilBlue, LLC This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is...
Whatsit2yaa/vast-tundra-84597
include/service/media/renderers/slideshare_media_renderer.js
JavaScript
gpl-3.0
10,832
var structrectangle = [ [ "height", "structrectangle.html#af460193d9a375b8e2813bf1fe6216cce", null ], [ "ulx", "structrectangle.html#a4feece2ec58d909444613177ec67e2bc", null ], [ "uly", "structrectangle.html#ac537f5c6afbda6ef42cc428540058ecb", null ], [ "width", "structrectangle.html#a57a9b24a714057d8d2...
kipr/harrogate
shared/client/doc/structrectangle.js
JavaScript
gpl-3.0
346
var annotated_dup = [ [ "AbstractHive", "classAbstractHive.html", "classAbstractHive" ], [ "Colour", "classColour.html", "classColour" ], [ "Environment", "classEnvironment.html", "classEnvironment" ], [ "EventManager", "classEventManager.html", "classEventManager" ], [ "EvoBeeExperiment", "classEvo...
tim-taylor/evobee
docs/html/annotated_dup.js
JavaScript
gpl-3.0
2,376
import React, { PureComponent } from "react"; import PropTypes from "prop-types"; import { withTranslation } from "react-i18next"; import FormattedDate from "global/components/FormattedDate"; import classNames from "classnames"; import Authorize from "hoc/Authorize"; import Avatar from "global/components/avatar/index";...
ManifoldScholar/manifold
client/src/global/components/Annotation/Annotation/UserContent/Meta.js
JavaScript
gpl-3.0
3,870
var mongoose = require('mongoose'); /** The review document schema */ var reviewSchema = new mongoose.Schema({ author: String, rating: { type: Number, required: true, min: 0, max: 5 }, reviewText: String, createdOn: { type: Date, "default": Date.now ...
Pringlez/Reviewer-App
app_api/models/locations.js
JavaScript
gpl-3.0
1,099
/* =Spatial directions * ------------------------------------------------------------ */ Direction = new (function() { /* jshint ignore:line */ this.n = new Vector( 0, 1); this.up = this.n; this.ne = new Vector( 1, 1); this.e = new Vector( 1, 0); this.right = this.e; this.se = new Vector( 1, -1); this.s = new...
lleaff/ASCII-life
src/js/lib/world_directions.js
JavaScript
gpl-3.0
2,772
/* * μlogger * * Copyright(C) 2019 Bartek Fabiszewski (www.fabiszewski.net) * * This 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 ver...
bfabiszewski/ulogger-server
js/src/mapapi/api_gmaps.js
JavaScript
gpl-3.0
12,253
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. // iOS6 suffers from a bug that kills timers that are created while a page is scrolling. // This library fixes that problem by recreating timers after scrolling finishes (with interval correction). // This code is free to use b...
Karplyak/avtomag.url.ph
axZm/plugins/ios6TimersFix.js
JavaScript
gpl-3.0
2,999
/**========================================================= * Module: SupportService.js * Checks for features supports on browser =========================================================*/ /*jshint -W069*/ (function() { 'use strict'; angular .module('naut') .service('support', se...
rdemorais/ecar-spa
pe-spa/src/js/modules/common/services/support.service.js
JavaScript
gpl-3.0
2,683