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
import Vue from 'vue' import Router from 'vue-router' import Hello from '@/components/Hello' import Home from '@/pages/home/home.vue' import Category from '@/pages/category/category.vue' import List from '@/pages/list/list.vue' import Detail from '@/pages/detail/detail.vue' import Cart from '@/pages/cart/cart.vue' impo...
D-gitlong/vue-douban
src/router/index.js
JavaScript
gpl-3.0
1,220
'use strict'; // Production specific configuration // ================================= module.exports = { // Server IP ip: process.env.OPENSHIFT_NODEJS_IP || process.env.IP || undefined, // Server port port: process.env.OPENSHIFT_NODEJS_PORT || process.env.PORT |...
vivanov1410/wisdimo-app
server/config/environment/production.js
JavaScript
gpl-3.0
624
$(function() { $('#activities').dataTable({ 'order': [[ 0, 'desc' ]] }); });
DigitalNZ/supplejack_manager
app/javascript/src/admin/activities.js
JavaScript
gpl-3.0
85
"use strict"; module.exports = function(sequelize, DataTypes) { var Actor = sequelize.define("Actor", { id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true, allowNull: false}, en_us: DataTypes.STRING, zh_cn: DataTypes.STRING, zh_hk: DataTypes.STRING }, { ...
albertchan/buttery
server/models/actors.js
JavaScript
gpl-3.0
642
/* From everpolate.js --> https://github.com/BorisChumichev/everpolate/tree/master/lib The MIT License (MIT) Copyright (c) 2015 Boris Chumichev 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 wit...
ProjectKitchen/RoboFriend
src/Pi/static/lib/everpolate.polynomial.js
JavaScript
gpl-3.0
4,097
'use strict' const restify = require('restify') const config = require('./config.js') const PORT = config.port || 3000 const redis = require('redis') const FwoReportApi = require('./models/FwoReportApi.js') const request = require('request') const JSONStream = require('JSONStream') const es = require('event-stream') ...
oventi/employer-watch
apps/fwo_reports_api/index.js
JavaScript
gpl-3.0
1,531
Espo.define('she:views/hi-email/record/edit-quick', 'views/record/edit', function (Dep, Detail) { return Dep.extend({ fullFormDisabled: true, isWide: true, sideView: false, bottomView: null, dropdownItemList: [] }); });
flashnot/espocrm-skyeng-tt
client/modules/SHE/src/views/hi-email/record/edit-quick.js
JavaScript
gpl-3.0
274
function has_changed(){ $j('#pencil_icon').show(); $j('#save_button').show(); changed_flag = true; }
mercadolibre/cacique
public/javascripts/editor_changes.js
JavaScript
gpl-3.0
113
define(['module', 'plugCubed/Class', 'plugCubed/Notifications', 'plugCubed/Version', 'plugCubed/StyleManager', 'plugCubed/Settings', 'plugCubed/Lang', 'plugCubed/Utils', 'plugCubed/RoomSettings', 'plugCubed/dialogs/Menu', 'plugCubed/CustomChatColors', 'plugCubed/handlers/ChatHandler', 'plugCubed/handlers/CommandHan...
plugCubed/plugCubed
src/release/plugCubed/Loader.js
JavaScript
gpl-3.0
6,714
const env = require('env.json'); const mockDeckCards = require('mockData/deckCards').cards; const mockDecks = require('mockData/decks').decks; const mockUsers = require('mockData/users').users; const mockNewUsers = require('mockData/newUsers').users; const mockUserCards = require('mockData/userCards').cards; const resC...
nbuhay/flashCards
config.js
JavaScript
gpl-3.0
1,979
import React, {Component} from 'react'; export default class LinkPreview extends Component { constructor(props) { super(props); } static propTypes = { title: React.PropTypes.string.isRequired, description: React.PropTypes.string.isRequired, url: React.PropTypes.string, thumbnailUrl: React.Pr...
MattMcFarland/tw-client
src/components/Common/FormFields/LinkPreview.js
JavaScript
gpl-3.0
1,695
var ivis_demo005__usinga_p_t_b_screen_8m = [ [ "ivisDemo005_usingaPTBScreen", "ivis_demo005__usinga_p_t_b_screen_8m.html#aaf5367b43a15b2b4b86b17682f028dec", null ] ];
petejonze/ivis
ivis/doc/API/src/ivis_demo005__usinga_p_t_b_screen_8m.js
JavaScript
gpl-3.0
170
var __v=[ { "Id": 4244, "Panel": 2063, "Name": "่ชฟ็”จๅ †ๆฃง", "Sort": 0, "Str": "" }, { "Id": 4245, "Panel": 2063, "Name": "ๆณจๆ„", "Sort": 0, "Str": "" } ]
zuiwuchang/king-document
data/panels/2063.js
JavaScript
gpl-3.0
197
var AppCatalog, AppManifest, Directory, File, Fs, FsApp, Path, Project, Q, ServerError, Tar, Workspace, bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; Fs = require('fs'); Path = require('path'); Q = require('q'); Tar = require('tar-stream'); AppCatalog = require_harrogate_modul...
kipr/harrogate
apps/programs/workspace.js
JavaScript
gpl-3.0
12,097
var searchData= [ ['has_5falignment',['has_alignment',['../othellier_8c.html#a9470b5f4c0cf9a638d84cdebef08a619',1,'has_alignment(Othellier *oth, short position, short color, short direction): othellier.c'],['../othellier_8h.html#aa51740d0e5c708bc4cc2c1dac1626618',1,'has_alignment(Othellier *oth, short pos, short...
SunnyDjinn/GenOthello
doc/search/functions_6.js
JavaScript
gpl-3.0
633
// ==UserScript== // @description Make VLC play youtube videos on another computer // @include https://www.youtube.com/* // @include https://youtu.be/* // @include http://youtu.be/* // @include http://youtube.com/* // @include http://www.youtu.be/* // @include https://www.youtu.be/* // @include http://www.youtube.com/*...
nisstyre56/youtubevlc
vlc.user.js
JavaScript
gpl-3.0
1,689
GNATdoc.SourceFile = { "kind": "code", "children": [ { "kind": "line", "number": 1, "children": [ { "kind": "span", "cssClass": "keyword", "text": "with" }, { "kind": "span", "cssClass": "text", "text": " " ...
osannolik/ada-motorcontrol
doc/html/srcs/amc_hall.ads.js
JavaScript
gpl-3.0
84,938
// This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle is dis...
tonyjbutler/moodle
course/format/amd/src/local/courseeditor/dndcmitem.js
JavaScript
gpl-3.0
3,449
var vOrientationTolerance=20, hOrientationTolerance=10, angleTolerance=10, numFrames=10, sizeX=(window.innerHeight/3>window.innerWidth/4?window.innerWidth:window.innerHeight/3*4), sizeY=(window.innerHeight/3<window.innerWidth/4?window.innerHeight:window.innerHeight/4*3), initialCountDown=5, cursorW=40, cursorH=20; v...
nfroidure/Panoramix
panoramix.js
JavaScript
gpl-3.0
5,338
'use strict' var tap = require('tap') var utils = require('@newrelic/test-utilities') var methods = require('methods') tap.test('koa-route', function(t) { var helper = utils.TestAgent.makeInstrumented() t.tearDown(function() { helper.unload() }) helper.registerInstrumentation({ type: 'web-framework'...
ety04/birthday-bot
node_modules/@newrelic/koa/tests/unit/route.tap.js
JavaScript
gpl-3.0
700
/*! jQuery UI - v1.11.1 - 2014-08-14 * http://jqueryui.com * Includes: widget.js * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ (function (factory) { if (typeof define === "function" && define.amd) { // AMD. Register as an anonymous module. define(["jquery"], factory...
xiinite/cymeriad
public/js/jquery.widget.js
JavaScript
gpl-3.0
20,860
import { colorIcon } from '../utils'; function generateInputsHTML(inputsArray) { return inputsArray .map(({ name, maxValue, valueType, pattern = null }) => { return ` <div class="input__parent input__parent--${name}"> <label name=${name}>${colorIcon[name]} ${name}</label> <input class...
Yedrup/Color-Game
js/game/templates.js
JavaScript
gpl-3.0
1,007
Bxs.Response = { success: function(action,status) { switch(action) { case "insert": if (status === 201) { return true; } break; case "update": if (status === 200 || status === 304) { return true; } break; case "delete": if (status === 204) { return true; } brea...
rdallasgray/bxs
js/Bxs.Response.js
JavaScript
gpl-3.0
353
var fene_8hpp = [ [ "calc_fene_pair_force", "fene_8hpp.html#a17b0d5b7533cd6e8ca660755d88d2226", null ], [ "fene_pair_energy", "fene_8hpp.html#a025b875b61d73ba10293a978a60d51f9", null ], [ "fene_set_params", "fene_8hpp.html#a373e8a8ee847549ba006ee54dcac4982", null ] ];
HaoZeke/espresso
doc/doxygen/html/fene_8hpp.js
JavaScript
gpl-3.0
280
var _teeny_vandle_processor_8cpp = [ [ "D_TIMEDIFF", "dc/dbb/_teeny_vandle_processor_8cpp.html#a0a526d2d0b18e1096db2418ffedb1a62", null ], [ "DD_MAX", "dc/dbb/_teeny_vandle_processor_8cpp.html#ae94f612905035dc6c9d03ec122b2416d", null ], [ "DD_MAXLCORGATE", "dc/dbb/_teeny_vandle_processor_8cpp.html#a89ba08d3...
pixie16/paassdoc
dc/dbb/_teeny_vandle_processor_8cpp.js
JavaScript
gpl-3.0
1,232
"use strict"; const events = require("../events.js"); const views = require("../util/views.js"); const template = views.getTemplate("posts-page"); class PostsPageView extends events.EventTarget { constructor(ctx) { super(); this._ctx = ctx; this._hostNode = ctx.hostNode; views.rep...
rr-/szurubooru
client/js/views/posts_page_view.js
JavaScript
gpl-3.0
4,257
/** * Session Configuration * (sails.config.session) * * Sails session integration leans heavily on the great work already done by * Express, but also unifies Socket.io with the Connect session store. It uses * Connect's cookie parser to normalize configuration differences between Express * and Socket.io and hoo...
njung/thesail
config/session.js
JavaScript
gpl-3.0
5,141
define( "dojo/cldr/nls/sk/indian", //begin v1.x content { "field-quarter-short-relative+0": "tento ลกtvrลฅr.", "field-quarter-short-relative+1": "budรบci ลกtvrลฅr.", "field-tue-relative+-1": "minulรฝ utorok", "field-year": "rok", "field-wed-relative+0": "tรบto stredu", "field-wed-relative+1": "budรบcu stredu", "field-mi...
ustegrew/ustegrew.github.io
courses/it001/lib/dojo/dojo/cldr/nls/sk/indian.js.uncompressed.js
JavaScript
gpl-3.0
7,499
var shape = { name: }
itpop/comp4900
test/script.js
JavaScript
gpl-3.0
25
const winston = require('winston') const exec = require('child_process').execSync const path = require('path') const { LOG_DIR } = require('./constant') const env = process.env['NODE_ENV'] const LOG_FILE = process.env['LOG_FILE'] console.log('LOG_FILE', LOG_FILE) exec(`mkdir -p ${LOG_DIR}`, {}) let transports = [] i...
mrcodehang/github-issues-rss
src/logger.js
JavaScript
gpl-3.0
887
var longest__common__subsequence_8h = [ [ "longest_common_subsequence", "longest__common__subsequence_8h.html#a02edd40c3c2dd3ce1b514284dd42e99c", null ], [ "make_LCS", "longest__common__subsequence_8h.html#a377ef4206d4814024272c15c51051f09", null ] ];
huaxz1986/cplusplus-_Implementation_Of_Introduction_to_Algorithms
doc/html/longest__common__subsequence_8h.js
JavaScript
gpl-3.0
259
/** * Track ViewModel * @descrip This view model is used to represent a track. * @author Benjamin Russell (benrr101+dolomite@outlook.com) */ function TrackViewModel() { var self = this; // NON-OBSERVABLE ////////////////////////////////////////////////////// self.Id = null; // The...
benrr101/cinnabar
scripts/track.js
JavaScript
gpl-3.0
8,139
class doublylinkedlist{ constructor(value) { this.head = { value:value, next:null, prev:null // a new pointer is to be defined which points to previous node } this.tail=this.head; this.length=1; } append(value) //for appending operation(this adds node to the end of the ...
jainaman224/Algo_Ds_Notes
Doubly_Linked_List/Doubly_Linked_List.js
JavaScript
gpl-3.0
2,543
import {calculRDU} from '../calculateur/calculRDUVD'; // REF http://www.guidesocial.ch/fr/fiche/960/ function nombreEnfants(sim) { return sim.personnes.filter(personne => (!personne.estAdulte)).length; } function chargesNormalesBaseLookup(chargesNormalesBaseVD, nbAdultes = 1, nbEnfants = 0, zone = 2) { return ch...
HEG-Arc/PrestaSoc
src/app/calculateur/bourseCalculVD.js
JavaScript
gpl-3.0
5,357
const Ava = require('ava') const Sinon = require('sinon') const { getCard } = require('../deck') const Junkyard = require('../junkyard') Ava.test('should be playable', (t) => { const game = new Junkyard('player1', 'Jay') game.addPlayer('player2', 'Kevin') game.start() const [player1, player2] = game.players ...
gfax/junkyard-brawl
src/cards/a-gun.spec.js
JavaScript
gpl-3.0
2,378
/* * Network Pong * Copyright 2012 Oscar Key, Jack Yuan, Will Kochanski */ /* * 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)...
oscarkey/Network-Pong
menu.js
JavaScript
gpl-3.0
1,412
const rmdir = require("rimraf"); // rmdir("./build", function(error) {}); // rmdir("./public/css", function(error) {}); rmdir("./public/js", function(error) {}); rmdir("./public/img", function(error) {});
xtreemze/Lemonade
rmDir.js
JavaScript
gpl-3.0
210
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'smiley', 'cy', { options: 'Opsiynau Gwenogluniau', title: 'Mewnosod Gwenoglun', toolbar: 'Gwenoglun' } );
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/smiley/lang/cy.js
JavaScript
gpl-3.0
299
$(document).ready(function () { init_validation(); }); function search() { use = $("#use").val(); skin_type = $("#skin_types").val(); difficult_degree = $("#difficult_degree").val(); datas = { use : use, skin_type : skin_type, difficult_degree : difficult_degree } $.get(http_path + "formula/index", data...
cuckoo5/soap
Soap_know/static/js/formula.js
JavaScript
gpl-3.0
718
//ะ‘ะตะท ะพะฟะตั€ะฐั‚ะพั€ะฐ ั€ะฐะทะฒะพั€ะพั‚ะฐ let mas = ['q','w','e']; let mas2 = ['a','s','d']; let mas3 = [mas,'z',mas2,'x','c']; console.log(mas3); // ะก ะพะฟะตั€ะฐั‚ะพั€ะพะผ ั€ะฐะทะฒะพั€ะพั‚ะฐ let mas4 = ['r','t','y']; let mas5 = [...mas4,'f','g','h']; console.log(mas5);
vivanov1410/coder-school
js/ES6/src/spread.js
JavaScript
gpl-3.0
292
jQuery(document).ready(function (){ // Comienza la parte de Sockets socket_cliente = io.connect('/principal') // unica variable global socket_cliente.on('stockBids', function(top5Bids){ bidList.reset(top5Bids) // llenar la collection de models de ofertas setTimeout(requerirActualizacion, 5000) // cada 5 segundos...
yzaguirre/ChapinSubastas
public_html/js/index.js
JavaScript
gpl-3.0
2,646
var searchData= [ ['parser',['Parser',['../classParser.html#a12234f6cd36b61af4b50c94a179422c1',1,'Parser']]], ['pause',['pause',['../classSound.html#a65b0f66e9123caed2809da366ac4d377',1,'Sound::pause()'],['../classRace.html#af44a886dc92b726224634fd124bd7ddb',1,'Race::pause()'],['../classPause.html#a000be3800357b261...
isaaclacoba/tinman
doxygen/search/functions_e.js
JavaScript
gpl-3.0
2,224
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ // Test that makes sure web console eval works while the js debugger paused the // page, and while the ins...
Yukarumya/Yukarum-Redfoxes
devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js
JavaScript
mpl-2.0
3,723
'use strict'; /* global SumoDB, Utils, nunjucksEnv */ (function(exports) { var MSG_NO_QUESTIONS = 'No questions found'; var PROFILE_DETAILS_TMPL = 'helper_profile.html'; var QUESTION_LIST_TMPL = 'question_list_day.html'; var username; var headline; var profile_details_container; var questions_container...
zbraniecki/buddyup
app/js/helper_profile_controller.js
JavaScript
mpl-2.0
2,083
/* * Copyright (c) 2017 Mattia Panzeri <mattia.panzeri93@gmail.com> * * 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/. */ export { NearItManager as default, consta...
panz3r/react-native-nearit-sdk
index.js
JavaScript
mpl-2.0
372
/* 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"; var { seq, iterate, filter, map, reductions, reduce, count, isEmpty, every, isEvery, some, tak...
Yukarumya/Yukarum-Redfoxes
addon-sdk/source/test/test-sequence.js
JavaScript
mpl-2.0
39,167
describe('skip-link test pass', function() { 'use strict'; var results; before(function(done) { axe.testUtils.awaitNestedLoad(function() { axe.run({ runOnly: { type: 'rule', values: ['skip-link'] } }, function( err, r ) { assert.isNull(err); results = r; do...
dequelabs/axe-core
test/integration/full/skip-link/skip-link-pass.js
JavaScript
mpl-2.0
825
/* 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 assert = require('assert'); var request = require('supertest'); var app = require('../lib/app')(); var mocks...
mozilla/fxa-basket-proxy
test/sms.js
JavaScript
mpl-2.0
2,811
import React from 'react'; import { Subscriber } from 'joy-react-broadcast'; import PropTypes from 'prop-types'; import is from 'styled-is'; import styled from 'styled-components'; import Card, { BaseCard } from './card'; const BaseOutlet = styled(BaseCard)` box-sizing: border-box; display: inline-flex; flex: ...
yldio/joyent-portal
packages/ui-toolkit/src/card/outlet.js
JavaScript
mpl-2.0
978
/* @flow */ import invariant from 'invariant'; import { UNLOAD_ADDON_REVIEWS, UPDATE_RATING_COUNTS, } from 'amo/actions/reviews'; import { removeUndefinedProps } from 'core/utils/addons'; import { ADDON_TYPE_THEME } from 'core/constants'; import type { UnloadAddonReviewsAction, UpdateRatingCountsAction, } from...
tsl143/addons-frontend
src/core/reducers/addons.js
JavaScript
mpl-2.0
14,512
# -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (the "License"); you may not use this file except in compliance with # the License. Y...
tmhorne/celtx
toolkit/content/finddialog.js
JavaScript
mpl-2.0
6,138
/* 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"; /** * The following functions are used in testing to control and inspect * the nsIProfiler in chil...
Yukarumya/Yukarum-Redfoxes
devtools/client/performance/test/helpers/profiler-mm-utils.js
JavaScript
mpl-2.0
3,663
/* jshint forin:true, noarg:false, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:false, browser:true, unused:true, indent:2, maxerr:50, devel:true, node:true, boss:true, white:true, globalstrict:true, nomen:false, newcap:true, esnext: true, moz: true */ /*global exports, require, con...
gregglind/firefox-pulse
heartbeat-telemetry-experiment-1/getnb-helper.js
JavaScript
mpl-2.0
1,604
/* 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/. * * The initial developer of trinitymobile-main.js is Rob Gerns. * Copyright 2012 Rob Gerns. All rights reserved...
trinityeaston/Trinity-Mobile
0.1.1/www/scripts/trinitymobile-main.js
JavaScript
mpl-2.0
23,509
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ 'use strict'; var webdriver = require('selenium-webdriver'), assert = require('assert'); const makeSuite = require('./lib/make_suite'); makeSuite('Test set up UI', (setUpWebapp) => { // TODO: Clean u...
fabricedesre/foxbox
test/selenium/sessions_ui_test.js
JavaScript
mpl-2.0
7,396
/* -*- 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 = 'number-001.js'...
mozilla/rhino
testsrc/tests/lc3/CallStatic/number-001.js
JavaScript
mpl-2.0
3,017
/* 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 mapValuesByKeys = require('../lib/functional').mapValuesByKeys const _ = null const messages = { // URL b...
MKuenzi/browser-laptop
js/constants/messages.js
JavaScript
mpl-2.0
6,213
/* !Javascript */ var remote = require('remote'), remoteIpc = remote.require('ipc'); angular .module('MainView', ['Utils']) .controller('MainCtrl', ['Storage', '$scope', function(Storage, scope) { var vm = this; vm.keychain = null; Storage .init() .then(fun...
zeusintuivo/electron-password-saver
src/windows/main/main.view.js
JavaScript
mpl-2.0
673
/** * Created by sunil on 1/1/2015. */ function getElementByXpath (path) { return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; } function closeTab() { self.port.emit('closeTab'); } function generateIdFromText(text) { return text.replace(/[^\w]/gi, ...
sunilrebel/spann-jira
data/js/commons.js
JavaScript
mpl-2.0
326
/* 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 import * as React from 'react'; import { render } from '@testing-library/react'; import { Provider } from...
devtools-html/perf.html
src/test/components/MarkerTable.test.js
JavaScript
mpl-2.0
7,236
(function(){ 'use strict'; angular .module('PLMApp', ['ngAnimate', 'ngSanitize', 'gettext', 'ngCookies', 'ui.router', 'ui.codemirror', 'angular-locker', 'satellizer']); })();
BenjaminThirion/webPLM
public/app/app.js
JavaScript
agpl-3.0
180
import React, { Fragment } from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { hydrateStore } from '../actions/store'; import { IntlProvider, addLocaleData } from 'react-intl'; import {...
pso2club/mastodon
app/javascript/mastodon/containers/timeline_container.js
JavaScript
agpl-3.0
1,874
OC.L10N.register( "drawio", { "Open in Draw.io" : "Abrir no Draw.io", "Saving..." : "Salvando...", "File saved!" : "Arquivo Salvo!", "Draw.io URL" : "URL do Draw.io", "Language" : "Idioma", "Loading, please wait." : "Carregando, por favor aguarde.", "File created" : "Arquivo criado", "Diagram" : "Diagra...
pawelrojek/nextcloud-drawio
drawio/l10n/pt_BR.js
JavaScript
agpl-3.0
1,839
function load_input_code_multiple_languages(submissionid, key, input) { load_input_code(submissionid, key, input); setDropDownWithTheRightLanguage(key, input[key + "/language"]); changeSubmissionLanguage(key); } function onChangeLanguageDropdown(key, problem) { changeSubmissionLanguage(key, problem); }...
JuezUN/INGInious
inginious/frontend/plugins/multilang/static/multilang.js
JavaScript
agpl-3.0
14,892
mercury.view = mercury.view || {}; // Object cache mercury.c.$calendar_container = $("#calendar_container"); mercury.c.$calevent_text = $("#calevent_text"); mercury.c.$select_container = $("#cal_select_container"); mercury.c.$select_year = $("#select_year"); mercury.c.$select_tripos = $("#select_tripos"); mercury.c.$...
ieb/timetables
htdocs/js/view.js
JavaScript
agpl-3.0
15,404
import { Template } from 'meteor/templating'; import { GoogleMaps } from 'meteor/dburles:google-maps'; import { ReactiveVar } from 'meteor/reactive-var'; import { Meteor } from 'meteor/meteor'; import _ from 'underscore'; import './nodeMap.html'; Template.nodeMap.helpers({ mapOptions() { let result; if (Goo...
Celerate/celerate-controller
external-controller/imports/ui/components/nodes/nodeMap.js
JavaScript
agpl-3.0
4,671
/* * eyeos - The Open Source Cloud's Web Desktop * Version 2.0 * Copyright (C) 2007 - 2010 eyeos Team * * 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 publ...
FireWalkerX/eyeOS-FOSS-V.2.0
eyeos/apps/spreadsheets/bars/genericbar.both.Actions.js
JavaScript
agpl-3.0
19,195
import {posDirToText} from './utils.js' import {move, initPlayerPos} from './movement.js' import {hideLoadingScreen, openPage} from './interface.js' import {initKeyboardInput, initMouseInput} from './input.js' import {createCommonAudios} from './createAudios.js' import {shrines, state} from './store.js' import {interac...
andresmrm/labyrimental
src/loader.js
JavaScript
agpl-3.0
3,308
MWF.xApplication.portal.PageDesigner.Module = MWF.xApplication.portal.PageDesigner.Module || {}; MWF.xDesktop.requireApp("process.FormDesigner", "Module.$Element", null, false); MWF.xApplication.portal.PageDesigner.Module.Widget = MWF.PCWidget = new Class({ Extends: MWF.FC$Element, Implements: [Options, Events], opt...
o2oa/o2oa
o2web/source/x_component_portal_PageDesigner/Module/Widget.js
JavaScript
agpl-3.0
20,545
// @TODO, pull from config export const DAYS_TO_REPLY = 14;
Trustroots/trustroots
modules/experiences/client/utils/constants.js
JavaScript
agpl-3.0
60
define([ "pedigree/pedigreeDate", "pedigree/model/baseGraph", "pedigree/model/helpers" ], function( PedigreeDate, BaseGraph, Helpers ){ PedigreeImport = function () { }; PedigreeImport.prototype = { }; /*PedigreeImport.SUPORTED_FORMATS = { PED: ...
danielpgross/phenotips
components/pedigree/resources/src/main/resources/pedigree/model/import.js
JavaScript
agpl-3.0
62,837
var img = document.getElementById("slice"); var canvas = document.getElementById("canvas"); var context = canvas.getContext("2d"); canvas.height = img.height * Math.sqrt(2); canvas.width = img.width * Math.sqrt(2); var cutCanvas = document.getElementById("cut"); var cutContext = cutCanvas.getContext("2d"); cutCanv...
RolandR/VolumeRayCasting
planeDemo/lazyRaycasting.js
JavaScript
agpl-3.0
2,632
/* eslint-disable no-invalid-this */ import toggleNav from "src/decidim/admin/toggle_nav" import createSortList from "src/decidim/admin/sort_list.component" import createQuillEditor from "src/decidim/editor" import formDatePicker from "src/decidim/form_datepicker" import DataPicker from "src/decidim/data_picker" impor...
decidim/decidim
decidim-admin/app/packs/src/decidim/admin/application.js
JavaScript
agpl-3.0
1,668
(function() { this.Blazon.index.login = { init: function() { $('a.login').click(function() { var params; params = $('form[name=login]').serializeObject(); Blazon.post('/user/auth/', params, function(response) { if (response.status === 'OK') { window.location.hre...
evanhuang8/Blazon
sponsorship/static/js/index/login.js
JavaScript
agpl-3.0
584
/** * Copyright 2014, 2015 Netsend. * * This file is part of Mastersync. * * Mastersync 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 la...
Netsend/mastersync
lib/concat_mongo_stream.js
JavaScript
agpl-3.0
6,534
/* * Copyright 2010, Wen Pu (dexterpu at gmail dot com) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Check out http://www.cs.illinois.edu/homes/wenpu1/chatbox.html for document * * Depends on jquery.ui.core, jquery.ui.widiget, jquery.ui.effect * * Also uses some styl...
allendecid/AIchat
ES/jquery.ui.chatboxmod.js
JavaScript
agpl-3.0
11,110
define(function(require) { 'use strict'; var _ = require('underscore'); var Vector2 = require('common/math/vector2'); var VerletAlgorithm = require('../verlet-algorithm'); var DiatomicAtomPositionUpdater = require('models/atom-position-updater/diatomic'); /** * Implementation of the V...
Connexions/simulations
states-of-matter/src/js/models/verlet-algorithm/diatomic.js
JavaScript
agpl-3.0
13,520
import { env } from './env'; export const MIN_ID = 2147483648; /** * Equals to true in any browser. */ export const isBrowser = typeof window === 'undefined' ? false : true; export function isOnline() { return isBrowser ? navigator.onLine : true; } export function isVisible() { return isBrowser ? document.vis...
coast-team/netflux
docs/jsFromTs/src/misc/util.js
JavaScript
agpl-3.0
2,979
// @flow // This module exposes the api for internal usage, so that we don't have to // deal with versioning, creation and waiting of/for the api. import Model from "oxalis/model"; import createApi from "oxalis/api/api_latest"; const api = createApi(Model); export default api;
scalableminds/webknossos
frontend/javascripts/oxalis/api/internal_api.js
JavaScript
agpl-3.0
281
/* * elRTE - WSWING editor for web * * Usage: * var opts = { * .... // see elRTE.options.js * } * var editor = new elRTE($('#my-id').get(0), opts) * or * $('#my-id').elrte(opts) * * $('#my-id) may be textarea or any DOM Element with text * * @author: Dmitry Levashov (dio) dio@std42.ru * Copyright: Stud...
xavoctechnocratspvtltd/property
public/js/elrte/js/elRTE.js
JavaScript
agpl-3.0
11,965
/** * UStSvzA (sales tax prepayment) module for Geierlein. * * @author Stefan Siegl * * Copyright (c) 2013,2017,2018 Stefan Siegl <stesie@brokenpipe.de> * * 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 F...
stesie/geierlein
chrome/content/lib/geierlein/ustsvza.js
JavaScript
agpl-3.0
5,349
import { contains } from 'mout/array'; const matchExtension = (fileName) => { return fileName.match(/\.([0-9a-z]+)(?=[?#])|(\.)(?:[\w]+)$/); }; const getExtensionFromFileName = (fileName) => { var match = matchExtension(fileName); if (match) { return match[0]; } // if file.name does not ha...
part-up/app
app/imports/client/services/getSvgForDocument.js
JavaScript
agpl-3.0
2,826
/* This file is part of the HeavenMS MapleStory Server Copyleft (L) 2016 - 2019 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 F...
ronancpl/MapleSolaxiaV2
scripts/event/WeddingChapel.js
JavaScript
agpl-3.0
8,827
๏ปฟ// store: hempazonia // Establish primary function wrapper (function () { 'use strict'; var app = angular.module('app.avengers'); app.run(['routehelper', function (routehelper) { routehelper.configureRoutes(getRoutes()); }]); function getRoutes() { return [ { ...
rwebaz/Simple-Angular-js
JohnPappa0js/JohnPappa0js/app/avengers/config.route.js
JavaScript
agpl-3.0
721
OC.L10N.register( "files_external", { "Please provide a valid app key and secret." : "่ฏทๆไพ›ๆœ‰ๆ•ˆ็š„ๅบ”็”จkeyๅ’Œsecret", "Step 1 failed. Exception: %s" : "ๆญฅ้ชค 1 ๅคฑ่ดฅใ€‚ๅผ‚ๅธธ๏ผš%s", "Step 2 failed. Exception: %s" : "ๆญฅ้ชค 2 ๅคฑ่ดฅใ€‚ๅผ‚ๅธธ๏ผš%s", "External storage" : "ๅค–้ƒจๅญ˜ๅ‚จ", "Dropbox App Configuration" : "Dropbox ๅบ”็”จ้…็ฝฎ", "Googl...
IljaN/core
apps/files_external/l10n/zh_CN.js
JavaScript
agpl-3.0
3,698
'use strict'; /*ยฉagpl************************************************************************* * * * This file is part of FRIEND UNIFYING PLATFORM. * * ...
FriendSoftwareLabs/friendchat
server/component/DbAccount.js
JavaScript
agpl-3.0
8,629
'use strict'; module.exports = { up: (queryInterface, Sequelize) => { queryInterface.addColumn( 'Users', 'receiveNotifications', Sequelize.BOOLEAN ); }, down: (queryInterface, Sequelize) => { queryInterface.removeColumn( 'Users', 'receiveNotifications' ); } };
worknenjoy/gitpay
migration/migrations/20190118000232-add-receive-notifications-to-user.js
JavaScript
agpl-3.0
317
/* * This file is part of FacturaSctipts * Copyright (C) 2014-2015 Carlos Garcia Gomez neorazorx@gmail.com * * 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 th...
Juanicos/facturacion_base
view/js/nueva_compra.js
JavaScript
agpl-3.0
24,045
import $ from 'jquery'; import {Example} from './modules/example'; new Example;
RecaMedia/Backdoor
_development/js/init.js
JavaScript
agpl-3.0
81
/* * app/src/BaseSource.js * * * Copyright (C) 2015 Pierre Marchand <pierremarc07@gmail.com> * * License in LICENSE file at the root of the repository. * */ 'use strict'; var _ = require('underscore'), rbush = require('rbush'), O = require('../../lib/object'), Geometry = require('../lib/Geometr...
atelier-cartographique/waend
app/src/BaseSource.js
JavaScript
agpl-3.0
3,108
var me = { url: "/primarycontact.json", params: {}, fields: { email: function(me) { return me.EmailAddress; } } }; module.exports = me;
saltt/oauthd
providers/campaign_monitor/me.js
JavaScript
agpl-3.0
181
/* * Spreed Speak Freely. * Copyright (C) 2013-2014 struktur AG * * This file is part of Spreed Speak Freely. * * 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...
cfrisemo/spreed-speakfreely
static/js/directives/roombar.js
JavaScript
agpl-3.0
2,419
import * as d3 from 'd3'; const GENEPANEL_ICON_WIDTH = 1.25; const GENEPANEL_ICON_HEIGHT = 1.1; const AlleleFreqPlotUtils = (function() { var NO_DATA = undefined; // this was set by the patient view // params: alt_counts (array of numbers), ref_counts (array of numbers) // returns array of numbers //...
alisman/cbioportal-frontend
src/pages/patientView/vafPlot/legacyVAFCode.js
JavaScript
agpl-3.0
21,602
/* * 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/fy-nl.js
JavaScript
agpl-3.0
763
(function() { var __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prot...
vaaralav/servicemap
assets/js/views/service-map-disclaimers.js
JavaScript
agpl-3.0
2,541
(function() { var Q, asserters, baseUrl, browseButtonSelector, browser, chai, chaiAsPromised, delay, errorDelay, pageTitle, pollFreq, searchButton, searchFieldPath, searchResultPath, serviceTreeItemSelector, should, typeaheadResultPath, wd; Q = require('q'); chai = require('chai'); chaiAsPromised = require('...
vaaralav/servicemap
assets/test/promises-test.js
JavaScript
agpl-3.0
4,098
(function () { "use strict" angular.module("timesheetModule").controller("projectSearchOptionsFormController", ["$scope", "resource", function ($scope, resource) { $scope.filterTasks = function (task) { if ($scope.filteringTasks && $scope.taskNameSubstring) { return task.name.toLowerCase().indexOf($scope.t...
saulo2/timesheet-java
src/main/webapp/js/projectSearchOptionsFormController.js
JavaScript
agpl-3.0
502
'use strict'; var should = require('should'); describe('COB', function ( ) { var cob = require('../lib/plugins/cob')(); var profile = { sens: 95 , carbratio: 18 , carbs_hr: 30 }; it('should calculate IOB, multiple treatments', function() { var treatments = [ { "carbs": "100", ...
sulkaharo/nightscout2
tests/cob.test.js
JavaScript
agpl-3.0
2,029
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 ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des...
marciot/html2three
js/dist-ecma5/Soundscape.js
JavaScript
agpl-3.0
1,450
define(["i18nObj","jquery"],function(a,b){b.extend(!0,a,{translations:{ar:{create_users_view:{required:"ุงู„ุฑุฌุงุก ุฅุฏุฎุงู„ ุจุนุถ ุนู†ุงูˆูŠู† ุงู„ุจุฑูŠุฏ ุงู„ุฅู„ูƒุชุฑูˆู†ูŠ"}},es:{create_users_view:{required:"Introduzca algunas direcciones de correo electrรณnico"}},fr:{create_users_view:{required:"Veuillez indiquer des adresses e-mail"}},ja:{crea...
owly/canvassy
public/optimized/translations/create_users_view.js
JavaScript
agpl-3.0
838