code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
import { assertIsNotNullOrUndefined } from "../../utils/contracts"; import { isNullOrUndefined } from "../../utils/checks"; import { UNDEFINED } from "../../types/primitive-type"; import { toString } from "../../utils/native"; import { exhaust as x } from "../../utils/async"; import { getMethod } from "../../utils/help...
jrsearles/SandBoxr
src/es5/string/string.replace.js
JavaScript
apache-2.0
1,693
/** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ * @author WestLangley / http://github.com/WestLangley */ import { Vector3 } from '../math/Vector3.js'; import { Object3D } from '../core/Object3D.js'; import { Line } from '../objects/Line.js'; import { Float32BufferAttribute ...
webmaster444/webmaster444.github.io
other/mypointcloud/three/src/helpers/DirectionalLightHelper.js
JavaScript
apache-2.0
2,415
//// [callOnClass.js] var C = (function () { function C() { } return C; })(); var c = C();
fdecampredon/jsx-typescript-old-version
tests/baselines/reference/callOnClass.js
JavaScript
apache-2.0
110
'use strict'; const _ = require('lodash'); const Promise = require('bluebird'); const errors = require('../errors'); const Timeout = errors.Timeout; class RetryOperation { constructor(options) { _.assign(this, { maxAttempts: 10, timeout: Infinity, factor: 2, minDelay: 1174, // last attem...
sauravmndl/service-fabrik-broker
common/utils/RetryOperation.js
JavaScript
apache-2.0
1,653
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
gabrielschulhof/jerryscript
tests/jerry/es2015/class-inheritance-inner-class.js
JavaScript
apache-2.0
1,437
'use strict'; app.config(function($stateProvider, $urlRouterProvider){ $urlRouterProvider.otherwise('/home'); $stateProvider.state('home',{ url:'/home', templateUrl:'./theme/partials/main.tpl.html', }); $stateProvider.state('post',{ url:'/post/:postName', templateUrl:'./theme/part...
thebrainmaniac/blogthebuilder
includes/theme_cache/vertiTheme/js/themeStructure.js
JavaScript
apache-2.0
2,302
// Copyright JS Foundation and other contributors, http://js.foundation // // 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 r...
jerryscript-project/jerryscript
tests/jerry/json-stringify.js
JavaScript
apache-2.0
8,674
/** * @license DEDUPE_ON_MINIFY * 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/LIC...
adup-tech/amphtml
validator/engine/validator.js
JavaScript
apache-2.0
238,223
{%- from "opencontrail/map.jinja" import web with context %} /* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ var config = {}; config.orchestration = {}; config.orchestration.Manager = 'openstack' {%- if web.identity.version == "3" %} config.multi_tenancy = {}; config.multi_tenancy.enabled = ...
daneel23/salt-formula-opencontrail
opencontrail/files/2.2/config.global.js
JavaScript
apache-2.0
10,803
/* * jQuery UI addresspicker @VERSION * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Progressbar * * Depends: * jquery.ui.core.js * jquery.ui.widget.js * jquery.ui.autocomple...
openwings-OC/nao
web/js/jquery.addresspicker.js
JavaScript
apache-2.0
6,263
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (tasks, concurrency, callback) { if (typeof concurrency === 'function') { // concurrency is optional, shift the args. callback = concurrency; concurrency = null; } callback =...
ionutbarau/petstore
petstore-app/src/main/resources/static/node_modules/bower/lib/node_modules/form-data/node_modules/async/auto.js
JavaScript
apache-2.0
9,598
describe("domain landing page", () => { beforeEach(() => { cy.elektraLogin( Cypress.env("TEST_DOMAIN"), Cypress.env("TEST_USER"), Cypress.env("TEST_PASSWORD") ) }) it("open reverse lookup page and search for elektra test vm", () => { cy.visit(`/${Cypress.env("TEST_DOMAIN")}/lookup...
sapcc/elektra
e2e/cypress/integration/admin/reverse_lookup.js
JavaScript
apache-2.0
710
const path = require("path"); module.exports = { includePaths: __dirname };
invader365/anchorLESS
index.js
JavaScript
apache-2.0
80
const showLoadingImage = require('../../../../../base/utility').showLoadingImage; const showLocalTimeOnHover = require('../../../../../base/clock').Clock.showLocalTimeOnHover; const localize = require('../../../../../base/localize').localize; const Button = require('../../../../../common_functions/...
fayland/binary-static
src/javascript/binary/websocket_pages/user/account/settings/connections/connections.ui.js
JavaScript
apache-2.0
3,182
/* * Copyright (c) 2015-2016 Dilvan Moreira. * Copyright (c) 2015-2016 John Garavito. * * 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/LICENS...
DilvanLab/Decisioner
grails-app/assets/javascripts/localization/messages_cs.js
JavaScript
apache-2.0
2,099
"use strict"; var testing_1 = require('@angular/core/testing'); var login_component_1 = require('./login.component'); describe('LoginComponent', function () { var component; var fixture; beforeEach(testing_1.async(function () { testing_1.TestBed.configureTestingModule({ declarations: [lo...
UCL/EIDP-4
eidpng/src/app/login/login.component.spec.js
JavaScript
apache-2.0
700
(function () { 'use strict'; angular .module('boardGamesApp') .factory('Register', Register); Register.$inject = ['$resource']; function Register ($resource) { return $resource('api/register', {}, {}); } })();
simpleliving40/boardgamers
src/main/webapp/app/services/auth/register.service.js
JavaScript
apache-2.0
257
angular.module("admin-app").controller("CertificatesController", CertificatesController); CertificatesController.$inject = ['$scope', '$state', 'urls', 'HttpRequest', 'toastr', 'validators', 'SweetAlert']; function CertificatesController($scope, $state, urls, HttpRequest, toastr, validators, SweetAlert) { $scope.up...
bryamrrr/universyty
app/assets/javascripts/admin/courses/certificatesController.js
JavaScript
apache-2.0
1,659
/* * Copyright 2017 Vojtech Krizek, info@LLmaps.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 by appli...
LLmaps/DataMiner
web/src/main/webapp/templates/dm-data-processors-type_conversion.js
JavaScript
apache-2.0
2,333
/** * @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/stats/base/dists/chisquare/mgf/test/test.factory.js
JavaScript
apache-2.0
2,918
/* globals describe, it, expect, hot, cold, expectObservable, expectSubscriptions */ var Rx = require('../../dist/cjs/Rx'); var Observable = Rx.Observable; describe('Observable.prototype.takeUntil()', function () { it('should take values until notifier emits', function () { var e1 = hot('--a--b--c--d--e--f--...
justinwoo/RxJS
spec/operators/takeUntil-spec.js
JavaScript
apache-2.0
7,232
import _ from 'lodash/fp'; import { findDOMNode } from 'react-dom'; export const unmountOnBlur = ({ componentDidMount() { const { toggleVisibility } = this.props; const componentDOMNode = findDOMNode(this); this._toggleVisibility = (e, ...restArgs) => { const isClickInsideComponent = componentDOMN...
PulseTile/PulseTile-React
src/utils/HOCs/unmount-on-blur.utils.js
JavaScript
apache-2.0
726
function clamp(val, min, max) { if (val > max) { return max; } if (val < min) { return min; } return val; } export class MazeCanvasRenderer { constructor(grid, colors) { this.grid = grid; this.colors = colors; } setDistanceGrid(distances, floorValue,...
spearwolf/picimo-examples
src/examples/legendary-mazes/lib/maze_canvas_renderer.js
JavaScript
apache-2.0
2,305
// Generated by CoffeeScript 1.6.3 /* jQuery Growl Copyright 2013 Kevin Sylvestre 1.2.0 */ (function() { "use strict"; var $, Animation, Growl, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; $ = jQuery; Animation = (function() { function Animation() {} Anima...
arobito/arobito
src/web-static/jq/jquery/growl/jquery.growl.js
JavaScript
apache-2.0
6,067
ace.define("ace/mode/doc_comment_highlight_rules",[], function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; var DocCommentHighlightRules = function() { this.$rules = { "start" : [ { tok...
SAP/openui5
src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/mode-swift.js
JavaScript
apache-2.0
13,361
;Quintus.Websocket = function (Q) { // prepare websocket connection var connection; var connect = function() { var url = "ws://" + window.location.host + "/ws/"; connection = new WebSocket(url); connection.onopen = function(){ console.log("webSocket open"); ...
slintes/Webracer
WebracerWeb/src/main/resources/html/js/websocket.js
JavaScript
apache-2.0
3,213
!function ($) { var ProgressBar = function (element, options) { this.element = $(element); this.position = 0; this.percent = 0; var hasOptions = typeof options == 'object'; this.dangerMarker = $.fn.progressbar.defaults.dangerMarker; if (hasOptions && typeof options.dangerMarker == 'number') { this.se...
xmruibi/CarsFinder
web/js/progressbar.js
JavaScript
apache-2.0
4,251
/* * 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/view/GroupMemeberGrid.js
JavaScript
apache-2.0
6,570
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
AutorestCI/azure-sdk-for-node
lib/services/recoveryServicesSiteRecoveryManagement/lib/models/vmmToVmmUpdateNetworkMappingInput.js
JavaScript
apache-2.0
1,336
// Copyright (C) 2017 The Android Open Source Project // // 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 ...
gerrit-review/gerrit
polygerrit-ui/app/elements/plugins/gr-attribute-helper/gr-attribute-helper.js
JavaScript
apache-2.0
2,722
/* * 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 ...
Hanks10100/incubator-weex
runtime/bridge/CallbackManager.js
JavaScript
apache-2.0
3,160
angular.module('socially').filter('uninvited', [function () { return function (users, party) { if (!party) return false; return _.filter(users, function (user) { if (user._id === party.owner || _.contains(party.invited, user._id)) return false; return true; }); }; }]);
mackbrowne/sb-admin-2-angular-meteor
client/parties/filters/uninvited.js
JavaScript
apache-2.0
312
'use strict'; describe('test.and.js', function () { it('does and for _id', function () { var db = context.db; return db.bulkDocs([ { name: 'mario', _id: 'mario', rank: 5, series: 'mario', debut: 1981 }, { name: 'jigglypuff', _id: 'puff', rank: 8, series: 'pokemon', debut: 1996 }, { name: 'l...
pouchdb/pouchdb
tests/find/test-suite-1/test.and.js
JavaScript
apache-2.0
6,586
/** * @license * lodash 3.10.1 (Custom Build) <https://lodash.com/> * Build: `lodash modern -o ./lodash.js` * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative...
mapu77/CrowdWon-Tool
js/library/lodash-3.10.1.min.js
JavaScript
apache-2.0
466,950
const process = require("process"); const { promisify } = require("util"); const fs = require("fs"); const path = require("path"); module.exports = async function parseDocConfigs( baseInDir, baseOutDir, version ) { const rootConfigFileName = path.join(baseInDir, ".docConfig.json"); const rootConfig = await p...
canalplus/rx-player
scripts/doc-generator/parse_doc_configs.js
JavaScript
apache-2.0
9,687
var dir_7265ac5285a52c426ae9b593dbd1bc17 = [ [ "org", "dir_eed327807d80cce46dc89b56e2758421.html", "dir_eed327807d80cce46dc89b56e2758421" ] ];
onosfw/apis
onos/apis/dir_7265ac5285a52c426ae9b593dbd1bc17.js
JavaScript
apache-2.0
146
window.onload=onLoad; var tl; function onLoad() { var eventSource = new Timeline.DefaultEventSource(); var bandInfos = [ Timeline.createBandInfo({ eventSource: eventSource, date: "Jun 28 2006 00:00:00 GMT", width: "70%", intervalUnit: Timeline.DateT...
jatanpatel92/NIMS
code/Web Interface/Front End/timeline.js
JavaScript
apache-2.0
1,054
var oper = { width : 400, height : 500, form : document.form1, jqgrid : function() { var fields = $("form").serializeArray(); var jsonData = {}; jQuery.each( fields, function(i, field){ jsonData[field.name]=field.value; }); $('#jqGrid').jqGrid('setGr...
jflyfox/dudu
dudu-admin/src/main/resources/static/pages/resources/system/dict.js
JavaScript
apache-2.0
4,240
/* jshint asi: true */ var UUID = require('node-uuid') var _ = require('lodash') var objectAssign = require('object-assign') var example = require('../../examples/linked-proposal.json') function genId (obj) { var id = '_:' + UUID.v4() if (obj) { var self = _.find(obj.links, function(link) { return link.rel =...
RESTFest/2015-apidays-conference-talk-api
translators/json-ld/convert.js
JavaScript
apache-2.0
1,052
// Copyright 2013 SAP AG. // // 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...
SAP/node-hdb
lib/protocol/data/Text.js
JavaScript
apache-2.0
1,221
//--------------------------------------- // Story Model //--------------------------------------- var Story = Backbone.Model.extend({ initialize: function() { } });
OpenCanvas/sample-javascript
models/stories.js
JavaScript
apache-2.0
178
// Domoticz Platform Shim for HomeBridge // Written by Joep Verhaeg (http://www.joepverhaeg.nl) // // Revisions: // // 12 June 2015 [GizMoCuz] // - Added support for RGB lights // - Added support for Scenes // - Sorting device names // // Domoticz JSON API required // https://www.domoticz.com/wiki/Domoticz_API/JSON_URL...
gizmocuz/homebridge
platforms/Domoticz.js
JavaScript
apache-2.0
9,448
'use strict'; var common = require('../common'); var R = require('_stream_readable'); var assert = require('assert'); var fs = require('fs'); var FSReadable = fs.ReadStream; var path = require('path'); var file = path.resolve(common.fixturesDir, 'x1024.txt'); var size = fs.statSync(file).size; var expectLengths = [...
dreamllq/node
test/sequential/test-stream2-fs.js
JavaScript
apache-2.0
1,046
import {ipcMain} from "electron"; import videoProcessor from "../../processors/video-processor"; ipcMain.handle('processing.availableCodecs', async () => { return videoProcessor.getAvailableCodecs(); }); ipcMain.handle('processing.availableFilters', async () => { return videoProcessor.getAvailableFilters(); }); ...
hermesdj/youtube-auto-processor
src-electron/utils/processing.js
JavaScript
apache-2.0
548
var RxOld = require('rx'); var RxNew = require('../../../../index'); module.exports = function (suite) { var oldMergeMapWithCurrentThreadScheduler = RxOld.Observable.range(0, 25, RxOld.Scheduler.currentThread) .flatMapFirst(function (x) { return RxOld.Observable.range(x, 25, RxOld.Scheduler.currentThread);...
mattpodwysocki/RxJS
perf/micro/current-thread-scheduler/operators/switchMapFirst.js
JavaScript
apache-2.0
968
import Color from "./../../webgl/Color"; export default { prepareVector : prepareVector, initColorArray : initColorArray, scalePaletteColorValues: scalePaletteColorValues }; export function prepareVector(mesh, min, max, colorArray) { const colors = []; for (let i = 0; i < mesh.vectorData.le...
gorankami/WebFEM
src/services/utilities/index.js
JavaScript
apache-2.0
2,193
sap.ui.define([ "sap/ui/test/Opa5", "sap/ui/test/actions/Press" ], function (Opa5, Press) { "use strict"; Opa5.createPageObjects({ onTheAppPage: { actions: { iClickButton: function (sViewName, sId) { return this.waitFor({ id: sId, viewName: sViewName, actions: [new Press()], e...
SAP/openui5
src/sap.ui.fl/test/sap/ui/fl/testApps/controlPersonalizationAPI/test/integration/pages/MainView.js
JavaScript
apache-2.0
2,352
angular.module("gerritDashboard").config(["i18nProvider", "supportedLanguages", function (i18nProvider, supportedLanguages) { i18nProvider.translations[supportedLanguages.EN] = { "total_number_of_projects": "Total Number Of Project", "number_of_open_reviews": "Number Of Open Reviews"...
monitise-mea/gerrit-dashboard-web
src/js/module/common/i18n/translations.js
JavaScript
apache-2.0
2,323
var winston = require('winston'); require('./lib/winston-graphite-tcp.js');
PicsArt/winston-graphite
index.js
JavaScript
apache-2.0
77
/* Copyright 2010-2011 Vodafone Group Services 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 agreed...
vf/web-testsuite
src/tests/vendor/vodafone/metrics.js
JavaScript
apache-2.0
5,097
module.exports = function(app){ app.schema.WorldObject = app.Mongoose.model( 'NPCBrain', { _id:app.Mongoose.schema.ObjectId, name: String, object_id:String, x:{ type:'number'}, y:{ type:'number'}, z:{ type:'number'}, serialized:{ type: 'object' } } ); }
schematical/chaos-engine
lib/modules/mongo/npc_brain.js
JavaScript
apache-2.0
284
"use strict"; const IoRedis = require("ioredis"); const DATASTORE = "LITTLETABLE:MASTER:DATASTORE"; const config = { port: 6379, host: "localhost", family:4, password:"", db:0, enableReadyCheck:true, enableOfflineQueue:true }; var redis =...
codeologist/LITTLETABLE
src/lib/DataStore.js
JavaScript
apache-2.0
663
angular.module('DataService', []).factory('DataService', [ '$q', '$http', '$rootScope', function($q, $http, $rootScope) { var logout = function() { var data = $q.defer(); $http.post('logout', {}).success(function() { data.resolve(); }, function() { data.resolve(); }); return data.prom...
smartcommunitylab/sco.riciclo
sco.riciclo-web/src/main/webapp/resources/js/services.js
JavaScript
apache-2.0
883
import metadataMapping from './metadataMapping'; export const metadataTypes = Object.keys(metadataMapping); export const defaultMetadataType = metadataTypes.includes("Imaging MS") ? "Imaging MS" : metadataTypes[0]; export const metadataSchemas = {}; for (const mdType of metadataTypes) { const mdFilename = metadata...
METASPACE2020/sm-webapp
src/assets/metadataRegistry.js
JavaScript
apache-2.0
403
function ExportCamera(props, exportOptions) { var options = props.property("Camera Options"); var aeNames = ["Blur Level", "Depth of Field", "Focus Distance", "Zoom"]; var codeNames = ["blur", "DOF", "focus", "zoom"]; var data = {}; var i, total = aeNames.length; for (i = 0; i < total;...
tomorrowevening/fido
src/fido/ExportCamera.js
JavaScript
apache-2.0
723
FlowRouter.route('/Admin', { name: 'Admin', action: function() { BlazeLayout.render("layoutDefault", {header: "navigation", main: "Admin"}); } });
marti584/Project-DJ-Cast
both/routes/admin_routes.js
JavaScript
apache-2.0
158
/* global APP, config, require, attachMediaStream, getUserMedia */ var RTCBrowserType = require("./RTCBrowserType"); var Resolutions = require("../../service/RTC/Resolutions"); var AdapterJS = require("./adapter.screenshare"); var currentResolution = null; function getPreviousResolution(resolution) { if(!Resoluti...
gerges/jitsi-meet
modules/RTC/RTCUtils.js
JavaScript
apache-2.0
19,535
/* Copyright 2016 Covistra Technologies Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writ...
Covistra/cmbf2-base
src/config/redis.config.js
JavaScript
apache-2.0
900
export function copy(dst, src) { dst.x = src.x; dst.y = src.y; } export function dot(p, q) { return p.x * q.x + p.y * q.y; } export function len(p) { return Math.sqrt(len2(p)); } export function len2(p) { return dot(p, p); } export function dist(p, q) { return len(sub(p, q)); } export function dist2(p,...
google/chicago-brick
lib/math/vector2d.js
JavaScript
apache-2.0
1,347
/* Copyright 2016 Paul Bevis 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 d...
paulbevis/spelling
entry.js
JavaScript
apache-2.0
2,305
module.exports = { "Redis":{ "redisip":"104.131.105.222", "redisport":6379, "redisdb":6 }, "Services" : { "routingServiceHost": "localhost", "routingServicePort": "2223", "routingServiceVersion": "1.0.0.0" }, "Host": { "LBIP":"127.0.0.1", "LBPort":"2225", "Ip": "127.0.0.1", "Port": "2225", "...
DuoSoftware/DVP-ARDSService
config/default.js
JavaScript
apache-2.0
491
export const BASE_API = 'https://go.joway.wang/'; // export const BASE_API = 'http://localhost:8000/'; export const AUTH_API_LOGIN = BASE_API + 'auth/login/'; export const AUTH_API_LOGOUT = BASE_API + 'auth/logout/'; export const AUTH_API_REGISTER = BASE_API + 'auth/register/'; export const AUTH_API_ACTIVATE = BASE_API...
joway/Block-React
src/utils/Apis.js
JavaScript
apache-2.0
699
import './directory-item.html';
manoa-flea-market/manoa-flea-market
app/imports/ui/components/directory/index.js
JavaScript
apache-2.0
32
/** * */ function FileDisplayer() { this.id = null; this.parent = null; // parent Id this.currOwner = null; // form Id // basic properties this.title = "文件阅读播放器"; this.alt = "文件阅读播放器"; this.tabIndex = "-1"; this.src = "img/sample.pdf"; this.shapeType = 0; // 0:rounded;1:circle;2:th...
CloudBPM/SwinFlowCloud-CloudSide
fm/src/main/webapp/js/models/filereader.js
JavaScript
apache-2.0
6,885
var class_tri_1_1_util_1_1_vector2 = [ [ "Vector2", "class_tri_1_1_util_1_1_vector2.html#a5bd9af497b1e94182828557c8c32d9b2", null ], [ "Vector2", "class_tri_1_1_util_1_1_vector2.html#a9e93686dcffd21464698f12a37b7f5c7", null ], [ "absV2", "class_tri_1_1_util_1_1_vector2.html#a1030fb4c61ebb13be8127ef599644fd8...
TriantEntertainment/TritonEngine
docs/html/class_tri_1_1_util_1_1_vector2.js
JavaScript
apache-2.0
846
sap.ui.define(['sap/ui/core/UIComponent'], function (UIComponent) { "use strict"; var Component = UIComponent.extend("sap.ui.core.tutorial.databinding.15.Component", { metadata: { config: { sample: { iframe: "webapp/index.html", stretch: true, files: [ "webapp/controller/App....
cschuff/openui5
src/sap.ui.core/test/sap/ui/core/demokit/tutorial/databinding/15/Component.js
JavaScript
apache-2.0
716
const webpack = require('webpack') const base = require('./webpack.base.config') const vueConfig = require('./vue-loader.config') const utils = require('./utils') const path = require('path') const HTMLPlugin = require('html-webpack-plugin') const ExtractTextPlugin = require('extract-text-webpack-plugin') const SWPreca...
Smallpath/Blog
front/build/webpack.client.config.js
JavaScript
apache-2.0
2,887
// name: sammy // version: 0.6.0pre (function($) { var Sammy, PATH_REPLACER = "([^\/]+)", PATH_NAME_MATCHER = /:([\w\d]+)/g, QUERY_STRING_MATCHER = /\?([^#]*)$/, // mainly for making `arguments` an Array _makeArray = function(nonarray) { return Array.prototype.slice.call(nonarray); }, ...
iriscouch/futon_couchdb
priv/sammy_futon/script/sammy/sammy.js
JavaScript
apache-2.0
60,106
Tools.tpl = { init: function() { var $container = $('#tplTable'); var tplTable = new MU.ui.DataTable($container); tplTable.setColumns([ {data: 'name', title: '名称'}, {data: 'desc', title: '描述'} ]); tplTable.setUrl('/tools/tplBrowser'); tplTable....
weijiancai/metaui
metaui-nodejs/tools/js/tpl.js
JavaScript
apache-2.0
14,591
//>>built define("dojox/editor/plugins/nls/sl/AutoSave",{saveLabel:"Shrani",saveSettingLabelOn:"Nastavi interval za samodejno shranjevanje ... ",saveSettingLabelOff:"Izklju\u010di samodejno shranjevanje ",saveSettingdialogTitle:"Samodejno shranjevanje ",saveSettingdialogDescription:"Podaj interval za samodejno shranjev...
Caspar12/zh.sw
zh.web.site.admin/src/main/resources/static/js/dojo/dojox/editor/plugins/nls/sl/AutoSave.js
JavaScript
apache-2.0
646
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // translation object contains all translations for each string in i18n/en.json const CWD = process.cwd(); const fs = require('fs'); co...
ihmcrobotics/ihmc-realtime
websitedocs/website/node_modules/docusaurus/lib/server/translation.js
JavaScript
apache-2.0
1,042
'use strict'; describe('Controller: azureCreateLoadBalancerCtrl', function () { // load the controller's module beforeEach( window.module( require('./createLoadBalancer.controller') ) ); // Initialize the controller and a mock scope beforeEach(window.inject(function ($controller, $rootScope) ...
HaishiBai/deck
app/scripts/modules/azure/loadBalancer/configure/createLoadBalancer.controller.spec.js
JavaScript
apache-2.0
2,169
import { makeStyles } from '@material-ui/core/styles' export const WarningBannerStyles = makeStyles(() => ({ customPaper: { display: 'flex', backgroundColor: 'rgb(255, 244, 229)', padding: '15px 30px', borderRadius: '4px', alignItems: 'center', }, icon: { fontSize: '1.8em', color: '#f...
First-Peoples-Cultural-Council/fv-web-ui
frontend/app/components/WarningBanner/WarningBannerStyles.js
JavaScript
apache-2.0
382
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
navyliu/aura
aura-components/src/main/components/ui/carouselPage/carouselPageRenderer.js
JavaScript
apache-2.0
838
#!/usr/bin/env node var device = require('./nordicserial.json'); var chars = []; for(var service of device.services) for(var char of service.characteristics) chars.push(char.name); for(var char of chars) { console.log(char); //console.log(`<string name="${char}"></string>`); }
rabbitom/ble
scripts/listchars.js
JavaScript
apache-2.0
298
// This file has been autogenerated. var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: '46241355-bb95-46a9-ba6c-42b554d71925', managementCertificate: { key: '...
vivsriaus/azure-xplat-cli
test/recordings/cli-batch-task-tests/cli_batch_task_should_delete_the_task.nock.js
JavaScript
apache-2.0
4,042
// // create base UI tab and root window // var win; win = Titanium.UI.createWindow({ title:'Guide des formations', orientationModes:[Titanium.UI.PORTRAIT] }); // create table view data object var data = [ { title:'TRONC COMMUN', hasChild:true, test:'uvsTC.js' }, { title:'BRANCHES + FILIERE...
anthonyNkuinjeu/UTTRss
Resources/guide_formation/guide_uv_menu.js
JavaScript
apache-2.0
1,409
import { Controller } from 'stimulus' import Uppy from '@uppy/core' import AwsS3Multipart from '@uppy/aws-s3-multipart' import Dashboard from '@uppy/dashboard' export default class extends Controller { connect () { this.uploadSubmit = document.querySelector('.upload-submit') this.parentForm = document.getEle...
psu-stewardship/scholarsphere
app/javascript/controllers/uppy_controller.js
JavaScript
apache-2.0
1,986
'use strict'; var express = require('express'); var controller = require('./suicideData.controller'); var router = express.Router(); router.get('/', controller.index); module.exports = router;
VHAINNOVATIONS/PerceptiveReach
Dashboard/PRDash-ADF/server/api/suicideData/index.js
JavaScript
apache-2.0
196
app.controller('ForumDetail', function ($scope, $location, $rootScope) { $rootScope.pageTitle = "FORUM"; $rootScope.isBack = true; setRootscopeDefault($location, $rootScope); })
28f7638e5aa88893ed84d47ec62977f7/8090c7511d3688bd6ee9b6bd4544c2dc
www/js/ctrlForumDetail.js
JavaScript
apache-2.0
183
/* Create a static build with webpack Thus far, we've been running all of our code with Node.js. Now Redux does work, and can be used on the server or in native applications built with Node.js. However, Redux is primarily used to manage state and client applications. So at this point, we're going to start running o...
iitjee/SteppinsWebDev
Redux/08 Enter Webpack.js
JavaScript
apache-2.0
4,191
Ext.define('gov.va.hmp.admin.ManagePluginsPanel', { extend: 'Ext.grid.Panel', requires: [ 'gov.va.hmp.EventBus', 'gov.va.hmp.admin.Bundle', 'gov.va.hmp.ux.Alert' ], title: 'Manage Plugins', emptyText: 'No plugins in this category match your filter.', store: { mode...
KRMAssociatesInc/eHMP
ehmp/product/production/hmp-main/src/main/js/gov/va/hmp/admin/ManagePluginsPanel.js
JavaScript
apache-2.0
12,403
const crypto = require('crypto'); exports.up = function(knex) { const now = new Date(); // Internal user for requests within the backend. // Log in is disabled for this user. const internalUser = { username: '_internal', passwordHash: '', passwordSalt: '', createdAt: now, updatedAt: now, ...
anibali/showoff
src/migrations/20171116030715_insert_users.js
JavaScript
apache-2.0
975
define( ({ timeout: "Pārtraukums", highlightLocation: "Izcelt atrašanās vietu", useTracking: "Skatīties atrašanās vietas izmaiņas", warning: "Nepareiza ievade", zoomScale: "Mērogmaiņas skala" }) );
usgin/geoportal-server-catalog
geoportal/src/main/webapp/viewer/widgets/MyLocation/setting/nls/lv/strings.js
JavaScript
apache-2.0
234
'use strict' module.exports = function (Settings) { // We have 1 settings object we save... const settingsId = 'MasterSettings' const defaultSettings = { id : settingsId, wksModelId: '', wksModelDateTime: '' } Settings.load = function load (cb) { Settings.exists(settingsId, (err, result) => {...
airazabal/smartemail
common/models/settings.js
JavaScript
apache-2.0
1,690
import { moduleFor, test } from 'ember-qunit'; moduleFor('route:libraries/index', 'Unit | Route | libraries/index', { // Specify the other units that are required for this test. // needs: ['controller:foo'] }); test('it exists', function(assert) { let route = this.subject(); assert.ok(route); });
binhosp/library-app
tests/unit/routes/libraries/index-test.js
JavaScript
apache-2.0
308
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
badlogicmanpreet/aura
aura-components/src/main/components/uiExamples/panelPositioningExample/panelPositioningExampleController.js
JavaScript
apache-2.0
2,485
/* * Copyright (C) 2011-2013 sMap Project and its contributors. * See the NOTICE file for details. * * 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/L...
getsmap/smap411
modules/Module/MeasureDialog/MeasureDialog.js
JavaScript
apache-2.0
25,251
module.exports = [{"isApi":true,"priority":1000.0027,"key":"Label","style":{color:"#fff",}},{"isId":true,"priority":100000.0026,"key":"settings","style":{backgroundColor:"#222",color:"#fff",}}];
TeamAir4385/Lauren
Resources/android/alloy/styles/settings.js
JavaScript
apache-2.0
194
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel // MIT license define({ init: (function() { var lastTime = 0;...
superlinkx/lithium-engine
engine/shims/rafshim.js
JavaScript
apache-2.0
1,132
//# sourceMappingURL=mocha.parallel.d.js.map
pubkey/rxdb
dist/es/types/modules/mocha.parallel.d.js
JavaScript
apache-2.0
45
/** * @fileoverview Externs for JS-Interpreter. * @externs */ /** * Create a new interpreter. * @param {string|!Object} code Raw JavaScript text or AST. * @param {Function=} opt_initFunc Optional initialization function. Used to * define APIs. When called it is passed the interpreter object and the * ...
google/blockly-games
externs/interpreter-externs.js
JavaScript
apache-2.0
4,767
var puse = require('./puse/index.js'); exports.puse = puse; var foo = require('./foo/index.js'); exports.foo = foo; var puse_md = require('./puse_md/index.js'); exports.puse_md = puse_md;
bozzzzo/quark
quarkc/test/emit/expected/js/use/index.js
JavaScript
apache-2.0
188
/*! * ${copyright} */ sap.ui.require([ "jquery.sap.global", "sap/ui/Device", "sap/ui/base/BindingParser", "sap/ui/base/ManagedObject", "sap/ui/core/CustomizingConfiguration", "sap/ui/core/XMLTemplateProcessor", "sap/ui/core/util/XMLPreprocessor", "sap/ui/model/BindingMode", "sap/ui/model/Context", "sap/ui/m...
olirogers/openui5
src/sap.ui.core/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js
JavaScript
apache-2.0
95,497
/** * Copyright 2016 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...
dotandads/amphtml
test/unit/3p/test-iframe-messaging-client.js
JavaScript
apache-2.0
13,006
/*! * ${copyright} */ // Provides control sap.ui.commons.RichTooltip. sap.ui.define([ 'jquery.sap.global', './library', 'sap/ui/core/TooltipBase', "./RichTooltipRenderer" ], function(jQuery, library, TooltipBase, RichTooltipRenderer) { "use strict"; /** * Constructor for a new RichTooltip. ...
cschuff/openui5
src/sap.ui.commons/src/sap/ui/commons/RichTooltip.js
JavaScript
apache-2.0
6,355
function paintSprite(ctx,x,y,sprite) { try { ctx.drawImage(sprite,x,y); } catch(e) { ctx.restore(); } } function paintSpriteMir(ctx,x,y,sprite) { ctx.save(); ctx.scale(-1,1); try{ ctx.drawImage(sprite,-x,y); } catch (e) { } ctx.restore(); ...
nihirash/Lost-In-Ice
render.js
JavaScript
apache-2.0
5,439
let main = module.exports = { init, logMessage, logErrorMessage, win: null } const electron = require('electron') const config = require('../../config') const log = require('../../lib/log') const getMenu = require('../../lib/menu-template') function init(windowType) { if (main.win...
epezhman/demand-manager-app
app/main/windows/main.js
JavaScript
apache-2.0
1,571
'use strict'; var common = require('../common'); var assert = require('assert'); var os = require('os'); switch (process.argv[2]) { case 'child': return child(); case undefined: return parent(); default: throw new Error('wtf? ' + process.argv[2]); } function parent() { var spawn = require('child_p...
dreamllq/node
test/parallel/test-process-raw-debug.js
JavaScript
apache-2.0
1,066
import { HTTPError } from 'utils/APIConnector' import * as AWS from 'utils/AWS' import * as Config from 'utils/Config' import * as Data from 'utils/Data' import { mkSearch } from 'utils/NamedRoutes' import { PreviewData, PreviewError } from '../types' import * as utils from './utils' export const detect = utils.extIs...
quiltdata/quilt-compiler
catalog/app/components/Preview/loaders/Pdf.js
JavaScript
apache-2.0
1,532