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 validatePostData from './validatePostData' describe('validatePostData', () => { var user, inGroup, notInGroup before(function () { inGroup = new Group({slug: 'foo', name: 'Foo', group_data_type: 1 }) notInGroup = new Group({slug: 'bar', name: 'Bar', group_data_type: 1 }) user = new User({name: ...
Hylozoic/hylo-node
api/models/post/validatePostData.test.js
JavaScript
agpl-3.0
2,258
MWF.APPDSMD = MWF.xApplication.query.StatementDesigner; MWF.APPDSMD.options = { "multitask": true, "executable": false }; MWF.xDesktop.requireApp("query.StatementDesigner", "Statement", null, false); MWF.xApplication.query.StatementDesigner.Main = new Class({ Extends: MWF.xApplication.Common.Main, Implements: [Opt...
o2oa/o2oa
o2web/source/x_component_query_StatementDesigner/Main.js
JavaScript
agpl-3.0
24,111
/** * This file is part of Superdesk. * * Copyright 2015 Sourcefabric z.u. and contributors. * * For the full copyright and license information, please see the * AUTHORS and LICENSE files distributed with this source code, or * at https://www.sourcefabric.org/superdesk/license */ (function() { 'use strict'; W...
amagdas/superdesk
client/app/scripts/superdesk-authoring/workqueue/workqueue.js
JavaScript
agpl-3.0
5,140
/* Unused, experimental code for adding project locations via * clickable google map_ */ var markers_position = []; var map; var geocoder = new google.maps.Geocoder(); var first = true; $(document).ready( function() { //change geolocate input value $('div.outer_map form input[type="...
InterActionNGO/NGO-admin
public/app/javascripts/backoffice/project_map.js
JavaScript
agpl-3.0
3,672
import _ from 'lodash' import Joi from 'joi' import { findOrCreateUserByProfile } from '../user-service' import request from 'request-promise' const schema = Joi.object({ clientId: Joi.string().required(), clientSecret: Joi.string().required(), }).required() exports.register = function (server, options, next)...
huitparfait/huitparfait
huitparfait-auth/src/providers/facebook.js
JavaScript
agpl-3.0
1,771
/*! jQuery UI - v1.11.0 - 2014-08-12 * http://jqueryui.com * Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs.js, tooltip.j...
oposso-team/oposso
layout/scripts/jquery-ui.js
JavaScript
agpl-3.0
418,655
//var socket = io.connect('http://localhost:8081'); //////////////////////////////////////////////////////////////Player design////////////////////////////////////////////////////////////// //$("#player_detect").css({ 'position': 'absolute','z-index': '10', 'background-color': 'green','height': '1.5%', 'width': '1%'...
necasjanz/Nelux-3d
interface/2dEnv.js
JavaScript
agpl-3.0
2,730
/******************************************************************************* Toutes les fonctions liées à la page pour le gestion des cadres des options, demande d'un nouveau texte… *******************************************************************************/ //cette fonction permet d'avoir un nouveau tex...
tazzon/dactylotest
dactylotest/js/functions_page_test.js
JavaScript
agpl-3.0
19,609
/*! * Bootstrap v4.0.0-beta (https://getbootstrap.com) * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript ...
fr3nchN/proactive
docs/js/bootstrap.js
JavaScript
agpl-3.0
111,393
var l_cache = SR.State.get('cache'); // language setting var l_lang = require('./language')('english'); SR.Callback.onStart(function () { }); var l_form = SR.State.get('FlexFormMap'); var l_accounts; SR.Callback.onStart(function () { l_form = SR.State.get('FlexFormMap'); l_accounts = SR.State.get('_accountMap'...
imonology/scalra
demo/lobby/router.js
JavaScript
agpl-3.0
2,280
// rhino.js // 2009-09-11 /* Copyright (c) 2002 Douglas Crockford (www.JSLint.com) Rhino Edition */ // This is the Rhino companion to fulljslint.js. /*global JSLINT */ /*jslint rhino: true, strict: false */ (function (a) { var e, i, input; if (!a[0]) { print("Usage: jslint.js file.js"); quit...
niavok/syj
scripts/rhino.js
JavaScript
agpl-3.0
1,212
jQuery(document).ready(function() { jQuery('ul:checkboxList("reservation, reservation_has_user_list")').addFilter(); jQuery.fn.inval = function(options) { var defaults = { attribute: 'id', expr: '' }; var opts = jQuery.extend(defaults, options); var result = $(this).attr(opts.attribute); result ...
islog/tempos
web/js/reservation-helper.js
JavaScript
agpl-3.0
4,042
if (typeof Mapmaker === 'undefined') Mapmaker = {}; Mapmaker.TopicMappingView = (function($, famous) { var Engine = famous.core.Engine; var Surface = famous.core.Surface; var ImageSurface = famous.surfaces.ImageSurface; var Modifier = famous.core.Modifier; var StateModifier = famous.modifiers.StateModifier; var ...
metamaps/mapmaker
lib/views/topicMappingView.js
JavaScript
agpl-3.0
6,105
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'clipboard', 'ug', { copy: 'كۆچۈر', copyError: 'تور كۆرگۈڭىزنىڭ بىخەتەرلىك تەڭشىكى تەھرىرلىگۈچنىڭ كۆچۈر مەشغۇلاتىنى ئۆزلۈكىدىن ئىجرا قىلىشىغا ...
afshinnj/php-mvc
assets/framework/ckeditor/plugins/clipboard/lang/ug.js
JavaScript
agpl-3.0
1,499
Registrants = new Meteor.Collection("registrants"); Registrants.allow({ // User must be logged in to register insert: function (userId, doc) { return !! userId; } }); Registrants.attachSchema(new SimpleSchema({ 'first_name' : { type: String, label: "First Name", max: 20...
quaker-io/pym-2015
both/collections/registrants.js
JavaScript
agpl-3.0
7,333
define(['handlebars', 'marked'], function(Handlebars, marked) { return function(value) { return new Handlebars.SafeString(marked(value)); }; });
grouan/udata
js/templates/helpers/md.js
JavaScript
agpl-3.0
163
/* Code for Life Copyright (C) 2016, Ocado Innovation Limited 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...
CelineBoudier/rapid-router
game/static/game/js/messages.js
JavaScript
agpl-3.0
2,408
import { Box } from './Box'; export const ColorBox = props => { const { color, ...rest } = props; return ( <Box inline width={2} height={2} lineHeight={2} color={color} backgroundColor={color} content="." {...rest} /> ); };
AnturK/-tg-station
tgui-next/packages/tgui/components/ColorBox.js
JavaScript
agpl-3.0
283
import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import SPECS from 'common/SPECS'; import { calculateSecondaryStatDefault, calculatePrimaryStat } from 'common/stats'; import { formatMilliseconds } from 'common/format'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Cor...
hasseboulen/WoWAnalyzer
src/Parser/Core/Modules/StatTracker.js
JavaScript
agpl-3.0
24,273
//==> //==> MessageBar helper function MessageBar() { this.show = function(className, text, interval, isHtml) { var id = "loadingWidget_" + className; if ($('#'+id).length == 0) $('<div id="'+id+'" class="messageBar"></div>').prependTo("body").click(function(){messageBar.hide(className)}); ...
d120/pyophase
ophasebase/static/ophasebase/js/helper.js
JavaScript
agpl-3.0
19,869
/* * log.js * * Copyright (C) 2009-13 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FITNESS FOR A PARTI...
ekergy/shiny-ekergy
lib/core/log.js
JavaScript
agpl-3.0
578
/* Copyright 2016 icasdri This file is part of PostMaker. PostMaker 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. PostMaker is di...
icasdri/PostMaker
workers/gmail.js
JavaScript
agpl-3.0
3,408
/** * Created by JetBrains PhpStorm. * User: JK * Date: 1/12/12 * Time: 10:04 AM */ (function () { tinymce.create("tinymce.plugins.fixed", { init:function (editor, url) { var color, classes; //get color color = editor.getParam("fixed_content_color", "y...
sysraj86/carnivalcrm
modules/Tours/js/tinymce/plugins/fixed/editor_plugin_src.js
JavaScript
agpl-3.0
1,366
(function() { 'use strict'; var DEFAULT_LIST_CONFIG = { 'priority': [ 'priority', 'urgency' ], 'firstLine': [ 'wordcount', 'slugline', 'highlights', 'headline', 'versioncreated' ], 'secon...
vladnicoara/superdesk-client-core
scripts/superdesk-search/react.js
JavaScript
agpl-3.0
81,717
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Alert } from 'react-bootstrap'; import { scanFile } from '../actions/fileActions'; import * as types from '../actions/ActionTypes'; class Notification extends React.Component { constructor(props) { su...
ComPlat/chemotion_ELN
app/packs/src/components/chemscanner/containers/NotificationContainer.js
JavaScript
agpl-3.0
1,582
/** * Created by mark.feder on 10/13/2015. */ (function (mw, $) { "use strict"; mw.KIVQApi = function (embedPlayer) { return this.init(embedPlayer); }; if (!(mw.KIVQApi.prototype = { bindPostfix: '.KIVQApi', init: function (embedPlayer) { var _this ...
joanpuigsanz/mwEmbed
modules/Quiz/resources/IVQApiCall.js
JavaScript
agpl-3.0
5,376
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'language', 'pt-br', { button: 'Configure o Idioma', remove: 'Remover Idioma' } );
afshinnj/php-mvc
assets/framework/ckeditor/plugins/language/lang/pt-br.js
JavaScript
agpl-3.0
284
Backbone.SIXHIARA = Backbone.SIXHIARA || {}; Backbone.SIXHIARA.ButtonSaveView = Backbone.View.extend({ events: { "click": "save" }, initialize: function() { this.$el.prop('disabled', true); this.listenTo(this.model, 'aChangeHappens', function(){ this.$el.prop('disabled'...
iCarto/utentes-ui
views/common/ButtonSaveView.js
JavaScript
agpl-3.0
1,314
MWF.xApplication.service = MWF.xApplication.service || {}; MWF.xApplication.service.ServiceManager = MWF.xApplication.service.ServiceManager || {}; MWF.xApplication.service.ServiceManager.options = { "multitask": false, "executable": true };
o2oa/o2oa
o2web/source/x_component_service_ServiceManager/package.js
JavaScript
agpl-3.0
249
/** * Node JS intro * * This step covers: * - bootstrap CSS * - rendering a form */ var express = require('express'); // create server var server = express(); server.get('/', function(req, res) { res.render(__dirname + '/views/form.jade'); }); // start server.listen(3000);
hiddentao/nodejs-intro
step12/index.js
JavaScript
agpl-3.0
293
class TreeView { constructor($dom, store, adapter) { this.store = store; this.adapter = adapter; this.$view = $dom.find('.octotree_treeview'); this.$tree = this.$view .find('.octotree_view_body') .on('click.jstree', '.jstree-open>a', ({target}) => { setTimeout(() => { thi...
crashbell/octotree
src/view.tree.js
JavaScript
agpl-3.0
5,983
/*! * jquery.fancytree.persist.js * * Persist tree status in cookiesRemove or highlight tree nodes, based on a filter. * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/) * * @depends: js-cookie or jquery-cookie * * Copyright (c) 2008-2020, Martin Wendt (https://wwWendt.de) * * R...
isard-vdi/isard
webapp/webapp/webapp/static/vendor/fancytree/dist/modules/jquery.fancytree.persist.js
JavaScript
agpl-3.0
13,835
/* * 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...
Seldaiendil/meyeOS
eyeos/extern/js/eyeos.dashboard.Widget.js
JavaScript
agpl-3.0
16,044
/** * Class responsible for display and drop patients to the pedigree tree nodes * * @class PatientDropLegend * @constructor */ define([ "pedigree/model/helpers" ], function( Helpers ){ var PatientDropLegend = Class.create( { initialize: function() { if (editor.isRe...
alexhenrie/phenotips
components/pedigree/resources/src/main/resources/pedigree/view/patientDropLegend.js
JavaScript
agpl-3.0
15,438
// Tradity.de Server // Copyright (C) 2016 Tradity.de Tech Team <tech@tradity.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 of the License, or // (at your optio...
tradity/tradity-server
access.js
JavaScript
agpl-3.0
5,699
/** * Module dependencies. */ const mongoose = require('mongoose'); const Schema = mongoose.Schema; /** * Support request Schema * * This collection serves as a backup for sent support requests */ const SupportRequestSchema = new Schema({ user: { type: Schema.ObjectId, ref: 'User', }, sent: { t...
Trustroots/trustroots
modules/support/server/models/support.server.model.js
JavaScript
agpl-3.0
663
//Selectively disables the "Submit" button for student logged assignments, if the //assignment has outcome levels and no outcome level is selected. var SelfGradeOutcomesSelect = document.querySelector("#grade_raw_points"); if(!SelfGradeOutcomesSelect) SelfGradeOutcomesSelect = document.querySelector("#grade_pass_fail...
UM-USElab/gradecraft-development
app/assets/javascripts/behaviors/self_grade_outcomes_select.js
JavaScript
agpl-3.0
726
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/Layer.js * @requires OpenLay...
B3Partners/geo-ov
src/main/webapp/openlayers/lib/OpenLayers/Layer/EventPane.js
JavaScript
agpl-3.0
14,713
define(function(require) { 'use strict'; var _ = require('underscore'); var Backbone = require('backbone'); var PrismBreakSimulation = require('models/simulation/prism-break'); var BendingLightSimView = require('views/sim'); var MediumControlsView = require('views/medium-contro...
Connexions/simulations
bending-light/src/js/views/sim/prism-break.js
JavaScript
agpl-3.0
3,295
/* 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/BalrogBattle_Easy.js
JavaScript
agpl-3.0
7,810
/* * This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later. * ...
vimsvarcode/elmis
modules/openlmis-web/src/main/webapp/public/js/admin/equipment/donors/controller/donors-list-controller.js
JavaScript
agpl-3.0
1,333
var searchData= [ ['editable',['editable',['../classBPSDebateView.html#a42784dfc74b99c528a9ee34357b27138',1,'BPSDebateView::editable()'],['../classFocusAndEditTextField.html#af9099a4508112eccd7f6b0aea8cd3970',1,'FocusAndEditTextField::editable()'],['../classOPDDebateView.html#abe79925c1c6e2c9cf8ed5bbdb37e5754',1,'OPD...
Stoeoef/ddt
doxygen/html/search/all_5.js
JavaScript
lgpl-2.1
529
Ext.define('MyDesktop.modules.pages.view.Pages', { extend: 'Ext.window.Window', requires: [ 'Ext.data.ArrayStore', 'Ext.util.Format', 'Ext.grid.Panel', 'Ext.grid.RowNumberer' ], width:900, height:480, animCollapse:false, cons...
Kolbaskin/yode-server
static/admin/modules/pages/view/Pages.js
JavaScript
lgpl-2.1
1,547
/** * SaxParser.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /*eslint max-depth:[2, 9] */ /** * This class parses HTML code using pure JavaScript and executes va...
adaptiffdesigns/tinymce
src/core/src/main/js/html/SaxParser.js
JavaScript
lgpl-2.1
16,743
/** edittable 选择人员插件 caratename:chenxihu caratetime:2014-04-06 21:40:00 email:admin@rockoa.com homepage:www.xh829.com */ (function ($) { function _getstyles(){ var s='<style>.changeuserlist div.listsss{padding:10px; background:white;border-bottom:1px #eeeeee solid;cursor:default}.changeuserlist di...
holmesian/xinhu-project
web/res/js/jquery-changeuser.js
JavaScript
lgpl-2.1
18,474
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2013 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @website http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php * @version 4.1.10 (2013-11-2...
tinfuChan/kindeditor
kindeditor.js
JavaScript
lgpl-2.1
162,683
// function fn_moveElement(elementID,finalX,finalY,interval){ // if (!document.getElementById && !document.getElementById("elementID")) { // return false; // } // var elem=document.getElementById(elementID); // var xPos=parseInt(elem.style.left); // var yPos=parseInt(elem.style.top); // if (xPos===finalX&&yPos=...
weixianpin/test
JavaScriptDOM编程艺术/chapter10/JS/positionMessage.js
JavaScript
lgpl-2.1
1,687
import React from 'react' import styles from './styles.scss' class FigureAnimate extends React.PureComponent { constructor (props) { super() this.state = { imgTransform: null } this.time = null } componentDidMount () { this.time = setTimeout(() => { this.setState({ imgTrans...
LightningVII/CSS3-Transform-Effect-Demo
src/components/FigureAnimate/index.js
JavaScript
lgpl-3.0
1,020
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["mt-MT"] = $.extend(true, {}, en, { name: "mt-MT", englishName: "Maltese (Malta)", nativeName: "Malti (Malta)", language: "mt", numb...
Kapinko/CJAF
lib/jquery/global/globinfo/jquery.glob.mt-MT.js
JavaScript
lgpl-3.0
1,735
var searchData= [ ['part_2ec',['part.c',['../part_8c.html',1,'']]], ['part_2eh',['part.h',['../part_8h.html',1,'']]], ['potential_2ec',['potential.c',['../potential_8c.html',1,'']]], ['potential_2eh',['potential.h',['../potential_8h.html',1,'']]], ['potential_5feval_2eh',['potential_eval.h',['../potential__ev...
stephanmg/mdcore
doc/html/search/files_70.js
JavaScript
lgpl-3.0
343
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of...
janjongboom/apf-demo
source/core/markup/xhtml/body.js
JavaScript
lgpl-3.0
1,443
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2012 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
sebastienhupin/qxrad
qooxdoo/application/demobrowser/source/class/demobrowser/demo/ui/CommandGroupManager.js
JavaScript
lgpl-3.0
3,778
var searchData= [ ['uint16',['UInt16',['../d8/d5b/class_hydro_couple_1_1_spatial_1_1_i_raster.html#ae3ea6483d22355c7d6b8aaa268359d57a266985b8569588028028a205c37798a4',1,'HydroCouple::Spatial::IRaster']]], ['uint32',['UInt32',['../d8/d5b/class_hydro_couple_1_1_spatial_1_1_i_raster.html#ae3ea6483d22355c7d6b8aaa268359...
HydroCouple/hydrocouple.github.io
hydrocoupledocs/html/search/enumvalues_f.js
JavaScript
lgpl-3.0
1,343
'use strict'; var gulp = require('gulp'), sass = require('gulp-sass'), concatCss = require('gulp-concat-css'), csso = require('gulp-csso'), concat = require('gulp-concat'), minifyjs = require('gulp-minify'), processhtml = require('gulp-processhtml'); gulp.task('s...
nirdizati/nirdizati-runtime
src/gulpfile.js
JavaScript
lgpl-3.0
1,192
var printCatalog = function() { print(catalog.crawlHeaderInfo); var schemas = catalog.schemas.toArray(); for ( var i = 0; i < schemas.length; i++) { print(schemas[i].fullName); var tables = catalog.getTables(schemas[i]).toArray(); for ( var j = 0; j < tables.length; j++) { print("o--> "...
ceharris/SchemaCrawler
schemacrawler-tools/src/test/resources/plaintextschema.js
JavaScript
lgpl-3.0
530
var express = require('express'); module.exports = function(){ var menu = global.beans.menu; var obj = {}; obj.router = express.Router(); obj.router.get('/index', function (req, res) { menu.find().toArray(function(err,doc){ if(err){ throw err; } res.json(doc); }); }); retu...
xausky/post-bar
rest/menu.js
JavaScript
lgpl-3.0
331
'use strict'; System.register(['./persistent-object', './persistent-data', './symbols'], function (_export, _context) { "use strict"; var PersistentObject, PersistentData, VERSION, _createClass, _get, configMap, Collection, CollectionFactory; function _classCallCheck(instance, Constructor) { if (!(instance...
trenneman/persistence
dist/system/collection.js
JavaScript
lgpl-3.0
7,498
var dir_1dfe7b4d98f7fbcbf3888d2e6eb0ed23 = [ [ "eventBus.hpp", "event_bus_8hpp_source.html", null ], [ "eventHandler.hpp", "event_handler_8hpp_source.html", null ], [ "observable.hpp", "observable_8hpp_source.html", null ], [ "observer.hpp", "observer_8hpp_source.html", null ] ];
vlachenal/anch-framework
docs/dir_1dfe7b4d98f7fbcbf3888d2e6eb0ed23.js
JavaScript
lgpl-3.0
296
import {Component, View, Inject} from 'app/app'; import 'components/contextselector/context-selector'; import {SELECTION_MODE_BOTH, SELECTION_MODE_IN_CONTEXT, SELECTION_MODE_WITHOUT_CONTEXT} from 'components/contextselector/context-selector'; import contextSelectorStubTemplate from 'context-selector.stub.html!text'; ...
SirmaITT/conservation-space-1.7.0
docker/sep-ui/sandbox/components/contextselector/context-selector.stub.js
JavaScript
lgpl-3.0
957
var searchData= [ ['generic_5ftype',['generic_type',['../structshyft_1_1time__axis_1_1generic__dt.html#a3251a243c6e09621bc1fd0102cd2ec0e',1,'shyft::time_axis::generic_dt']]] ];
statkraft/shyft-doc
core/html/search/enums_2.js
JavaScript
lgpl-3.0
179
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program 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...
Builders-SonarSource/sonarqube-bis
server/sonar-web/src/main/js/apps/custom-measures/header-view.js
JavaScript
lgpl-3.0
1,367
/** * Copyright (c) 2009 - 2010 Chris Leonello * jqPlot is currently available for use in all personal or commercial projects * under both the MIT and GPL version 2.0 licenses. This means that you can * choose the license that best suits your project and use it accordingly. * * The author would appreciate an e...
ninetwentyfour/Homkora
app/webroot/js/jqplot/src/plugins/jqplot.ciParser.js
JavaScript
unlicense
3,574
/** * Karp Server. * * @author James Koval & Friends <https://github.com/jakl/karp> * @license MIT? * @version 2 * * :shipit: */ "use strict"; // Pollyfil object.values because heroku is running old node.js var reduce = Function.bind.call(Function.call, Array.prototype.reduce); var isEnumerable = Function.bin...
jakl/karp
index.js
JavaScript
unlicense
11,128
var Db = require('../lib/mongodb').Db, Connection = require('../lib/mongodb').Connection, Server = require('../lib/mongodb').Server; var host = process.env['MONGO_NODE_DRIVER_HOST'] != null ? process.env['MONGO_NODE_DRIVER_HOST'] : 'localhost'; var port = process.env['MONGO_NODE_DRIVER_PORT'] != null ? process.e...
luizesramos/learning
web-auth/node_modules/mongodb/examples/queries.js
JavaScript
unlicense
5,240
'use strict'; var module = angular.module('librarium'); module.controller('GamesList', function ($scope, $resource, GamesRESTService) { $scope.breadcrumb = [ { url: 'games', name: 'Games' } ]; $scope.myData = GamesRESTService.getAllGames().query(); $scope.gr...
Normegil/Librarium-AngularJS
app/scripts/controllers/GamesList.js
JavaScript
unlicense
355
/* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy ...
MrChip/FlowerShop
ShopFlower.Web/App_Themes/themes/FlowerShop/js/cart-summary.js
JavaScript
unlicense
33,008
"use strict"; const angular = require("angular"); require("angular-sanitize"); const app = require("angular").module("app", ["ngSanitize"]); require("./factories"); require("./controllers"); require("./services");
jadaradix/jam
src/js/index.js
JavaScript
unlicense
216
function printError(error) { console.error(`Error: ${error.message}`); } function printMessage(username, badgeCount, points) { const message = `${username} has ${badgeCount} total badge(s) and ${points} points in JavaScript`; console.log(message); } module.exports.printError = printError; module.exports.printMess...
davejlin/treehouse
node/Badge Count/printUtils.js
JavaScript
unlicense
339
//@flow import React, {Component, PropTypes} from 'react'; import { Button, Checkbox, Col, ControlLabel, DropdownButton, Form, FormControl, FormGroup, MenuItem, Modal, } from 'react-bootstrap'; import {connect} from 'react-redux'; import { ArrayToFuncSet, FuncSetToArray, LoadFuncSets, Save...
kevinfrei/rollercoaster
src/FileDialog.js
JavaScript
unlicense
7,990
var namespaceorg_1_1onosproject_1_1store_1_1ecmap = [ [ "AntiEntropyAdvertisement< K >", "classorg_1_1onosproject_1_1store_1_1ecmap_1_1AntiEntropyAdvertisement_3_01K_01_4.html", "classorg_1_1onosproject_1_1store_1_1ecmap_1_1AntiEntropyAdvertisement_3_01K_01_4" ], [ "EventuallyConsistentMapBuilderImpl< K, V >", ...
onosfw/apis
onos/apis/namespaceorg_1_1onosproject_1_1store_1_1ecmap.js
JavaScript
apache-2.0
1,295
import template from './error.html'; import controller from './error.controller'; import './error.scss'; let ErrorComponent = function () { return { restrict: 'E', scope: {}, template, controller, controllerAs: 'vm', bindToController: true, params:{errors:{value:''}} }; }; export defau...
i-van/angular-webpack-starter
app/components/error/error.component.js
JavaScript
apache-2.0
339
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
madmax983/aura
aura-components/src/main/components/ui/inputSelect/inputSelectHelper.js
JavaScript
apache-2.0
18,634
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var index_1 = require("./index"); var express = require("express"); var jwt = require("jsonwebtoken"); var cors = require("cors"); var app = express(); app.use(cors()); var mountpoint = '/'; var prefix = ''; var options = {}; if (!process.env....
dottgonzo/express-media-files
server.js
JavaScript
apache-2.0
1,391
var data_cost = []; //Kosten function createHistoryCostChart(){ var margin = {top: 60, right: 20, bottom: 120, left: 200}, width = 1160 - margin.right, height = 500 - margin.top - margin.bottom; var x,y,z,xAxis,yAxis,area_pos,area_neg,chart; // chart Kosten x = d3.scaleTime().r...
SES-fortiss/SmartGridCoSimulation
javascript/memapScenarioFortiss/memap_d3/js/charts/history_cost_chart.js
JavaScript
apache-2.0
5,644
'use strict'; angular.module('fireUser', ['firebase','ui.router']) .constant('FireUserDefault', { redirectPath:'/', dataLocation:'data', userData:'user', routing: false, routeAccess: 'private', routeRedirect: 'login' }) .service('FireUserValues',['FireUserDefault','FireUserConfig',function (FireUserDefault...
fondfrukt/Feeds
js/side/FireUser.js
JavaScript
apache-2.0
9,536
var User = require('./User') class Parent extends User { constructor( id, first_name, last_name, phone, active, ak_access_token, ak_user_id, ak_token_refresh_interval_sec, ak_token_last_renewed_timestamp, last_login_timestamp, created_on_timestamp, member_since_timesta...
floodfx/gma-village
data-model/src/Parent.js
JavaScript
apache-2.0
1,073
var express = require('express'); //var db = require('../db'); var assert = require('assert'); var mongoose = require('mongoose'); var User = require('../schemas/User'); var Challenge = require('../schemas/Challenge'); var Version = require('../schemas/Version'); var ObjectId = require('mongoose').Types.ObjectId; var...
gnufsociety/openchallenge
server/routes/api.js
JavaScript
apache-2.0
17,448
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
stdlib-js/stdlib
lib/node_modules/@stdlib/random/streams/poisson/test/test.main.js
JavaScript
apache-2.0
21,863
var User = require('../source/models/User').model; var mongoose = require('../lib/mongoose'); var logger = require('../lib/logging').logger; var list = require('./mocks/users'); exports.testAddUser = function(test){ var length = list.length; for(var i=0; i<length; i++){ var item = list[i]; logg...
tomatolabs/frankon
test/user.js
JavaScript
apache-2.0
976
// @flow /** * Selector to return lobby enable state. * * @param {any} state - State object. * @returns {boolean} */ export function getLobbyEnabled(state: any) { return state['features/lobby'].lobbyEnabled; } /** * Selector to return a list of knocking participants. * * @param {any} state - State object. * @retu...
gpolitis/jitsi-meet
react/features/lobby/functions.js
JavaScript
apache-2.0
930
/* define(['angular','angularMocks', 'app/app'], function (angular, mocks) { describe('MainCtrl', function () { var $scope, ctrl; beforeEach(module('myApp')) beforeEach(inject(function ($controller, $rootScope) { $scope = $rootScope.$new(); ctrl = $controller('MainCtrl', { '$scope'...
jeremydmiller/Postgres.Projections
test/MainCtrlSpec.js
JavaScript
apache-2.0
456
/** * Copyright 2011 Microsoft Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
egamma/azure-sdk-for-node
test/serviceruntime/runtimeversionmanager-tests.js
JavaScript
apache-2.0
2,285
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
stdlib-js/stdlib
lib/node_modules/@stdlib/array/int16/benchmark/benchmark.sort.length.js
JavaScript
apache-2.0
2,057
/** * @version: 1.0.1 * @author: Dan Grossman http://www.dangrossman.info/ * @date: 2012-08-20 * @copyright: Copyright (c) 2012 Dan Grossman. All rights reserved. * @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0 * @website: http://www.improvely.com/ */ !function ($) { ...
healerkx/AdminBuildr
www/view/media/js/daterangepicker.js
JavaScript
apache-2.0
21,817
//Server settings for android push notifications with node-gcm // Load modules var express = require('express'); var gcm = require('node-gcm'); // The apiKey of your project on FCM var app = express(); //var apiKey = "AAAAjo8JDg0:APA91bEkbzZbEgR7eXY1jKgmJZhoW3GaNmRYf5yICNQQEOcaHxZuYtOKLNSK98T9aFAiUpkLUukldgsYDPBvVcEW...
parmantolab/ionic-push-notification-wrapper
server/gcmservice.js
JavaScript
apache-2.0
7,393
const { dest, series, src, symlink } = require('gulp'); const del = require('del'); const inject = require('gulp-inject'); const map = require('map-stream') const path = require('path'); const rename = require('gulp-rename'); const sort = require('gulp-sort'); function deleteSymlinks() { return del(['components/mo...
kevinearls/camel
docs/gulpfile.js
JavaScript
apache-2.0
2,100
//>>built define("dojox/drawing/util/typeset",["../library/greek"],function(c){return{convertHTML:function(b){return b?b.replace(/&([^;]+);/g,function(b,a){if("#"==a.charAt(0)){var d=+a.substr(1);if(!isNaN(d))return String.fromCharCode(d)}else if(c[a])return String.fromCharCode(c[a]);console.warn("no HTML conversion fo...
Caspar12/zh.sw
zh.web.site.admin/src/main/resources/static/js/dojo/dojox/drawing/util/typeset.js
JavaScript
apache-2.0
736
import React from "react" import List from "@material-ui/core/List" import ListItem from "@material-ui/core/ListItem" import { Article, Header } from "muy" import Typography from "@material-ui/core/Typography" import { ListItemText } from "@material-ui/core" import Link from "@material-ui/core/Link" export default () ...
educodar/educodar.github.io
src/pages/quero-aprender/sucesso.js
JavaScript
apache-2.0
1,190
"use strict"; var chai = require('chai'); var expect = chai.expect; describe('templates with boolean, 0, or "" default values', function () { var bbj2j = require('../index'); var j2j = bbj2j.instance(); it('default: false', function () { var template = { content: { id...
amida-tech/jsonapter
test/test-boolean-default.js
JavaScript
apache-2.0
2,298
/** * This file is part of the Nodium core package * * (c) Niko van Meurs & Sid Mijnders * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * @author Niko van Meurs <nikovanmeurs@gmail.com> */ (function (context, undefined) { ...
nodium/core
js/namespace/use.js
JavaScript
apache-2.0
772
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
google/eslint-closure
packages/eslint-plugin-closure/lib/rules/inline-comment-spacing.js
JavaScript
apache-2.0
3,337
/** * ueditor完整配置项 * 可以在这里配置整个编辑器的特性 */ /**************************提示******************************** * 所有被注释的配置项均为UEditor默认值。 * 修改默认配置请首先确保已经完全明确该参数的真实用途。 * 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。 * 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。 **************************提示***************...
mnzero/Sdut-jsj-OA
src/main/webapp/plugins/UEditor/ueditor.config.js
JavaScript
apache-2.0
23,150
// Copyright 2010 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
adambyram/bite-project-mod
tools/rpf/extension/src/libs/settingdialog.js
JavaScript
apache-2.0
8,888
/** * This script is a demonstration of how you can use a basic spritesheet. This covers loading of spritesheets and changing the cell gameobjects will use. **/ var Spritesheets = new Kiwi.State('Spritesheets'); Spritesheets.preload = function () { //Just making the stage smaller this.game.stage.resize(800, 25...
dfu23/swim-meet
lib/kiwi.js/examples/Introduction/Spritesheets.js
JavaScript
apache-2.0
1,998
import React from 'react'; import { Box, Button, CheckBox, FileInput, Form, FormField, Grommet, RadioButtonGroup, RangeInput, Select, TextArea, } from 'grommet'; import { grommet } from 'grommet/themes'; export const FieldWithComponentProp = () => ( <Grommet full theme={grommet}> <Box fill...
HewlettPackard/grommet
src/js/components/Form/stories/FieldWithComponentProp.js
JavaScript
apache-2.0
2,735
'use strict'; var DEFAULT_ICON_SIZE = 22; // px var SUPPORTED_TYPES = ['Link', 'Text', 'Widget']; var Annotation = (function AnnotationClosure() { // // 12.5.5: Algorithm: Appearance streams // function getTransformMatrix(rect, bbox, matrix) { // var bounds = Util.getAxialAlignedBoundingBox(bbox, matrix); // ...
luisvt/jsparser
bin/sample.js
JavaScript
apache-2.0
20,493
// SmoothScroll v1.2.1 // Licensed under the terms of the MIT license. // People involved // - Balazs Galambosi (maintainer) // - Patrick Brunner (original idea) // - Michael Herf (Pulse Algorithm) // - Justin Force (Resurect) if (navigator.appVersion.indexOf("Mac") == -1) { // Scroll Variables (tweakab...
cmuhirwa/uplus
casual/vendors/smooth-scroll/SmoothScroll.js
JavaScript
apache-2.0
12,102
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import firebase from 'firebase'; import ReduxThunk from 'redux-thunk'; import reducers from './src/reducers'; // import LoginForm from './src/components/LoginForm'; import Router from ...
parammehta/TravLendar
mobile/mock ups/manager/App.js
JavaScript
apache-2.0
958
$(function() { var currentPhone = null; $("#input_submit").click(function() { var phone = $("#input_phone").val(); currentPhone = phone; load(phone); loadUserLocation(phone); $("#imageDiv1 div").empty().append("<img src='api/graphic/orignaggregation/" + phone + "' width='1200' height='600'>"); $("#image...
pqpo/polaris.framework
org.polaris.framework.debug/webcontent/debug/js/location.js
JavaScript
apache-2.0
3,110
// Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed un...
fkaempfer/couchdb
test/javascript/tests/coffee.js
JavaScript
apache-2.0
2,030