code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
/* This 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'; define([ 'chai', 'models/reliers/relier', 'models/auth_brokers/base', 'views/base', '../....
chilts/fxa-content-server
app/tests/spec/models/auth_brokers/base.js
JavaScript
mpl-2.0
3,570
# 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 Cu = Components.utils; Cu.import("resource://gre/modules/Services.jsm"); // This is the only implementation of nsIU...
Yukarumya/Yukarum-Redfoxes
toolkit/components/url-classifier/content/listmanager.js
JavaScript
mpl-2.0
21,934
/* 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/. */ const React = require('react') const Button = require('../components/button') const aboutActions = require('./abou...
manninglucas/browser-laptop
js/about/certerror.js
JavaScript
mpl-2.0
5,992
"use strict"; var fs = require('fs'); exports.compareResultWithFile = function (result, filePath, assert, cb, msg) { // Ignore the header result = result.slice(result.indexOf('\n\n') + 2); fs.readFile(filePath, function (err, source) { assert.equal(result, source.toString('utf8'), msg || 'Results match.');...
praekelt/jsxgettext
test/utils.js
JavaScript
mpl-2.0
340
"use strict"; var Search = {}; Search.DoesDeviceMatch = function (device, search) { for (var i = 0; i < search.length; i++) { if (device == search[i]) return true; } return false; } Search.ByDevices = function (devices, search) { var total = 0; var found = 0; for (var key in devices) { total...
dvander/moz-gfx-telemetry
www/search.js
JavaScript
mpl-2.0
961
import PropTypes from 'prop-types'; import React from 'react'; import {connectToStores} from 'fluxible-addons-react'; import {navigateAction} from 'fluxible-router'; import ReactDOM from 'react-dom'; let classNames = require('classnames'); import {FormattedMessage, defineMessages} from 'react-intl'; const NAME = 'soci...
slidewiki/slidewiki-platform
components/Login/Social.js
JavaScript
mpl-2.0
1,869
/* * Kendo UI Complete v2013.1.319 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be gover...
gillion/RDACP
Trunk/00.Coding/cartan/cartan-center/src/main/web/core/js/lib/kendoui/src/js/kendo.numerictextbox.js
JavaScript
mpl-2.0
21,751
var importedArgs = ['float_memory.wast']; load(scriptdir + '../wast.js');
Yukarumya/Yukarum-Redfoxes
js/src/jit-test/tests/wasm/spec/float_memory.wast.js
JavaScript
mpl-2.0
74
import { assign } from '@ember/polyfills'; import { decamelize } from '@ember/string'; import DS from 'ember-data'; export default DS.RESTSerializer.extend({ primaryKey: 'name', keyForAttribute: function(attr) { return decamelize(attr); }, normalizeSecrets(payload) { if (payload.data.keys && Array.is...
quixoten/vault
ui/app/serializers/transit-key.js
JavaScript
mpl-2.0
1,938
import { clickable, collection, create, hasClass, isPresent, text, triggerable, visitable, } from 'ember-cli-page-object'; export default create({ visitJob: visitable('/exec/:job'), visitTaskGroup: visitable('/exec/:job/:task_group'), visitTask: visitable('/exec/:job/:task_group/:task_name'), ...
hashicorp/nomad
ui/tests/pages/exec.js
JavaScript
mpl-2.0
1,250
/* -*- Mode: Java; 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/. */ (function(global) { // Spec in...
schien/ssdp.js
src/ssdp.js
JavaScript
mpl-2.0
17,485
/* Copyright (c) 2015 GFT Appverse, S.L., Sociedad Unipersonal. This Source Code Form is subject to the terms of the Appverse Public License Version 2.0 (“APL v2.0”). If a copy of the APL was not distributed with this file, You can obtain one at http://www.appverse.mobi/licenses/apl_v2.0.pdf. [^] Redistribution an...
Appverse/generator-appverse-html5
generators/app/templates/app/components/home/home-states.js
JavaScript
mpl-2.0
1,707
/* vim: set ts=2 sts=2 sw=2 et tw=80: */ // 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"; // Ensure this module only gets included once. This is // requi...
mozilla-mobile/firefox-ios
Client/Frontend/UserContent/UserScripts/AllFrames/AtDocumentEnd/ContextMenu.js
JavaScript
mpl-2.0
1,199
// META: timeout=long // META: variant=?1-10 // META: variant=?11-20 // META: variant=?21-30 // META: variant=?31-40 // META: variant=?41-50 // META: variant=?51-60 // META: variant=?61-70 // META: variant=?71-80 // META: variant=?81-90 // META: variant=?91-100 // META: variant=?101-110 // META: variant=?111-120 // MET...
mbrubeck/servo
tests/wpt/web-platform-tests/WebCryptoAPI/generateKey/successes_RSA-OAEP.https.any.js
JavaScript
mpl-2.0
547
import Service from '@ember/service'; import { module, test } from 'qunit'; import { setupTest } from 'ember-qunit'; import Pretender from 'pretender'; module('Unit | Service | Token', function (hooks) { setupTest(hooks); hooks.beforeEach(function () { this.subject = function () { return this.owner.fact...
hashicorp/nomad
ui/tests/unit/services/token-test.js
JavaScript
mpl-2.0
2,265
// Copyright (c) 2016 the rocket-skates AUTHORS. All rights reserved. // 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 assert = require...
bifurcation/rocket-skates
test/transport-server-test.js
JavaScript
mpl-2.0
3,541
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ // This should eventually be moved to head_addons.js var { classes: Cc, interfaces: Ci, utils: Cu, results: Cr } = Components; // Test whether a machine which exactly matches the blacklist entry is // successf...
Yukarumya/Yukarum-Redfoxes
toolkit/mozapps/extensions/test/xpcshell/test_gfxBlacklist_OK.js
JavaScript
mpl-2.0
2,916
import ApplicationSerializer from './application'; import classic from 'ember-classic-decorator'; @classic export default class StructuredAttributes extends ApplicationSerializer { normalize(typeHash, hash) { return super.normalize(typeHash, { Raw: hash }); } }
hashicorp/nomad
ui/app/serializers/structured-attributes.js
JavaScript
mpl-2.0
271
/* * This Source Code is subject to the terms of the Mozilla Public License * version 2.0 (the 'License'). You can obtain a copy of the License at * http://mozilla.org/MPL/2.0/. */ const EXPERIMENT_UPDATE_INTERVAL = 12 * 60 * 60 * 1000; // 12 hours const { AddonManager } = require('resource://gre/modules/AddonMan...
clouserw/testpilot
addon/index.js
JavaScript
mpl-2.0
11,554
OC.L10N.register( "lib", { "Cannot write into \"config\" directory!" : "Cannot write into \"config\" directory!", "This can usually be fixed by giving the webserver write access to the config directory" : "This can usually be fixed by giving the webserver write access to the config directory", "See ...
sakukode/owncloud-custom
lib/l10n/en_GB.js
JavaScript
agpl-3.0
18,456
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide("erpnext"); frappe.require("assets/erpnext/js/controllers/taxes_and_totals.js"); frappe.require("assets/erpnext/js/utils.js"); erpnext.TransactionController = erpnext.taxes_a...
reddymeghraj/showroom
erpnext/public/js/controllers/transaction.js
JavaScript
agpl-3.0
25,605
/* * (c) Copyright Ascensio System SIA 2010-2014 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL i...
devsarr/ONLYOFFICE-OnlineEditors
OfficeWeb/apps/presentationeditor/main/app/view/DocumentSettings.js
JavaScript
agpl-3.0
14,227
$(document).ready(function () { // "show more" links $('.more-permissions').click(function (e) { e.preventDefault(); $('#' + $(this).attr('data-target')).slideDown(); $(this).closest('span').hide(); }) }); var onFormLoadSetup = function() { $('.select-all').click(function() { if($(this).prop('chec...
musalbas/Nuclibook
src/main/resources/static/js/staff-roles.js
JavaScript
agpl-3.0
2,451
import { FacebookMessengerBot } from './src/lib/facebook'; // eslint-disable-line const { PORT, FB_CALLBACK_PATH, } = process.env; const listeners = { onUpdate: (update) => { console.log('Update:', update.update); } } const bot = new FacebookMessengerBot({ listeners }); bot.start().then(() => ...
fredmarques/calamars
localbot.js
JavaScript
agpl-3.0
399
const chai = require('chai') const assert = chai.assert const all = require('../../../lib/metis-sim/all.js') const utils = require('../test_utils.js') let i1 = all.integrated_generate_individual_with_genome( utils.two_SNP_species, 0, all.integrated_create_test_genome) let i2 = all.integrated_generate_individual_w...
tiagoantao/bimbo_da_tosta
tests/operators/stats.js
JavaScript
agpl-3.0
730
/* This software is allowed to use under GPL or you need to obtain Commercial or Enterise License to use it in not GPL project. Please contact sales@dhtmlx.com for details */ scheduler.locale={ date:{ month_full:["Январь", "Февраль", "Март", "Апрель", "Maй", "Июнь", "Июль", "Август", "Сентябрь", "Oктябрь", "Ноябрь",...
yonkon/nedvig
custom/modules/Cosib_client_trips/dhtmlxScheduler/sources/locale_ru.js
JavaScript
agpl-3.0
1,950
/** * maas.js - Client for maas-server * Copyright (C) 2015 haphut <haphut@gmail.com> * * This file is part of maas.js. * * maas.js 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...
okffi/maas.js
src/journey.js
JavaScript
agpl-3.0
875
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'iframe', 'ka', { border: 'ჩარჩოს გამოჩენა', noUrl: 'აკრიფეთ iframe-ის URL', scrolling: 'გადახვევის ზოლების დაშვება', title: 'IFrame-ის პა...
afshinnj/php-mvc
assets/framework/ckeditor/plugins/iframe/lang/ka.js
JavaScript
agpl-3.0
481
Package.describe({ name: 'partup-client-base', version: '0.0.1', summary: '', }); Package.onUse(function(api) { api.use( [ 'ecmascript', 'modules', 'partup-lib', 'momentjs:moment', 'chrismbeckett:toastr', 'templating', ...
part-up/part-up
app/packages/partup-client-base/package.js
JavaScript
agpl-3.0
4,795
/* * * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL it...
ONLYOFFICE/web-apps
apps/documenteditor/main/app/view/Viewport.js
JavaScript
agpl-3.0
5,956
import {addToStore} from './actionEmitter' import {emitAction, dispatchEmittedAction} from './actions' export default { emitAction, dispatchEmittedAction, addToStore }
tocco/tocco-client
packages/core/app-extensions/src/actionEmitter/index.js
JavaScript
agpl-3.0
175
const { resolve } = require('path') const testContainerPreset = require('@trendyol/jest-testcontainers/jest-preset') module.exports = Object.assign(testContainerPreset, { testEnvironment: resolve(__dirname, './jest.environment.js'), })
teikei/teikei
api/jest.preset.js
JavaScript
agpl-3.0
239
'use strict'; let path = require('path'); let resolvePath = path.resolve; module.exports = resolvePath('./themes/current');
n2liquid/ellipsis-legacy
lib/themePath.js
JavaScript
agpl-3.0
126
var Clouds = null; var Views = null; var map = null; var contentString = '<div id="content"></div>'; var infowindow = new google.maps.InfoWindow({ content: contentString }); function initialize() { // Cloud Object Clouds = new Object(); Clouds.clouds = {}; // individual clouds Clouds.cloudGeoLocati...
rstrijkers/sarastro
public/Vis/cloud.js
JavaScript
agpl-3.0
5,418
define([ 'jquery', 'underscore', 'backbone', 'dispatch', ], function ($,_,Backbone) { Backbone.decryptJsonItem = function(aes, json, exposedFields, callbacks) { // objects provided by the server will not have an encrypted portion if (json.encrypted) { Crypto.decryptAESBlock(aes, json.encrypted, { ...
timprepscius/mv
client/web/WebContent/js/mech/BackboneEncryption.js
JavaScript
agpl-3.0
4,032
const util = require('util'); const config = require('../lib/config'); const logger = require('../lib/logger'); const workspaceHelper = require('../lib/workspace'); const sqldb = require('../prairielib/lib/sql-db'); const sqlLoader = require('../prairielib/lib/sql-loader'); const sql = sqlLoader.loadSqlEquiv(__filena...
PrairieLearn/PrairieLearn
cron/workspaceTimeoutWarn.js
JavaScript
agpl-3.0
1,136
/** * Kunta API * Solution to combine municipality services under single API. * * OpenAPI spec version: 0.1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. * * Licensed under the Apache L...
Metatavu/kunta-api-spec
javascript-generated/src/api/PublicTransportApi.js
JavaScript
agpl-3.0
20,739
window = window || {}; window.formatters = window.formatters || require('../lib/formats');
jcamins/biblionarrator
src/clientjs/formathandlers.js
JavaScript
agpl-3.0
91
/********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * ...
RajkumarSelvaraju/FixNix_CRM
include/javascript/jsclass_async.js
JavaScript
agpl-3.0
5,970
// Copyright (c) 2016-17 Walter Bender // Copyright (c) 2016 Hemant Kasat // This program is free software; you can redistribute it and/or // modify it under the terms of the The GNU Affero General Public // License as published by the Free Software Foundation; either // version 3 of the License, or (at your option) an...
tradzik/musicblocks
js/rhythmruler.js
JavaScript
agpl-3.0
31,648
/* * This file is part of huborcid. * * huborcid 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 License, or * (at your option) any later version. * * huborcid is distrib...
Cineca/OrcidHub
src/main/webapp/bower_components/angular-i18n/nr.js
JavaScript
agpl-3.0
760
import { createAction } from "redux-actions"; import { AngularResourceProxy, createThunkAction } from "metabase/lib/redux"; import { normalize, Schema, arrayOf } from "normalizr"; const card = new Schema('card'); const pulse = new Schema('pulse'); const user = new Schema('user'); // pulse.define({ // cards: arrayOf...
ArminMa/metabaseElectronExecutable
frontend/src/metabase/pulse/actions.js
JavaScript
agpl-3.0
3,695
/* 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 unde...
ZenityMS/forgottenstorysource
scripts/npc/1052017.js
JavaScript
agpl-3.0
1,605
var tape = require("tape"), isobands = require("../"); tape("Basic isobands must behave as expected", function(test) { var data = [[0, 0, 0], [0, 1, 0], [0, 0, 0]]; test.deepEqual(isobands.isoband(data, 0.5, 1.0, {verbose:true}), [[[1, 0.5],[0.5,1],[1,1....
rveciana/d3-marching-squares
test/marching-squares-isobands-test.js
JavaScript
agpl-3.0
3,311
/*! * Extensible 1.5.1 * Copyright(c) 2010-2011 Extensible, LLC * licensing@ext.ensible.com * http://ext.ensible.com */ /** * @class Extensible.calendar.data.EventMappings * @extends Object * <p>A simple object that provides the field definitions for * {@link Extensible.calendar.EventRecord EventRecord}s so t...
jzinedine/CMDBuild
cmdbuild/src/main/webapp/javascripts/extensible-1.5.1/src/calendar/data/EventMappings.js
JavaScript
agpl-3.0
5,504
;(function ($, document) { var PREMSQTYTEXTFIELD = { init: function(purchaseSteps){ var minusButton = $('<div class="premsQuantityMinusButton">-</div>'), textfield = $('<div class="premsQuantityTextfield"><input type="text" name="textfieldQuantity" id="textfieldQuantity" /></div>...
megadruck/Shopware-Test1
engine/Shopware/Plugins/Community/Frontend/PremsPriceForValue/Views/frontend/_resources/javascript/price_for_value.js
JavaScript
agpl-3.0
4,924
'use strict'; const debug = require('debug')('shiba:store:automute'); const Pg = require('../Pg'); function Automute(store) { debug('Initializing automute store:'); for (let mute of store) debug(String(mute)); this.store = store; } Automute.prototype.add = function*(username, regexp) { debug('Adding ...
moneypot/shiba
Store/Automute.js
JavaScript
agpl-3.0
663
jQuery(function () { window.setTimeout(function () { jQuery('._jsPlumb_connector').remove(); cardAlreadySelected = false; if (${drawMode}) { var plumbSource, plumbTarget; jQuery('.clickableCard').click(function (event) { if (cardAlreadySelected) { ...
AlienQueen/HatchetHarry
src/main/java/org/alienlabs/hatchetharry/view/page/script/draggableHandle/drawMode.js
JavaScript
agpl-3.0
871
/* Name: Map Project: Maelström - World Author: demiurgosoft <demiurgosoft@hotmail.com> Description: */ "use strict"; var socketioJwt = require('socketio-jwt'); var config = require('../config/server'); module.exports.set = function(http, done) { var io = require('socket.io')(http); io.use(socketioJwt.authorize({ ...
demiurgosoft/maelstrom-world
app/websockets.js
JavaScript
agpl-3.0
1,066
OC.L10N.register( "federation", { "Added to the list of trusted servers" : "Afegeix a la llista de servidors de confiança", "Server is already in the list of trusted servers." : "El servidor ja està a la llista de servidors de confiança.", "No server to federate with found" : "No s'ha trobat cap ser...
andreas-p/nextcloud-server
apps/federation/l10n/ca.js
JavaScript
agpl-3.0
2,043
import Container from './oa_container'; import { Prompt } from './oa_container_item'; /** Editing interface for the prompts. Args: element (DOM element): The DOM element representing this view. Returns: OpenAssessment.EditPromptsView * */ export class EditPromptsView { constructor(element, notifier) { t...
edx/edx-ora2
openassessment/xblock/static/js/src/studio/oa_edit_prompts.js
JavaScript
agpl-3.0
3,277
InfinniUI.Metadata = InfinniUI.Metadata || {}; /** * * @param value * @param metadata * @returns {boolean} */ InfinniUI.Metadata.isValidValue = function( value, metadata ) { var result = false; for ( var i in metadata ) { if ( metadata[ i ] === value ) { result = true; bre...
InfinniPlatform/InfinniUI
app/utils/metadata.js
JavaScript
agpl-3.0
547
var ERR = require('async-stacktrace'); var _ = require('lodash'); var path = require('path'); var csvStringify = require('csv').stringify; var express = require('express'); var router = express.Router(); var logger = require('../../lib/logger'); var assessments = require('../../assessments'); var sqldb = require('../....
PrairieLearn/PrairieLearnHack
pages/studentAssessmentInstanceHomework/studentAssessmentInstanceHomework.js
JavaScript
agpl-3.0
1,958
define('jqueryui/datepicker-hy', ['jquery','jqueryui/datepicker'], function (jQuery) { /* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ jQuery(function($){ $.datepicker.regional['hy'] = { closeText: 'Փակել', prevText: '&#x3c;...
vladnicoara/SDLive-Blog
plugins/livedesk-embed/gui-resources/scripts/js/core/jquery/ui/datepicker-hy.js
JavaScript
agpl-3.0
1,288
import * as actions from './actions' import reducer from './reducer' const INITIAL_STATE = { stage: null, twoFactorActive: null, secret: null, username: null, setupSuccessful: null } describe('sso-login-detail', () => { describe('modules', () => { describe('reducer', () => { test('should create ...
tocco/tocco-client
packages/actions/two-factor-connector/src/modules/reducer.spec.js
JavaScript
agpl-3.0
906
import 'whatwg-fetch'; export default class ReactionSvgFetcher { static fetchByMaterialsSvgPaths(materialsSvgPaths, temperature, solvents, duration, conditions) { const promise = fetch('/api/v1/reaction_svg', { credentials: 'same-origin', method: 'post', headers: { 'Accept': 'applicati...
ComPlat/chemotion_ELN
app/packs/src/components/fetchers/ReactionSvgFetcher.js
JavaScript
agpl-3.0
785
/** * @file * @copyright 2020 Aleksej Komarov * @license MIT */ import { classes, isFalsy } from 'common/react'; import { Component, createRef } from 'inferno'; import { Box } from './Box'; const toInputValue = value => { if (isFalsy(value)) { return ''; } return value; }; export class Input extends Co...
TheVekter/-tg-station
tgui/packages/tgui/components/Input.js
JavaScript
agpl-3.0
3,175
'use strict'; GO.module('GO.Core').component('goSelectAccount', { bindings: { goCapability: '@', ngModel: '=', goOnAdd: '&?', q: '<?' }, replace: true, controller: [ '$scope', 'GO.Core.Factories.Models.Account', function ($scope, Account) { this.$onInit = function() { var q = [ ['re...
Intermesh/groupoffice-webclient
app/core/components/selectaccount/component.js
JavaScript
agpl-3.0
791
/* Copyright (c) 2009, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 3.0.0 build: 1549 */ YUI.add('event-custom-base', function (Y) { Y.Env.evt = {handles:{}, plugins:{}}; (function () { var BEFORE = 0, AFTER = 1; ...
sysraj86/carnivalcrm
include/javascript/yui3/build/event-custom/event-custom-base.js
JavaScript
agpl-3.0
21,131
/*eslint-disable no-unused-vars*/ /*! * jQuery JavaScript Library v3.1.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2016-07-07T21:44Z */ ( function( globa...
payloadtech/mailpenny
public/assets/application-f14cd878cb8ad813294ad52cb8c75eb75a0d037070b8f770606a0153b3b5d4ea.js
JavaScript
agpl-3.0
383,693
Monopoly.Square.OrientalAvenue = Class(Monopoly.Square.Property, { name: "Oriental Avenue", price: 100, improvePrice: 50, rents: [6, 30, 90, 270, 400, 550], next: "Chance1", groupName: "lightBlue" });
spencerschack/Monopoly.js
assets/js/squares/oriental_avenue.js
JavaScript
agpl-3.0
212
/* IIPMooViewer Navigation Widget Copyright (c) 2007-2013 Ruven Pillay <ruven@users.sourceforge.net> IIPImage: http://iipimage.sourceforge.net -------------------------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of ...
CENDARI/editorsnotes
cendari/static/iipmooviewer/src/navigation.js
JavaScript
agpl-3.0
11,677
var CookieMonster = { init: function(options){ if (options === undefined) options = {}; this.options(options); this.monit = jQuery('.' + this.classOuter); this.button = this.monit.find('.' + this.classButton); this.checkCookie(); }, defaults: { classOuter: 'Co...
loristissino/delt
protected/extensions/CookieMonster/assets/CookieMonster.js
JavaScript
agpl-3.0
2,726
/** * Submit form data */ function submitFormDataConsumption(reinsert) { $('#popup_reinsert').val(reinsert ? 'T' : 'F'); submitData('#popup_modform'); } /** * Submit form data * param integer id the meter id */ function submitFormDataDoneConsumption(ids, reinsert) { reloadTab(undefine...
r3-gis/EcoGIS
web/javascript/consumption.js
JavaScript
agpl-3.0
2,772
/** * Membership requests specific features */ define([ 'jquery', 'api', 'i18n', 'notify', 'auth', 'widgets/modal', 'templates/organization/refuse-membership-modal.hbs', 'form/common', 'x-editable' ], function($, API, i18n, Notify, Auth, modal, refusal_tpl, forms) { "use strict...
grouan/udata
js/organization/membership-requests.js
JavaScript
agpl-3.0
2,689
/** * Copyright (C) 2019 3D Repo Ltd * * 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 * License, or (at your option) any later version. * * This pro...
3drepo/3drepo.io
backend/src/v4/routes/resources.js
JavaScript
agpl-3.0
2,106
function openerp_pos_widgets(instance, module){ //module is instance.point_of_sale var QWeb = instance.web.qweb, _t = instance.web._t; // The ImageCache is used to hide the latency of the application cache on-disk access in chrome // that causes annoying flickering on product pictures. Why the hell a sim...
eneldoserrata/marcos_openerp
addons/point_of_sale/static/src/js/widgets.js
JavaScript
agpl-3.0
48,697
OC.L10N.register( "fulltextsearch", { "Search" : "Soek", "Index not found" : "Indeks nie gevind nie", "Search on %s" : "Soek op %s", "General" : "Algemeen", "Navigation Icon" : "Navigasie-ikoon" }, "nplurals=2; plural=(n != 1);");
daita/nextant
l10n/af.js
JavaScript
agpl-3.0
259
define(function(require) { 'use strict'; var $ = require('lib/jquery'), _ = require('lib/underscore'), Backbone = require('lib/backbone'), setFillColor = require('entrance/tool/setfillcolor'), FillColorContainer; /** * 设置填充颜色功能监听类 * @author ray wu * @since 0.1.0 * @class FillColorContainer * @mo...
iCloudWorkGroup/fengniao
js/widgets/celloperation/fillColorContainer.js
JavaScript
agpl-3.0
903
/*! * Extensible 1.5.2 * Copyright(c) 2010-2013 Extensible, LLC * licensing@ext.ensible.com * http://ext.ensible.com */ /** * @class Extensible.calendar.form.EventWindow * @extends Ext.window.Window * <p>A custom window containing a basic edit form used for quick editing of events.</p> * <p>This window also pr...
Kolbaskin/janusjs
static/admin/Extensible/calendar/form/EventWindow.js
JavaScript
lgpl-2.1
15,116
/** blockpage initialization */ /* globals chrome */ document.querySelector("#showOptions").onclick=function() { chrome.runtime.openOptionsPage(); }; document.querySelector("#page").innerText = decodeURIComponent(document.location.search.slice(1).split('&')[0]); document.querySelector("#phrases").innerText = decode...
serv-inc/web-site-filter
addon/blockpage.js
JavaScript
lgpl-2.1
685
// AST walker module for Mozilla Parser API compatible trees if (!exports.acorn) { exports.acorn = {}; exports.acorn.walk = {}; } (function(exports) { "use strict"; // A simple walk is one where you simply specify callbacks to be // called on specific nodes. The last two arguments are optional. A // simp...
deltaprojects/cappuccino
Objective-J/acornwalk.js
JavaScript
lgpl-2.1
9,884
Clazz.declarePackage ("J.console"); Clazz.load (["J.api.JmolAppConsoleInterface", "$.JmolCallbackListener", "java.util.Hashtable"], "J.console.GenericConsole", ["java.lang.Boolean", "JU.PT", "J.c.CBK", "J.i18n.GT", "JS.T", "JV.Viewer"], function () { c$ = Clazz.decorateAsClass (function () { this.input = null; this.out...
benjaminabel/jsmol-dist
dist/j2s/J/console/GenericConsole.js
JavaScript
lgpl-2.1
12,514
/** * This module is a null de-duplicator strategy - does nothing. * * JS Module Pattern: "class module DI closure" * * @author Pip Jones * @since 2019-08-10 * @licence LGPL (see readme.md) */ "use strict"; module.exports = () => { class NullHandler { /** * @param {IDuplicateAudit} auditor */ const...
scipilot/sysrev-assist
express/lib/SysRevDomainModel/Articles/Dedupe/Handlers/NullHandler.js
JavaScript
lgpl-3.0
467
module.exports = { root: true, useEslintrc: true, extends: 'kevoree' };
kevoree/kevoree-js
tools/kevoree-scripts/config/eslintrc.js
JavaScript
lgpl-3.0
78
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const semver = require("semver"); const parseSemver = require("parse-semver"); const nameRegex = /^[a-z0-9][a-z0-9\-]*$/i; function validatePublisher(publisher) { if (!publisher) { throw new Error(`Missing publisher name. Learn mor...
mosser/ArduinoML-kernel
externals/xtext/node_modules/vsce/out/validation.js
JavaScript
lgpl-3.0
3,586
/** * Copyright (C) 2005-2014 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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 ...
viqsoft/Aikau
aikau/src/main/resources/alfresco/services/QuaddsService.js
JavaScript
lgpl-3.0
11,350
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["de-LI"] = $.extend(true, {}, en, { name: "de-LI", englishName: "German (Liechtenstein)", nativeName: "Deutsch (Liechtenstein)", language: "...
Kapinko/CJAF
lib/jquery/global/globinfo/Globalization.de-LI.js
JavaScript
lgpl-3.0
1,936
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["fr-MC"] = $.extend(true, {}, en, { name: "fr-MC", englishName: "French (Monaco)", nativeName: "français (Principauté de Monaco)", language:...
Kapinko/CJAF
lib/jquery/global/globinfo/jquery.glob.fr-MC.js
JavaScript
lgpl-3.0
1,969
steal('jquery/class').then(function() { // Alias helpful methods from jQuery var isArray = $.isArray, isObject = function( obj ) { return typeof obj === 'object' && obj !== null && obj; }, makeArray = $.makeArray, each = $.each, // listens to changes on val and 'bubbles' the event up // - val the obje...
newmediamedicine/indivo_ui_server_1_0
ui/jmvc/jquery/lang/observe/observe.js
JavaScript
lgpl-3.0
24,135
/** * jQuery.marquee - scrolling text like old marquee element * @author Aamir Afridi - aamirafridi(at)gmail(dot)com / http://aamirafridi.com/jquery/jquery-marquee-plugin */; (function($) { $.fn.marquee = function(options) { return this.each(function() { // Extend the options if any provided ...
respinar/contao-marquee
src/assets/jquery.marquee.js
JavaScript
lgpl-3.0
20,382
var x = require("casper").selectXPath; var util = require("feature_test_utils"); casper.options.viewportSize = {width: 1024, height: 768}; casper.on("page.error", function(msg, trace) { this.echo("Error: " + msg, "ERROR"); for(var i = 0; i < trace.length; i++) { var step = trace[i]; this.echo(" " + step.f...
project-hatohol/hatohol-15.03
client/test/feature/register_log_search_system_test.js
JavaScript
lgpl-3.0
4,232
/** * @author Ed Spencer * @class Ext.data.reader.Xml * @extends Ext.data.reader.Reader * * <p>The XML Reader is used by a Proxy to read a server response that is sent back in XML format. This usually * happens as a result of loading a Store - for example we might create something like this:</p> * <pre><code> Ex...
PHPBenelux/App
lib/src/data/reader/Xml.js
JavaScript
lgpl-3.0
9,679
function dataVar(name, color) { this.data = []; this.name = name; this.color = color; } function Graph(container, measureUnit) { this.group = []; maxX = null; minX = null; var margin = { top : 10, right : 150, bottom : 10, left : 60 }, aspectRatio = 3 / 1, conW = 800 //$(window).width(), width =...
ik4tekniker/EMS-Insight
code/LIVINGLAB_UI/scripts/groupGraphPrediction.js
JavaScript
lgpl-3.0
4,573
/** * Copyright (C) 2005-2016 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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 ...
tunaaksoy/Aikau
aikau/src/test/resources/alfresco/lists/views/ExpandableGalleryTest.js
JavaScript
lgpl-3.0
7,971
var class_interface__v1_1_1_view_1_1_ajout__visuel = [ [ "InitializeComponent", "class_interface__v1_1_1_view_1_1_ajout__visuel.html#aa63824290902b5129859423c3d70306a", null ] ];
clement-chollet/Easy-Video-Edition
docs/documentation/class_interface__v1_1_1_view_1_1_ajout__visuel.js
JavaScript
lgpl-3.0
182
define(function(require) { var App = require('modules/app/app'); var Section = require('component/section'); describe('app', function() { var app, el; beforeEach(function() { el = $('<div></div>'); app = new App({ el: el }); }); afterEach(function...
kjbekkelund/js-build
src/test/js/modules/app/appSpec.js
JavaScript
unlicense
1,390
define(['component/eventBinder', 'sinon'], function(EventBinder, sinon) { describe('eventBinder', function() { var eventBinder; var object = { on: function() {}, off: function() {} }; beforeEach(function() { eventBinder = new EventBinder(); ...
kjbekkelund/js-java-setup
src/test/js/component/eventBinderSpec.js
JavaScript
unlicense
1,907
// scopetools.js // MIT licensed, see LICENSE file // Copyright (c) 2013-2015 Olov Lassus <olov.lassus@gmail.com> "use strict"; const assert = require("assert"); const traverse = require("ordered-ast-traverse"); const Scope = require("./scope"); const is = require("simple-is"); module.exports = { set...
Ramanujakalyan/Inherit
ui/node_modules/gulp-ng-annotate/node_modules/ng-annotate/scopetools.js
JavaScript
unlicense
6,355
var Kraken = require('./kraken.js'); var publicKraken = new Kraken(); publicKraken.transactions({time: 'hour'}, console.log); publicKraken.ticker(console.log); publicKraken.order_book(false, console.log); publicKraken.bitinstant(console.log); publicKraken.eur_usd(console.log); var key = 'your key'; var secret = 'you...
pheisss/lamassu-kraken
node_modules/kraken/example.js
JavaScript
unlicense
1,336
'use strict'; var RpcClient = require('darkcore').RpcClient; var fs = require('fs'); var _ = require('lodash'); exports.NAME = 'Dashd'; exports.SUPPORTED_MODULES = ['wallet']; var SATOSHI_FACTOR = 1e8; var rpc = null; var pluginConfig = { account: '' }; // TODO: should it happen only once per run...
evan82/lamassu-dashd
wallet.js
JavaScript
unlicense
2,407
const fs = require("fs-extra"); const assert = require("assert"); const ImageDataURI = require("../lib/image-data-uri"); const matchMediaType = /^data:([^;,]+)[;,]/; describe("ImageDataURI", () => { describe("encodeFromFile", () => { it("declares correct media type for test-file.jpg", () => { return Imag...
Haini/dotfiles
.joplin-bin/lib/node_modules/joplin/node_modules/image-data-uri/test/image-data-uri.test.js
JavaScript
unlicense
2,484
angular.module('jolokiaWeb').filter('beanTree', function() { function extractBean(beanPath){ // beanPath: type=Valve,host=localhost,context=/,name=NonLoginAuthenticator var result = []; var parts = beanPath.split(','); parts.forEach(function(p){ var subPart = p.split("=...
wwfdoink/jolokia-web
src/main/resources/static/filter/beanTree.js
JavaScript
unlicense
5,484
$(function() { var PAGE_SIZE = 5; var fbCommentUpdate = function() { $("fb\\:comments").each(function(idx, el) { if (idx < PAGE_SIZE) return; FB.XFBML._processElement(el, { localName: 'comments', className: 'FB.XFBML.Comments' }, function() { FB.Event.fire('xfbml.re...
thurn/ackbar
resources/blog.js
JavaScript
unlicense
889
import axios from 'axios'; import qs from 'qs'; const HOSTNAME = 'https://feature1.qa.spokeo.com'; const USER_ID = 99397903; // calvin+hackathon1@spokeo.com/spokeo123 // const HOSTNAME = 'https://jmercado.spokeo.com'; // const USER_ID = 170; export function fetchProfiles(userEmails) { return axios .get(`${HOSTN...
sthowseen/ATeamHasNoName
src/api.js
JavaScript
unlicense
810
if (!window.twttr) { window.twttr = {}; } (function() { twttr.txt = {}; twttr.txt.regexen = {}; var HTML_ENTITIES = { '&': '&amp;', '>': '&gt;', '<': '&lt;', '"': '&quot;', "'": '&#39;' }; // HTML escaping twttr.txt.htmlEscape = function(text) { return text && text.replace(/[&"'...
kultus/belive.at
src/beliveat/static/js/twttr.txt.js
JavaScript
unlicense
30,005
var db = require('./db') var smsNotices = require('../lib/sms-notices') exports.up = function (next) { var sql = [ `ALTER TABLE custom_messages RENAME TO sms_notices`, `ALTER TYPE custom_message_event RENAME TO sms_notice_event`, `ALTER TYPE sms_notice_event ADD VALUE 'sms_receipt'`, `ALTER TABLE sms...
lamassu/lamassu-server
migrations/1643996603839-change-custom-sms-to-notices.js
JavaScript
unlicense
1,050
// looks like 2014 me didn't add a citation to where this code was from // it looks like it's from this Stack Overflow answer by Tuan // http://stackoverflow.com/a/5574446/1108513 String.prototype.toProperCase = function () { return this.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(...
timtim17/drinks-on-a-wall
proper-case.js
JavaScript
unlicense
344
var stream = require('stream'), util = require('util'), Transform = stream.Transform; function HelloJsTransform () { if (!(this instanceof HelloJsTransform)) { return new HelloJsTransform(); } this.data = 'var str=['; this.endData = '];\nstr.forEach(function (char) {\n' + ' process.stdout.w...
nodar-chkuaselidze/matryoshka
langs/js/hello-js.js
JavaScript
unlicense
957
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var loaderUtils = require("loader-utils"); module.exports = function(content) { var query = loaderUtils.parseQuery(this.query); if(query.cacheable && this.cacheable) this.cacheable(); if(this.inputValue) { ...
epgui/FEECUM-cordova
node_modules/val-loader/index.js
JavaScript
unlicense
415