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
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['jquery.sap.global', 'sap/ui/core/Renderer', 'sap/ui/layout/ResponsiveFlowLayoutRenderer'], function(jQuery, Renderer,...
thbonk/electron-openui5-boilerplate
libs/openui5-runtime/resources/sap/ui/commons/layout/ResponsiveFlowLayoutRenderer-dbg.js
JavaScript
apache-2.0
520
import {observable, action, computed} from 'mobx' import Todo from '../models/Todo' export class TodoStore { @observable todos = []; @observable showingOnlyIncompleteTodos; @action createTodo({title, done}) { this.todos.push(new Todo({title, done})); } @action toggleOnlyIncompleteTodos() { this.sh...
smakazmidd/react-starter
client/src/script/stores/TodoStore.js
JavaScript
apache-2.0
700
var addChanged=false; var positionFound = false; var geocoder = new google.maps.Geocoder(); var newLat; var newLng; /** Code une addresse en 2 coordonnées, latitude et longitude Si le codage est russit on appelle funcFound, sinon funcFail */ function codeAddress(addressToTest, funcFound, funcFail) { /* Récupération d...
gpierre42/optraj
vagrant/optraj.istic.univ-rennes1.fr/GUI/htdocs/js/util/addressResolution.js
JavaScript
apache-2.0
1,609
'use strict'; var storiesdb = require('nano')('http://localhost:5984/stories'); var viewDoc = { _id: '_design/story', language: 'javascript', views: { byUser: require('./story-by-user'), byTitle: require('./story-by-title') } }; module.exports = { // Generates views init: function () { ...
bananaoomarang/chapters-server
lib/couch-views/index.js
JavaScript
apache-2.0
481
(function(exports) { 'use strict'; var _settingsPanel, _closeSettingsButton, _logoutSettingsButton, _cleanCallsButton, _cleanUrlsButton, _videoDefaultSettings, _commitHashTag, _cameraDefaultSettings, _loggedAs; var _isVideoDefault = true; var _isFrontCameraDefault = true; var _isSingleCamera = f...
suoko/firefoxos-loop-client-master
js/screens/settings.js
JavaScript
apache-2.0
6,400
// // Copyright (c) Microsoft and contributors. 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 requ...
jmspring/azure-sdk-for-node
test/services/blob/internal/sharedkeylite-tests.js
JavaScript
apache-2.0
2,589
'use strict' const Primus = require('primus') const UglifyJS = require('uglify-js') const fs = require('fs') const path = require('path') const util = require('util') const uuid = require('uuid') const ActionHero = require('./../index.js') const api = ActionHero.api module.exports = class WebSocketServer extends Acti...
chimmelb/actionhero
servers/websocket.js
JavaScript
apache-2.0
7,292
/** * Copyright 2015 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 appli...
ampproject/amp-by-example
lib/Metadata.js
JavaScript
apache-2.0
1,408
/******/ (function(modules) { // webpackBootstrap /******/ function hotDownloadUpdateChunk(chunkId) { /******/ var filename = require("path").join(__dirname, "" + chunkId + "." + hotCurrentHash + ".hot-update.js"); /******/ require("fs").readFile(filename, "utf-8", function(err, content) { /******/ if(err...
raml-org/raml-dotnet-parser-2
source/Raml.Parser/node_modules/raml-1-0-parser/node_modules/webpack/test/js/hot/loaders/val-loader/bundle.js
JavaScript
apache-2.0
24,067
/** * @license Copyright 2019 The Lighthouse 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 applica...
umaar/lighthouse
lighthouse-core/audits/metrics/total-blocking-time.js
JavaScript
apache-2.0
4,644
angular.module('dCare.Authentication', ['ionic', 'dCare.Services.UserStore', 'dCare.ApiInvoker']) .factory("AuthenticationService", function ($q, UserStore, ApiInvokerService, $ionicLoading, $mdDialog) { var login = function (userID,password) { //NR: TODO: Call...
nozelrosario/Dcare
www/controllers/user/authenticationService.js
JavaScript
apache-2.0
8,882
'use strict'; /** * @ngdoc function * @name adsGtApp.controller:AboutCtrl * @description * # AboutCtrl * Controller of the adsGtApp */ angular.module('adsGtApp') .controller('DrugCtrl', ['$scope', '$http','$modal','FDA_API', function ($scope, $http, $modal, FDA_API) { // console.log(FDA_API.drugEvent); ...
globaltunnels/bowlofhygieia
app/scripts/controllers/drug.js
JavaScript
apache-2.0
7,212
/*! * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */
sederaa/gozouk
app/scripts/freelancer.js
JavaScript
apache-2.0
196
/* * 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 may ...
irudyak/ignite
modules/web-console/frontend/app/modules/agent/AgentManager.service.js
JavaScript
apache-2.0
26,984
define(function(){return {"AM":"ܩ.ܛ","PM":"ܒ.ܛ","\/":"\/",":":":","days":{"names":["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"],"namesAbbr":["܏ܐ ܏ܒܫ","܏ܒ ܏ܒܫ","܏ܓ ܏ܒܫ","܏ܕ ܏ܒܫ","܏ܗ ܏ܒܫ","܏ܥܪܘܒ","܏ܫܒ"],"namesShort":["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"]},"months":{"names":["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","...
appcelerator/titanium_mobile_tizen
titanium/Ti/_/Locale/Calendar/syr.js
JavaScript
apache-2.0
816
export function getScreenBrightness () { return { errMsg: 'getScreenBrightness:ok', value: plus.screen.getBrightness(false) } } export function setScreenBrightness ({ value } = {}) { plus.screen.setBrightness(value, false) return { errMsg: 'setScreenBrightness:ok' } } export fu...
dcloudio/uni-app
src/platforms/app-plus/service/api/device/brightness.js
JavaScript
apache-2.0
471
// // Copyright (c) Microsoft and contributors. 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 requ...
jmspring/azure-sdk-for-node
test/services/queue/queueservice-tests.js
JavaScript
apache-2.0
18,029
App.source = { controllers : {}, models : {} }; App.source.controllers.repository = { /** * Add repository */ add : function() { $(document).ready(function() { App.source.AddEditForm.init(); }); }, /** * Edit repository */ edit : function() { $(document).ready(function()...
hammadalinaqvi/bookstoregenie
projMan/public/assets/modules/source/javascript/main.js
JavaScript
apache-2.0
12,557
var show = require('./demo10'); show('hh')
fanbrightup/firsthalf2017
feb/2-18/test.js
JavaScript
apache-2.0
43
function changeThemeFun(themeName) {/* 更换主题 */ //alert(themeName); var $easyuiTheme = $('#easyuiTheme'); var url = $easyuiTheme.attr('href'); var href = url.substring(0, url.indexOf('themes')) + 'themes/' + themeName + '/easyui.css'; //alert(url); $easyuiTheme.attr('href', href); var $iframe = $('iframe'); ...
zhgo116/fancy
Fancy/src/main/webapp/ui/changeEasyuiTheme.js
JavaScript
apache-2.0
1,014
cordova.define("nl.x-services.plugins.toast.tests", function(require, exports, module) { exports.defineAutoTests = function() { var fail = function (done) { expect(true).toBe(false); done(); }, succeed = function (done) { expect(true).toBe(true); done(); }; describe('Plugin availability',...
digitalunity/wbtest
platforms/windows/www/plugins/nl.x-services.plugins.toast/test/tests.js
JavaScript
apache-2.0
1,779
/* Copyright 2014 Joukou Ltd 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 distr...
joukou/joukou-data
dist/models/agent/graph/state/index.js
JavaScript
apache-2.0
2,304
'use strict'; var JpipStructureParser = function JpipStructureParserClosure( databinsSaver, markersParser, messageHeaderParser, offsetsCalculator) { this.parseCodestreamStructure = function parseCodestreamStructure() { // A.5.1 (Image and Tile Size) var bytes = []; var mai...
MaMazav/MaMazav.github.io
webjpip.js/old/webjpip.js/jpipcore/parsers/jpipstructureparser.js
JavaScript
apache-2.0
9,141
var path = require('path'), sys = require('util'), url = require('url'), request, fs = require('fs'); var less = { version: [1, 4, 0], Parser: require('./parser').Parser, importer: require('./parser').importer, tree: require('./tree'), render: function (input, options, callback) { ...
ricardobeat/less-less
lib/less/index.js
JavaScript
apache-2.0
7,200
var db = require('../db'); var Schema = db.Schema; var ParticipantSchema = Schema({ id:{ type: Schema.Types.ObjectId}, fitbitid: {type: String, required: true}, dateofbirth: {type: String, required: true}, name: {type: String, required: true}, gender: {type: String}, age: {type: Number}, fi...
KHP-Informatics/RADAR-platform
producers/fitbit/models/ParticipantModel.js
JavaScript
apache-2.0
419
/** * The jdbc module provides access to java database connectivity (JDBC). * Typically you acquire access to the module by naming it as a dependency in a call to `define()` * when defining your own module. * The object passed to the `define()` callback to represent the dependency can be considered * a singleton `jdb...
rpbouman/jjsutils
src/jdbc/jdbc.js
JavaScript
apache-2.0
10,572
/* eslint-env jest */ import eventize, { PRIO_DEFAULT, EVENT_CATCH_EM_ALL, } from '../eventize'; describe('on()', () => { describe('eventName is a string', () => { describe('on( eventName, priority, listenerFunc, listenerObject )', () => { const listenerObject = {}; const listenerFunc = jest.fn()...
spearwolf/eventize
src/__tests__/on.spec.js
JavaScript
apache-2.0
17,681
(function () { 'use strict'; angular.module('app').factory('contactService', ['$http', function ($http) { return { send : function(data) { return $http.post('api/contact', data); } }; }]); })();
bmobsoftwares/bmobsoftwares.github.io
app/contact/contactService.js
JavaScript
apache-2.0
267
/* global Buffer */ var dgram = require('dgram'); var client = dgram.createSocket("udp4"); var rfidReader = require("../index.js"); var broadcastAddress = "255.255.255.255"; var deviceBroadcastPort = 39169; function failOnError(err) { if (err) { throw err; } } client.on("error", function (err) { console.log("S...
kant2002/node-rfidreader
tools/updateSettings.js
JavaScript
apache-2.0
2,783
GBG.EquipmentArcs = { shields:{buclet:{ orientation:-45, deepLevel:1, type:['block'], widthLevels:[{from:40,to:60, color: '#3a3', cost:0}, {from:35,to:40, color: '#8a3', cost:1}, {from:30,to:35, color: '#777', cost:2...
Raising/GladiatorBoardGame
js/configurable.js
JavaScript
apache-2.0
3,052
$_L(["java.util.Vector"],"java.util.Stack",["java.util.EmptyStackException"],function(){ c$=$_T(java.util,"Stack",java.util.Vector); $_M(c$,"empty", function(){ return this.elementCount==0; }); $_M(c$,"peek", function(){ try{ return this.elementData[this.elementCount-1]; }catch(e){ if($_e(e,IndexOutOfBoundsE...
abego/j2slib
src/main/j2slib/java/util/Stack.js
JavaScript
apache-2.0
896
/* * Copyright (c) 2012-2015 S-Core Co., Ltd. * * 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 ...
5hk/webida-client
apps/ide/src/plugins/codeeditor/content-assist/file-server.js
JavaScript
apache-2.0
15,220
angular.module('JobsTrackerSpring') .controller('PositionsEditCtrl', ['$scope', '$location', '$routeParams', 'PositionResource', function ($scope, $location, $routeParams, PositionResource) { 'use strict'; $scope.submitLabel = 'Update'; $scope.position = PositionRe...
witty-pigeon/jobstracker-spring
src/main/webapp/WEB-INF/js/controllers/positions-edit-ctrl.js
JavaScript
apache-2.0
1,066
'use strict'; angular.module('dashboardApp') .directive('hasAnyAuthority', ['Principal', function (Principal) { return { restrict: 'A', link: function (scope, element, attrs) { var setVisible = function () { element.removeClass('hidden'); ...
SemanticCloud/SemanticCloud
Dashboard/src/main/webapp/scripts/components/auth/authority.directive.js
JavaScript
apache-2.0
2,342
import { test } from 'qunit'; import moduleForAcceptance from 'cargo/tests/helpers/module-for-acceptance'; import hasText from 'cargo/tests/helpers/has-text'; moduleForAcceptance('Acceptance | team page'); test('has team organization display', async function(assert) { server.loadFixtures(); await visit('/tea...
steveklabnik/crates.io
tests/acceptance/team-page-test.js
JavaScript
apache-2.0
1,391
var u = Ti.Android != undefined ? 'dp' : 0; //A window object which will be associated with the stack of windows exports.AppWindow = function(args) { var instance = Ti.UI.createWindow(args); var view = Ti.UI.createView({ height : 40 + u, width : 320 + u, layout : 'horizontal', top : 0 + u, borderColor : '#...
fziegler/plates
Resources/views/main/AppWindow.js
JavaScript
apache-2.0
1,546
function getTimeRemaining(endtime) { var t = Date.parse(endtime) - Date.now(); var seconds = Math.floor((t / 1000) % 60); var minutes = Math.floor((t / 1000 / 60) % 60); var hours = Math.floor((t / (1000 * 60 * 60)) % 24); var days = Math.floor(t / (1000 * 60 * 60 * 24)); return { 'total': t, 'days'...
maharanidanathallah/athallah-site-ma
newyear2017.js
JavaScript
apache-2.0
1,193
/*jshint strict: false, maxlen: 500 */ /*global require, assertEqual */ //////////////////////////////////////////////////////////////////////////////// /// @brief tests for query language, functions /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2012 triagens GmbH, Cologne, Germany /// /// Licensed under the ...
morsdatum/ArangoDB
js/server/tests/aql-functions-date.js
JavaScript
apache-2.0
38,362
var functions_dup = [ [ "_", "functions.html", null ], [ "a", "functions_a.html", null ], [ "b", "functions_b.html", null ], [ "c", "functions_c.html", null ], [ "d", "functions_d.html", null ], [ "e", "functions_e.html", null ], [ "f", "functions_f.html", null ], [ "g", "functions_g.htm...
grbd/GBD.Build.BlackJack
docs/doxygen/html/functions_dup.js
JavaScript
apache-2.0
957
/** * Forge SDK * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering. * * OpenAPI spec version: 0.1.0 * Contact: forge.help@autodesk.com * * NO...
Autodesk-Forge/forge-api-nodejs-client
test/model/JobPayloadInput.spec.js
JavaScript
apache-2.0
1,409
import React from 'react' import PropTypes from 'prop-types' import Search from '../components/Search//Search' import FacetQueryParms from '../modules/FacetQueryParams' import HoneycombURL from '../modules/HoneycombURL' const SearchPage = ({ match, children }) => { const queryParams = new URLSearchParams(window.loca...
ndlib/beehive
src/routes/SearchPage.js
JavaScript
apache-2.0
1,127
/* * Copyright (C) 2017-2019 Dremio 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 l...
dremio/dremio-oss
dac/ui/src/pages/AdminPage/subpages/Provisioning/components/WorkersGrid-spec.js
JavaScript
apache-2.0
4,743
(function($) { $.Arte.Toolbar.ButtonWithDialog = function(toolbar, buttonName, config) { var me = this; $.Arte.Toolbar.Button.call(this, toolbar, buttonName, config); var dialogClasses = $.Arte.Toolbar.configuration.classes.dialog; this.executeCommand = function() { if...
vistaprint/ArteJS
src/toolbar/Buttons/ButtonWithDialog.js
JavaScript
apache-2.0
6,093
webpackHotUpdate(0,[ /* 0 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function($) {var React = __webpack_require__(2); var ReactDOM = __webpack_require__(158); var bootstrap = __webpack_require__(159); var pullRight = { float: "right", marginRight: "5%" }; ...
JivaGzw/Gaddress
build/0.ce253bb41e20f52ec882.hot-update.js
JavaScript
apache-2.0
2,854
function updateScreenSize(size) { return { type: 'RECEIVE_SIZE', size }; } function setRenderer(renderer) { return { type: 'RECEIVE_RENDERER', renderer }; } function setCanvas(canvas) { return { type: 'RECEIVE_CANVAS', canvas }; } export defaul...
eventbrite/cartogram
src/actions/core.js
JavaScript
apache-2.0
381
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.dty'); goog.require('Blockly.Msg'); Blockly.Msg["ADD_COMMENT"] = "टिप्पणी थप्दे"; Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Can't delete the variable '%1' because it's part of the definition of the function '%...
trinketapp/blockly
msg/js/dty.js
JavaScript
apache-2.0
41,108
sap.ui.define(['sap/ui/webc/common/thirdparty/base/config/Theme', './v5/attachment-video', './v4/attachment-video'], function (Theme, attachmentVideo$2, attachmentVideo$1) { 'use strict'; const pathData = Theme.isThemeFamily("sap_horizon") ? attachmentVideo$1 : attachmentVideo$2; var attachmentVideo = { pathData }; ...
SAP/openui5
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/attachment-video.js
JavaScript
apache-2.0
351
/** * @license Copyright 2016 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 law or a...
wardpeet/lighthouse
lighthouse-core/config/config.js
JavaScript
apache-2.0
29,048
// 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 i...
googlecreativelab/access-mars
src/js/components/controller-ray.js
JavaScript
apache-2.0
2,310
import { helper } from '@ember/component/helper'; export function runTime(params) { var s = moment(params[0]); var e = moment(params[1]); var time = Math.round(e.diff(s)/100)/10; if ( time ) { if ( time > 60 ) { time = Math.round(time); } return `${time} sec`; } else { retur...
pengjiang80/ui
lib/shared/addon/helpers/run-time.js
JavaScript
apache-2.0
409
/* +-----------------------------------------------------------------------------+ @grahamzibar presents: _______ _______ _______ _______ _______ _______ ( )( ___ )( ____ )( ____ )|\ /|( ____ \|\ /|( ____ \ | () () || ( ) || ( )|| ( )|| ) ( || ( \/| ) ...
grahamzibar/AirChat
src/js/ext/morpheus/Morpheus.js
JavaScript
apache-2.0
11,243
define([ './core', './var/indexOf', './traversing/var/rneedsContext', './core/init', './traversing/findFilter', './selector' ], function(jQuery, indexOf, rneedsContext) { var rparentsprev = /^(?:parents|prev(?:Until|All))/, // Methods guaranteed to produce a unique set when starting...
amido/Amido.VersionDashboard
src/Amido.VersionDashboard.Web/bower_components/jquery/src/traversing.js
JavaScript
apache-2.0
6,056
'use strict'; angular.module('sproutStudyApp') .controller('settingsController', function ($scope, $location, $routeParams, settingsService) { $scope.settings = null; $scope.user = null; settingsService.getUser(null, function(data) { $scope.user = data; }); });
stephenlorenz/sproutstudy
sproutStudy_web/src/main/webapp/scripts/controllers/settingsController.js
JavaScript
apache-2.0
294
var mustInputDM = 'Hãy nhập "tên danh mục" !'; var mustNumber = '"Thứ tự sấp xếp" phải là số !'; var mustInput_Name = 'Hãy nhập "họ tên" !'; var mustInput_Company = 'Hãy nhập "tên công ty" !'; var mustInput_Address = 'Hãy nhập "địa chỉ" !'; var mustInput_city = 'Hãy nhập "tỉnh / thành phố" !'; v...
vikigroup/cbuilk
lib/varAlert.vn.unicode.js
JavaScript
apache-2.0
819
// // browser.js - client-side engine // var isFileProtocol = /^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol); less.env = less.env || (location.hostname == '127.0.0.1' || location.hostname == '0.0.0.0' || location.hostname == 'localhost' || ...
wcea/less.js
lib/less/browser.js
JavaScript
apache-2.0
17,695
/* global QUnit, sinon, testEventHandlerResolver, someGlobalMethodOnWindow */ sap.ui.define([ "sap/ui/core/Control", "sap/ui/model/json/JSONModel", "sap/ui/core/mvc/EventHandlerResolver", "sap/base/Log" ], function(Control, JSONModel, EventHandlerResolver, Log) { "use strict"; var oController; var thisContext; ...
SAP/openui5
src/sap.ui.core/test/sap/ui/core/qunit/mvc/EventHandlerResolver.qunit.js
JavaScript
apache-2.0
27,088
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.22/esri/copyright.txt for details. //>>built define("esri/dijit/metadata/nls/pt-pt/i18nBase",{general:{cancel:"Cancelar",close:"Fechar",none:"Nenhum",ok:"OK",other:"Outro",stamp:"Data",now:"Agora",choose:"Sele...
wanglongbiao/webapp-tools
Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/esri/dijit/metadata/nls/pt-pt/i18nBase.js
JavaScript
apache-2.0
5,940
'use strict'; /** * @ngdoc function * @name sbAdminApp.controller:MainCtrl * @description * # MainCtrl * Controller of the sbAdminApp */ angular.module('sbAdminApp') .controller('ChartCtrl', ['$scope', '$timeout', '$http', 'employeeService', 'socket', '$modalStack', 'settingsService', '$state', function ($scope, $timeo...
vynci/deped-tas
app/scripts/controllers/chartContoller.js
JavaScript
apache-2.0
22,657
/** * Kendo UI v2016.1.412 (http://www.telerik.com/kendo-ui) * Copyright 2016 Telerik AD. All rights reserved. ...
ytodorov/AntServices
AdvancedNetToolsSolution/AntWeb/Scripts/kendo/cultures/kendo.culture.ta-LK.js
JavaScript
apache-2.0
7,162
sap.ui.define([ "sap/ui/core/mvc/Controller", "sap/base/util/deepClone" ], function (Controller, deepClone) { "use strict"; var oCardManifest = { "_version": "1.8.0", "sap.app": { "id": "dataMode1", "type": "card", "i18n": "i18n/i18n.properties" }, "sap.ui5": { "services": { "RandomRevenue"...
SAP/openui5
src/sap.f/test/sap/f/cardsdemo/controller/DataMode.controller.js
JavaScript
apache-2.0
2,613
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.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 License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required ...
jjmulenex/sdk
src/constants.js
JavaScript
apache-2.0
2,452
/* * ../../../..//extensions/a11y/mathmaps/es/symbols/latin-upper-double-accent.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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 ...
GerHobbelt/MathJax
extensions/a11y/mathmaps/es/symbols/latin-upper-double-accent.js
JavaScript
apache-2.0
6,021
// Copyright 2007 The Closure Library 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 requ...
alex-popkov/zz.ui.mdl
lib/sources/controlrenderer.js
JavaScript
apache-2.0
5,156
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.PagingButton. sap.ui.define(['jquery.sap.global', './Button', 'sap/ui/core/Control'], function ...
fconFGDCA/DetailCADA
resources/sap/m/PagingButton-dbg.js
JavaScript
apache-2.0
5,788
// Copyright 2017 Foxysoft GmbH // // 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 agre...
foxysoft/idm-connector-bobj
src/main/javascript/fx_IDSID.js
JavaScript
apache-2.0
1,139
/* ClosureCompiler.js (c) 2013 Daniel Wirtz <dcode@dcode.io> Released under the Apache License, Version 2.0 see: https://github.com/dcodeIO/ClosureCompiler.js for details */ var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,c){if(c.get||c.set)...
dcodeIO/ClosureCompiler.js
ClosureCompiler.min.js
JavaScript
apache-2.0
5,750
var classorg_1_1onosproject_1_1cordvtn_1_1cli_1_1CordVtnNodeListCommand = [ [ "execute", "classorg_1_1onosproject_1_1cordvtn_1_1cli_1_1CordVtnNodeListCommand.html#a8795ed63dd8a80eb314b7c3ea072f75a", null ] ];
onosfw/apis
onos/apis/classorg_1_1onosproject_1_1cordvtn_1_1cli_1_1CordVtnNodeListCommand.js
JavaScript
apache-2.0
212
var searchData= [ ['leaderboard_2ecpp',['Leaderboard.cpp',['../a00044.html',1,'']]], ['leaderboard_2eh',['Leaderboard.h',['../a00047.html',1,'']]], ['leaderboardview_2ecpp',['LeaderboardView.cpp',['../a00134.html',1,'']]], ['leaderboardview_2eh',['LeaderboardView.h',['../a00137.html',1,'']]] ];
Bokoblin/DUTS2-POO-ProjetRunner
docs/search/files_7.js
JavaScript
apache-2.0
304
import async from 'async'; import { RateVideoResponse } from './protos'; import { UserRatedVideo } from './events'; import { toCassandraUuid, toProtobufTimestamp } from '../common/protobuf-conversions'; import { getCassandraClient } from '../../common/cassandra'; import { publish } from '../../common/message-bus'; // ...
KillrVideo/killrvideo-nodejs
src/services/ratings/rate-video.js
JavaScript
apache-2.0
2,086
onmessage = function(e) { var args = e.data; var MAXIMUM_ROUNDS = (!args[0])? 1000000 : args[0]; var fee = (!args[1])? 10 : args[1]; var coinRecord = {}; // { "123": 10, "245": 145 .... } var totalEarning = 0; for (var currentRound = 0; currentRound < MAXIMUM_ROUNDS; currentRound++) { var coinAccumulat...
duraraxbaccano/gist
st.petersburg.paradox.js
JavaScript
apache-2.0
1,299
//FILE: bg.js /** * this is a background service and this code will run *every* time the * application goes into the foreground */ var value = "Hello from Running BG service - bg.js"; Ti.API.info(value); var notification = Ti.App.iOS.scheduleLocalNotification({ alertBody:"App was put in background", alert...
mixandmatch/titanium
app/assets/bg.js
JavaScript
apache-2.0
1,022
/* * Copyright (c) 2008-2021, Hazelcast, 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 ...
hazelcast-incubator/hazelcast-nodejs-client
code_samples/com-website/CustomSerializerSample.js
JavaScript
apache-2.0
1,882
//----- Requires ----- dojo.require('comum.format'); dojo.require('comum.CampoRedondo'); dojo.require('main.Pedido'); dojo.provide('main.Restaurante'); dojo.declare('main.Restaurante', null, { restaurante : null, loader : null, restaurantes : new Array(), pedido : null, constructor : function () { this.pedido...
rafaelcoutinho/comendobemdelivery
war/scripts/main/Restaurante.js
JavaScript
apache-2.0
5,972
import React from 'react'; import planList from './plans'; import {paymentCountries} from './config'; import Popover from 'material-ui/Popover'; class PlanDetails extends React.Component { constructor(props) { super(props); this.state = { selectedPlan: planList[0], openPlanS...
CloudBoost/cloudboost
payment-ui/src/planDetails.js
JavaScript
apache-2.0
3,357
/** * Created by Pawan on 1/4/2016. */ /** * Created by Pawan on 12/11/2015. */ (function () { var commoncontroller = function ($http,$mdDialog,$mdMedia) { var showConfirm = function(title, label, okbutton, cancelbutton, content, OkCallback, CancelCallBack, okObj) { var confirm = $mdDialog.confirm(...
DuoSoftware/DVP-Apps
DVP-TrunkApp/scripts/services/CommonController.js
JavaScript
apache-2.0
1,940
var fileio = require("../fileio")(); var wildcard = require("../wildcard"); var fs = require("fs"); var items = []; var cells = [ ["Medication","dropdown"], ["Dosage","text"], ["Per Use","text"], ["Frequency","dropdown"], ["Type of Med.","text"], ["Method","text"], ["To Dispense","text"], ["PRN","checkb...
Simas2006/Treat
client/prescript/script.js
JavaScript
apache-2.0
4,465
var searchData= [ ['all',['all',['../unionMQTT__Connect__Header__Flags.html#aac6e7ff76de4ce79fb198a5c043614ce',1,'MQTT_Connect_Header_Flags::all()'],['../unionMQTT__Connack__Header__Flags.html#ac1d68764617031a6d7f0e48c21b11807',1,'MQTT_Connack_Header_Flags::all()']]] ];
chainlinq/boatkeeper
linux_mqtt_mbedtls-2.1.1/docs/html/search/variables_0.js
JavaScript
apache-2.0
273
/*! * ${copyright} */ sap.ui.define([ "jquery.sap.global", "./Base", "sap/ui/fl/Utils" ], function( jQuery, Base, FlexUtils ) { "use strict"; /** * Change handler for moving of an element. * * @alias sap.ui.fl.changeHandler.MoveControls * @author SAP SE * @version ${version} * @experimental Sinc...
cschuff/openui5
src/sap.ui.fl/src/sap/ui/fl/changeHandler/MoveControls.js
JavaScript
apache-2.0
12,171
var skin = { // recent news title bar color and image // if use image, bar color and title should empty // if use text title, bar image should empty "RECENT_BAR_IMAGE" : "", // example: imgs/wpapp.png, size: 320x45 "RECENT_BAR_COLOR" : "#0e8dd0", // example: #ff840a // category ...
TagYourIt/inspirationapp
Resources/skin/blue.js
JavaScript
apache-2.0
3,029
'use strict'; var util = require('../../../util/index'); var DimensionError = require('../../../error/DimensionError'); var string = util.string, isString = string.isString; function factory (type, config, load, typed) { var equalScalar = load(require('../../../function/relational/equalScalar')); var Spar...
mikberg/mathjs
lib/type/matrix/util/algorithm09.js
JavaScript
apache-2.0
3,994
var singleQuote = require('..'); describe('singlequote with \\r', function () { var result; before(function () { function x() { return 'hello" I am a string\'s for sure'; } result = singleQuote(x.toString().replace(/\r/g, '').replace(/\n/g, '\r\n')); //make sure we have \r on both mac an win }); it('shou...
ebdrup/singlequote
test/basic.spec.js
JavaScript
apache-2.0
3,283
/** * Copyright 2013-2017 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see http://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
deepu105/generator-jhipster
generators/client/index.js
JavaScript
apache-2.0
17,806
/** * @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/pool/lib/factory.js
JavaScript
apache-2.0
11,150
var notifyDesktop = function(msg, link) { $.notify(msg, 'info'); var doNotification = function() { var options = { body: 'Notification from knowledge.', icon: _CONTEXT + '/favicon.ico' }; var n = new Notification(msg, options); n.onclick = function() ...
support-project/knowledge
src/main/webapp/js/notification.js
JavaScript
apache-2.0
3,455
'use strict'; const chai = require('chai'); const assert = chai.assert; const extensions = require('../../lib/extensions'); describe('Extensions Tests', function () { const noop = function () { return undefined; }; const noop2 = function () { return undefined; }; describe('add', f...
sagiegurari/simple-oracledb
test/spec/extensions-spec.js
JavaScript
apache-2.0
4,815
/* Typechecking With PropTypes As your app grows, you can catch a lot of bugs with typechecking. For some applications, you can use JavaScript extensions like Flow or TypeScript to typecheck your whole application. But even if you don’t use those, React has some built-in typechecking abilities. To run typechecki...
iitjee/SteppinsWebDev
React/08 Prop Types.js
JavaScript
apache-2.0
3,584
const { spawn } = require('child_process') module.exports = function myExec(cmd, ...args) { return new Promise((resolve, reject) => { const run = spawn(cmd, args) let out = '' run.stdout.on('data', (data) => { console.log(`[stdout]: ${data.toString().trimEnd()}`) out += data.toString() ...
oldj/SwitchHosts
scripts/libs/my_exec.js
JavaScript
apache-2.0
641
'use strict'; exports.__esModule = true; var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactIntl = require('react-intl'); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(inst...
EaglesoftZJ/iGem_Web
build/components/modals/ModalCloseButton.react.js
JavaScript
apache-2.0
2,305
/* * Copyright (C) 2015 City of Lund (Lunds kommun) * * 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 l...
lundskommun/resejamforaren
rjweb/static/rjweb/plugins/Plugin.js
JavaScript
apache-2.0
1,534
/** * @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/blas/ext/base/dfill/lib/dfill.native.js
JavaScript
apache-2.0
1,396
/*! * ${copyright} */ // Provides control sap.m.VBox. sap.ui.define(['jquery.sap.global', './FlexBox', './library'], function(jQuery, FlexBox, library) { "use strict"; /** * Constructor for a new VBox. * * @param {string} [sId] id for the new control, generated automatically if no id is given * @param ...
olirogers/openui5
src/sap.m/src/sap/m/VBox.js
JavaScript
apache-2.0
1,081
// Karma configuration // Generated on Thu Sep 17 2015 09:48:07 GMT+0530 (IST) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/k...
magnusmel/ramisdance
tests/my.conf.js
JavaScript
apache-2.0
1,793
/* Copyright 2015 Kyle E. Mitchell * * 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 t...
commonform/commonform-serve
test/callbacks.test.js
JavaScript
apache-2.0
5,465
//>>built define("dojox/mobile/TreeView","dojo/_base/kernel dojo/_base/array dojo/_base/declare dojo/_base/lang dojo/_base/window dojo/dom-construct dijit/registry ./Heading ./ListItem ./ProgressIndicator ./RoundRectList ./ScrollableView ./viewRegistry dojo/has dojo/has!dojo-bidi?dojox/mobile/bidi/TreeView".split(" "),...
wanglongbiao/webapp-tools
Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/dojox/mobile/TreeView.js
JavaScript
apache-2.0
1,731
var handlebars = require('handlebars') , HAProxy = require('haproxy') , fs = require('fs') , resolve = require('path').resolve , util = require('util') , f = util.format , assert = require('assert') , EventEmitter = require('events').EventEmitter , debounce = require('debounce') , deepEqual = require...
apuckey/thalassa-aqueduct
lib/HaproxyManager.js
JavaScript
apache-2.0
7,597
// HTTP.methods({ // 'api/v1/staffMembers': { // get: function(data) { // this.setContentType('application/json'); // var staffMembers = StaffMembers.find(); // var test = []; // staffMembers.forEach(function(staffMember) { // test.push(staffMember); // // // SECOND RUN // // delete staf...
phanime/phanime
server/restapi/legacy/staffMembers.js
JavaScript
apache-2.0
1,026
(function ($){ $(".social-link").click(function (e) { var type = $("[name=social_type]:checked").val(); if (!type) return; var href = this.href; this.href = href.replace(/next=\/([^\/]+)\/([^\/]+)\/([^\/]+)\//, function (all, action, backend, old_type) { return "next=/{act...
huguesmayolle/famille
famille/static/js/register.js
JavaScript
apache-2.0
1,594
import classNames from "classnames"; import React, { Component } from "react"; import { Tooltip } from "reactjs-components"; import { FormReducer as ContainerReducer } from "../../reducers/serviceForm/Container"; import { FormReducer as ContainersReducer } from "../../reducers/serviceForm/Containers"; import { f...
jcloud-shengtai/dcos-ui_CN
plugins/services/src/js/components/forms/ContainerServiceFormAdvancedSection.js
JavaScript
apache-2.0
8,131
export const indicators = Object.freeze({ CARET: "caret", OPERATOR: "operator" }); export const AVAILABLE_INDICATORS = Object.freeze(Object.values(indicators));
Autodesk/hig
packages/tree-view/src/constants.js
JavaScript
apache-2.0
166
var version="2.7";var _summarisedStatistics=[];var _recentStatistics=[];var _hasDetailedTableBeenRendered=false;var _hasSummaryTableBeenRendered=false;var _haveHistoricGraphsBeenRendered=false;var GraphTab={Recent:1,Historic:2};function convertTimeIntoSeconds(time) {var timeParts=time.split(":");return timeParts[0]*36...
Gallio/infrastructure
ccnet/WebDashboard/javascript/StatisticsGraphs.js
JavaScript
apache-2.0
6,162