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
/* * AeroWindow - jQuery Plugin (v3.51) * Copyright 2010, Christian Goldbach * Dual licensed under the MIT or GPL Version 2 licenses. * * Project Website: * http://www.soyos.net/aerowindow-jquery.html * http://www.soyos.net * * * * Requires Easing Plugin for Window Animations: * jQuery Easing v1.3 - http:/...
jsperorg/blog
EasyWindow/EasyWindow/jquery-AeroWindow.js
JavaScript
gpl-3.0
21,164
/*** * 报表全局变量文件 * 2014-8-19 * 陈建宇 * thejava@163.com */ var cell_width = 99;//px,初始化单元格宽度 var current_sheet = null;//当前页表 var current_cell = null;//当前被选中的单元格 var current_icon_button = null;//当前获得焦点的icon图标 var current_mousedown_cell = null;//当前鼠标按下的单元格 var current_mouseup_cell = null;//当前鼠标放开的单元格 var curren...
jsperorg/blog
HTMLExcel/HTMLExcel/report/js/variables.js
JavaScript
gpl-3.0
3,427
EditableGrid.prototype._convertOptions = function(optionValues) { // option values should be an *ordered* array of value/label pairs, but to stay compatible with existing enum providers if (optionValues !== null && (!(optionValues instanceof Array)) && typeof optionValues == 'object') { var _converted = []; for...
jrivasluna/Modulo_Ventas
js/edit_table/editablegrid_utils.js
JavaScript
gpl-3.0
25,091
/************************************ * Test adding Task to the Calendar * ************************************/ var Event = require( "../dist/classes/Event.class" ); var Task = require( "../dist/classes/Task.class" ); var Calendar = require( "../dist/classes/Calendar.class" ); module.exports = function() { // var...
Tim-sdd-spring2017/Tim
tests/addTaskWithDeadline.js
JavaScript
gpl-3.0
1,663
// Copyright 2014-2021, University of Colorado Boulder /** * Node that defines a single panel for use on the tilt prediction selector node. */ import { DownUpListener } from '../../../../scenery/js/imports.js'; import { Image } from '../../../../scenery/js/imports.js'; import { Node } from '../../../../scenery/js/i...
phetsims/balancing-act
js/game/view/TiltPredictionSelectionPanel.js
JavaScript
gpl-3.0
3,719
angular.module('app') .controller("FormSiteCtrl", FormSiteCtrl) FormSiteCtrl.$inject = ["$scope", "$state", "$ionicPopup", "$ionicTabsDelegate", "WeeksService", "PlacesService", "ENDPOINT", "LayersService", "FieldsService", "SiteService", "SiteSQLiteService", "CameraService", "moment", "...
ilabsea/larvae-report-system-mobile
www/js/sites/form-site-controller.js
JavaScript
gpl-3.0
13,239
var searchData= [ ['clay_5fintro',['clay_intro',['../resources_8cpp.html#aed9272049f8fbaec5e55ccd31b0f16e8',1,'resources.cpp']]], ['clean_5ffiles',['clean_files',['../resources_8cpp.html#ad0cd7f9c07feb6d47da5a06ef0d02211',1,'clean_files(): resources.cpp'],['../resources_8h.html#ad0cd7f9c07feb6d47da5a06ef0d0221...
SimonItaly/duckhunt
doc/html/search/all_63.js
JavaScript
gpl-3.0
1,691
/** * @class Ext.chart.series.sprite.Cartesian * @extends Ext.draw.sprite.Sprite * * Cartesian sprite. */ Ext.define('Ext.chart.series.sprite.Cartesian', { extend: 'Ext.draw.sprite.Sprite', mixins: { markerHolder: 'Ext.chart.MarkerHolder' }, homogeneous: true, ascending: true, inher...
grgur/Sencha5-Finance
ext/packages/sencha-charts/src/chart/series/sprite/Cartesian.js
JavaScript
gpl-3.0
9,198
initSidebarItems({"struct":[["TempFile","An unnamed temporary file."]]});
susaing/doc.servo.org
tempfile/unnamed/sidebar-items.js
JavaScript
mpl-2.0
73
var path = require('path'); module.exports = function (app, config, cb) { var modules = app.getModules(); var baseModules = require('../../modules/').getBaseModules(); function addDebugModule(module) { var extension = module.getExtension('devkit-simulator'); if (extension) { // sets up the import ...
gameclosure/devkit
src/build/steps/addDebugCode.js
JavaScript
mpl-2.0
798
/** * Temporary API for interacting with the server. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 'use strict'; const API = { jwt: localStorage.getItem(...
mozilla-iot/gateway
static/js/api.js
JavaScript
mpl-2.0
13,685
// jshint service-worker globals: /* global caches: false, self: false, fetch: false, Cache: false, CacheStorage: false, importScripts: false, Request: false */ // --- POLYFILL // https://raw.githubusercontent.com/coonsta/cache-polyfill/master/dist/serviceworker-cache-polyfill.js if (!Cache.prototype.add) { Cache....
wangqin4377/BubbleShooter
build/debug/browser-mobile/cache-worker.js
JavaScript
mpl-2.0
9,227
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; const { Arg, Option, RetVal, generateActorSpec, types } = require("devtools/shared/protoco...
Yukarumya/Yukarum-Redfoxes
devtools/shared/specs/styles.js
JavaScript
mpl-2.0
5,422
'use strict'; const H = require('../interface/result.h'); const sym = require('../interface/result-sym.h'); H.fromTry = function ($fun) { const result = new H(); try { result[sym.value] = $fun(); result[sym.isOk] = true; } catch ($err) { result[sym.value] = $err; resu...
minecrawler/result-js
src/result.fromTry.c.js
JavaScript
mpl-2.0
371
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ gTestfile = '15.9.2.2-5.js'...
mozilla/rhino
testsrc/tests/ecma/Date/15.9.2.2-5.js
JavaScript
mpl-2.0
1,649
import forceArray from 'force-array'; import constantCase from 'constant-case'; import get from 'lodash.get'; import uniqBy from 'lodash.uniqby'; import omit from 'lodash.omit'; const parseAffRule = ({ conditional, placement, type: identity, name, pattern, value }) => { const type = constantCase( `${...
yldio/joyent-portal
packages/instance-steps/src/index.js
JavaScript
mpl-2.0
2,559
import Component from '@ember/component'; import { computed } from '@ember/object'; /** * @module SelectableCard * SelectableCard components are card-like components that display a title, total, subtotal, and anything after they yield. * They are designed to be used in containers that act as flexbox or css grid cont...
quixoten/vault
ui/app/components/selectable-card.js
JavaScript
mpl-2.0
1,275
var searchData= [ ['catmullrom',['catmullRom',['../a00225.html#ga8119c04f8210fd0d292757565cd6918d',1,'glm']]], ['ceil',['ceil',['../a00143.html#gafb9d2a645a23aca12d4d6de0104b7657',1,'glm']]], ['ceilmultiple',['ceilMultiple',['../a00169.html#ga1d89ac88582aaf4d5dfa5feb4a376fd4',1,'glm::ceilMultiple(genType v, genTy...
tmj-fstate/maszyna
ref/glm/doc/api/search/all_3.js
JavaScript
mpl-2.0
7,339
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ /* global describe, before, after, it */ const mockery = require('mockery') const {mount} = require('enzyme') cons...
timborden/browser-laptop
test/unit/app/renderer/components/tabs/content/favIconTest.js
JavaScript
mpl-2.0
3,773
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //--------------------------------------------------------...
kostaspl/SpiderMonkey38
js/src/tests/js1_8_1/jit/regress-462459-03.js
JavaScript
mpl-2.0
1,726
define([ 'ccc/cdo', 'ccc/pvc', 'ccc/def', 'test/utils', 'test/data-1' ], function(cdo, pvc, def, utils, datas) { describe("pvc.visual.CartesianAxis", function() { it("should create an axis", function() { var axis = createAxis({orientation: "horizontal"}, "base"); expec...
afrjorge/ccc
test/ccc/core/cartesian/axis/cart-axis-spec.js
JavaScript
mpl-2.0
19,790
/* -*- indent-tabs-mode: nil -*- /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ var Double_BYTES = 8; var Int_BYTES = 4; // Center the image at this location. ...
lars-t-hansen/sab-demo
jsblog-2016-03/mandel4-shared.js
JavaScript
mpl-2.0
2,334
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * * Date: 05 June 2...
mozilla/rhino
testsrc/tests/js1_5/Scope/regress-208496-002.js
JavaScript
mpl-2.0
2,675
const throttle = require('lodash.throttle'); // * *********************************************************************** // * // * POSTPROCESSING CLASS // * // * Post effects for THREE.js - for background drawing // ************************************************************************* export class Postprocessing...
looeee/portfolio
es2015/postprocessing.js
JavaScript
mpl-2.0
1,586
suite('timezone_service', function() { var icsData; testSupport.defineSample('timezones/America/Los_Angeles.ics', function(data) { icsData = data; }); var subject; setup(function() { subject = ICAL.TimezoneService; subject.reset(); }); teardown(function() { subject.reset(); }); test...
mozilla-comm/ical.js
test/timezone_service_test.js
JavaScript
mpl-2.0
2,744
import { currentRouteName, settled, visit, waitUntil } from '@ember/test-helpers'; import { module, test, skip } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import editPage from 'vault/tests/pages/secrets/backend/pki/edit-role'; import showPage from 'vault/tests/pages/secrets/backend/pki/show'; im...
hashicorp/vault
ui/tests/acceptance/secrets/backend/pki/role-test.js
JavaScript
mpl-2.0
2,892
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // @flow // $FlowExpectError Flow doesn't know about this util import { Worker } from 'worker_threads'; class Nod...
mstange/cleopatra
src/utils/__mocks__/worker-factory.js
JavaScript
mpl-2.0
2,114
/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; /** * Tests that the memory call tree views get rerendered when toggling `invert-call-tree`. */ const { SIMPLE_URL } = require("devtools/client/performance/test/helpers/urls"); const { UI_ENABLE...
Yukarumya/Yukarum-Redfoxes
devtools/client/performance/test/browser_perf-options-invert-call-tree-02.js
JavaScript
mpl-2.0
1,824
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ // @flow declare var describe: (name: string, func: () => void) => void; declare var it: (desc: string, func: ()...
ruturajv/debugger.html
src/utils/resource/tests/crud.spec.js
JavaScript
mpl-2.0
8,472
/** * Created by AlexanderC on 5/25/15. */ 'use strict'; import {Exception} from './Exception'; import {InvalidArgumentException} from './InvalidArgumentException'; /** * Thrown when methods from interface or abstract class are not implemented */ export class MethodsNotImplementedException extends Exception { ...
MitocGroup/deep-framework
src/deep-core/lib/Exception/MethodsNotImplementedException.js
JavaScript
mpl-2.0
610
if (cs.plugin("testdrive")) { cs.usecase("reset", "reset all login dialogs", function () { return cs.ensure("/ui/panel/model", "prepared").then(function (comp) { comp.value("event:reset", true); }); }); cs.usecase({ name: "login", desc: "fill out a login dialog",...
rse/componentjs
tst/demo/app-testdrive.js
JavaScript
mpl-2.0
2,625
var group__aes__api = [ [ "AES_clearErrorFlag", "group__aes__api.html#ga15825436fdffce948fbb6f34ac3016a5", null ], [ "AES_clearInterrupt", "group__aes__api.html#gad22d303ebca5aa34db80323d0e4a6d7c", null ], [ "AES_decryptData", "group__aes__api.html#ga7fc8ce5050b23602da8713d00b781543", null ], [ "AES_dec...
ots-m2m/sew-lwm2m-reference-design
thirdparty/msp430/doc/MSP430F5xx_6xx/html/group__aes__api.js
JavaScript
mpl-2.0
1,761
(function() { var WGS84IntersectUtil, _, expect, intersectLines, intersectPolygon, lines, mtDiabloBBox, mtDiabloFC, noIntersection, points, polygons; expect = require('expect.js'); _ = require('lodash'); WGS84IntersectUtil = require('../'); mtDiabloFC = require('./mtDiablo.json'); mtDiabloBBox = [-121....
csbrandt/WGS84IntersectUtil
test/tests.js
JavaScript
mpl-2.0
3,264
/** * Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ onmessage = function(event) { if (event.data.do == "eval") { var res; try { res = eval("40+2"); } catch(ex) { res = ex+""; } postMessage(res); } else if (event.data....
Yukarumya/Yukarum-Redfoxes
dom/workers/test/csp_worker.js
JavaScript
mpl-2.0
585
/* global log, Packets, Modules */ define(function() { /** * This is a player handler, responsible for all the callbacks * without having to clutter up the entire game file. */ return Class.extend({ init: function(game, player) { var self = this; self.game = g...
Tach-Yon/Tap-Tap-Adventure
client/js/entity/character/player/playerhandler.js
JavaScript
mpl-2.0
5,601
function (fieldName, clause) { var ret = {}; ret[fieldName] = {$regex:'^'+clause}; return ret; }
ChiweenieDijon/noonian-sys
noonian_pkg/QueryOp/$childOf.[toMongo].GAH5UsVYQ8-7Rex6HOo3aA.js
JavaScript
agpl-3.0
108
var boards=$("#tabcontent div div").eq(0).children().eq(1).html(); var timer=setInterval(function(){ if (location.pathname.endsWith("mainpage.jsf")||location.pathname.endsWith("trainbetweenstns.jsf")){ if ($("#tabcontent div div").eq(0).children().eq(1).length){ if ($("#tabcontent div div").eq(0).children().e...
rohinrohin/BroWait
Extension/script.js
JavaScript
agpl-3.0
3,281
// Punto de entrada de React, donde renderiza la aplicación entera y la inserta // en el DOM. import React from 'react' import ReactDOM from 'react-dom' import Root from './Root' ReactDOM.render(Root, document.getElementById('faz'))
INTA-Suelos/faz
src/js/faz.js
JavaScript
agpl-3.0
236
define(function (require) { 'use strict'; var Projectile = require('models/projectile'); var AdultHuman = Projectile.extend({ defaults: { mass: 70, diameter: 0.5, dragCoefficient: 1.3 } }, { getName: function() { return 'a...
Connexions/simulations
projectile-motion/src/js/models/projectile/adult-human.js
JavaScript
agpl-3.0
371
/** * Created by igors on 12/09/2016. */ var chai = require('chai'); var expect = chai.expect; describe('TS2MP4 convertor spec', function() { var config = require('./../../common/Configuration'); const preserveOriginalHLS = config.get('preserveOriginalHLS'); preserveOriginalHLS.enable = false; config...
kaltura/liveDVR
tests/unit/ts2mp4-spec.js
JavaScript
agpl-3.0
5,268
/* @flow */ import { warning } from '../../utils.js'; import type { Rule } from '../../types'; export const ClientMutationIdProvided: Rule = ({ mutation, argument }) => { if (!mutation || !argument) { throw Error('context not passed to rule.'); } const { name: mutationName } = mutation; const { name, loc } = ar...
meldio/meldio
src/schema/validator/rules/MutationArgument/ClientMutationIdProvided.js
JavaScript
agpl-3.0
574
/* * Electronic Logistics Management Information System (eLMIS) is a supply chain management system for health commodities in a developing country setting. * * Copyright (C) 2015 John Snow, Inc (JSI). This program was produced for the U.S. Agency for International Development (USAID). It was prepared under the USAI...
kelvinmbwilo/open_elmis
modules/openlmis-web/src/main/webapp/public/js/static-pages/controller/static-pages-controller.js
JavaScript
agpl-3.0
1,548
define([ 'arches', 'knockout', 'views/components/workbench', 'bindings/cytoscape' ], function(arches, ko, WorkbenchViewmodel) { return ko.components.register('related-resources-graph', { viewModel: function(params) { var self = this; var layout = { nam...
archesproject/arches
arches/app/media/js/views/components/related-resources-graph.js
JavaScript
agpl-3.0
20,733
import { postPost, postList, postDetail, postSendNow } from "../services/api"; import { alertError, alertSuccess } from "./alert"; const savePostRequest = () => ({ type: "SAVE_POST_REQUEST" }); const savePostSuccess = () => ({ type: "SAVE_POST_SUCCESS" }); export const savePost = (postId, postData) => dispatch =...
daily-bruin/meow
meow/frontend/src/actions/post.js
JavaScript
agpl-3.0
3,995
/** * app.js * * Use `app.js` to run your app without `sails lift`. * To start the server, run: `node app.js`. * * This is handy in situations where the sails CLI is not relevant or useful. * * For example: * => `node app.js` * => `forever start app.js` * => `node debug app.js` * => `modulus deploy`...
Connoropolous/hylo-node
app.js
JavaScript
agpl-3.0
2,087
// Example of writing to a texture alpha channel -- both foreground and background // forked from http://jsfiddle.net/scottrabin/7gJtj/ and updated for Three.js r.49 // ref: https://github.com/mrdoob/three.js/issues/1359 require(["krusovice/thirdparty/three-bundle", "krusovice/api"], function(THREE) { // render-to-te...
miohtama/Krusovice
demos/test.js
JavaScript
agpl-3.0
3,881
mumuki.ModalCarrousel = (() => { class MuModalCarrousel { constructor(containerSelector, onShow = () => {}) { this.$container = $(containerSelector); this.onShow = onShow; } show() { this.onShow(); this._showFirstSlide(); } nextSlide() { this._clickButton('next'); ...
mumuki/mumuki-laboratory
app/assets/javascripts/mumuki_laboratory/application/mu-modal-carrousel.js
JavaScript
agpl-3.0
1,715
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.openpgp=e():"undefined"!=typeof global?global.openpgp=e():"undefined"!=typeof self&&(self.openpgp=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u...
timprepscius/mv
client/web/Ext/openpgpjs/dist/openpgp.js
JavaScript
agpl-3.0
574,953
var blint=require("blint");["mode","lib","addon","keymap"].forEach(function(a){blint.checkDir(a,{browser:true,allowedGlobals:["CodeMirror","define","test","requirejs"],blob:"// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n"})});module.ex...
nicholasryan/CorePlus
src/components/codemirror/assets/libs/codemirror/test/lint.min.js
JavaScript
agpl-3.0
347
/** * This file is part of agora-gui-admin. * Copyright (C) 2015-2016 Agora Voting SL <agora@agoravoting.com> * agora-gui-admin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of...
agoravoting/agora-gui-admin
avAdmin/admin-directives/eltally/eltally.js
JavaScript
agpl-3.0
1,086
(function () { var app = angular.module('PocketLocked', []); app.controller('PLController', ['$scope', function ($scope) { this.entries = []; }]); }());
zhibirc/PocketLocked
mobile/www/js/app.js
JavaScript
agpl-3.0
159
;function consolelog() { if (window.location.protocol === "http:") console.log(arguments) };
ubik23/charactercreator
src/lib/consolelog.js
JavaScript
agpl-3.0
96
import { useDeps, composeWithTracker, composeAll } from 'mantra-core'; import Constructor from '../../components/constructors/constructor.jsx'; export const composer = ({ context }, onData) => { const { LocalState } = context(); const viewObj = LocalState.get('VIEW_OBJECT') || {}; const queryObj = LocalState.get...
JSSolutions/Databazel
client/modules/workplace/containers/constructors/constructor.js
JavaScript
agpl-3.0
1,134
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":61,"id":203558,"methods":[{"el":51,"sc":2,"sl":46},{"el":60,"sc":2,"sl":58}],"name":"RunActionRegistry","sl":33}]} // JSON: {test_ID : {"methods": [ID1, ID2, ID3...], "name" : "tes...
cm-is-dog/rapidminer-studio-core
report/html/com/rapidminer/gui/RunActionRegistry.js
JavaScript
agpl-3.0
708
module.exports = function( grunt ) { 'use strict'; // // Grunt configuration: // // https://github.com/cowboy/grunt/blob/master/docs/getting_started.md // grunt.initConfig({ // Project configuration // --------------------- // specify an alternate install location for Bower bower: { ...
bdunnette/oerp-rest
Gruntfile.js
JavaScript
agpl-3.0
4,804
(function(global){ class Task{ constructor(data){ this._internal = data; } getId(){ return this._internal['id']; } getUserId(){ return this._internal['userId']; } getWorkspaceId(){ return this._internal['wsI...
pydio/pydio-core
core/src/plugins/core.tasks/js/react/PydioTasks.js
JavaScript
agpl-3.0
13,662
var gsat, comuni, ubicazione; //livelli var extent, highlightCtrl, selectCtrl; //funzioni o comandi //################################################################################### // popup start //################################################################################### //ubi_numsch, ubi_stato, ubi_pr...
beppenapo/fontiperlastoria
lib/webgis_20130311.js
JavaScript
agpl-3.0
11,804
import React from 'react'; import SPELLS from 'common/SPELLS'; import TalentStatisticBox from 'parser/ui/TalentStatisticBox'; import STATISTIC_ORDER from 'parser/ui/STATISTIC_ORDER'; import Events from 'parser/core/Events'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import { formatNumber } from '...
yajinni/WoWAnalyzer
analysis/demonhunterhavoc/src/modules/talents/CycleOfHatred.js
JavaScript
agpl-3.0
1,650
import test from 'ava'; import * as number from "@aureooms/js-number" ; import { randint } from "@aureooms/js-random" ; import { cartesian } from '../../../../src' ; const { iroot2n } = cartesian.array.compile( cartesian.kernel.compile( number ) ) ; test( "iroot2n" , t => { const n = 100; for (let i = 0; i < n; ...
aureooms/js-complex
test/src/cartesian/array/iroot2n.js
JavaScript
agpl-3.0
515
function dateFormatFilter() { return function dateFormat(oldValue) { var newValue; if (oldValue) { var year = oldValue.substr(0, 4); var month = oldValue.substr(5, 2); var day = oldValue.substr(8, 2); newValue = day + '/' + month + '/' + year; } else { newValue = '-'; }...
renalreg/radar-client
src/app/filters/date-format.filter.js
JavaScript
agpl-3.0
384
// // This command line interface to LiteScript Compiler // allows you to choose lite-js compiler version to load // // Composed, pure-js lite-cli.md + Args.lite + fsUtil.lite // //global import path,fs var path = require('path'); var fs = require('fs'); //## usage, module vars var usage = 'LiteVersion.j...
luciotato/LiteScript
devel/util/liteVersion.js
JavaScript
agpl-3.0
12,222
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":33,"id":45323,"methods":[],"name":"UnitExecutor","sl":30}]} // JSON: {test_ID : {"methods": [ID1, ID2, ID3...], "name" : "testXXX() void"}, ...}; clover.testTargets = {} // JSON: ...
cm-is-dog/rapidminer-studio-core
report/html/com/rapidminer/operator/execution/UnitExecutor.js
JavaScript
agpl-3.0
541
var $url = '/cms/templates/templatesEditor'; var $urlSettings = $url + '/actions/settings'; var $urlPreview = $url + '/actions/preview'; var $urlGetContents = $url + '/actions/getContents'; var validateRelatedFileName = function(rule, value, callback) { if (value === '' || value === 'T_') { callback(new Error(...
siteserver/cms
src/SSCMS.Web/wwwroot/sitefiles/assets/js/admin/cms/templatesEditor.js
JavaScript
agpl-3.0
10,488
import _ from 'lodash'; import { emptyActionGenerator, payloadActionGenerator } from '../../redux/helpers'; import asyncServices from '../../services'; /* * Actions */ const FETCH_PROJECT_USERS_REQUEST = 'projectUsers/FETCH_PROJECT_USERS_REQUEST'; const FETCH_PROJECT_USERS_SUCCESS = 'projectUsers/FETCH_PROJECT_USERS_...
overture-stack/enrolment
enrolment-ui/src/modules/ProjectUsers/redux.js
JavaScript
agpl-3.0
10,813
Ext.define('Desktop.view.SpazioLavoro', { extend: 'Ext.window.Window', controller: 'Desktop.controller.SpazioLavoro', requires: [ 'Ext.form.*', 'Desktop.model.SpazioLavoro', 'Desktop.store.SpaziLavoro', 'Desktop.model.Institutes', 'Desktop.store.Institutes'...
Scuola247/Desktop
src/main/webapp/app/view/SpazioLavoro.js
JavaScript
agpl-3.0
6,499
(function() { 'use strict'; angular .module('app') .controller('FileEditCtrl', FileEditCtrl); function FileEditCtrl($scope, $uibModalInstance, $uibModal, localStorageService, $http, modaltitle, title, id, EntityService){ var vm = this; //Properties vm.modaltitl...
area-net-gmbh/appcms-server
appcms/areanet/PIM-UI/default/assets/scripts/controllers/partials/file-edit.controller.js
JavaScript
agpl-3.0
1,120
const join = require('path').join const glob = require('glob') const fs = require('fs') const jsonPath = join(__dirname, '../src/background-images.json') glob(join(__dirname, '../public/assets/images/background/*.jpg'), (err, paths) => { if (err) throw err let publicPaths = [] publicPaths = paths.map((path) => ...
balaclark/jayaprabhupada-web
scripts/generate-images-json.js
JavaScript
agpl-3.0
529
/** * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com> * * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the...
nextcloud/spreed
src/mixins/arrowNavigation.js
JavaScript
agpl-3.0
4,194
define(['underscore', 'js/lib/text!template/edit-modal.html', 'js/lib/text!template/edit-inline.html'], function (_, editModalString, editInlineString) { 'use strict'; var context = { canvasOptions: { "defaults": [ { "name": "Add VM", "image": "urn:publicid:IDN+utahddc.geniracks.net+image+e...
nmc-probe/emulab-nome
www/aptui/js/JacksEditor.js
JavaScript
agpl-3.0
6,621
/* Error : empty ruleset */
umjinsun12/dngshin
files/cache/ruleset/f10a09ffb9689023c400421d74f48c16.ko.js
JavaScript
lgpl-2.1
28
#!/usr/bin/env gjs /* Aravis - Digital camera library * * Copyright © 2009-2010 Emmanuel Pacaud * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License...
AravisProject/aravis
tests/js/arv-camera-test.js
JavaScript
lgpl-2.1
2,239
/** * jquery.Jcrop.js v0.9.10 * jQuery Image Cropping Plugin - released under MIT License * Author: Kelly Hallman <khallman@gmail.com> * http://github.com/tapmodo/Jcrop * Copyright (c) 2008-2012 Tapmodo Interactive LLC {{{ * * Permission is hereby granted, free of charge, to any person * obtaining a copy of thi...
leonidas/roboio
3rdparty/Jcrop/js/jquery.Jcrop.js
JavaScript
lgpl-2.1
42,473
/* * Copyright (C) 2017 Czech Technical University in Prague * * 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. * ...
kbss-cvut/reporting-tool
src/main/webapp/js/components/search/SearchResults.js
JavaScript
lgpl-3.0
3,420
const $ = require('jquery'); const Amplify = require('amplify-pubsub'); module.exports = ['$scope', '$user', '$location', function($scope, $user, $location) { let t = this; t.submit = (form) => { $.post('/api/register', form, (data) => { localStorage.setItem('session', data.sessID); $user.getUserData(data.se...
planet-github/planet-frontend
src/controllers/register.js
JavaScript
lgpl-3.0
410
import PropTypes from 'prop-types' import React from 'react' class AlertModal extends React.Component { allowHTML(string) { return {__html: string} } closeModal() { this.props.successCallback?.() if (this.props.closeOnSuccess) this.props.onClose() } render() { return ( <div className="m...
matecat/MateCat
public/js/cat_source/es6/components/modals/AlertModal.js
JavaScript
lgpl-3.0
1,121
var classglados_1_1_circular_buffer = [ [ "CircularBuffer", "classglados_1_1_circular_buffer.html#a91ed66890ac134cff1a75ca28da00baf", null ], [ "at", "classglados_1_1_circular_buffer.html#ac52275ecf359d6e61228973fd2b2e1b2", null ], [ "clear", "classglados_1_1_circular_buffer.html#a313e80248a0162254a74c29fec...
HZDR-FWDF/RISA
docs/classglados_1_1_circular_buffer.js
JavaScript
lgpl-3.0
1,024
/* jshint ignore:start */ // // Dalliance Genome Explorer // (c) Thomas Down 2006-2010 // // chainset.js: liftover support // var CIGAR_REGEXP = new RegExp('([0-9]*)([MIDS])', 'g'); function parseCigar(cigar) { var cigops = []; var match; while ((match = CIGAR_REGEXP.exec(cigar)) != null) { var ...
Pagesmith/pagesmith-core
htdocs/core/dalliance/js/cigar.js
JavaScript
lgpl-3.0
608
export default function GlancesPluginProcesscountController($scope, GlancesStats) { var vm = this; vm.total = null; vm.running = null; vm.sleeping = null; vm.stopped = null; vm.thread = null; vm.$onInit = function () { loadData(GlancesStats.getData()); }; $scope.$on('data...
nicolargo/glances
glances/outputs/static/js/components/plugin-processcount/controller.js
JavaScript
lgpl-3.0
773
/** * @file EntityMenuView.js * @description EntityMenuView component. * @license See LICENSE file included in this distribution. */ "use strict"; // Imports const Unseen = require("../../unseen/Unseen"); // VIEW class EntityMenuView extends Unseen.View { /** * Initialize and target component */ ...
kasargeant/unseen
src/js/demo/view/EntityMenuView.js
JavaScript
lgpl-3.0
3,448
(function(b){var c="Setswana",a=b.cultures,e=a.en,f=e.calendars.standard,d=a.tn=b.extend(true,{},e,{name:"tn",englishName:c,nativeName:c,language:"tn",numberFormat:{percent:{pattern:["-%n","%n"]},currency:{pattern:["$-n","$ n"],symbol:"R"}},calendars:{standard:b.extend(true,{},f,{days:{names:["Latshipi","Mosupologo","L...
Kapinko/CJAF
lib/jquery/global/globinfo/Globalization.tn.min.js
JavaScript
lgpl-3.0
972
/* * JavaScript Document * @author Amin Ghadersohi * @date 2012-4-27 * * This class contains functionality menus that dont disappear on click * */ CCR.xdmod.ui.CustomMenu = function (config) { CCR.xdmod.ui.CustomMenu.superclass.constructor.call(this, config); } Ext.extend(CCR.xdmod.ui.CustomM...
jeid64/xdmod
html/gui/js/CustomMenu.js
JavaScript
lgpl-3.0
1,251
// This file is part of puppet-panel. // // puppet-panel 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. // // puppet-panel is distr...
ybulach/puppet-panel
puppet/static/scripts/controllers/report.js
JavaScript
lgpl-3.0
1,636
isc.defineClass("FinanceDataSource", "DataSource").addProperties({ canMultiSort: false, allowAdvancedCriteria: false, fields: [ { name: "symbol", title: "Symbol" }, { name: "date", title: "Date", type: "date" }, { name: "open", title: "Open", type: "float" }, { name: "high",...
kylemwhite/isc
isomorphic_11.1p/system/reference/inlineExamples/charts/stockData.js
JavaScript
lgpl-3.0
6,139
require('./helpers/autoconfig') var express = require('express') var fs = require('fs-extra') var morgan = require('morgan') var bodyParser = require('body-parser') var passport = require('passport') var Strategy = require('passport-http').DigestStrategy var db = require('./db') var settings = require('./helpers/sett...
community-lands/community-lands-monitoring-station
server.js
JavaScript
unlicense
4,640
/** * Created by amir on 16/05/16. */ module.exports = function (uri, rawHtml) { const cheerio = require('cheerio'); const doc = cheerio.load(rawHtml); const badTags = ["#ads",'img']; doc(badTags.join(',')).remove(); let res = doc('#links>.result.results_links_deep'); return doc(res); }
amirhouieh/re-
_modules/cm_default_search_engine/extractor.js
JavaScript
unlicense
318
"use strict"; var Hello = function Hello() { alert("Hello world!"); }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImV4YW1wbGUtZXM2LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0lBQU0sS0FBSyxHQUNDLFNBRE4sS0FBSyxHQUNJO0FBQ2IsTUFBSyxDQUFDLGNBQWMsQ0FBQyxDQUFDO0NBQ3RCIiwiZmlsZSI6ImV4YW1w...
myfreeweb/broccoli-source-map
test/fixtures/compiled-as-inline/example-es6.js
JavaScript
unlicense
464
'use strict'; var path = require('path'); var assert = require('yeoman-assert'); var helpers = require('yeoman-generator').test; describe('generator-alfresco:app', function () { before(function (done) { helpers.run(path.join(__dirname, '../generators/app')) //.withOptions({someOption: true}) .withPro...
myprysm/generator-alfresco
test/app.js
JavaScript
unlicense
1,185
var LocalStrategy = require('passport-local').Strategy; var db = require('../models/db'); var user = require('../models/user'); module.exports = function(passport) { // Passport session setup, required for persistent login sessions // Used to serialize and unserialize users out of session passport.serializeUse...
rajdeep89/sedemac
config/passport.js
JavaScript
unlicense
993
/*///////////////////////////////////////////////////////////////////////////// /// @summary Implements the entry point of a real-time JavaScript application. /// This sample uses webgl.js to render sprites in screen-space. /// @author Russell Klenk (russ@ninjabirdstudios.com) //////////////////////////////////////////...
ninjabirdstudios/webgl.js
samples/webgl-debug/scripts/main.js
JavaScript
unlicense
13,931
var fn = { //url: function (s) { return baseUrl + s; }, resetForm: function () { $('.validar').each(function () { $(this).validate().resetForm(); }); }, mensaje: function (p) { Materialize.toast(p, 4000); }, notificar: function (o) { switch (o) { case ...
RichardZC/Nacimientos
Web/js/ini.js
JavaScript
unlicense
10,929
var nodes = new vis.DataSet([ /* {id: a, label: b, ...}, */ {id: '512', label: 'VALUE\n8.0', color: '#31b0d5', title: 'Name: VALUE<br>Alias: null<br>Value: 8.0<br>Type: CONSTANT_VALUE<br>Id: 512<br>Formula Expression: Formula String: VALUE; Formula Values: 8.0; Formula Ptg: 8.0; Ptgs: VAL...
DataArt/CalculationEngine
calculation-engine/engine-tests/engine-it-graph/src/test/resources/standard_data_js_files/data_Indirect_Fx_C8.js
JavaScript
apache-2.0
1,691
/** * @license * Visual Blocks Language * * Copyright 2012 Google Inc. * https://developers.google.com/blockly/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
pablocab/blockly_uc3m
generators/java/logic.js
JavaScript
apache-2.0
4,718
//MenuBar View Component Constructor function MenuBarView() { //declare module dependencies var HomeView = require('ui/common/HomeView'); var ProductsView = require('ui/common/ProductsView'); var ProjectsView = require('ui/common/ProjectsView'); var NewsView = require('ui/common/NewsView'); var InfoView = require...
dennis-pas/paoApp2
Resources/ui/common/MenuBarView.js
JavaScript
apache-2.0
7,509
var edit_supplies = { config:{ w: Ti.UI.currentWindow, Application: require('ui/common/Application'), editButton: null, editing: false, suppliesTable: null, editButton: null }, init: function(){ var back = edit_supplies.config.Application.createBackButton(); back.removeEventListener("clic...
Loumii/loumiievents
Resources/ui/supplies/edit.js
JavaScript
apache-2.0
5,057
module.exports = function(grunt) { grunt.loadNpmTasks('grunt-bower-install'); grunt.loadNpmTasks('grunt-contrib-uglify'); // grunt.loadNpmTasks('grunt-contrib-jshint'); // grunt.loadNpmTasks('grunt-contrib-qunit'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-concat'); gr...
hexmind/Once-upon-a-time
Gruntfile.js
JavaScript
apache-2.0
1,385
/* Copyright (C) 2012-2014 Kurt Milam - http://xioup.com | Source: https://gist.github.com/1868955 * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without li...
ksouthworth/AlloyButtonBar
app/widgets/com.ksouthworth.buttonbar/lib/underscore_extensions.js
JavaScript
apache-2.0
2,779
/* global layout_resizer, set_typeahead, open_close_icon */ //= require namespaces jQuery(function ($) { $('#add_team_user_btn').on('click', function (_event) { var team_id; $('#team_user_user').val(''); $('#team_user_role').val('viewer'); $('#add_team_user_form').toggle(400, 'swing', function () {...
krishnak9/Portus
app/assets/javascripts/teams.js
JavaScript
apache-2.0
3,481
import Reducer from './reducer.js'; import {SOURCE_PREFIX} from './storage-keys.js'; import Option from '../option.js'; /** * A reducer that takes an array of reducers and produces an array of their latest values. */ export default class CombineLatestReducer extends Reducer { /** * Constructs a reducer that tak...
TypeInferred/requex
src/reducers/combine-latest-reducer.js
JavaScript
apache-2.0
1,181
//// [invalidEnumAssignments.js] var E; (function (E) { E[E["A"] = 0] = "A"; E[E["B"] = 1] = "B"; })(E || (E = {})); var E2; (function (E2) { E2[E2["A"] = 0] = "A"; E2[E2["B"] = 1] = "B"; })(E2 || (E2 = {})); var e; var e2; e = 0 /* A */; e2 = 0 /* A */; e = null; e = {}; e = ''; ...
fdecampredon/jsx-typescript-old-version
tests/baselines/reference/invalidEnumAssignments.js
JavaScript
apache-2.0
355
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleapis/nodejs-dms
samples/generated/v1/data_migration_service.stop_migration_job.js
JavaScript
apache-2.0
1,792