code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
/* * Copyright 2012 Medical Research Council Harwell. * * 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...
mpi2/phenodcc-qualitycontrol
src/main/webapp/app/view/ProcedureSpecimens.js
JavaScript
apache-2.0
5,279
/** * @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/_tools/lint/pkg-json/test/test.cli.js
JavaScript
apache-2.0
7,889
db.events.aggregate([ {$match: {"type": "PullRequestEvent", "payload.pull_request.merged": true}}, {$group: { _id: "$payload.pull_request.head.repo.language", "count": {$sum: 1}, }}, ]) .forEach(function(doc) { printjsononeline(doc); });
JohnStarich/github-code-recommendations
data-scripts/pull-request-language-counts.js
JavaScript
apache-2.0
270
var _ = require('lodash'), expect = require('chai').expect, runtime = require('../../index'), sdk = require('postman-collection'); describe('Option', function () { describe('Delay', function () { it('should add a delay between item execution', function (mochaDone) { var errored = fa...
postmanlabs/postman-runtime
test/integration-legacy/delay-spec.test.js
JavaScript
apache-2.0
14,610
function Visit() { jsonSign.visit = jsonSign.visit || {}; // 添加互访链接 json节点 } Visit.prototype = { clear : function() { $("#visitName").val(''); $("#visitHref").val(''); delete jsonSign.visit; }, ok : function() { var name = $("#visitName").val().trim(); var href = $("#visitHref").val().trim(); if (!nam...
baowp/platform
bundle/src/main/webapp/group/dynamic/tool/js/visit.js
JavaScript
apache-2.0
608
import _ from 'underscore'; import path from 'path'; import Promise from 'bluebird'; import fs from 'fs'; import util from './Util'; import resources from './ResourcesUtil'; var NAME = 'docker-vm'; var DockerMachine = { command: function () { return resources.dockerMachine(); }, name: function () { retu...
abstractitptyltd/kitematic
src/utils/DockerMachineUtil.js
JavaScript
apache-2.0
5,731
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { create } from '@storybook/theming'; import { g10 } from '@carbon/themes'; import PackageInfo from './../package.json'; const { fi...
carbon-design-system/carbon-components
packages/carbon-react/.storybook/theme.js
JavaScript
apache-2.0
1,279
/** * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1.5.1-660c2a2 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit t...
Birdrock/client-javascript
kubernetes/src/io.kubernetes.js/io.kubernetes.js.apis/CertificatesV1alpha1Api.js
JavaScript
apache-2.0
27,788
class TesteffortdashboardController { constructor() { this.name = 'testeffortdashboard'; } } export default TesteffortdashboardController;
garrettwong/GDashboard
client/app/components/testeffortdashboard/testeffortdashboard.controller.js
JavaScript
apache-2.0
148
function MessageboardMainWindow(_programId) { //HEADERS var CheckinModel = require('model/checkin'); var Topic = require('model/topic'); var TopicACS = require('acs/topicACS'); var TVProgram = require('model/tvprogram'); var MessageboardHeader = require('ui/common/Mb_MessageboardHeader'); var MessageboardTable...
noonswoon/social-tv-base
Resources/ui/common/Mb_MessageboardMainWindow.js
JavaScript
apache-2.0
17,669
var a04474 = [ [ "Convolve", "a04474.html#a43dc5a3ee340111a240b29c201291351", null ], [ "~Convolve", "a04474.html#afe4bdcfc64bd500237175b1d30f3bdfb", null ], [ "Backward", "a04474.html#a2ded8b7c997ed868a02df44445701712", null ], [ "DeSerialize", "a04474.html#a2ab11ec1c218c57b43a825f6657597b9", null ], ...
stweil/tesseract-ocr.github.io
4.0.0-beta.1/a04474.js
JavaScript
apache-2.0
689
// ==UserScript== // @name Forvo links // @namespace http://gubnota.github.io/fenki_js_helpers/plugin/monkey/forvo/ // @version 0.0.2 // @downloadURL http://gubnota.github.io/fenki_js_helpers/plugin/monkey/forvo/main.user.js // @description Forvo links // @include http://*.forvo.com/* // @include ...
gubnota/fenki_js_helpers
plugin/monkey/forvo/main.user.js
JavaScript
apache-2.0
1,357
/** * @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/special/abs/benchmark/benchmark.ndarray_nd_singleton_dims_float64.native.js
JavaScript
apache-2.0
2,539
/* * coap.js * * David Janes * IOTDB.org * 2016-01-23 * * HomeStar-related code * * Copyright [2013-2016] [David P. Janes] * * 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 a...
dpjanes/iotdb-transport-coap
homestar.js
JavaScript
apache-2.0
1,920
/** * Copyright 2022 The Google Earth Engine Community 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
google/earthengine-community
samples/javascript/apidocs/ee-list-frequency.js
JavaScript
apache-2.0
1,138
const accounts = { 1: { name: 'Preethi Kasireddy', username: '@iam_preethi', logo: require('./iam_preethi.jpeg'), bio: 'Software Engineer @coinbase. Previously @a16z & @GoldmanSachs. Besides doing nerdy things, I love running & reading. I believe in the magic of thinking big :)', colors: ['#3b00d9...
grahammendick/navigation
NavigationReactNative/sample/twitter/data.js
JavaScript
apache-2.0
5,177
(function() { /* globals chrome */ 'use strict'; var itpubDownloader = { //http://www.itpub.net/attachment.php?aid=OTIzNzAxfDQyYzhjNDRkfDE0MDQ0NjYwMjB8MzUwMTczfDE4NzU4NDA%3D&fid=61 //href = href.replace("attachment.php?", "forum.php?mod=attachment&"); attachmentRegexp: /attachment.php\?aid=[a-zA-Z0-...
jinpeng/chrome-ext-itpub
scripts/contentscript.js
JavaScript
apache-2.0
2,000
import React from "react"; import {map, sortBy, filter} from "lodash"; import BaseComponent from "../base-component"; import Config from "../../tools/config"; const cx = require("classnames"); var navigate = require('react-mini-router').navigate; const EMPTY_QUEUE_CONFIG_KEY = "home.queues.empty"; export default cla...
peh/jesque-admin
frontend/scripts/components/home/queues.js
JavaScript
apache-2.0
3,237
var _ = require('../util').lodash, PropertyBase = require('./property-base').PropertyBase, PropertyList = require('./property-list').PropertyList, QueryParam = require('./query-param').QueryParam, FormParam = require('./form-param').FormParam, EMPTY = '', RequestBody; /** * @typedef RequestB...
postmanlabs/postman-collection
lib/collection/request-body.js
JavaScript
apache-2.0
7,821
Titanium.include('function.js'); var btn_back=Titanium.UI.createButton( { height:60, width:320, top:370, font:{fontSize:20, fontWeight:"bold"}, title:"Back To Main Menu" }); btn_back.addEventListener('click',function(){ var menuWindow= Titanium.UI.createWindow({ title:'Menu', backgrou...
sadiredd-sv/Android-SDK-for-Drupal
Resources/logout.js
JavaScript
apache-2.0
402
function loadTArea(ids) { for (var i = 0; i < ids.length; i++) { var text = document.getElementById(ids[i]); function resize(el) { el.style.height = 'auto'; el.style.height = text.scrollHeight + 'px'; } resize(text); } } $('.notifyland').append('<div class="notify"><button class="ud3btn">X</button><fieldset class="fi...
klewasps/velvet
msgalign.js
JavaScript
apache-2.0
405
var provDb = db.getSiblingDB('core_provision'); //provDb.dropDatabase(); var files = listFiles('./api_builder'); for (var i = 0; i < files.length; i++) { load(files[i].name); } // services provDb.api_builder_services.drop(); var serviceRecords = []; serviceRecords.push(magazine); provDb.api_builder_services.insert...
soajs/soajs.mongodb.data
modules/dashboard/provision/apiBuilder.js
JavaScript
apache-2.0
502
var cities_2300=[{"id":2301,"name":"哈尔滨市"},{"id":2302,"name":"齐齐哈尔市"},{"id":2303,"name":"鸡西市"},{"id":2304,"name":"鹤岗市"},{"id":2305,"name":"双鸭山市"},{"id":2306,"name":"大庆市"},{"id":2307,"name":"伊春市"},{"id":2308,"name":"佳木斯市"},{"id":2309,"name":"七台河市"},{"id":2310,"name":"牡丹江市"},{"id":2311,"name":"黑河市"},{"id":2312,"name":"绥化...
huanggang/hyd
themes/hyd/js/city/cities_2300.js
JavaScript
apache-2.0
451
'use strict'; const fs = require('fs'); const path = require('path'); const compareResults = function (name, test) { const actualPath = path.join('tmp', name); const expectedPath = path.join('test', 'expected', name); const files = fs.readdirSync(actualPath); if (!files.length) throw new Err...
disqus/grunt-smartrev
test/smartrev_test.js
JavaScript
apache-2.0
1,290
define([ 'underscore', 'shared/views/BaseView', 'shared/views/datalist/DeadSimpleDataList' ], function (_, BaseView, DeadSimpleDataList) { var DoneButton = BaseView.extend({ className: 'simplemodal-button-bar o-form-button-bar', template: '<input type="button" data-type="close" \ ...
alanzhou-okta/okta-signin-widget
node_modules/@okta/courage/src/views/apps/BaseAssignmentDataList.js
JavaScript
apache-2.0
1,410
/* jshint strict: false */ /* global d3: false */ /* global HADOOPOPTS: false */ (function() { function bytesToSize(bytes) { var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; if (bytes === 0) { return '0 Byte'; } var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)))...
dp1140a/HDP-Viz
app/scripts/hdfs_d3.js
JavaScript
apache-2.0
12,334
'use strict' import { Page, User } from '../../../models' export function ListSites (userId) { return new Promise((resolve, reject) => { User .findOne({ _id: userId }) .select('id, accounts') .exec((err, user) => { if (err) { reject({ status: 400, mess...
mobyourlife/api
src/routes/users/shared/list-sites.js
JavaScript
apache-2.0
1,254
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { loadCategory, unloadCategory, postSubscribe } from '../../actions'; import PageHeader from '../../components/PageHeader'; import FormField from '../../components/FormField'; import Loading from ...
ericsoderberg/pbc-web
ui/js/pages/emailList/EmailListSubscribe.js
JavaScript
apache-2.0
3,249
/* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. */ /****************************************************************************** * * You may not use the identified files except in compliance with the Apache * License, Version 2.0 (the "License.") * * You may obtain a copy of the ...
oracle/Node-oracledb
test/fetchArraySize9.js
JavaScript
apache-2.0
16,309
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "CSS Text"; txtLang[1].innerHTML = "Klassnamn"; txtLang[2].innerHTML = "F\u00F6rhandsgranska"; txtLang[3].innerHTML = "Applicera p\u00E5"; var optLang = document.getElementsByName("...
studiodev/archives
2009 - Team D4 (IxGamer)/include/Editor/scripts/language/swedish/styles_cssText.js
JavaScript
apache-2.0
981
var Search = { searchFormValidate: function () { var key = $('.head-search__key'); key.focus(); key = $.trim(key.val()); return typeof key !== 'undefined' && key !== ''; }, searchForm: function (callback, params, saveHistory) { saveHistory = saveHistory ? true : windo...
iormark/Knigoed
src/main/webapp/WEB-INF/views/bundles/search/search.js
JavaScript
apache-2.0
3,921
// Game engine include('Javascript/Engine/Dugout/audio.js'); include('Javascript/Engine/Dugout/graphics.js'); include('Javascript/Engine/Dugout/logic.js'); include('Javascript/Engine/Dugout/dugout.js'); include('Javascript/Engine/main.js'); // Include your views include('Javascript/Views/SplashscreenView.js'); includ...
streitdaniel/dugout
com.mautilus.app.Dugout/Contents/Javascript/init.js
JavaScript
apache-2.0
1,068
var React = require('react'); var Router = require('react-router'); var MemberStore = require('../stores/MemberStore'); var MemberActions = require('../actions/MemberActions'); var Reports = React.createClass({ getInitialState: function() { return MemberStore.getState(); }, componentDidMount: function() { ...
ppiscuc/em1
src/components/reports.react.js
JavaScript
apache-2.0
654
// Lightbox ;(function() { $(document).ready(function () { $('.lightboxed').css('cursor', 'pointer'); $('.lightboxed').click(function (e) { e.preventDefault(); var image_href = $(this).attr("src"); if ($('#lightbox').length > 0) { $('#content').html('<img src="'...
nuxeo/nuxeo.github.io
javascripts/lightbox.js
JavaScript
apache-2.0
1,010
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { function renderProducts() { Ti.API.info("Render um verticais"); $.paginacao.title = current_page + "/" + paginas; var...
lukas-conka/mobile-app
Resources/iphone/alloy/controllers/vitrine_cinco_verticais.js
JavaScript
apache-2.0
22,712
/*xlib.20require 资源加载函数*/ (function(x){ x.define=function(id,deps,result){/*定义一个资源 id是可选项 rs可以是data也可以是函数 资源的加载*/ for(var i=0;i<rsList.length;i++){ var rs=rsList[i]; if(rs.id==id){/*如果id一致,且对象处于load状态*/ rs.state="complete";/*加载完毕*/ rs.callBack(result); break; } } } /*每个rs拥有src属性,加载状态属性...
ldjking/sharegrid
web/src/excluede/20require.js
JavaScript
apache-2.0
1,309
// Generated by CoffeeScript 1.10.0 /* * ---------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * ---------------------------------------------------------------------------- */ (function() { var JS, JavaScriptToQueryVisitor, Q, _...
Azure/queryjs
lib/JavaScriptToQueryVisitor.js
JavaScript
apache-2.0
12,909
// @ts-nocheck /** * @license Copyright 2018 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 requ...
GoogleChrome/lighthouse
lighthouse-core/test/network-records-to-devtools-log.js
JavaScript
apache-2.0
9,039
//engine: JScript //uname: configCaption //dname: Заголовок окна Конфигуратора //descr: Изменение заголовка окна Конфигуратора на более полезное //author: orefkov, artbear //help: inplace //www: https://snegopat.ru/scripts/wiki?name=configCaption.js //addin: global /*@ Это скрипт, позволящий заменять заголовок окна ...
artbear/snegopat-reborn-scripts
core/addins/configCaption.js
JavaScript
apache-2.0
8,950
Clazz.declarePackage ("J.popup"); Clazz.load (["J.api.JmolPopupInterface", "J.popup.JmolAbstractMenu", "java.util.Hashtable", "$.Properties", "J.util.JmolList"], "J.popup.GenericPopup", ["java.lang.Boolean", "$.Long", "java.util.StringTokenizer", "J.i18n.GT", "J.popup.MainPopupResourceBundle", "J.util.Elements", "$.Es...
DeepLit/WHG
root/static/js/jsmol/j2s/J/popup/GenericPopup.js
JavaScript
apache-2.0
41,243
'use strict'; var utils = require('../utils.js'); /** * average neighbours distance algorithm described as S2 in the following paper. * * Not yet complete. * * @param distance {Number} Number of elements to look around * @param item {Number} Item value to compare against its neighbourhood. * @param i {Number}...
mcanthony/slayer
lib/algorithms/average-neighbours-distance.js
JavaScript
apache-2.0
808
// JavaScript source code $(document).ready(function () { //Top Left Admin Content Menu $('a[href="#Admin_asSiteTree_SkipLink"]').remove(); //Remove anchor to skiplink $('#Admin_asSiteTree_SkipLink').remove(); ...
Appleseed/portal
Master/Appleseed/WebSites/Appleseed/Design/Themes/Modern-Business.Bootstrap/js/admin-menu-table-unwrap.js
JavaScript
apache-2.0
5,447
(function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['../ApiClient', '../model/Complaints'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node....
CallControl/CallControlClient
javascript-client/src/api/ComplaintsApi.js
JavaScript
apache-2.0
3,274
/** * Copyright (C) 2016 Steven Bartels * * 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...
stevinho/pat
scripts/app.js
JavaScript
apache-2.0
2,112
import React from 'react'; import { connect } from 'react-redux'; import { reduxForm, clearSubmitErrors } from 'redux-form'; import PropTypes from 'prop-types'; import Snackbar from 'material-ui/Snackbar'; import GridColumn from '../../../common/grid/gridColumn'; import TextFieldForm from '../../../forms/textFieldForm'...
unicef/un-partner-portal
frontend/src/components/eois/modals/addClarificationAnswer/addClarificationAnswerForm.js
JavaScript
apache-2.0
1,985
'use strict'; var jGlobals = require('j2k-jpip-globals.js'); module.exports = JpipRequestParamsModifier; function JpipRequestParamsModifier(codestreamStructure) { this.modifyCodestreamPartParams = function modifyCodestreamPartParams(codestreamPartParams) { var codestreamPartParamsModified = castCodestrea...
MaMazav/webjpip.js
src/image-structures/jpip-request-params-modifier.js
JavaScript
apache-2.0
5,976
const logger = require('../utility/logger') exports.add = (database) => { return function (request, h) { let task = typeof request.payload === 'string' ? JSON.parse(request.payload) : request.payload; logger.data(`adding task to queue: ${JSON.stringify(request.payload)}`) database.addToQueue(task...
ThatConference/RegistrationServer
routes/queue.js
JavaScript
apache-2.0
652
define(function (require, exports, module) { "use strict"; var args = getArgs(), isStatic = true; // set PATH if (window.location.hostname.indexOf('weexiao') >= 0) { window.WEXPATH = ''; if (args.wexschool) { $.fn.cookie("wexschool", args.wexschool); $.fn.cookie(...
wenpi/weixiao
web/public/wap/app.js
JavaScript
apache-2.0
6,595
/* Load this script using conditional IE comments if you need to support IE 7 and IE 6. */ window.onload = function() { function addIcon(el, entity) { var html = el.innerHTML; el.innerHTML = '<span style="font-family: \'ecoico\'">' + entity + '</span>' + html; } var icons = { 'icon-users' : '&#xe000;' }, ...
joshuamckenty/somegood
somegood/static/icons/lte-ie7.js
JavaScript
apache-2.0
648
// Copyright 2022 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleapis/nodejs-bigquery-connection
samples/generated/v1/connection_service.get_iam_policy.js
JavaScript
apache-2.0
2,033
// app/controllers/articles.js import Ember from 'ember'; export default Ember.Controller.extend({ // queryParams: [{ // showMagnifyingGlass: { // scope: 'controller' // } // }] // , // 定义一个返回数组的计算属性,可以直接在模板上遍历 // filteredArticles: Ember.computed('category', 'model', function() { // var c...
ubuntuvim/my_emberjs_code
chapter3_routes/app/controllers/articles.js
JavaScript
apache-2.0
596
var Promise = require('bluebird'); var jobConstants = require('../../../engine/constants'); module.exports = function(deps){ var schedulerHelper = require('../helpers/scheduler')(deps); var authHelper = require('../helpers/auth')(deps); return { savePreferences(req, res, next){ const...
amitava82/radiole
server/lib/controllers/settings.js
JavaScript
apache-2.0
2,386
/** * @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...
google/outrigger
uxAutomation/audits/form-autocomplete/payment-form.js
JavaScript
apache-2.0
3,784
const Constants = require('../../../util/Constants'); const BeforeReadyWhitelist = [ Constants.WSEvents.READY, Constants.WSEvents.GUILD_CREATE, Constants.WSEvents.GUILD_DELETE, Constants.WSEvents.GUILD_MEMBERS_CHUNK, Constants.WSEvents.GUILD_MEMBER_ADD, Constants.WSEvents.GUILD_MEMBER_REMOVE, ]; class Web...
meew0/discord.js
src/client/websocket/packets/WebSocketPacketManager.js
JavaScript
apache-2.0
3,969
// 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/ElevationProfile/nls/nb/strings",{display:{elevationProfileTitle:"H\u00f8ydeprofil",showMe:"vis meg",selectLine:"\x3cb\x3eVelg\x3c/b\x3e et geoob...
wanglongbiao/webapp-tools
Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/esri/dijit/ElevationProfile/nls/nb/strings.js
JavaScript
apache-2.0
2,124
function onBuyClicked() { var supportedInstruments = [ 'https://android.com/pay', 'visa', 'mastercard', 'amex', 'discover', 'maestro', 'diners', 'jcb', 'unionpay' ]; var details = { items: [{ id: 'original', label: 'Original donation amount', amount: { currency: 'USD...
rsolomakhin/rsolomakhin.github.io
52/pr/pr.js
JavaScript
apache-2.0
1,723
describe("chorus.pages.Base", function() { beforeEach(function() { chorus.user = new chorus.models.User({ "firstName": "Daniel", "lastName": "Burkes", "fullName": "Daniel Francis Burkes" }); }); describe("initialize", function() { beforeEach(func...
nvoron23/chorus
spec/javascripts/pages/pages_spec.js
JavaScript
apache-2.0
17,204
(function () { "use strict"; sap.ui.require([ "sap/ui/dt/test/report/QUnit", "sap/ui/dt/test/ElementEnablementTest", "sap/ui/rta/test/controlEnablingCheck", "sap/m/Input", "sap/m/Label", "sap/ui/core/Title", "sap/ui/layout/form/SimpleForm", "sap/m/Toolbar" ], function(QUnit, ElementEnablementTest, r...
olirogers/openui5
src/sap.ui.layout/test/sap/ui/layout/qunit/dt/form/SimpleForm.qunit.js
JavaScript
apache-2.0
4,261
/* Q Light Controller Plus networkconfig.js Copyright (c) Massimo Callegari 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.txt Un...
nedmech/qlcplus
webaccess/res/networkconfig.js
JavaScript
apache-2.0
2,050
OC.L10N.register( "firstrunwizard", { "Welcome to %s" : "Добро пожаловать в %s", "Your personal web services. All your files, contacts, calendar and more, in one place." : "Ваши персональные веб сервисы. Все файлы, контакты, календарь и многое другое в одном месте.", "Get the apps to sync your files...
kebenxiaoming/owncloudRedis
apps/firstrunwizard/l10n/ru.js
JavaScript
apache-2.0
2,418
goog.provide('helloworld.Helpers'); goog.require('goog.math.Box'); goog.require('goog.iter'); goog.require('goog.structs.Set'); goog.require('lime.animation.FadeTo'); goog.require('lime.animation.Sequence'); goog.require('helloworld.Splash'); helloworld.Helpers= function() { // ? }; helloworld.Helpers.createStandar...
Mequrel/Hackengers
helloworld/helpers.js
JavaScript
apache-2.0
2,685
/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.dtl.HtmlInline"]){dojo._hasResource["dojox.dtl.HtmlInline"]=true;dojo.provide("dojox.dt...
feklee/rotogame
source/dojo-release-1.3.0-src/release/dojo/dojox/dtl/HtmlInline.js
JavaScript
apache-2.0
616
var superTable = function(tableId, options) { options = options || {}; this.cssSkin = options.cssSkin || ""; this.headerRows = parseInt(options.headerRows || "1"); this.fixedCols = parseInt(options.fixedCols || "0"); this.tableNumber=parseInt(options.tableNumber || "0" ); this.colWidths = options.c...
tzou24/BPS
BPS/WebRoot/html/js/supertables.js
JavaScript
apache-2.0
8,950
/* * * Wijmo Library 5.20162.188 * http://wijmo.com/ * * Copyright(c) GrapeCity, Inc. All rights reserved. * * Licensed under the Wijmo Commercial License. * sales@wijmo.com * http://wijmo.com/products/wijmo-5/license/ * */ System.register("wijmo/wijmo.angular2....
mabetle/mps
_libs/wijmo-5/interop/angular2/wijmo.angular2.grid.filter.min.js
JavaScript
apache-2.0
2,604
/* Copyright 2010-2013 SourceGear, 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 in writing, softwar...
glycerine/vj
src/veracity/src/js_tests/st_wc_merge_017.js
JavaScript
apache-2.0
6,345
//// [tests/cases/compiler/declFileAccessors.ts] //// //// [declFileAccessors_0.ts] /** This is comment for c1*/ export class c1 { /** getter property*/ public get p3() { return 10; } /** setter property*/ public set p3(/** this is value*/value: number) { } /** private getter pro...
minestarks/TypeScript
tests/baselines/reference/declFileAccessors.js
JavaScript
apache-2.0
8,074
var EtherFundMeCrowdfunding = artifacts.require("./EtherFundMeCrowdfunding.sol"); module.exports = function(deployer) { const dateTime = Date.now(); const timestamp = Math.floor(dateTime / 1000); deployer.deploy(EtherFundMeCrowdfunding, 1, "test1", timestamp, timestamp + 1000000000, 1000000000000000000, "0x62ec...
etherfundme/dapp
migrations/2_deploy_contracts.js
JavaScript
apache-2.0
411
var Promise = require("bluebird"); var path = require("path"); var fs = Promise.promisifyAll(require("fs")); var should = require('should'); var testFile = path.resolve("..", "testFile.txt"); var gratuitousFileFunction = function () { return ensureFileDoesntExist() .then(writeData) .then(verifyDat...
jlipps/async-showcase
promises-bluebird-topdown/05-kitchen-sink.js
JavaScript
apache-2.0
2,028
/******************************************************************************* * Copyright [2017] [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 License...
quirinobrizi/buckle
ui/js/app/clusters/component.js
JavaScript
apache-2.0
21,365
(function (_, Backbone, Marionette) { "use strict"; var RouteController = Marionette.RouteController = function (options) { }; _.extend(RouteController.prototype, { executeAction: function (actionName) { this[actionName].action.apply(this, Array.prototype.slice.apply(argu...
Liiion911/map-server
public/Scripts/backbone/config/marionette/routeController.js
JavaScript
apache-2.0
1,663
// Created by iWeb 3.0.4 local-build-20140617 setTransparentGifURL('../Media/transparent.gif');function applyEffects() {var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,332),url:'Blog_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Blog_files/strok...
ArcherCraftStore/GlassBottle
Blog/Blog_files/Blog.js
JavaScript
apache-2.0
1,380
/** * @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-centrosymmetric-matrix/test/test.js
JavaScript
apache-2.0
4,797
//// [objectBindingPatternKeywordIdentifiers03.ts] var { "while" } = { while: 1 } //// [objectBindingPatternKeywordIdentifiers03.js] var = { while: 1 }["while"];
freedot/tstolua
tests/baselines/reference/objectBindingPatternKeywordIdentifiers03.js
JavaScript
apache-2.0
165
/** * Copyright 2018 The Cotonic 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...
cotonic/cotonic
src/cotonic.mqtt.js
JavaScript
apache-2.0
4,003
(function() { Smart.ui.createApplicationMainWin = function() { var navWindow; var mainWindow = Titanium.UI.createWindow(style.Window); var lblTitle = Titanium.UI.createLabel(Smart.combine(style.titleBar, { text : 'SmartSell' })); mainWindow.setTitleControl(lblTitle); //Eerste scherm navWindow = Ti...
sofie/smartsell
Resources/windows/main.js
JavaScript
apache-2.0
6,851
'use strict'; const model = require('../model'); const crypto = require('crypto'); const fs = require('fs'); const utils = require('../utils'); const api = require('./../api'); let User = model.User; var fn_login = async(ctx, next)=> { var phone = ctx.request.body.phone || '', password = ctx.requ...
shun99/blog-server
controllers/login.js
JavaScript
apache-2.0
1,710
/*! * ${copyright} */ // Provides reuse functionality for reading documentation from api.json files (as created by the UI5 JSDoc3 template/plugin) sap.ui.define(["sap/base/strings/escapeRegExp"], function(escapeRegExp) { "use strict"; function defaultLinkFormatter(target, text) { return "<code>" + (text || tar...
SAP/openui5
src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/util/JSDocUtil.js
JavaScript
apache-2.0
2,628
function QuestionService($interval, Restangular) { this.question = Restangular.all('Note'); var _this = this, errorCount = 0, running = true; this.questions = []; this.selectedQuestion; function questionsReceived(questions) { errorCount = 0; if (_this.questions.length != questions.length) { // Updating the ...
jrgleason/ngGrails
src/main/angular/question/QuestionService.js
JavaScript
apache-2.0
1,178
import React from "react"; import { observer } from "mobx-react"; import classNames from "classnames"; import menuData from 'store/config/MenuData'; import perceptionIcon from "assets/images/menu/Perception.png"; import predictionIcon from "assets/images/menu/Prediction.png"; import routingIcon from "assets/images/menu...
fy2462/apollo
modules/dreamview/frontend/src/components/SideBar/Menu.js
JavaScript
apache-2.0
4,794
import express from 'express'; const router = express.Router(); router.route('/') .post((req, res, next) => { console.log(req.body); res.json(req.body); }); export default router;
talp101/messenger
routes/login_router.js
JavaScript
apache-2.0
206
/* * nodekit.io * * Copyright (c) 2016 OffGrid Networks. All Rights Reserved. * Portions Copyright (c) 2013 GitHub, Inc. under MIT License * * 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...
nodekit-io/nodekit-darwin
src/nodekit/NKCore/lib-core/platform/tcp.js
JavaScript
apache-2.0
931
'use strict'; angular.module('gigsecApp') .controller('user-managementDeleteController', function($scope, $uibModalInstance, entity, User) { $scope.user = entity; $scope.clear = function() { $uibModalInstance.dismiss('cancel'); }; $scope.confirmDelete = function (login) { ...
clamped/gigsec
src/main/webapp/scripts/app/admin/user-management/user-management-delete-dialog.controller.js
JavaScript
apache-2.0
481
/* * Create the tableViewRow for the Episodes in the MasterView table */ function EpisodeRow(episode){ // Create the row var self = Ti.UI.createTableViewRow( { className: 'episodeRow', backgroundColor: '#FFFFFF', episodeId: episode.id, episodeTitle: ep...
hmmps/kvack
Resources/ui/common/episodeRow.js
JavaScript
apache-2.0
1,254
'use strict'; describe('ContactsListCtrl', function () { // load the controller's module beforeEach(module('rippleDemonstrator')); var ContactsListCtrl, scope, $location, $stateParams, $state, PatientService, Contact, $modal; var fakeModal = { result: { then: function(confirmCallback, cancelC...
RippleOSI/NE-HSCIE-Core
webapp/test/spec/controllers/contacts-list.js
JavaScript
apache-2.0
1,530
/* * 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 applicabl...
google/marzipano
src/collections/WorkQueue.js
JavaScript
apache-2.0
3,698
export default class PublicationCardController { constructor($scope, $location, $sce, marked, uuid, api, stringUtil) { 'ngInject'; this.$scope = $scope; this.$location = $location; this.$sce = $sce; this.uuid = uuid; this.marked = marked; this.api = api; this.stringUtil = stringUtil; ...
Product-Foundry/business-elements-angular
src/components/publication-card/publication-card.controller.js
JavaScript
apache-2.0
10,287
// // ideally we would create a new canvas for each new test and destroy it when // the test is over in order to keep each test clean. However, some browsers // get a little grumpy if you create a lot of WebGL contexts. Typically they // try to free up old contexts as you create new ones but sometimes you'll // still ...
Paradem/react-pixi
test/createTestFixtureMountPoint.js
JavaScript
apache-2.0
1,952
/* * Copyright (c) 2011-2014 YY Digital Pty Ltd. All Rights Reserved. * Please see the LICENSE file included with this distribution for details. */ var spawn = require('child_process').spawn; module.exports = function(cmd,args) { if (process.platform === 'win32') { args = ['/c',cmd].concat(args); cmd = pr...
cb1kenobi/TiShadow
cli/support/spawn.js
JavaScript
apache-2.0
372
$(function () { $("#jqGrid").jqGrid({ url: '../course/list', datatype: "json", colModel: [ { label: '课程编号', name: 'courseId', index: 'course_id', width: 50, key: true ,hidden:true}, { label: '班级名称', name: 'courseName', index: 'course_name', width: 80 }, { label: '老师', name: 'teache...
liao1565553/renren-security-master
renren-web/src/main/webapp/js/course/course.js
JavaScript
apache-2.0
5,821
ORProcess = function(_process) { this._process = _process; this.inputState = {}; this.beforeKill = function() { log(this._process.getPid() + ": beforeKill"); }; this.beforeRemoveVertex = function(vertex) { log(this._process.getPid() + ": beforeRemoveVertex"); }; ...
jrecursive/protograph
udfs/js/ORProcess.js
JavaScript
apache-2.0
2,414
// jQuery for page scrolling feature - requires jQuery Easing plugin $(function() { $('a.page-scroll').bind('click', function(event) { var $anchor = $(this); $('html, body').stop().animate({ scrollTop: $($anchor.attr('href')).offset().top }, 1500, 'easeInOutExpo'); event....
vovinamberlin/vovinamberlin.github.io
js/landing-page.js
JavaScript
apache-2.0
1,506
'use strict'; var angular = require('angular'); var AdminSettingsModule = angular.module('broker.admin.settings', []) .controller('EditSettingsController', require('./edit_settings_controller')) .controller('SettingsController', require('./settings_controller')) .config(require('./routes')); module.expor...
normalfaults/ux
assets/js/app/admin/settings/index.js
JavaScript
apache-2.0
345
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP var React = require('react'); var FormattedMessage = require('../FormattedMessage'); var CLASS_ROOT = "logo-icon"; var Grommet = React.createClass({ propTypes: { a11yTitle: React.PropTypes.string, large: React.PropTypes.bool, size: R...
marlonpp/grommet-old
src/js/components/icons/Grommet.js
JavaScript
apache-2.0
2,759
/** * Created by kaicui on 17/8/22. * 表示战场上的一个英雄 * * 注意: * 1、hero被添加到一个team之后,可能会被注入一些属性,比如team属性 */ const oop = require("local-libs").oop; const event = require("local-libs").event; const Levelable = require("../../level/levelable"); const {SkillType} = require("../../skill/skill"); const {getRaceCamp} = requi...
wbpmrck/magical-world
domain/mechanism/role/hero.js
JavaScript
apache-2.0
12,723
define([ './BoundingSphere', './Cartesian2', './Cartesian3', './Cartographic', './ComponentDatatype', './defaultValue', './defined', './defineProperties', './DeveloperError', './EllipseGeometryLibrary', './Ellipsoid', './Geo...
oterral/cesium
Source/Core/EllipseGeometry.js
JavaScript
apache-2.0
42,200
/* * 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 ...
knutsel/traffic_control-1
traffic_ops/experimental/ui/app/src/common/modules/form/user/edit/FormEditUserController.js
JavaScript
apache-2.0
2,585
/*! * ${copyright} */ // Provides object sap.ui.dt.DOMUtil. sap.ui.define([ 'jquery.sap.global', 'sap/ui/Device', 'sap/ui/dt/Util' ], function( jQuery, Device, Util ) { "use strict"; /** * Class for DOM Utils. * * @class * Utility functionality for DOM * * @author SAP SE * @version ${version} ...
cschuff/openui5
src/sap.ui.dt/src/sap/ui/dt/DOMUtil.js
JavaScript
apache-2.0
13,150
/* globals SIP,user,moment, Stopwatch */ var ctxSip; $(document).ready(function() { if (typeof(user) === 'undefined') { user = JSON.parse(localStorage.getItem('SIPCreds')); } ctxSip = { config : { password : user.Pass, displayName : user.Display, ...
darkpsy3934/community-plugins
ofswitch/src/phone/scripts/app.js
JavaScript
apache-2.0
25,584
import when from "../ThirdParty/when.js"; import Credit from "./Credit.js"; import defaultValue from "./defaultValue.js"; import defined from "./defined.js"; import DeveloperError from "./DeveloperError.js"; import Event from "./Event.js"; import GeographicTilingScheme from "./GeographicTilingScheme.js"; import GoogleE...
likangning93/cesium
Source/Core/GoogleEarthEnterpriseTerrainProvider.js
JavaScript
apache-2.0
20,590
// (C) Copyright 2014-2015 Hewlett-Packard Development Company, L.P. var React = require('react'); var ErrorStatus = React.createClass({ render: function() { var className = 'status-icon status-icon-error'; if (this.props.className) { className += ' ' + this.props.className; } return ( ...
mattfarina/grommet
src/js/components/icons/status/ErrorStatus.js
JavaScript
apache-2.0
752