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
/* * Copyright (c) 2011-2013 Lp digital system * * This file is part of BackBee. * * BackBee 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 l...
ndufreche/bb-core-js-dist
src/tb/apps/bundle/views/bundle.view.index.js
JavaScript
gpl-3.0
4,473
import express from 'express'; import path from 'path'; import favicon from 'serve-favicon'; import logger from 'morgan'; import cookieParser from 'cookie-parser'; import bodyParser from 'body-parser'; import { excelRouter } from './routes/api/excel'; let app = express(); // view engine setup app.set('views', path.j...
fengjac/esquel-instantnoodle_Collabration
app.js
JavaScript
gpl-3.0
1,186
"use strict"; /* global Builder */ function UIControl() { this.parent = null; } UIControl.prototype.appendTo = function(parent) { parent.appendChild(this.getControl()); return this; }; UIControl.prototype.insertBefore = function(child) { child.parentNode.insertBefore(this.getControl(), child); return this; }; ...
hiasmstudio/hion
js/ui.js
JavaScript
gpl-3.0
53,178
define([ "dojo/_base/declare", "dojo/_base/lang", "dojo/_base/array", "dojo/request/xhr", "dojo/json", "dojo/dom-class", "dojo/dom-construct", "dojo/number", "dijit/_WidgetBase", "dijit/form/Button", "dijit/form/NumberTextBox", "dijit/form/DateTextBox", "dijit/form/Ti...
nextgis/nextgisweb
nextgisweb/feature_layer/amd/ngw-feature-layer/FeatureEditorWidget.js
JavaScript
gpl-3.0
11,017
$(document).ready(function() { $('.selectpicker').selectpicker({ style: 'btn-default', size: 4 }); });
jorisros/sfBootstrapPlugin
web/js/global.js
JavaScript
gpl-3.0
126
/*! * Webogram v0.1.7 - messaging web application for MTProto * https://github.com/zhukov/webogram * Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com> * https://github.com/zhukov/webogram/blob/master/LICENSE */ chrome.app.runtime.onLaunched.addListener(function(launchData) { chrome.app.window.create('../in...
staltz/webogram
app/js/background.js
JavaScript
gpl-3.0
460
H5.Vectors = (function (Math) { "use strict"; return { get: function (pointA_X, pointA_Y, pointB_X, pointB_Y) { return { x: pointB_X - pointA_X, y: pointB_Y - pointA_Y }; }, magnitude: function (x, y) { return Math.sqr...
raphaelstary/gbwestern
www/js/highfivejs/utils/Vectors.js
JavaScript
gpl-3.0
2,343
// THIS FILE IS COMPILED WITH BABEL FROM application/jsx SOURCE, DON'T EDIT .js FILE var TextEditor = React.createClass({ getInitialState: function () { return { text: this.props.text }; }, componentDidMount: function () { var dom = React.findDOMNode(this); this.medium = new MediumE...
PeerioTechnologies/peerio-client
application/js/peerio/ui/text_editor.js
JavaScript
gpl-3.0
991
var searchData= [ ['m_5fdur',['m_dur',['../class_feed_file.html#ae37914d8566194b9336eb9557c6939cf',1,'FeedFile']]], ['m_5fentries',['m_entries',['../class_feed_file.html#a60e590fb0c14b57417ddb98847df1626',1,'FeedFile']]], ['m_5ffeed_5fbytes',['m_feed_bytes',['../class_feed_file.html#a63bb6f3c999f4081191709e58fda3...
allenvanderlinde/reaper
docs/html/search/variables_3.js
JavaScript
gpl-3.0
774
(function () { "use strict"; var gulp = require("gulp"); var bump = require("gulp-bump"); var concat = require("gulp-concat"); var folders = require("gulp-folders"); var html2js = require("gulp-html2js"); var jshint = require("gulp-jshint"); var gutil = require("gulp-util"); var rename = require("gul...
Rise-Vision/widget-common
gulpfile.js
JavaScript
gpl-3.0
4,555
$(function() { var node1 = document.createTextNode("message = " + message); var node2 = document.createTextNode("number = " + number); document.getElementById('message-async-jquery').append(node1); document.getElementById('number-async-jquery').append(node2); });
Niky4000/UsefulUtils
projects/tutorials-master/tutorials-master/spring-boot-mvc/src/main/webapp/js/script-async-jquery.js
JavaScript
gpl-3.0
268
/* global angular */ /* global _ */ angular.module('firesideChats', [ 'ui.router', 'ngAnimate', 'ngMaterial', 'firebase' ] ) .config([ '$urlRouterProvider', '$stateProvider', '$mdThemingProvider', function($urlRouterProvider, $stateProvider, $mdThemingProvider) ...
YashdalfTheGray/fireside-chats
public/app.js
JavaScript
gpl-3.0
4,314
'use strict'; const isArray = require('./isArray'); const isSymbol = require('./isSymbol'); /** Used to match property names within property paths. */ const reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/; const reIsPlainProp = /^\w*$/; /** * Checks if `value` is a property name and not a propert...
rafa1231518/CommunityBot
lib/xml2js-req/xmlbuilder/lodash/_isKey.js
JavaScript
gpl-3.0
959
/** * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Danish language. */ /**#@+ @type String @example */ /** ...
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/lang/da.js
JavaScript
gpl-3.0
4,698
define([ ], function() { var Token = function(text, params) { // check if params are valid if (params.line < 0 || typeof params.lineText == 'undefined' || params.character < 0 || text.length == 0) { throw 'Invalid Parameter' } this.text = text; this.params = { file: params.file, ...
metzzo/Awesome
src/app/compiler/lexer/token.js
JavaScript
gpl-3.0
642
module.exports = { root: true, parserOptions: { ecmaVersion: 2017, sourceType: 'module' }, plugins: ['ember'], extends: ['eslint:recommended', 'plugin:ember/recommended', 'xo'], env: { browser: true }, // Change errors to warnings to avoid the CI builds failing. rules: { 'capitalized-comments': 'off', ...
internet4000/radio4000
.eslintrc.js
JavaScript
gpl-3.0
984
// identities menu $('#identities ul').hide(); $('#identities p .current').on('focus', function() { $('#identities ul').show(); }); $('#identities p .current').on('keydown', function(e) { if (e.keyCode == 9) { $('#identities ul').addClass('tab'); } }); $('#identities ul').on('mouseover', fun...
alct/social-stats
js/app.js
JavaScript
gpl-3.0
6,258
/******************************************************************************* * This file is part of Educatio. * * Educatio 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 ...
filipemb/siesp
WebContent/WEB-INF/screen/emprestimo/mostrarEmprestimo.js
JavaScript
gpl-3.0
21,642
module.exports = { production: { client: 'postgresql', connection: { database: 'vmail', user: 'vmail', password: 'password', }, pool: { min: 2, max: 5, }, migrations: { directory: "./db/migrate", tableName: 'knex_migrations', } }, development: ...
melkior/rofl
knexfile.js
JavaScript
gpl-3.0
876
//author Maxim Fluieraru @2015 function add_bootstrap () { var head = document.getElementsByTagName('head')[0]; var link=document.createElement("link"); link.href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"; link.rel="stylesheet"; head.appendChild(link); ...
maximfluieraru/crm-erp_Dolibarr
htdocs/bootstrap.js
JavaScript
gpl-3.0
1,141
webpackJsonp(["polyfills"],{ /***/ "../../../../../src/polyfills.ts": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_core_js_es6_reflect__ = __webpack_requ...
jellmaier/fablab-ticket
fl-app/dist/polyfills.bundle.js
JavaScript
gpl-3.0
216,725
/* * Copyright (c) 2011-2013 Lp digital system * * This file is part of BackBee. * * BackBee 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 l...
ndufreche/bb-core-js-dist
src/tb/apps/layout/controllers/test.controller.js
JavaScript
gpl-3.0
1,699
var mongoose = require('mongoose'); var bcrypt = require('bcrypt-nodejs'); var UserSchema = new mongoose.Schema({ email: {type: String, required: true, unique: true}, password: {type: String, required: true} }); UserSchema.pre('save', function(next) { var user = this; if(!user.isModified('password')) return n...
luizbag/notasfaceis
models/User.js
JavaScript
gpl-3.0
702
/* ************************************************************ Application configuration file ************************************************************ */ module.exports = { mongoDebug: false, mongoConString: 'mongodb://127.0.0.1/monadb_dev', port: 50066, perPage: 12 }
rvpanoz/mona
server/config.js
JavaScript
gpl-3.0
283
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: http://www.espocrm.com * * EspoCRM is free software: you can redistribute it and...
lucasmattos/crm
client/src/views/fields/enum-float.js
JavaScript
gpl-3.0
1,538
/** Añadir a la clase Array un método llamado sin() que permita filtrar los elementos del array original y obtenga un nuevo array con todos los valores diferentes al indicado: var array1 = [1, 2, 3, 4, 5]; var filtrado = array1.sin(4); // filtrado = [1, 2, 3, 5] @author Jesús Mejías Leiva */ { fun...
susomejias/susomejias.github.io
ejercicios/tema4/clases/ejercicio5/js/main.js
JavaScript
gpl-3.0
572
angular .module('GameScoresApp') .factory('GameDialog', function ($mdDialog, $state) { return function (leagueId, gameId, event) { $mdDialog.show({ controller: 'GameDialogCtrl', templateUrl: '/components/games/gamedialog.html', parent: angular....
gamescores/gamescores.info
context/client/components/games/gamedialog.ctrl.js
JavaScript
gpl-3.0
3,405
import React, { Component } from 'react'; export default class Form extends Component { constructor(props) { super(props); this.state = { username: props.username, email: props.email, firstName: props.firstName, lastName: props.lastNa...
Del7a/vehicle-finder
client/vehicle-finder-spa/src/components/profile/info.js
JavaScript
gpl-3.0
5,203
/* * Accio is a platform to launch computer science experiments. * Copyright (C) 2016-2018 Vincent Primault <v.primault@ucl.ac.uk> * * Accio 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...
privamov/accio
accio/node/fr/cnrs/liris/lumos/ui/components/toaster.js
JavaScript
gpl-3.0
941
$(document).ready(function() { $('.popup-gallery').magnificPopup({ delegate: 'a', type: 'image', cursor: 'mfp-zoom-out-cur', // other options closeOnContentClick: 'true' gallery: { enabled: true; } }); });
Phlum/Pixel-Emotes
minisite/magnific-popup/popups.js
JavaScript
gpl-3.0
245
var input=document.createElement('input'); input.type="file"; var objHtml; var cantidad_imagen = 6; //$(input).click(); $(function(){ $(input).change(function(e){ handleFileSelect(e); }); }); function uploadImage(obj){ objHtml = obj; $(input).click(); } function handleFileSelect(evt) { va...
icodesistemas/SpryCMS
Public/js/upload.js
JavaScript
gpl-3.0
5,818
/* * Copyright (C) 2016-2018 phantombot.tv * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
ScaniaTV/PhantomBot
javascript-source/lang/english/systems/systems-pollSystem.js
JavaScript
gpl-3.0
2,577
/** * URL utility methods * */ CommonExt.define( 'Common.utils.Url', { singleton: true, /** * This function creates a new anchor element and uses location * properties (inherent) to get the desired URL data. Some String * operations are used (to normalize results across browsers). * * Based on:...
lopezdonaque/CommonJS
src/utils/Url.js
JavaScript
gpl-3.0
1,593
var request = require('request'); var fs = require('fs'); // node:7.7-alpine request('http://www.gstatic.com/tv/thumb/tvbanners/10810505/p10810505_b_v8_aa.jpg').pipe(fs.createWriteStream('doodle.jpg'))
carlochess/uchuva
prototipo/utils/generadores/racket/src/nodejs/doodle.js
JavaScript
gpl-3.0
203
// Copyright 2014-2018, University of Colorado Boulder /** * Provides growth for sodium nitrate crystals. Works with IncrementalGrowth by giving it specific * information about seeding and creating sodium nitrate crystals * @author Sharfudeen Ashraf (for Ghent University) * @author Sam Reid (PhET Interactive Simul...
phetsims/sugar-and-salt-solutions
js/micro/model/sodiumnitrate/SodiumNitrateCrystalGrowth.js
JavaScript
gpl-3.0
4,046
/* * Copyright (C) 2011 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
cs-au-dk/Artemis
WebKit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js
JavaScript
gpl-3.0
17,746
var Shareabouts = Shareabouts || {}; (function(S, $, console){ S.AppView = Backbone.View.extend({ events: { 'click #add-place': 'onClickAddPlaceBtn', 'click .close-bttn': 'onClickClosePanelBtn' }, initialize: function(){ // Boodstrapped data from the page this.activities = this.op...
andrewxhill/shareabouts-cartodb
src/sa_web/static/js/views/app-view.js
JavaScript
gpl-3.0
9,292
describe("Test dyrektywy", function () { var mockScope; var compileService; beforeEach(angular.mock.module("exampleApp")); beforeEach(angular.mock.inject(function ($rootScope, $compile) { mockScope = $rootScope.$new(); compileService = $compile; mockScope.data = [ ...
madebyrogal/angular
doc/examples/Rozdzial25/tests/directiveTest.js
JavaScript
gpl-3.0
1,075
import { RoughPath, PathFitter, RoughArcConverter } from './path.js'; import { getFiller } from './fillers/filler'; const helper = { randOffset, randOffsetWithRange, ellipse, doubleLineOps }; export function line(x1, y1, x2, y2, o) { return { type: 'path', ops: _doubleLine(x1, y1, x2, y2, o) }; } ex...
wolfiex/DSMACC-testing
dsmacc/examples/DRmerge/node_modules/roughjs/bin/renderer.js
JavaScript
gpl-3.0
22,790
sheet={ } sheet.Clef={ BASS:0, TREBLE:1 } sheet.Format={ SHEET:0, TABLATURE:1 } noteOrder=["A", "A#", "B", "C", "C#", "D", "D#", "E", "E#", "F", "F#", "G", "G#"]; for(var i=0; i<13; i++) noteOrder.splice(0, i, noteOrder[i]+"m"); zephyrSong={ 1.25:{3:.25}, 1:{8:.25}, 1.5:{3:.25} } var sh...
SourceSlayer/Pitch-Perfect
pitchperfect/static/scripts/play-page.js
JavaScript
mpl-2.0
7,174
// **---- // Charts // **---- jQuery(document).ready(function($) { "use strict"; // Combine Flot Chart var combine_chart_data1 = [ [1, 600], [2, 500], [3, 400], [4, 600], [5, 800], [6, 1000], [7, 900], [8, 1000], [9, 1100], [1...
SoftwareFactoryUPC/ProjectTemplates
Web/NET/08_SignalR/SignalRChat/SignalRChat/Scripts/External/lib/charts.init.js
JavaScript
mpl-2.0
21,042
/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ var pm; // Create a principal based on the { origin, originAttributes }. function createPrincipal(aOrigin, aOriginAttributes) { return Services.scriptSecurityManager.createCodebasePrincipal(NetUtil.newURI(aOr...
Yukarumya/Yukarum-Redfoxes
extensions/cookie/test/unit/test_permmanager_cleardata.js
JavaScript
mpl-2.0
2,596
/* 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 { workerUtils } from "devtools-utils"; const { WorkerDispatcher } = workerUtils; const dispatc...
amitzur/debugger.html
src/workers/parser/index.js
JavaScript
mpl-2.0
1,647
/* Microformats Test Suite - Downloaded from github repo: microformats/tests version v0.1.24 Mocha integration test from: microformats-v2/h-review/hyperlink The test was built on Fri Sep 25 2015 13:26:26 GMT+0100 (BST) */ assert = chai.assert; describe('h-review', function() { var htmlFragment = "<a class=\"h-rev...
Yukarumya/Yukarum-Redfoxes
toolkit/components/microformats/test/standards-tests/mf-v2-h-review-hyperlink.js
JavaScript
mpl-2.0
1,018
'use strict'; var containerEl = byId('container'); var fpsEl = byId('fps'); var COLORS = { magenta: '#f27', green: '#ad3', blue: '#6de' }; // I guess we don't have window.innerWidth? var WIDTH = 1000; var HEIGHT = 1000; if (typeof NUM_PARTICLES === 'undefined') { var NUM_PARTICLES = 250; } var FRAMESKIP = ...
nerith/servo.org
bhtml-newtab/webrender-demos/evil_ad/physics/physics.js
JavaScript
mpl-2.0
3,256
exports.enabled = false; if (exports.enabled) { var http = require('http'); var server = require('../../libraries/hardwareInterfaces'); server.enableDeveloperUI(true); var SMTPServer = require('smtp-server').SMTPServer; var smtpServer = new SMTPServer({ onAuth: onSMTPAuth, onData:...
realityeditor/server
hardwareInterfaces/camera/index.js
JavaScript
mpl-2.0
4,884
/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; var helperEditData = [ { basename: "styles.css", path: "css/styles.css", newContent: "body,html { color: orange; }" }, { basename: "index.htm...
Yukarumya/Yukarum-Redfoxes
devtools/client/projecteditor/test/helper_edits.js
JavaScript
mpl-2.0
1,239
import { session, ipcMain, BrowserWindow } from 'electron' import fs from 'fs-extra' import { URL } from 'url' import { CR_EXTENSION_PROTOCOL } from 'shared/extensionApis' import { evtMain } from 'AppEvents' import { CRX_TABS_CREATE_FROM_BG_, CRX_BROWSER_ACTION_CREATE_FROM_BG_, CRX_OPTIONS_CREATE_FROM_BG_, CRX_...
wavebox/waveboxapp
classic/src/app/src/Extensions/Chrome/CRExtensionRuntime/CRExtensionBackgroundPage.js
JavaScript
mpl-2.0
17,423
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /*global pv_Mark:true, pvc_ValueLabelVar:true */ /* * Point panel. * Class that draws all line/dot/area combina...
afrjorge/ccc
package-res/ccc/plugin/point/point-plot-panel.js
JavaScript
mpl-2.0
32,599
var Book = require('../models/book'); var Author = require('../models/author'); var Genre = require('../models/genre'); var BookInstance = require('../models/bookinstance'); var async = require('async'); exports.index = function(req, res) { async.parallel({ book_count: function(callback) { Book.cou...
kimtaewoo8554/express-local-library
controllers/bookController.js
JavaScript
mpl-2.0
9,769
import React from 'react'; import PropTypes from 'prop-types'; import { ChipBackground, ChipText } from 'src/assets/style_constants.js'; import 'src/assets/styles/_chips.scss'; export default function Chip(props) { const url = props.url; let image = props.image; const textAltImage = props.textAltImage;...
max-su/max-su.github.io
src/components/Chip.js
JavaScript
mpl-2.0
986
/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; /** * Tests that the heap tree renders rows based on the display */ const TEST_URL = "http://example.com/browser/devtools/client/memory/test/browser/doc_steady_allocation.html"; const { viewStat...
Yukarumya/Yukarum-Redfoxes
devtools/client/memory/test/browser/browser_memory_displays_01.js
JavaScript
mpl-2.0
1,392
import Component from '@glimmer/component'; import { inject as service } from '@ember/service'; import { tracked } from '@glimmer/tracking'; import { action } from '@ember/object'; export default class JoinChannelIrcComponent extends Component { @service router; @service coms; @tracked channelName = ''; @act...
67P/hyperchannel
app/components/join-channel-irc/component.js
JavaScript
mpl-2.0
719
xhr = new XMLHttpRequest(); function action(o) { xhr.open("GET", "op.php?op="+o.id, true); xhr.send(); return false; }
PexMor/web-incron-demo
incron/web/script.js
JavaScript
mpl-2.0
132
var searchData= [ ['_5fle_5flog_5fgetresultcodestring',['_le_log_GetResultCodeString',['../le__log_8h.html#a9402d78fa0ea7040ec3574b227b639ca',1,'le_log.h']]], ['_5fle_5flog_5fmsg',['_LE_LOG_MSG',['../le__log_8h.html#a3e5304f08cf8d2be855a75a5ce133c2f',1,'le_log.h']]], ['_5fmessage_5ft',['_Message_t',['../struct___...
legatoproject/legato-docs
14_07/search/all_0.js
JavaScript
mpl-2.0
348
(function(joint, util, V, g) { function getAnchor(coords, view, magnet) { // take advantage of an existing logic inside of the // pin relative connection strategy var end = joint.connectionStrategies.pinRelative.call( this.paper, {}, view, mag...
gagaboy/joint
plugins/tools/joint.linkTools.js
JavaScript
mpl-2.0
35,328
/** * Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com> * * This file is licensed under the Affero General Public License version 3 * or later. * * See the COPYING-README file. * */ if (!OCA.Sharing) { /** * @namespace OCA.Sharing */ OCA.Sharing = {} } /** * @namespace */ OCA.Sharing.App = { ...
andreas-p/nextcloud-server
apps/files_sharing/js/app.js
JavaScript
agpl-3.0
12,127
// Load #1, load as little as possible because we are in a race to get the loading screen up. define([ '/bower_components/nthen/index.js', '/api/config', 'jquery', '/common/requireconfig.js', '/customize/messages.js', ], function (nThen, ApiConfig, $, RequireConfig, Messages) { var requireConfig...
xwiki-labs/cryptpad
www/common/onlyoffice/ooiframe.js
JavaScript
agpl-3.0
6,933
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":179,"id":248030,"methods":[{"el":70,"sc":2,"sl":68},{"el":141,"sc":2,"sl":72},{"el":158,"sc":2,"sl":143},{"el":178,"sc":2,"sl":160}],"name":"TransfersExampleSetGenerator","sl":50}]}...
cm-is-dog/rapidminer-studio-core
report/html/com/rapidminer/operator/generator/TransfersExampleSetGenerator.js
JavaScript
agpl-3.0
1,247
SeqResults.Project = DS.Model.extend({ });
nebiolabs/seq-results
app/assets/javascripts/models/project.js
JavaScript
agpl-3.0
42
/* This file is a part of libertysoil.org website Copyright (C) 2016 Loki Education (Social Enterprise) 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, o...
Lokiedu/libertysoil-site
src/components/update-picture/update-picture-form.js
JavaScript
agpl-3.0
3,501
import React from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' const ModalStyled = styled.div` display: ${props => !props.opened ? 'none' : 'block'}; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ left: 0; top: 0; width: 100%; ...
nossas/bonde-client
packages/bonde-styleguide/src/components/layout/Modal/Modal.js
JavaScript
agpl-3.0
1,638
const _ = require('lodash') const moment = require('moment') const { upgradeInitializer } = require('../utils/upgrade') const { Op } = require('sequelize') const { getBoundsOfDistance } = require('geolib') function generatePrepareQuery (form) { const prepareQuery = form.filterList return async function (api, { pa...
BspbOrg/smartbirds-server
server/initializers/formMethods.js
JavaScript
agpl-3.0
9,388
/* * DealPort * Copyright (c) 2015 DealPort B.V. * * This file is part of DealPort * * DealPort 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 of the License. * * DealPort is distr...
dealport/dealport
lib/view/vacancy/VacancyDetails.js
JavaScript
agpl-3.0
5,311
OC.L10N.register( "files_external", { "External storages" : "Külső tárolók", "Personal" : "Személyes", "System" : "Rendszer", "Grant access" : "Megadom a hozzáférést", "Error configuring OAuth1" : "OAuth1 konfigurálási hiba", "Please provide a valid app key and secret." : "Kérlek adj meg...
michaelletzgus/nextcloud-server
apps/files_external/l10n/hu.js
JavaScript
agpl-3.0
8,590
{ "metadata" : { "formatVersion" : 3.1, "sourceFile" : "Fruit.obj", "generatedBy" : "OBJConverter", "vertices" : 1320, "faces" : 1286, "normals" : 1286, "uvs" : 0, "materials" : 5 }, "materials": [ { ...
adaxi/freeciv-web
freeciv-web/src/main/webapp/3d-models/Fruit.js
JavaScript
agpl-3.0
1,670
"use strict"; const Botkit = require("botkit"); const http = require("http"); const API = require("./api.js"); if(!process.env.PORT || !process.env.SLACK_VERIFY_TOKEN || !process.env.CLIENT_ID || !process.env.CLIENT_SECRET){ console.error("Error: Specify PORT, SLACK_VERIFY_TOKEN, process.env.CLIENT_ID, and process...
raysarebest/xkcd-slack
slack.js
JavaScript
agpl-3.0
2,154
/* This file is a part of libertysoil.org website Copyright (C) 2015 Loki Education (Social Enterprise) 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, o...
Lokiedu/libertysoil-site
test/integration/api/post.js
JavaScript
agpl-3.0
21,855
define((require, exports, module)=>{ const Dom = require('koru/dom'); const Route = require('koru/ui/route'); const util = require('koru/util'); const User = require('models/user'); const App = require('ui/app'); const Tpl = Dom.newTemplate(module, re...
jacott/piki-scoreboard
app/ui/crud-page.js
JavaScript
agpl-3.0
3,223
import SPELLS from 'common/SPELLS'; import EventsNormalizer from 'Parser/Core/EventsNormalizer'; class EyeBeam extends EventsNormalizer { /** * The applybuff from demonic is logged before the cast of Eye Beam. * This normalizes events so that the Eye Beam applybuff always comes before the Meta Havoc buff * @para...
hasseboulen/WoWAnalyzer
src/Parser/DemonHunter/Havoc/Normalizers/EyeBeam.js
JavaScript
agpl-3.0
1,359
OC.L10N.register( "updatenotification", { "Update notifications" : "Päivitysilmoitukset", "Could not start updater, please try the manual update" : "Ei voitu aloittaa päivitystä, kokeile päivittämistä manuaalisesti", "{version} is available. Get more information on how to update." : "{version} on sa...
pixelipo/server
apps/updatenotification/l10n/fi.js
JavaScript
agpl-3.0
2,117
/*global window, Teavents, Blob, ReadiumSDK, readiumReady, $*/ "use strict"; var readiumReadyTest, isReadiumReady, handleMessage, openEpub, sendCurrentPageInfo, setFontSize, setTheme, themes, lastSpineHref, lastElementId; themes = { author: { backgroundColor: '', color: '' }, night: { ...
TEA-ebook/teabook-reader-ffox-app
app/js/reader/iframe.js
JavaScript
agpl-3.0
7,272
import {assert} from 'chai'; import {generateCSSRuleset, generateCSS} from '../src/generate'; describe('generateCSSRuleset', () => { const assertCSSRuleset = (selector, declarations, expected) => { const actual = generateCSSRuleset(selector, declarations); assert.equal(actual, expected.split('\n')...
ed1d1a8d/macweb
node_modules/react-images/node_modules/aphrodite/tests/generate_test.js
JavaScript
agpl-3.0
5,314
var home = (function() { var $form = $("#form"); var $likedDudes = $("#liked-dudes"); var arr = utils.storage.get("likes") || []; if (arr.length > 0) { for (var i = 0; i < arr.length; i++) { var dude = arr[i]; var span = $("<span />").addClass("photo").css("backgroun...
micklaw/Someone-Like
src/SomeoneLike.UI/Content/app/home/home.js
JavaScript
agpl-3.0
3,564
/*! * Ext JS Library 4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ /** * @class Ext.ux.desktop.Desktop * @extends Ext.panel.Panel * <p>This class manages the wallpaper, shortcuts and taskbar.</p> */ Ext.define('Ext.ux.desktop.Desktop', { extend: 'Ext.pa...
core-desktop/desktop
src/main/webapp/js/desktop/js/Desktop.js
JavaScript
agpl-3.0
18,118
/* * Copyright (C) 2016 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas 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 of the License. * * Canvas is distribut...
venturehive/canvas-lms
spec/javascripts/jsx/context_cards/RatingSpec.js
JavaScript
agpl-3.0
1,833
/** Encapsulate interactions with OpenAssessment XBlock handlers. **/ // Since the server is included by both LMS and Studio views, // skip loading it the second time. if (typeof OpenAssessment.Server == "undefined" || !OpenAssessment.Server) { /** Interface for server-side XBlock handlers. Args: ...
kursitet/edx-ora2
openassessment/xblock/static/js/src/oa_server.js
JavaScript
agpl-3.0
22,254
define(['lodash'], function(_) { 'use strict'; /** * Expire session on 401 server response */ AuthExpiredInterceptor.$inject = ['session', '$q', '$injector', '$rootScope', 'config', 'lodash']; function AuthExpiredInterceptor(session, $q, $injector, $rootScope, config, _) { function h...
liveblog/superdesk
client/app/scripts/superdesk/auth/auth-interceptor.js
JavaScript
agpl-3.0
1,471
(function() { 'use strict'; angular .module('columbyApp') .config(function ($stateProvider) { $stateProvider .state('dataset', { abstract: true, url: '/d', template: '<ui-view/>' }) .state('dataset.create', { url: '/create', templateUrl: 'views/d...
columby/www.columby.com
src/www/app/routes/dataset.route.js
JavaScript
agpl-3.0
1,447
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oParagraph, oParaPr; var oMyStyle = oDocument.CreateStyle("My document style"); oParaPr = oMyStyle.GetParaPr(); oParaPr.SetIndRight(2880); oParagraph = oDocument.GetElement(0); oParagraph.SetStyle(oMyStyle); oParagraph.AddText("This is the first paragra...
ONLYOFFICE/doc-builder-testing
asserts/js/docx/smoke/api_para_pr/set_ind_right.js
JavaScript
agpl-3.0
1,380
RemittanceDestinationAccountViewController = BaseViewController.extend( { el: '#remittance_destination_account_view_container', _required_files: ['APIRemittanceDestinationAccount', 'APICompany', 'APIUser', 'APIUserDefault', 'APIRemittanceSourceAccount', 'APILegalEntity', 'APICurrency'], status_array: null, type_a...
aydancoskun/fairness
interface/html5/views/employees/remittance_destination_account/RemittanceDestinationAccountViewController.js
JavaScript
agpl-3.0
29,489
$(document).ready(function() { exploracaoModel.fetch({ parse: true, success: function(){ showView.render(); wf.disabledWidgets(); }, error: function(){ window.location = Backbone.SIXHIARA.Config.urlSearch; } }); }); function idIsNotVal...
iCarto/utentes-ui
exploracao-show.js
JavaScript
agpl-3.0
974
function ViewVaccineOrderRequisitionController($scope,StockCards, $window, $rootScope, SupervisoryNodeByFacilityAndRequisition, VaccinePendingRequisitions, programs, $routeParams, facility, $location, messageService) { var program = programs; var facilit = facility; $scope.stockLoaded=false; StockCard...
kelvinmbwilo/open_elmis
modules/openlmis-web/src/main/webapp/public/js/vaccine/order-requisition/controller/view-vaccine-order-requisition-controller.js
JavaScript
agpl-3.0
9,314
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt" wn.module_page["Stock"] = [ { title: wn._("Documents"), top: true, icon: "icon-copy", items: [ { label: wn._("Item"), description: wn._("All Products or Services."), ...
saurabh6790/pow-app
stock/page/stock_home/stock_home.js
JavaScript
agpl-3.0
6,428
// from http://rikrikrik.com/js/jquery.shortkeys.js jQuery.fn.shortkeys = jQuery.fn.keys = function (obj, settings) { var el = this; this.settings = jQuery.extend({ split: "+", moreKeys: {} }, settings || {}); this.wackyKeys = { '.': 190, ',': 188, ';': 59, 'Space': 32 }; this.formElements = new Arr...
davidmoreno/behaviours
test/05-coronistest/src/shortcut.js
JavaScript
agpl-3.0
2,257
import colors from '../../../constants/colors' import { font } from '../constants/styles' import { gray } from './utils' import PropTypes from 'prop-types' import React, { PureComponent } from 'react' import styled from 'styled-components' const DepartmentName = styled.div` p { font-size: 14px; font-weight: ...
twreporter/twreporter-react
src/components/about-us/section-02/departments-name-list.js
JavaScript
agpl-3.0
1,558
/* * Buzz - The Social LMS (https://www.buzzlms.de) * © 2017 Dennis Schulmeister-Zimolong <dennis@pingu-mail.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 Free Software Foundation, either version 3 ...
DennisSchulmeister/buzz-light
src/screens/404.js
JavaScript
agpl-3.0
2,597
/** * @mixin */ var displayFormatBuilderMixin = { /** * Возвращает функцию форматирования значения * @see {@link http://docs.infinnity.ru/docs/Specifications/UserInterface/Components/TextEditorBase/TextEditorBase.setDisplayFormat/} * @param {String} displayFormat * @param {Object} params ...
InfinniPlatform/InfinniUI
app/elements/_base/_mixins/displayFormatBuilderMixin.js
JavaScript
agpl-3.0
1,535
angular.module('app').factory('appRRSchedules', [ 'appAnalytics', 'appRailroad', '$http', '$resource', '$routeParams', function (appAnalytics, appRailroad, $http, $resource, $routeParams) { function transform(data) { appRailroad.checkResponseData(data); var stationFrom = appRailroad.splitViaName($ro...
mattkenney/phillytrain
src/js/rrschedules.js
JavaScript
agpl-3.0
2,321
Ext.define('Desktop.store.WallpaperStore', { extend: 'Ext.data.Store', model: 'Desktop.model.Wallpaper', autoLoad: true });
Scuola247/Desktop
src/main/webapp/app/store/WallpaperStore.js
JavaScript
agpl-3.0
126
'use strict'; var fs = require( 'fs' ); var webdriver = require( 'selenium-webdriver' ); var chai = require( 'chai' ); var underscore = require( 'underscore' ); var cucumber = require( 'cucumber' ); var selectors = require( '../../helpers/selectors' ); var helpers = require( '../../helpers/helpers' ); var config = pr...
InfinniPlatform/InfinniUI-tests
features/support/world.js
JavaScript
agpl-3.0
4,529
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved. // // This software (Documize Community Edition) is licensed under // GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html // // You can operate outside the AGPL restrictions by purchasing // Documize Enterprise Edition and obtaining a comme...
documize/community
gui/app/pods/auth/logout/route.js
JavaScript
agpl-3.0
701
var table; $(document).ready(function() { table = $('table.table').DataTable( { fixedHeader: true, "paging": false, dom: 'Bfrtip', buttons: [ 'copy', 'csv', 'excel', 'pdf', { extend: 'print', customize: function ( win ) { ...
jasonblewis/sirius-web-reports
public/javascripts/datatablesdisplay.js
JavaScript
agpl-3.0
606
// today, our spec files use qunit without requiring it. That sort of sucks // for webpack. This adds a requirement for qunit to each spec file that's digested, // and adds "qunit." to module and test calls. Can be cleaned up later, but helps // us get off the ground running tests in webpack from day one. module.ex...
HotChalk/canvas-lms
frontend_build/qunitJsxDependencyLoader.js
JavaScript
agpl-3.0
1,989
Zotero.Feed = function(data, response){ Z.debug('Zotero.Feed', 3); this.title = ''; this.id = ''; this.totalResults = 0; this.apiVersion = null; this.links = {}; this.lastPageStart = null; this.lastPage = null; this.currentPage = null; this.updated = null; if(typeof data...
gunderjt/libZotero
lib/js/Feed.js
JavaScript
agpl-3.0
2,176
PrimeFaces.locales['de'] = { closeText : 'Schließen', prevText : 'Zurück', nextText : 'Weiter', currentText : 'Start', monthNames : [ 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' ], monthNamesShort : [ 'Jan', 'Feb', 'Mär', ...
phoenixctms/ctsms
web/src/main/webapp/resources/js/primefacesMessageProperties.js
JavaScript
lgpl-2.1
1,051
(function(window, $, undefined){ 'use strict'; var plugin = {}, type = 'input'; // plugin for mobile use (bigger and value/color display on top) plugin.mobile = { customBG: '#222', margin: '4px -2px 0', doRender: 'div div', preventFocus: true, animationSpeed: 0, // demo on how to make plugins... mo...
cainamreha/cwms
extLibs/jquery/color-picker/index.js
JavaScript
lgpl-2.1
20,153
/** * Declares instance variables. * * @constructor * * @class A class for running spell check. */ UI.Spell_Button = function() { var self = this; Util.OOP.inherits(self, UI.Button); this.image = 'spellCheck.gif'; this.title = 'Spell check (F7)'; this.click_listener = function() { self._spell_helper.open_di...
enaeseth/loki
js/UI.Spell_Button.js
JavaScript
lgpl-2.1
489
/* * Websock: high-performance binary WebSockets * Copyright (C) 2012 Joel Martin * Licensed under MPL 2.0 (see LICENSE.txt) * * Websock is similar to the standard WebSocket object but Websock * enables communication with raw TCP sockets (i.e. the binary stream) * via websockify. This is accomplished by base64 e...
ssdxiao/kimchi
ui/js/novnc/websock.js
JavaScript
lgpl-2.1
11,385
/* eslint-disable no-unused-vars,max-len */ import React, { useMemo } from 'react'; import SearchIcon from '@mui/icons-material/Search'; import IconButton from '@mui/material/IconButton'; import SvgIcon from '@mui/material/SvgIcon'; function SearchAndCreateIcon(props) { return ( <SvgIcon {...props}> <path ...
MetaSolutionsAB/rdforms
src/view/react/choiceEditors/ShowButton.js
JavaScript
lgpl-3.0
1,449