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
/* * Theme JavaScript and JQuery code for the frontend pages of website * * Copyright (c) 2021, Space X-Chimp ( https://www.spacexchimp.com ). * All Rights Reserved. */ jQuery(document).ready(function($) { });
ArthurGareginyan/anarcho-notepad
js/frontend.js
JavaScript
gpl-3.0
219
.factory('factoryParsing', ['$q', '$timeout', '$http', function ($q, $timeout, $http) { return ({ testParsing: testParsing, eliminarGrabar: eliminarGrabar, generarFormatoAutomatico : generarFormatoAutomatico, obtenerCatalogos:obtenerCatalogos, grabarCatalogosISO:graba...
afvsformatos/easyFormatos
public/javascripts/helpers/factoryParsing.js
JavaScript
gpl-3.0
7,526
var searchData= [ ['oncompletecallback',['onCompleteCallBack',['../class_doxy_runner.html#ac1401822d6b3dea5626b786a94aa98d5',1,'DoxyRunner']]], ['originalposition',['originalPosition',['../class_item_inventory.html#a8241142f518996f0f091bc828aff9c70',1,'ItemInventory']]] ];
Firenz/1812
documentation/doxygen/html/search/variables_c.js
JavaScript
gpl-3.0
278
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'quicktable', 'fr', { more: 'Plus...' } );
Copona/copona
admin/view/javascript/ckeditor/plugins/quicktable/lang/fr.js
JavaScript
gpl-3.0
223
// Meteor.after to call after ReactionCore.MethodHooks.after("cart/submitPayment", function (options) { // if cart/submit had an error we won't copy cart to Order // and we'll throw an error. ReactionCore.Log.debug("MethodHooks after cart/submitPayment", options); if (options.error === undefined) { let cart...
ramusus/reaction
packages/reaction-core/server/methods/hooks/cart.js
JavaScript
gpl-3.0
827
// RaspiCam module via node.js var rootDirectory = '/var/www/' var imageDirectory = '/timelapse_movies/' var defaultDirectory = 'default' var picturesName = 'snapshot%04d.jpg' var currentWebDirectory = imageDirectory + defaultDirectory; var fs=require('fs'); var projectName ="default"; var RaspiCam = require('raspica...
nanobapt/Camette
bin/camette/camette.js
JavaScript
gpl-3.0
5,914
/** * Namespace is intentially kept as Search so that we can re-use the response filters. The long term plan is to * merge search and browse together. The only reason they are different today is due to limitations in Alresco AVM itself (path queries in Sandboxes do are not supported) * @namespace CStudio */ if (t...
rart/studio2
src/main/webapp/default-site/static-assets/components/cstudio-browse/browse.js
JavaScript
gpl-3.0
28,860
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan Christian Meyer <vimes@odinms.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero Genera...
NovaStory/AeroStory
scripts/quest/21012.js
JavaScript
gpl-3.0
3,722
/* -*- 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/. */ var gTestfile = 'regress-35...
mozilla/rhino
testsrc/tests/js1_6/Array/regress-352742-01.js
JavaScript
mpl-2.0
1,064
import * as React from 'react'; import AddonBadges, { AddonBadgesBase } from 'amo/components/AddonBadges'; import { ADDON_TYPE_DICT, ADDON_TYPE_EXTENSION, ADDON_TYPE_STATIC_THEME, ADDON_TYPE_THEME, CLIENT_APP_FIREFOX, } from 'core/constants'; import { createInternalAddon } from 'core/reducers/addons'; import...
tsl143/addons-frontend
tests/unit/amo/components/TestAddonBadges.js
JavaScript
mpl-2.0
7,326
/* -*- 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: 06 Mar 20...
mozilla/rhino
testsrc/tests/js1_5/Regress/regress-127557.js
JavaScript
mpl-2.0
1,979
// Copyright (C) 2014 The Syncthing Authors. // // 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/. /*jslint browser: true, continue: true, plusplus: true */ /*global $...
kc1212/syncthing
gui/default/syncthing/app.js
JavaScript
mpl-2.0
4,239
/* 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 {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components; Cu.import("resource://gr...
Yukarumya/Yukarum-Redfoxes
dom/system/gonk/RILSystemMessengerHelper.js
JavaScript
mpl-2.0
6,623
import ServiceReducer from './ServiceReducer' class MicrosoftMailServiceReducer extends ServiceReducer { /* **************************************************************************/ // Class /* **************************************************************************/ static get name () { return 'Microsoft...
wavebox/waveboxapp
classic/src/shared/AltStores/Account/ServiceReducers/MicrosoftMailServiceReducer.js
JavaScript
mpl-2.0
1,512
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
typhonjs-node-esdoc/esdoc
out/src/Publisher/Builder/IndexDocBuilder.js
JavaScript
mpl-2.0
4,452
'use strict'; import indent from './indent.js'; import transformCategories from './transformCategories.js'; /** * Transforms data to text. * * @param {object} data - Normalized data from `GitHubInspectOrgs` to transform. * @param {object} options - Optional parameters: * ``` * (boolean) descr...
typhonjs-node-scm/typhonjs-github-inspect-orgs-transform
src/transform/transformText.js
JavaScript
mpl-2.0
3,361
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 3.3.0 build: 3167 */ YUI.add('autocomplete-highlighters-accentfold', function(Y) { /** * <p> * Provides pre-built accent-folding result highlighters for AutoCom...
RajkumarSelvaraju/FixNix_CRM
jssource/src_files/include/javascript/yui3/build/autocomplete/autocomplete-highlighters-accentfold.js
JavaScript
agpl-3.0
2,917
$(document).ready(function(){ temp_val = $("#relatietype_c").val(); show_hide_field(temp_val); $("#relatietype_c").on('change', function(){ show_hide_field($(this).val()); }); }); function show_hide_field(val){ show = false; if(val == null){ $("#deal_status").parent().parent().hide(); return; } if(typeof...
codesquad36/dc_guidoCRM
custom/modules/Accounts/js/custom_account.js
JavaScript
agpl-3.0
738
$(function() { $('#list').bind('load-visible',function() { $('.list-unprimed').each(function() { /* Default position for small screens */ var x=-40; var y=30; /* Is there room for tooltips on the left? */ if($(this).offset().left > 10) { x=-100; y=0; } /* Create tooltips */ $('.list-i...
ieb/Shahnama
static/list.js
JavaScript
agpl-3.0
584
$(function() { function SettingsViewModel(parameters) { var self = this; self.loginState = parameters[0]; self.users = parameters[1]; self.printerProfiles = parameters[2]; self.about = parameters[3]; // use this promise to do certain things once the SettingsViewMode...
JackGavin13/octoprint-test-not-finished
src/octoprint/static/js/app/viewmodels/settings.js
JavaScript
agpl-3.0
39,621
/** * Module dependencies. */ const _ = require('lodash'); const path = require('path'); const async = require('async'); const juice = require('juice'); const moment = require('moment'); const autolinker = require('autolinker'); const analyticsHandler = require('../controllers/analytics.server.controller'); const tex...
Trustroots/trustroots
modules/core/server/services/email.server.service.js
JavaScript
agpl-3.0
20,107
import { t } from '@lingui/macro'; import { formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import { SpellLink } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import Abilities from 'parser/core/modules/Abilities'...
anom0ly/WoWAnalyzer
analysis/paladinprotection/src/modules/spells/HammerOfTheRighteous.js
JavaScript
agpl-3.0
2,421
VirtualKeyboard.addLayout({code:'TK',name:'Turkmen Cyrillic',normal:'ё\'!$&(җңөүә-ъэяшертыуиопющасдфгчйкльжзхцвбнм,.;',shift:{1:'"@%*)',11:'_',44:'<>:'}});
liuning587/TCExam
shared/jscripts/vk/layouts/turkmen-cyr.js
JavaScript
agpl-3.0
198
"use strict"; const MockStorage = (function() { let storage = {}; return { setItem: function(key, value) { storage[key] = value || ""; }, getItem: function(key) { return storage[key]; }, removeItem: function(key) { delete storage[key];...
kasargeant/warhorse
test/shared/MockStorage.js
JavaScript
agpl-3.0
728
/* This file is part of the Juju GUI, which lets users view and manage Juju environments within a graphical interface (https://launchpad.net/juju-gui). Copyright (C) 2015 Canonical Ltd. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License vers...
bac/juju-gui
jujugui/static/gui/src/app/components/entity-details/content/readme/readme.js
JavaScript
agpl-3.0
3,358
// Generated on 2014-07-05 using generator-angular 0.9.0-1 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Load grunt tasks ...
jpkrohling/cascaio
frontend/Gruntfile.js
JavaScript
agpl-3.0
12,987
import FacebookSetAccessTokenRoute from "./helpers/FacebookSetAccessTokenRoute"; import RouteLogger from "./RouteLogger"; import FacebookSourceRoute from "./helpers/FacebookSourceRoute"; import FacebookTokenDocumentRoute from "./helpers/FacebookTokenDocumentRoute"; export default (app) => { app.post("/facebook-se...
media-centre/makenews
server/src/routes/FacebookRoutes.js
JavaScript
agpl-3.0
1,102
/* 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/. * Portions Copyright (C) Philipp Kewisch, 2011-2015 */ /** * This symbol is further described later on * @ignore ...
owncloud/tasks
js/vendor/ical.js/lib/ical/event.js
JavaScript
agpl-3.0
14,492
function sendSeeFeedbackAnalytics() { $.post("/api/analytics/", { service: { key: "manual_scoring_see_feedback", name: "Manual Scoring - See feedback" }, course_id: getCourseId(), }); } jQuery(document).ready(function () { const codeField = new CodeArea(envir...
JuezUN/INGInious
inginious/frontend/plugins/manual_scoring/static/js/feedback_main.js
JavaScript
agpl-3.0
885
(function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments); }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m); })(window, docum...
pubwebkit/pubwebkit-promo-site
Pubwebkit.Promo.Web/Scripts/ga.js
JavaScript
agpl-3.0
459
var util = require('util'); var urlPkg = require('url'); var requestPckg = require('request'); var kaltura = module.exports = require('../KalturaManager'); var udpsender = require('../utils/udpsender'); require('../utils/KalturaUrlTokenMapper'); require('../adServingProtocols/vast/KalturaVastParser'); var kalturaMedi...
kaltura/play-server
lib/managers/KalturaAdIntegrationManager.js
JavaScript
agpl-3.0
39,960
'use strict'; var core = require('../../core'); function setupRoute(app) { app.get('/', function(req, res, next) { if (core.configured()) { return next(); } res.render('setup/index'); }); function failIfConfigured(req, res, next) { if (!core.configured()) { return next(); } ...
chamerling/rse-chamerling
backend/webserver/middleware/setup-routes.js
JavaScript
agpl-3.0
637
import React from 'react'; // Viral Content by Edwin Prayogi M from the Noun Project const Icon = ({ ...other }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" {...other}> <g> <path d="M49.9931641,18.8754883c0.6904297,0,1.25-0.5595703,1.25-1.25V12.5c0-0.6904297-0.5595703-1.25-1.25-1.25 ...
FaideWW/WoWAnalyzer
src/interface/icons/ViralContent.js
JavaScript
agpl-3.0
6,486
import React from 'react'; import { connect } from 'react-redux' import Snackbar from 'material-ui/Snackbar'; import RaisedButton from 'material-ui/RaisedButton'; class Errors extends React.Component { constructor(props) { super(props); this.state = { open: false, }; } ...
bryanph/Geist
client/app/containers/Errors/index.js
JavaScript
agpl-3.0
1,462
/* * Data HUb Service (DHuS) - For Space data distribution. * Copyright (C) 2013,2014,2015,2016 European Space Agency (ESA) * Copyright (C) 2013,2014,2015,2016 GAEL Systems * Copyright (C) 2013,2014,2015,2016 Serco Spa * * This file is part of DHuS software sources. * * This program is free software: you can ...
SentinelDataHub/DataHubSystem
client/webclient/src/main/frontend/app/components/odata-synchronizer/odata-synchronizer-list/directive.js
JavaScript
agpl-3.0
3,408
/** * Entrypoint for the react app * Provides a basic app wrapper for react * @author Fabian Beuke <mail@beuke.org> * @license AGPL-3.0 */ import { HashRouter } from "react-router-dom"; import Layout from "components/Layout" import { getMaxDataDate } from "common/utils.js" import { hydrate, render } from "react-d...
madnight/githut
src/index.js
JavaScript
agpl-3.0
1,283
OC.L10N.register( "encryption", { "Missing recovery key password" : "Saknar lösenord för återställningsnyckel", "Please repeat the recovery key password" : "Vänligen upprepa lösenordet för återställningsnyckel", "Repeated recovery key password does not match the provided recovery key password" : "De...
lrytz/core
apps/encryption/l10n/sv.js
JavaScript
agpl-3.0
4,392
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(...
ed1d1a8d/macweb
node_modules/react-images/node_modules/aphrodite/lib/index.js
JavaScript
agpl-3.0
3,563
/** * @fileOverview HistoryProvider angular provider */ 'use strict'; define(['./module', 'util/btc', 'darkwallet', 'dwutil/multisig', 'util/bip47', "bitcoinjs-lib"], function (providers, BtcUtils, DarkWallet, MultisigFund, PaymentCodes, Bitcoin) { providers.factory('$history', ['$rootScope', '$wallet', '$location...
darkwallet/darkwallet
src/js/frontend/providers/history.js
JavaScript
agpl-3.0
17,158
function dungeonBone(x,y) { x = ((typeof x === "undefined") ? 0 : x); y = ((typeof y === "undefined") ? 0 : y); this.tilemap = {}; this.ready = false; this.init_flag = false; this.tilemap_name = "dungeon"; this.world_w = g_GRIDSIZE; this.world_h = g_GRIDSIZE; this.x = x; this.y = y; this.debu...
abetusk/dolor
html/js/game/dungeonBone.js
JavaScript
agpl-3.0
15,312
"use static"; /** This module will look for a cached IP address file on the local system * containing the local IP address. If this is not found or is stale, it will * discover the public IP address of the local machine and cache it. The * export of this module is an object with the properties "address", which is ...
qbradq/shard-uo
src/public-ip-lookup.js
JavaScript
agpl-3.0
1,505
__ace_shadowed__.define('ace/snippets/rdoc', ['require', 'exports', 'module' ], function (require, exports, module) { exports.snippetText = ""; exports.scope = "rdoc"; });
ahammer/MySaasa
server/src/main/webapp/ace/textarea/src/snippets/rdoc.js
JavaScript
agpl-3.0
183
$(function(){ if($('#is_company').is(':checked')){ $('#LBL_COMPANY_INFO').show(); } else{ $('#LBL_COMPANY_INFO').hide(); } });
sysraj86/carnivalcrm
modules/Orders/js/Detail.js
JavaScript
agpl-3.0
152
'use strict'; var _ = require('lodash'); var errorHandler = require('../errors.server.controller'); var mongoose = require('mongoose'); var passport = require('passport'); var User = mongoose.model('User'); exports.signup = function(req, res) { // For security measurement we remove the roles from the req.body objec...
infinitech-unipd/Premi
app/controllers/users/users.authentication.server.controller.js
JavaScript
agpl-3.0
1,548
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import contrast from 'contrast'; import Icon from './icon'; export default class PaperActionButtonOption extends React.Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(th...
sballesteros/gallery
src/components/paper-action-button-option.js
JavaScript
agpl-3.0
1,695
/** * * @licstart The following is the entire license notice for the JavaScript code in this file. * * Melinda-related modules for recordLoader * * Copyright (c) 2015-2017 University Of Helsinki (The National Library Of Finland) * * This file is part of record-loader-melinda * * record-loader-melinda is fre...
NatLibFi/record-loader-melinda
test/hostcomp/melinda-preprocess.spec.js
JavaScript
agpl-3.0
3,478
(function() { var polis = window.polis = window.polis || {}; var firstRun = !window.polis._hasRun; polis._hasRun = 1; var iframes = []; var polisUrl = "https://pol.is"; var maxHeightsSeen = {}; polis.on = polis.on || {}; polis.on.vote = polis.on.vote || []; polis.on.doneVoting = polis.on.doneVoting |...
pol-is/polisClientParticipation
api/embed.js
JavaScript
agpl-3.0
9,742
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2013 VillageReach * * 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, eith...
USAID-DELIVER-PROJECT/elmis
modules/openlmis-web/src/main/webapp/public/js/shared/localStorageKeys.js
JavaScript
agpl-3.0
2,172
/* ng-sortable v1.3.8 The MIT License (MIT) Copyright (c) 2014 Muhammed Ashik 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 limitation the rights t...
icescrum/iceScrum
grails-app/assets/javascripts/vendors/angular/plugins/ng-sortable.js
JavaScript
agpl-3.0
66,405
// Copyright (C) 2012-present, The Authors. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
pol-is/polisClientParticipation
js/util/ab.js
JavaScript
agpl-3.0
770
// mediawiki add categories /*jslint node: true */ 'use strict'; var qs = require('querystring'); var utils = require('../utils'); var bot = require('nodemw'); exports.search = function(api, context, callback) { if (api.indexOf('mediawiki.category.') === 0) { if (api === 'mediawiki.category.wikipedia') { ...
vid/SenseBase
lib/apis/mediawiki.js
JavaScript
agpl-3.0
813
/** * ownCloud * * @author John Molakvoæ * @copyright 2016-2017 John Molakvoæ <skjnldsv@protonmail.com> * @author Morris Jobke * @copyright 2013 Morris Jobke <morris.jobke@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC L...
michaelletzgus/nextcloud-server
core/js/placeholder.js
JavaScript
agpl-3.0
4,433
'use strict'; /** * @module portal/storages/openveVeoWebServiceErrors */ /** * The list of OpenVeo web service errors with, for each error, its associated hexadecimal code. * * @namespace */ const OPENVEO_ERRORS = { /** * An error occurring when an unsupported ResourceFilter operation is used. * * @...
veo-labs/openveo-portal
app/server/storages/openVeoWebServiceErrors.js
JavaScript
agpl-3.0
502
// https://gist.github.com/1101534 $.extend({ parseQuerystring: function(){ var nvpair = {}; var qs; if (window.location.search) { qs = window.location.search.replace('?', ''); } else { qs = window.location.href.split('?')[1]; } if(qs !== undefined) { var pairs = qs.split('&...
linagora/mailvelope
common/dep/jquery.ext.js
JavaScript
agpl-3.0
1,284
/* This file is part of the HeavenMS MapleStory Server Copyleft (L) 2017 RonanLana 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 version 3 as published by the Free Sof...
ronancpl/MapleSolaxiaV2
scripts/npc/9201001.js
JavaScript
agpl-3.0
4,562
module.exports = exports = { CREATE: 'CREATE', READ: 'READ', UPDATE: 'UPDATE', DELETE: 'DELETE' };
Bornholm/thoth-server
lib/util/ops.js
JavaScript
agpl-3.0
102
import angular from 'angular'; angular.module('arrangementController', ['sipArrangeService']). // This controller is responsible for the appraisal tab's implementation of SIP arrange. // It doesn't have its own partial, and its scope is located in front_page/content.html controller('ArrangementController', ['$scope',...
eckardm/appraisal-tab
app/arrangement/arrangement.controller.js
JavaScript
agpl-3.0
5,343
"use strict"; var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property"); var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault"); _Object$defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _regen...
Brewskey/spark-server
dist/RouteConfig.js
JavaScript
agpl-3.0
9,540
/* Class taken from ScrollableDataTable - unmodified */ ExtendedDataTable.CellSelection = Class.create({ initialize: function(table, allowCellSelection,cellSelectionClass,cellStateInput,tables){ this.allowCellSelection = allowCellSelection; this.cellSelectionClass = cellSelectionClass; this.table = table; this...
stas-infa/siperian-ui
modules/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js
JavaScript
lgpl-2.1
32,727
/* eslint-disable unicorn/require-post-message-target-origin */ import { expose } from "comlink/dist/esm/comlink.mjs"; import MessagePortState from "../utils/message-port-state"; import { AUDIO_STATE, RING_BUFFER_SIZE } from "../constants"; import { instantiateAudioPacket } from "./common.utils"; import { logWorkletWor...
csound/csound
wasm/browser/src/workers/worklet.worker.js
JavaScript
lgpl-2.1
13,935
/* * Conversión de UTM to LngLat * * Example: UtmToLatLng("638149","5857111","32718"); * Return: Object(lng,lat) */ function UtmToLatLng(x,y,zonaUTM) { var zona=zonaUTM.substring(zonaUTM.length-2,zonaUTM.length); Proj4js.defs["EPSG:" + zonaUTM] = "+proj=utm +zone=" + zona + " +south +ellps=WGS84 +datum=WGS84 +uni...
Emergya/opensir
web-chileindica/georef/util-gis.js
JavaScript
lgpl-2.1
2,044
define(['Ajax', 'Core', 'Language'], function(Ajax, Core, Language) { "use strict"; var _buttonRunTest = null; var _container = null; return { init: function () { var smtpCheckbox = null; var methods = elBySelAll('input[name="values[mail_send_method]"]', undefined, (function (radioCheckbox) { radioC...
MenesesEvandro/WCF
wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/Option/EmailSmtpTest.js
JavaScript
lgpl-2.1
3,404
function UsersApi(http, api) { var userSettingsRelation = "user-settings"; var userFeedsRelation = "user-feeds"; var userFeedRelation = "user-feed"; this.addUser = function (user) { return api.withLink("user", function (userLink) { return http.post(userLink, user); }); }; this.getUsers ...
adrobisch/putput-data
putput-data-server/web/src/js/user/UsersApi.js
JavaScript
lgpl-3.0
2,618
// Alert type warning $('#btnWarning').click(function(e) { e.preventDefault(); $.smkAlert({ text: 'Alert type "warning"', type: 'warning', }); }); // Alert type success, position top-left $('#btnSuccess').click(function(e) { e.preventDefault(); $.smkAlert({ text: 'Alert type "success"', type: ...
alfredobarron/smoke
docs/templates/cp-alert.js
JavaScript
lgpl-3.0
902
/* This file is part of Ajax Web Developer. Ajax Web Developer 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 3 of the License, or (at your option) any later versi...
ajaxweb/ajaxweb
src/jsLinb/js/UI/Poll.js
JavaScript
lgpl-3.0
23,617
(function () { CKEDITOR.plugins.add('virtualkey', { init: function (editor) { editor.addCommand('virtualkey', new CKEDITOR.dialogCommand('virtualkey')); editor.ui.addButton('virtualkey', { label: "Universal Keyboard", command: 'virtualkey', ...
haceneabdessamed/Quran_Text_Editor
plugins/ckeditor/plugins/virtualkey/plugin.js
JavaScript
lgpl-3.0
510
/*jslint indent: 2, maxlen: 80, sloppy: true, nomen: true, plusplus: true */ /*global define: true, jIO: true, jQuery: true, XMLHttpRequest: true, Blob: true, FormData: true, window: true */ /** * JIO XWiki Storage. Type = 'xwiki'. * XWiki Document/Attachment storage. */ (...
lexoyo/jio
src/jio.storage/xwikistorage.js
JavaScript
lgpl-3.0
22,473
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2008 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
sebastienhupin/qxrad
qooxdoo/framework/source/class/qx/io/remote/transport/Abstract.js
JavaScript
lgpl-3.0
11,654
const Table = require('cli-table'); const config = require('../config'); exports.update = function(json) { const table = new Table({ head: [ 'Name', 'id', 'HP', 'atk', 'def', 'matk', 'mdef', 'mnd', 'acc', 'eva', 'spd', ], chars: { to...
ThauEx/ffrk-proxy
lib/filter/magicite.js
JavaScript
lgpl-3.0
2,276
var _root=dcodeIO.ProtoBuf.newBuilder().create([{"name":"TaskArchived","fields":[{"rule":"required","type":"EmailMessage.Type","name":"email_type","id":1,"options":{"default":"TaskArchived"}},{"rule":"required","type":"int32","name":"user_id","id":2,"options":{}},{"rule":"required","type":"int32","name":"task_id","id":...
TheRosettaFoundation/solas-protobuf
generated/js/emails/TaskArchived.js
JavaScript
lgpl-3.0
387
"use strict"; var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault"); var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = setReadOnly; var _pro...
Aymkdn/SharepointPlus
dist/lists/setReadOnly.js
JavaScript
lgpl-3.0
3,995
/* Copyright 2017 Assembleia Legislativa de Minas Gerais * * This file is part of Editor-Articulacao. * * Editor-Articulacao 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, version 3. * * Edito...
silegis-mg/editor-articulacao
src/transformacaoAutomatica/transformacoes/AoFecharAspas.js
JavaScript
lgpl-3.0
1,258
var searchData= [ ['msmaster_5ferror_5fcode',['MSMASTER_ERROR_CODE',['../class_m_s_master_error_aa1deb878016117b72d744363b49a16e4.html#aa1deb878016117b72d744363b49a16e4',1,'MSMasterError']]], ['msmastererror',['MSMasterError',['../class_m_s_master_error.html',1,'']]], ['msmastersplitter',['MSMasterSplitter',['../...
estring/myDAW
RecordStudio/doc/html/search/all_6d.js
JavaScript
lgpl-3.0
526
var searchData= [ ['genopheno',['GenoPheno',['../classlibcmaes_1_1GenoPheno.html#a33c22441a0688582c5aa723d8336d3c6',1,'libcmaes::GenoPheno']]], ['get_5falgo',['get_algo',['../classlibcmaes_1_1Parameters.html#a39697cd6cfb705a970223f8e95894545',1,'libcmaes::Parameters']]], ['get_5fbest_5fseen_5fcandidate',['get_bes...
princeofdarkness76/libcmaes
doc/html/search/functions_6.js
JavaScript
lgpl-3.0
6,996
/// <reference path="/scripts/ndeflibrary.js"/> /// <reference path="~/scripts/ndeflibrary.js" /> (function () { "use strict"; /** If the device is currently waiting for a tag to write an NDEF message. */ var waitingPublishToTag = false; /** If the device is currently waiting for another device to shar...
andijakl/ndef-nfc
NdefDemoJS/NdefDemoJS/pages/home/home.js
JavaScript
lgpl-3.0
13,133
"use strict"; Map = function(width, height) { this.width = width; this.height = height; this.data = new Uint8Array(width * height); } Map.prototype.get = function(x, y, z) { if(z != 0) { return 1; } if( this.range(x, y) ) { return this.data[this.offset(x, y)]; } else { ...
banthar/webgl-dungeon
map.js
JavaScript
unlicense
5,083
/** * Logo rotates in. */ (function(Lunar, window, undefined) { const AMPLITUDE = 35; const TILT_FRONT = 20; const WIDTH = 0.13; const HEIGHT = 0.13; const DEPTH = 0.01; const CENTER_X = -0.1; const CENTER_Y = 0.45; const CENTER_Z = 0.50+0.20; Lunar.Scene.BattleOpponentWiggle = class extends Lunar.Scene....
blutorange/LunarTransgression
LunarTransgression/LunarTransgressionMain/WebContent/resources/translune/046-scenebattleopponentwiggle.js
JavaScript
unlicense
2,278
angular.module('starter.controllers', []) // .controller('MainCtrl', function($scope, $http, $rootScope, $location,$ionicModal,$ionicLoading,$ionicNavBarDelegate, CONFIG_ENV,$log,$cordovaToast){ //Websocket/Stomp testing: var client = Stomp.client( CONFIG_ENV.stomp_uri, CONFIG_ENV.stomp_protocol ); ...
yangboz/north-american-adventure
RushuEIP/eip-rushucloud/src/main/resources/webapp/www/js/controllers.js
JavaScript
unlicense
28,292
// AWS SDK for JavaScript v1.10.0 // Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt ; (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);...
eduardogomes/aws-sdk-js-samples
aws-sdk/aws-sdk-1.10.0.js
JavaScript
unlicense
513,584
// Set the connection string based from the config vars of the production server // To run locally use 'mongodb://localhost/Project-x' instead of process.env.DB module.exports = { db: 'mongodb://localhost:27017/cinemas' };
vinay0458/Project-x
config/dbConnect.js
JavaScript
unlicense
226
//////////////////////////////////// define(["require", "exports", "tslib", "lodash", "typescript-string-enums", "chroma-js", "./templates", "./incubator/murmur_v3_32"], function (require, exports, tslib_1, _, typescript_string_enums_1, chroma_js_1, templates_1, murmur_v3_32_1) { "use strict"; Object.defineProp...
Offirmo/minisite-bookmarks-ghpages
dist/src.es7.amd/view-services.js
JavaScript
unlicense
12,618
function tutorial() { var videos = ["1", "2", "3", "4", "5"]; var content = cEl("div").attr("id", "videoContainer").attr("class","row"); var video0 = cEl("div").attr("class", "description").tEl("How to play #1"); var video1 = cEl("div").attr("class", "description").tEl("How To Predict"); var v...
codeline17/FootballClanApp
FCW/js/genTutorial.js
JavaScript
unlicense
1,509
var canvas = null; var gl = null; var shader = null; // ******************************************************** // ******************************************************** function initGL() { gl = canvas.getContext("webgl"); if (!gl) { alert("Could not initialise WebGL, sorry :-("); return (null); } gl.view...
Marinofull/Atividades_CG
public_html/Labs/Lab1/quadrado.js
JavaScript
unlicense
2,923
'use strict'; angular.module('athenaApp') .factory('Password', function ($resource) { return $resource('api/account/change_password', {}, { }); }); angular.module('athenaApp') .factory('PasswordResetInit', function ($resource) { return $resource('api/account/reset_password/init', {...
StarTrackDevKL/athena
src/main/webapp/scripts/components/auth/services/password.service.js
JavaScript
unlicense
519
/** Given a collection of integers that might contain duplicates, nums, return all possible subsets. Note: Elements in a subset must be in non-descending order. The solution set must not contain duplicate subsets. For example, If nums = [1,2,2], a solution is: [ [2], [1], [1,2,2], [2,2], [1,2], [] ] */ /...
hustbill/learn-node
codeleet-js/lc-js-ref/Subsets II.js
JavaScript
apache-2.0
969
// Available sections for content pages var sections = [ {slug: 'about', label: "About"}, {slug: 'donate', label: "Donate"} ]; orion.addEntity('contentPages', { // sectionSlug and slug are used for very simple routing of content pages, see router.js sectionSlug: { type: String, label: 'Section', op...
GeoMakers/geomakers.org
lib/orion/entities/content-pages.js
JavaScript
apache-2.0
1,277
const addConstantAndFraction = require('../../../lib/simplifyExpression/fractionsSearch/addConstantAndFraction'); const TestUtil = require('../../TestUtil'); function testAddConstantAndFraction(exprString, outputList) { const lastString = outputList[outputList.length - 1]; TestUtil.testSubsteps(addConstantAndFrac...
google/mathsteps
test/simplifyExpression/fractionsSearch/addConstantAndFraction.test.js
JavaScript
apache-2.0
800
export { default } from './FilterForm';
JohnSnowLabs/spark-nlp
docs/_frontend/src/models/FilterForm/index.js
JavaScript
apache-2.0
40
import styled, { css } from 'react-emotion'; import theme from './theme'; export const title = css` color: white; font-family: Pacifico, cursive; font-size: 2rem; text-align: center; `; const Navbar = styled.nav` background: ${theme.colors.secondaryColor}; width: 100%; top: 0; padding: 1rem; position: fixed...
appbaseio/reactivesearch
site/demos/ecommerce/src/styles/Navbar.js
JavaScript
apache-2.0
362
'use strict'; import _ from 'lodash'; const angular = require('angular'); module.exports = angular.module('spinnaker.deck.projects.dashboard.regionFilter.service', [ require('../../../filterModel/filter.model.service.js'), ]) .factory('regionFilterService', function (filterModelService) { let callbacks =...
kenzanlabs/deck
app/scripts/modules/core/src/projects/dashboard/regionFilter/regionFilter.service.js
JavaScript
apache-2.0
1,134
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * 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.apache.org/licenses/LICENSE-2.0 * * Unless require...
sklobovskaya/amphtml
ads/google/a4a/performance.js
JavaScript
apache-2.0
10,868
/* monitor.js : js specific to monitor app */ /* we do not want this on CDN */ /* declare required namespaces */ webgloo = window.webgloo || {}; webgloo.sc = webgloo.sc || {}; webgloo.sc.item = webgloo.sc.item || {}; webgloo.sc.item.addAdminActions = function() { //feature posts $("a.feature-post").click(fun...
rjha/sc
web/js/monitor.js
JavaScript
apache-2.0
3,051
import React from 'react'; import { render } from 'react-dom'; import ListView from './listView'; //need to figure out a good way of importing search results into this element. import InnerResultList from './innerResultList'; export default class Result extends React.Component { // componentWillReceiveProps(nextPr...
MelanistOnca/bookList
public/js/components/result.js
JavaScript
apache-2.0
6,888
const CollateralToken = artifacts.require('CollateralToken'); // basic tests to ensure collateral token works and is set up to allow trading contract('CollateralToken', function(accounts) { let initBalance; let collateralToken; // test setup of token for collateral it('Initial supply should be 1e+22', async fu...
MarketProject/MarketProtocol
test/tokens/CollateralToken.js
JavaScript
apache-2.0
1,198
import angular from 'angular'; import uiRouter from 'angular-ui-router'; import divtableComponent from './divtable.component'; let divtableModule = angular.module('divtable', [ uiRouter ]) .config(($stateProvider) => { "ngInject"; $stateProvider .state('divtable', { url: '/divtable', component:...
garrettwong/GDashboard
client/app/components/d3visualizations/divtable/divtable.js
JavaScript
apache-2.0
426
/* @flow */ import { type ZalgoPromise } from 'zalgo-promise/src'; import { componentTemplate } from '../../../src/button/template'; import { getElement, getElements, errorOnWindowOpen } from '../../tests/common'; let { action, flow = 'popup', authed = false, bridge = false, delay = 0, onRender, checkout, selector, ...
andreabondi/paypal-checkout
test/windows/button/index.js
JavaScript
apache-2.0
3,014
function initTree(treeData, treeDiv) { document.getElementById(treeDiv).innerHTML = ""; // ************** Generate the tree diagram ***************** var margin = { top: 20, right: 120, bottom: 20, left: 120 }, width = 1800 - margin.right - m...
jadekler/git-go-sqltreeconverter
example_usage_php/static/js/conditions_tree.js
JavaScript
apache-2.0
4,969
// Copyright 2011 Traceur Authors. // // 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
mathiasbynens/traceur-compiler
test/unit/syntax/parser.js
JavaScript
apache-2.0
2,160
/** * Copyright 2016 Google Inc. All rights reserved. * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
zhaoz/lighthouse
lighthouse-core/test/core.js
JavaScript
apache-2.0
1,003
//This script is to delete a resource within the node var deleteFile = exports; deleteFile.handle = function(req, res, pathInfo, resource) { const filename = pathInfo.parameters.name || pathInfo.parameters.filename; if (filename == undefined) { res.writeHead(500, {"Content-Type": "text/plain; charset=utf-8"}); ...
dachshund-wcms/dachshund
apps/core/components/baseComponent/deleteFile.json.js
JavaScript
apache-2.0
1,195