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
/* * Electronic Logistics Management Information System (eLMIS) is a supply chain management system for health commodities in a developing country setting. * * Copyright (C) 2015 John Snow, Inc (JSI). This program was produced for the U.S. Agency for International Development (USAID). It was prepared under the USAI...
USAID-DELIVER-PROJECT/elmis
modules/openlmis-web/src/main/webapp/public/js/dashboard/controller/send-notification-controller.js
JavaScript
agpl-3.0
12,495
/* * Inspects the environment for global variables. * * On some platforms- particularly some userscript engines- the global this * object !== window, and the two may have significantly different properties. */ function find_global(name) { return _global_this[name] || window[name] || undefined; } // Try to foo...
ILikePizza555/BPM-for-Discord
addon/bpm-utils.js
JavaScript
agpl-3.0
13,577
/* * Copyright (C) 2011 - 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
app/jsx/bundles/course_settings.js
JavaScript
agpl-3.0
2,247
/*========================================================================================= File Name: sweet-alerts.js Description: A beautiful replacement for javascript alerts ---------------------------------------------------------------------------------------- Item Name: Stack - Responsive Admin Theme Versio...
Zahajamaan/Fudulbank
core/static/stack/js/scripts/extensions/sweet-alerts.js
JavaScript
agpl-3.0
6,313
(function() { 'use strict'; angular.module('app.components') .factory('user', user); user.$inject = ['accountsAPI']; function user(Restangular) { var service = { createUser: createUser, getUser: getUser, updateUser: updateUser }; return service; ////////////...
OrganicityEu-Platform/organicity-urban-data-observatory
src/app/core/api/user.service.js
JavaScript
agpl-3.0
643
const React = require('react') import TeamCard from './TeamCard' import UserCard from './UserCard' const {Paper} = require('material-ui') /** * Container for UserCard or TeamCard */ class RightPanelCard extends React.Component{ render(){ let content; const item = this.props.item || {}; ...
ChuckDaniels87/pydio-core
core/src/plugins/gui.ajax/res/js/ui/Components/users/addressbook/RightPanelCard.js
JavaScript
agpl-3.0
1,232
/** * Copyright 2015 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of fiware-tidoop (FI-WARE project). * * fiware-tidoop 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 v...
ffr4nz/fiware-cosmos
cosmos-gui/test/node/mysql_driver_test.js
JavaScript
agpl-3.0
4,045
// CustomFormView.js function CustomFormView(theName, theCaption, theURL) { // inherit from DocumentView to make this object a View inheritFrom(this, new DocumentView(theName,theCaption,theURL)); this.getClassName = function() { return "CustomFormView"; } //private instance variables var self = this; var logg...
ZsZs/ProcessPuzzleFramework
Implementation/WebTier/WebContent/Commons/JavaScript/DocumentManager/CustomFormView.js
JavaScript
agpl-3.0
726
/** * Wrapper class to provide color picker support. Constructing a new object does not * guarantee the picker to be ready at the time of call. * * @author Alexander Ebert * @copyright 2001-2017 WoltLab GmbH * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>...
joshuaruesweg/WCF
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Color/Picker.js
JavaScript
lgpl-2.1
2,299
function rename (el, elType) { var dialog = $('#dialog-rename'); var label = $(el).find('span.label').html(); var message = 'Current ' + elType + ' name is: <b>' + label + '</b><br /><br />'; dialog.removeClass('hidden').addClass('visible'); dialog.find('p').html(message); dialog.find('input').a...
SmartJog/webengine-workflow
medias/js/workflow_admin.js
JavaScript
lgpl-2.1
6,584
/* PureJavascript version 2.d */ /* * PureJavacript, APIServer.js * * Copyright 2014 - 2017, CrossAdaptive * * License LGPL v2 */ APIServer = Resolve; function Resolve() { var base_domain = Resolve.ExtractBaseDomain( location.hostname ); var dom = ""; var http_port = Resolve.httpPort ? Re...
danielbradley/PureJavascript
archive/js/purejavascript/purejavascript-2.d.js
JavaScript
lgpl-2.1
97,425
/** * 애니메이션 부모 클래스 * * @class * @extends collie.Component * @param {Function} fCallback 타이머 콜백 함수 * @param {Number} nDuration 타이머 실행 시간, 지연 시간 (ms) * @param {Object} htOption 설정 * @param {Boolean} htOption.useAutoStart TimerList에 추가될 때 자동으로 시작 된다 * @param {Function} [htOption.on이벤트명] onComplete와 같이 이...
davidshimjs/jaguarjs
src/timer/Animation.js
JavaScript
lgpl-2.1
7,976
/** * Copyright (C) 2009 eXo Platform SAS. * * 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 * the License, or (at your option) any later version. * * This softwar...
anishantony123/gatein_36
gatein/gatein.ear/eXoResources.war/javascript/eXo/core/DragDrop.js
JavaScript
lgpl-2.1
3,339
(function(scope) { 'use strict'; /** * ... * @author R Colvin */ ///var scope;// SAME AS static dynamic var function WBoard(id, color ) { this.Container_constructor(); this.id=this.name=id; this.color = color; this.layers= new Object(); this.controller =null; this.currentTab=0; this.allTabs={};...
astro44/FreeDraw
older_v/src/js/wbBoard.js
JavaScript
lgpl-2.1
16,472
/** * Yepnope preload prefix * * Use the preload! modifier to cache content but not execute it * Usage: ['preload!asset.js'] * * Official Yepnope Plugin * * WTFPL License * * by Alex Sexton | AlexSexton@gmail.com */ yepnope.addPrefix( 'preload', function ( resource ) { resource.noexec = true; return res...
cainamreha/cwms
extLibs/yepnope/prefixes/yepnope.preload.js
JavaScript
lgpl-2.1
330
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, data: countryData, fields:[ {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png"}, {name:"countryName", title:"Country"}, {name:"cap...
kylemwhite/isc
isomorphic_11.1p/system/reference/inlineExamples/grids/dataOperations/localUpdate.js
JavaScript
lgpl-3.0
934
var dir_80b9d1904e91980f31b96d93d116dc92 = [ [ "src", "dir_55b47d3c2725462d00ce0930d79c8098.html", "dir_55b47d3c2725462d00ce0930d79c8098" ] ];
Wmaxlees/jarvis-os
Documentation/html/dir_80b9d1904e91980f31b96d93d116dc92.js
JavaScript
lgpl-3.0
146
var Collection, WebSQLDb, async, compileSort, doNothing, processFind, utils, _; _ = require('lodash'); async = require('async'); utils = require('./utils'); processFind = require('./utils').processFind; compileSort = require('./selector').compileSort; doNothing = function() {}; module.exports = WebSQLDb = (funct...
codeschool/minimongo
lib/WebSQLDb.js
JavaScript
lgpl-3.0
15,091
'use strict'; const { tag_book_mark_service, } = require('../services'); const { init_puppeteer_step, login_step, navigate_to_profile_step, navigate_to_post_step, } = require('../steps'); const auth = require('../auth'); const user_to_get_tags_from = ''; (async () => { await init_puppetee...
Akrobate/instatistica
sequences/generate-tag-list-from-own-profile.js
JavaScript
lgpl-3.0
956
/* * JavaScript Document * @author Amin Ghadersohi * @date 2012-4-27 * * the panel for adding data to a chart in the usage explorer */ CCR.xdmod.ui.AddDataPanel = function (config) { CCR.xdmod.ui.AddDataPanel.superclass.constructor.call(this, config); }; // CCR.xdmod.ui.AddDataPanel Ext.apply(CCR...
jeid64/xdmod
html/gui/js/AddDataPanel.js
JavaScript
lgpl-3.0
29,297
var searchData= [ ['log_5flevel_5fdebug',['LOG_LEVEL_DEBUG',['../_debug_logging_8h.html#ab78f259a98092790c2c3280610b7838f',1,'DebugLogging.h']]] ];
dac1976/CoreLibrary
docs/html/search/variables_4.js
JavaScript
lgpl-3.0
150
var GameModel = require('../models/game').Game; var helpers = require('../helpers/helpers'); var cookie = require('cookie'); module.exports = function (io) { io.sockets.on('connection', function (client) { var clientCookies = client.handshake.headers.cookie; var clientSessionCookie = cookie.parse(c...
thecatontheflat/agile-estimation
routes/sockets.js
JavaScript
lgpl-3.0
3,690
'use strict'; var api = require('../index'); var expect = require('expect'); var config = require('tiny-conf'); config.merge(require('./config.json')); describe('Refresh test', function () { this.timeout(2000); beforeEach(function () { return api.auth({ login: 'kevoree', password: 'kevoree' ...
kevoree/kevoree-js-registry-api
test/refresh.js
JavaScript
lgpl-3.0
829
var class_mesh_info_v_o = [ [ "MeshInfoVO", "dd/d2b/class_mesh_info_v_o.html#afe2d8a9830ec908b600090dc212838cb", null ], [ "clear", "dd/d2b/class_mesh_info_v_o.html#ac654ec77dcb43760be93d6deed1ae72f", null ], [ "getBoundaryNameList", "dd/d2b/class_mesh_info_v_o.html#a22d9df6fdd5f31aa190cc5044b992af3", null ...
bbiped-platform/BBIPED
doc/html/dd/d2b/class_mesh_info_v_o.js
JavaScript
lgpl-3.0
2,166
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2011 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
sebastienhupin/qxrad
qooxdoo/framework/source/class/qx/ui/mobile/layout/Abstract.js
JavaScript
lgpl-3.0
7,740
module.exports = function(req, res, next) { if (req.query.token) { var found = _.find(sails.config.sharedTokens, function (item) { return item.token == req.query.token; }); if (found) { return next(); } } return res.forbidden("Unauthorized"); };
opendream/sicksense
api/policies/sharedToken.js
JavaScript
lgpl-3.0
283
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } __export(require("./topnav/index")); __export(require("./sidebar/index")); __export(require("./name-list/index")); __export(require("./config/env.config")); //# sourceMappingURL=data:application/json;charset=...
develnk/irbispanel
admin/dist/dev/app/shared/index.js
JavaScript
lgpl-3.0
897
/** * Copyright (C) 2005-2016 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at ...
jphuynh/Aikau
aikau/src/test/resources/alfresco/forms/controls/MultiSelectInputTest.js
JavaScript
lgpl-3.0
35,693
var searchData= [ ['read_5fregister',['read_register',['../classmemoryoracle_1_1frame_1_1Frame.html#ad5bb885a0accba9ff8f15c6b0e51bfc4',1,'memoryoracle::frame::Frame']]], ['read_5fvar',['read_var',['../classmemoryoracle_1_1frame_1_1Frame.html#ae54a6f6a355f6bb63162d2a78a761c30',1,'memoryoracle::frame::Frame']]], ['...
daniel-noland/MemoryOracle
doc/html/search/functions_e.js
JavaScript
lgpl-3.0
698
/*global define,module*/ /** * ServerInfo module * @module ServerInfo * @see module:ServerInfo */ (function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define([], factory); } else if (typeof exports === 'object') { // Node. Does not work wi...
WSDOT-GIS/arcgis-server-data-connection-logger
ArcGisServerDataConnectionsWebsite/Script/ServerInfo.js
JavaScript
unlicense
4,063
// Fetched from channel: release, with url http://builds.emberjs.com/beta/ember-data.js // Fetched on: 2014-02-12T08:10:50Z /*! * @overview Ember Data * @copyright Copyright 2011-2014 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see li...
pmcguane/photo
vendor/assets/ember/development/ember-data.js
JavaScript
unlicense
281,081
#ifndef __UTIL_TEST_JS__ #define __UTIL_TEST_JS__ #include "main/js/PuzzleCode/util.js" /******************************************************************************/ TEST = "PuzzleCode.newMatrix" var cases = [ { width: 3, height: 2, defaultValue: "a", expectedOutput: [["a", "a"], ["a", "a"], ["a", "a"]] ...
mikegagnon/puzzlecode-2
src/test/js/PuzzleCode/util_test.js
JavaScript
unlicense
490
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
sandalsoft/steamlib
node_modules/evernote/evernote-sdk-js/evernote/node/client.js
JavaScript
unlicense
7,133
(function (Global, undefined) { "use strict"; /** * Functions to access fragments: superclass for Document and Doc (from Group), not supposed to be created directly * @constructor */ function WithFragments() {} WithFragments.prototype = { /** * Gets the fragment in the...
idrawro/idrawro.github.io
bower_components/prismic.io/src/documents.js
JavaScript
unlicense
21,948
var net = require('net') var cp = require('child_process') var connected = false var retries = 0 var maxRetries = 3 function connect () { var client = net.connect('/tmp/heartbeat.sock', function () { connected = true console.log('connected.') }) client.on('error', function (err) { connected = false...
bitstopco/lamassu-machine-old
lib/reaper.js
JavaScript
unlicense
858
import { REFERENCES, INTEGER } from 'gen/types' const breakline = ` ` const column = (orm, { columns }, field, type, notNull, defaultValue) => { let setNull = '' let defaultVal = '' if (notNull) setNull = ' NOT NULL' if (defaultValue !== undefined) { defaultVal = ['boolean', 'number', ''].indexOf(typeof d...
nurimba/q-postgres
src/gen/createTable.js
JavaScript
unlicense
1,386
module.exports = { 'defaultUrl': { 'port': 9101, 'protocol': 'http', 'hostname': '192.168.3.1' } };
Offirmo/simplyconfig
tests/fixtures/case02_js_node/config.development.local.js
JavaScript
unlicense
116
/* jslint browser */ /* global expect, jasmine */ define([ 'jquery', 'underscore', 'leaflet', 'leafletCustomControls/selectFilterControl' ], function($, _, L, selectFilterControl) { "use strict"; describe('leafletCustomControls/selectFilterControl', function() { var $testDiv; var testMap; var testControl; ...
USGS-CIDA/enddat_web
src/test/js/leafletCustomControls/selectFilterControlSpec.js
JavaScript
unlicense
4,015
'use strict'; /** * @author: Henrik Lundgren * @date: 2013-12-02 * @desc: https://github.com/henriklundgren/angular-visible */ var vhmodule = angular.module('vhVisible', []); vhmodule.run(['$document', function($document) { var styleElement = ''+ '<style type="text/css">'+ '@charset "UTF-8";'...
henriklundgren/angular-visible
src/angular-visible.js
JavaScript
unlicense
1,020
var newrelic = require('newrelic'); var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var routes = require('./routes/index'); var dispositivo = requir...
leonardosouza/am-final-project
notifycar-api/app.js
JavaScript
unlicense
2,559
"use strict"; var webdav = require('../../../lib/index.js'), Client = require('webdav-fs'), request = require('request'), path = require('path'), fs = require('fs') module.exports = (test, options, index) => test('remove a physical file when unavailable', (isValid, server) => { isValid = isValid.mu...
OpenMarshal/npm-WebDAV-Server
test/v1/tests/removeOnUnavailablePhysicalFile.js
JavaScript
unlicense
1,697
$(function(){ $('.question').css('display', 'none'); $(document).ready(function(){ var question_no = '#q-' + q_no; $(question_no).css('display', 'block'); }); $('button[next]').button().click(function(){ var this_id = this.id; var id_array = this_id.split('-'); ...
bashet/pyro_modules_survey
js/user_survey.js
JavaScript
unlicense
3,990
var env = process.env.NODE_ENV || 'production', config = require('../config')[env]; var mongoose = require('mongoose'), User = mongoose.model('User'), OAuth = require('oauth'), passport = require('passport'), FitbitStrategy = require('passport-fitbit-oauth2').FitbitOAuth2Strategy; // Configure Passport session m...
synedra/fitbit-demo
controllers/fitbit-auth.js
JavaScript
unlicense
2,986
// @flow import React from 'react'; import { InputDialog } from '../../../base/dialog'; import { translate } from '../../../base/i18n'; import { connect } from '../../../base/redux'; import AbstractSharedVideoDialog from '../AbstractSharedVideoDialog'; /** * Implements a component to render a display name prompt. ...
jitsi/jitsi-meet
react/features/shared-video/components/native/SharedVideoDialog.js
JavaScript
apache-2.0
1,753
module.exports = function missingChar(str, n) { if (n > str.length) { return str; } return str.substring(0, n) + str.substring(n + 1); }
SteliosVoskos/CodingBatSolutions
src/warmups1/missingChar.js
JavaScript
apache-2.0
154
'use strict'; var _ = require('lodash'), cache = require(__base+'lib/cache'), db = require( __base + 'lib/db'); var warp = db.warp, modelUser = db.user, modelDep = db.team_department, modelMember = db.team_member, modelDepPerm = db.team_department_perm; var CACHE_PREFIX = 'team/', DEP_ROO...
kittqiu/devohub
controller/team/team_cache.js
JavaScript
apache-2.0
3,938
'use strict'; angular.module('tasks').filter('priority', function () { var taskMatrix; return function(tasks, important, urgent) { taskMatrix = []; console.log(tasks); tasks.forEach(function (task) { if (task.important === important && task.urgent === urgent) { taskM...
timsvoice/task-controller
public/modules/tasks/filters/priority.client.filter.js
JavaScript
apache-2.0
393
var searchData= [ ['pagetitle',['pageTitle',['../classController.html#a555247a38f8b4ea98a85bed7c6798e0a',1,'Controller']]], ['presenter',['Presenter',['../classPresenter.html',1,'']]], ['printcontent',['printContent',['../classPresenter.html#a327ab1b725813be28114753935b42cd4',1,'Presenter']]], ['printerrorlist'...
fcole90/fisherman-locator
doxygen/html/search/all_d.js
JavaScript
apache-2.0
527
/* Copyright 2017 Infor * * 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...
Saleslogix/argos-saleslogix
src/Integrations/BOE/Models/ErpShipTo/Offline.js
JavaScript
apache-2.0
1,081
'use strict'; /** * @ngdoc function * @name openshiftConsole.controller:BuildConfigController * @description * Controller of the openshiftConsole */ angular.module('openshiftConsole') .controller('BuildConfigController', function ($scope, $routeParams, DataService, ProjectsService, BuildsService, $filter, Label...
lixueclaire/website
assets/app/scripts/controllers/buildConfig.js
JavaScript
apache-2.0
6,181
module.exports = function(RED) { "use strict"; function BeginNode(n) { RED.nodes.createNode(this,n); } RED.nodes.registerType("Begin",BeginNode); }
mooglics/electronapps
node-red/nodes/begin.js
JavaScript
apache-2.0
172
// Simulate config options from your production environment by // customising the .env file in your project's root folder. require('dotenv').config(); // Require keystone var keystone = require('keystone'); var handlebars = require('express-handlebars'); // Initialise Keystone with your project's configuration. // Se...
rrgarciach/developercat
keystone.js
JavaScript
apache-2.0
2,413
$(document).ready(function () { mopidy = null; _hostname = null; // Connect to Mopidy ConnectToMopidy(); $('#login-dialog').dialog({ autoOpen: false, resizable: false, draggable: true, modal: true }); $('#loggedOut').click(function () { $('#login-dia...
paulburkinshaw/mopidy-radio-pi
mopidy_radio_pi/data/static/Scripts/index.js
JavaScript
apache-2.0
21,472
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
JuliusThms/amphtml
src/service/performance-impl.js
JavaScript
apache-2.0
11,598
/************************************************************* * * MathJax/jax/output/SVG/fonts/TeX/svg/Caligraphic/Regular/Main.js * * Copyright (c) 2011-2015 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
thomasjm/MathJax
unpacked/jax/output/EditableSVG/fonts/TeX/Caligraphic/Regular/Main.js
JavaScript
apache-2.0
23,728
/*! * Benchmark.js v1.0.0 <http://benchmarkjs.com/> * Copyright 2010-2012 Mathias Bynens <http://mths.be/> * Based on JSLitmus.js, copyright Robert Kieffer <http://broofa.com/> * Modified by John-David Dalton <http://allyoucanleet.com/> * Available under MIT license <http://mths.be/mit> */ ; (function (window, un...
EsriUK/arcgis-dijit-drilldown
js/tests/lib/benchmark.js
JavaScript
apache-2.0
130,509
/** * Serbian cyrillic translation for bootstrap-datetimepicker * Bojan Milosavlević <milboj@gmail.com> */ ;(function ($) { $.fn.datetimepicker.dates['rs'] = { days: ["Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"], daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет",...
txterm/txsprider
public/static/js/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.rs.js
JavaScript
apache-2.0
930
({"field-weekday":"Day of the Week","dateFormat-medium":"yyyy MMM d","field-second":"Second","field-week":"Week","pm":"PM","timeFormat-full":"HH:mm:ss z","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"am":"AM","days-standAlone-narrow":["1","2","3","4","5","6","7"],"field-year":"Year",...
Gallio/infrastructure
ccnet/WebDashboard/javascript/Dojo/src/i18n/calendar/nls/gregorian.js
JavaScript
apache-2.0
929
/******************************************************************************* * Copyright [2016] [Quirino Brizi (quirino.brizi@gmail.com)] * * 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 Licen...
quirinobrizi/adam
adam-ui/src/main/resources/static/js/core/swarm/swarm.service.js
JavaScript
apache-2.0
3,194
/* * Copyright (c) 2009-2017. Authors: see NOTICE file. * * 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 app...
charybdeBE/Cytomine-core
web-app/application/views/project/ProjectInfoDialog.js
JavaScript
apache-2.0
6,661
'use strict'; /** * @ngdoc overview * @name inalterableApp * @description * # inalterableApp * * Main module of the application. */ angular .module('inalterableApp', [ 'ngAnimate', 'ngCookies', 'ngResource', 'ui.router', 'ngSanitize', 'ngTouch' ]) .config(function ($stateProvider, ...
APivetta/inalterable-page
app/scripts/app.js
JavaScript
apache-2.0
1,028
define(["underscore","backbone","router"],function(e,t,n){var r=function(){n.initialize()};return{initialize:r}});
ubastation/ubastation
app/assets/javascripts/app/app.js
JavaScript
apache-2.0
114
require.def('exemple/style/layouts/1080p', { classes: [ "layout1080p" ], css: [ "layouts/1080p.css" ], requiredScreenSize: { width: 1920, height: 1080 } } );
hbbtvSenegal/exemples
Example/appui/layouts/1080p.js
JavaScript
apache-2.0
275
/* * The aspiredb project * * Copyright (c) 2013 University of British Columbia * * 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...
ppavlidis/aspiredb
aspiredb/src/main/webapp/scripts/ASPIREdb/store/LabelStore.js
JavaScript
apache-2.0
1,137
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
duzhen1996/SSM
smart-zeppelin/zeppelin-web/src/app/dashboard/views/actions/actions.js
JavaScript
apache-2.0
2,753
var dir_e7d32b6ba9c617a4955dd7c5543806a7 = [ [ "org", "dir_0595048d32d7213b43d2ff21aa1d1333.html", "dir_0595048d32d7213b43d2ff21aa1d1333" ] ];
onosfw/apis
onos/apis/dir_e7d32b6ba9c617a4955dd7c5543806a7.js
JavaScript
apache-2.0
146
define(function () {'use strict'; return Array.prototype.filter = Array.prototype.filter || function (f, t) { var o = Object(this), l = o.length >>> 0, a = [], i = 0, v; for(; i < l; i++) { if (i in o && f.call(t, v = o[i], i, o)) a.push(v); } return a; }; }); /** * ECMAScript 5.1 Standard <br> *...
rainersu/sumi
lib/array/ECMA/filter.js
JavaScript
apache-2.0
882
/** * @license Apache-2.0 * * Copyright (c) 2020 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/math/iter/special/inv/lib/main.js
JavaScript
apache-2.0
1,524
//根据二期需求,改变点击和双击事件,无特殊要求可以继续使用tree.js //切换树 function changeTree(){ var ontoTypeCurent = $("#ONTO_TYPE").val(); if(ontoTypeCurent==null || ontoTypeCurent==""){ return; } //清空分类选择 $("#category_id").val(""); $("#leftTree").empty(); zTreeUrl = basePath+"ontoTree/tree.do?ONTO_TYPE="+ontoTypeCurent; //切换...
ljcservice/autumnprogram
src/main/webapp/static/js/ontology/tree2.js
JavaScript
apache-2.0
4,308
export { default as ControlBehavior } from "./ControlBehavior"; export { default as FocusBehavior } from "./FocusBehavior"; export { default as HoverBehavior } from "./HoverBehavior"; export { default as PressedBehavior } from "./PressedBehavior";
Autodesk/hig
packages/behaviors/src/index.js
JavaScript
apache-2.0
248
function populate() { //alert ('dcsdc'); var divTag = document.getElementById('priority_tasks'); var task='task job'; var assignee='worker'; var divContent=''; for(i=1; i<5; i++) { divContent+= ' <div class="list-group" ><i class="fa fa-comment fa-fw"></i>'+ task + '<span class="pull-right tex...
philipakash/Hackathon
js/populate.js
JavaScript
apache-2.0
1,185
define([ 'backbone', 'marionette', 'underscore', 'moment', 'app/applets/addVitals/utils/dateTimeUtil', 'app/applets/addVitals/utils/viewHelper' ], function(Backbone, Marionette, _, Moment, dateUtil, viewHelper) { 'use strict'; var helper = viewHelper; var vitalsFetchOptions = { ...
KRMAssociatesInc/eHMP
ehmp-ui/product/production/app/applets/addVitals/utils/modelUtils.js
JavaScript
apache-2.0
47,397
var util = module.exports util.extends = function (Child, Parent) { if(typeof Parent === "string") { Parent = require("./model/" + Parent) } Child.prototype = Object.create(Parent.prototype) Child.prototype.constructor = Child Child.prototype.__super__ = Parent.prototype } util.createQu...
raptorbox/raptorjs
lib/util.js
JavaScript
apache-2.0
1,827
var welcomeJson = JSON.stringify({ "WhatsUp": "E", }, "", 4); var welcomeTour = { "heading": "Welcome", "text": ` <p> Welcome to a tour of the Relapse validation language. </p> <p> The tour is interactive, so when typing in the textboxes Relapse will compile and try to validate the input. This will result...
katydid/tour
tour.js
JavaScript
apache-2.0
25,539
import _ from 'lodash'; import { db } from '../firebase'; export const generateAnonymousUserKey = () => { let text = ''; const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; for (let i = 0; i < 5; i++) { text += possible.charAt(Math.floor(Math.random() * possible.length)); } ...
CyberKronos/teamcomp
src/utils/match.js
JavaScript
apache-2.0
4,440
angular.module('mobio.eegbase') .factory('experimentService', function ($http, $q, settingsCache) { return { getMyExperiments: function () { var settings = settingsCache.getSettings(); var deferred = $q.defer(); $http.get(...
NEUROINFORMATICS-GROUP-FAV-KIV-ZCU/MoBio
www/js/services/eegbase/experiment.js
JavaScript
apache-2.0
1,685
'use strict'; var fs = require('fs'); var addCommentTemplate = fs.readFileSync(__dirname + '/cam-tasklist-task-action-comment-plugin.html', 'utf8'); var addCommentFormTemplate = fs.readFileSync(__dirname + '/modals/cam-tasklist-comment-form.html', 'utf8'); var Controller = [ '$scope', '$modal', function ( ...
tcrossland/camunda-bpm-webapp
ui/tasklist/client/scripts/task/plugins/action/cam-tasklist-task-action-comment-plugin.js
JavaScript
apache-2.0
1,371
import React from 'react'; class Footer extends React.Component { render() { return ( <div className="container footer-container"> <div className="lets-talk wow fadeIn"> <h3>Let's Talk</h3> <a href="mailto:dimitrimikadze@gmail.com" classNa...
DimitriMikadze/isomorphic-react-webapp
src/client/components/Footer.js
JavaScript
apache-2.0
1,530
import {registerBidder} from '../src/adapters/bidderFactory'; import {BANNER} from '../src/mediaTypes'; const BIDDER_CODE = 'logicad'; const ENDPOINT_URL = 'https://pb.ladsp.com/adrequest/prebid'; export const spec = { code: BIDDER_CODE, supportedMediaTypes: [BANNER], isBidRequestValid: function (bid) { ret...
olafbuitelaar/Prebid.js
modules/logicadBidAdapter.js
JavaScript
apache-2.0
1,937
import { noop } from 'uni-shared' import { initState } from './state/index' import { initMethods } from './methods' import { initRelations, handleRelations } from './relations' import { handleObservers } from './observers' export default { beforeCreate () { // 取消 developmen...
dcloudio/uni-app
src/core/runtime/mp/polyfill/index.js
JavaScript
apache-2.0
769
import { combineReducers } from 'redux-immutable'; import app from './app'; import certificates from './certificates'; import connection from './connection'; import connections from './connections'; import destinations from './destinations'; import devices from './devices'; import nodes from './nodes'; import persons ...
stampzilla/stampzilla-go
nodes/stampzilla-server/web/src/ducks/index.js
JavaScript
apache-2.0
785
$(function() { $.event.props.push('dataTransfer'); registerDropZone('#demo', function(json) { var jsonString = JSON.stringify(json, null, $('#checkPretty').attr('checked') ? 4 : ''); $('#output').text(jsonString); }); registerDropZone('#yumlUsage', function(json) { Japarser.generateImage(json); }); fun...
shoito/japarser
war/js/dropzone.js
JavaScript
apache-2.0
1,053
// Copyright 2017 The Oppia Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
AllanYangZhou/oppia
core/templates/dev/head/domain/exploration/EditableExplorationBackendApiService.js
JavaScript
apache-2.0
6,459
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const path_1 = tslib_1.__importDefault(require("path")); const manager_1 = tslib_1.__importDefault(require("../../diagnostic/manager")); const location_1 = tslib_1.__importDefault(require("./location")); const...
xArthasx/dotfiles
.config/coc/extensions/node_modules/coc-scssmodules/node_modules/coc.nvim/lib/list/source/diagnostics.js
JavaScript
apache-2.0
2,407
(function () { var $global = this, stime = new Date().getMilliseconds(); var CONFIG = { 'GLOBAL': $global, 'DEBUG': false };
yadirhb/vitruvio
source/res/header.js
JavaScript
apache-2.0
153
/** * @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/assert/is-capitalized/test/test.js
JavaScript
apache-2.0
1,725
var find = require('./common').find; function HashCollisionNode(hcode, children) { this.hcode = hcode; this.children = children; this.isLeaf = false; } HashCollisionNode.prototype.assoc = function(shift, leaf) { return new HashCollisionNode(this.hcode, this.children.concat(leaf)); }; HashCollisionNode.protot...
ActiveObject/immutable-trie
src/HashCollisionNode.js
JavaScript
apache-2.0
1,328
const NavbarWidget = require('./NavbarWidget.js'); function NavbarController(view, scope) { this.super(view, scope); var controller = this; scope.onAttached.then(function() { var bindingAttributes = []; if (view.hasAttribute('data-model')) { bindingAttributes.push('model'); ...
cybersettler/uiNavbar
component/ui/Navbar/Controller.js
JavaScript
apache-2.0
605
/** * Copyright 2017 Telerik AD * ...
xiangxik/castle-platform
castle-themes/castle-theme-uikit/src/main/resources/META-INF/bower_components/kendo-ui/src/js/cultures/kendo.culture.cs-CZ.js
JavaScript
apache-2.0
6,539
function GetBehaviorSettings() { return { "name": "Rubber Band", "id": "RubberBand", "version": "1.0", "description": "Tie one object to another via a rubber band", "author": "simulated_tea", "help url": "https://github.com/simulated-tea/C...
simulated-tea/Construct2-RubberBand
rubberband/edittime.js
JavaScript
apache-2.0
4,095
import React, { PropTypes, Component } from 'react'; import { themr } from 'react-css-themr'; import defaultTheme from './button.css'; const propTypes = { /** * Type of the button. Defines the styling */ type: PropTypes.oneOf(['primary', 'secondary', 'minor']), /** * Text which will be displayed inside...
cleverbridge/spike_living_styleguide
styleguide_v2/lib/components/Button/Button.js
JavaScript
apache-2.0
741
Ti = {}; Ti.API = { info: function(msg) { console.log("[INFO] " + msg); }, error: function(msg) { console.log("[ERROR] " + msg); }, warn: function(msg) { console.log("[WARN] " + msg); } }; Ti.Platform = { osname: 'iphone', displayCaps: { platformHeight: 480, platformWidth: 320 ...
jgroeneveld/AlloyUnitTesting
spec/tistub.js
JavaScript
apache-2.0
324
import React from 'react'; import { FlatList, Text, TouchableOpacity, View } from 'react-native'; import { MaterialCommunityIcons, MaterialIcons } from '@expo/vector-icons'; import { connect } from 'react-redux'; import moment from 'moment'; import { SafeAreaView } from 'react-navigation'; import CalendarDay from '../...
Jack3113/edtBordeaux
pages/DayView.js
JavaScript
apache-2.0
7,516
/** * Copyright 2018 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
rsimha-amp/amphtml
extensions/amp-consent/0.1/test/test-consent-config.js
JavaScript
apache-2.0
20,554
export { default } from 'shared/components/cluster-dashboard/component';
pengjiang80/ui
lib/shared/app/components/cluster-dashboard/component.js
JavaScript
apache-2.0
73
/** * @license Apache-2.0 * * Copyright (c) 2021 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/math/strided/special/floor/benchmark/benchmark.native.js
JavaScript
apache-2.0
2,878
/* * This script represents an operator over Gearman protocol. * {@see http://gearman.org/protocol} * * (C) 2013 Vaclav Sykora * Apache License, Version 2.0, http://www.apache.org/licenses/ * */ var winston = require('winston'), util = require('util'); // various constants used in protocol var constan...
allevo/GearmaNode
lib/gearmanode/protocol.js
JavaScript
apache-2.0
6,821
'use strict'; const _ = require('lodash'); const util = require('util'); const async = require('async'); const events = require('events'); const rest = require('restling'); const nconf = require('nconf'); const Q = require('q'); const API_SANDBOX_URI = 'https://sandbox-api.uber.com/v1/'; const API_PRODUCTION_URI = 'h...
mjk/uber-rush
lib/ApiRequest.js
JavaScript
apache-2.0
4,162
(function(){ id = Ti.App.Properties.getString("tisink", ""); var param, xhr; file = Ti.Filesystem.getFile("examples/table_view_layout_3.js"); xhr = Ti.Network.createHTTPClient(); xhr.open("POST", "http://tisink.nodester.com/"); xhr.setRequestHeader("content-type", "application/json"); param = { data: ...
steerapi/KichenSinkLive
build/mobileweb/examples/table_view_layout_3.js
JavaScript
apache-2.0
3,528
/* * Copyright 2014 Workiva, LLC * * 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...
robertbaker/wGulp
src/subtasks/concat.js
JavaScript
apache-2.0
1,457