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 2015 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
chrisbrent/amphtml
test/functional/test-cid.js
JavaScript
apache-2.0
10,649
/* * Nodelint [VERSION] * [DATE] * A fork of tav's nodelint (http://github.com/tav/nodelint) * Corey Hart @ http://www.codenothing.com */ var Nodelint = global.Nodelint, Color = Nodelint.Color, bold = Color.bold, Push = Array.prototype.push, rerror = /^\s*(\S*(\s+\S+)*)\s*$/; module.exports = function( resul...
cloudkick/cast
lib/extern/Nodelint/lib/nodelint/Format.js
JavaScript
apache-2.0
3,632
import BaseApi from "./base"; class DevicesApi extends BaseApi { static getAll() { return this.call("devices"); } static register(device) { return this.call("devices/register", device, "POST"); } } export default DevicesApi;
mletunov/SmartOffice
web/src/api/devices.js
JavaScript
apache-2.0
262
import { FONT_SIZE, LENGTH, FONT_WEIGHT, COLOR } from "../../consts/types"; export default { "avatar.fontWeight": { type: FONT_WEIGHT, value: { ref: "basics.fontWeights.regular" } }, "avatar.fontColor": { type: COLOR, value: { ref: "basics.colors.primary.white" } }, "avatar.extraSmall.fontSiz...
Autodesk/hig
packages/theme-data/src/baseTheme/components/avatar.js
JavaScript
apache-2.0
6,112
$.U=function(url){ return apiPath.replace(/\{.+?\}/g,url); }; var tranH=function(t,f,ff){ switch(typeof f){ case 'function': f(t); break; case 'object': f.innerHTML=t; break; case 'string': $(f).innerHTML=t; break; default: return t; break; } switch(typeof ff){ case 'function': ...
itorr/smartisanBlog
www/static/js/controller.js
JavaScript
apache-2.0
4,022
/** * Created by s.adamo on 05/11/2015. */ /** * Created by p.campanella on 24/09/2014. */ var MaxHydroAlertZoneController = (function() { function MaxHydroAlertZoneController($scope, oConstantsService, $log, oStationsService, oDialogService, oChartService, $location, oTableService, oSce, $translate, $...
fadeoutsoftware/omirl
OmirlClient/app/js/controllers/MaxHydroAlertZoneController.js
JavaScript
apache-2.0
7,271
// Copyright 2010 and onwards 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 ...
thanhpd/google-calendar-crx
src/events_microformats.js
JavaScript
apache-2.0
4,648
/* * grunt-tart * https://github.com/cakuki/grunt-tart * * Copyright (c) 2014 Startup Kitchen * Licensed under the Apache-2.0 license. */ 'use strict'; var _ = require('lodash'); var parseOptions = require('../lib/parseOptions'); module.exports = function tart(grunt) { grunt.loadNpmTasks('grunt-cordovacli...
cakuki/grunt-tart
tasks/tart.js
JavaScript
apache-2.0
3,824
'use strict'; define(['angular'], function(angular) { var app = angular.module('portal.main.services', []); app.factory('mainService', ['$http', 'miscService', 'SERVICE_LOC', function($http, miscService, SERVICE_LOC) { var prom = $http.get(SERVICE_LOC.sessionInfo, { cache: true}); var sidebarPromise = $h...
timlevett/uw-frame
src/main/webapp/portal/main/services.js
JavaScript
apache-2.0
1,195
/* * Copyright 2012 Amadeus s.a.s. * 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...
lsimone/ariatemplates
src/aria/utils/Html.js
JavaScript
apache-2.0
9,383
/** * @license * Visual Blocks Editor * * Copyright 2012 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
InspectorWidget/blockly
core/field_variable.js
JavaScript
apache-2.0
7,318
/* Common JavaScript functions @(#) $Id$ 2019-01-03: generalLink(url, show, target) 2016-04-30: mailToLink with up to 3 parameters 2016-02-09: code.jquery.com commented out; telLink 2015-04-25: loadPage 2014-11-10: showImage 2010-11-26: Dr. Georg Fischer */ function upper() { } /...
gfis/dbat
web/spec/javascript.js
JavaScript
apache-2.0
3,540
/*! * ${copyright} */ // Provides default renderer for control sap.ui.unified.Menu sap.ui.define(['jquery.sap.global'], function(jQuery) { "use strict"; /** * Currency renderer. * * @version ${version} * @namespace */ var CurrencyRenderer = { }; /** * Renders the HTML for the given control, usi...
olirogers/openui5
src/sap.ui.unified/src/sap/ui/unified/CurrencyRenderer.js
JavaScript
apache-2.0
1,703
(function() { 'use strict'; angular .module('mvnblogApp') .factory('stateHandler', stateHandler); stateHandler.$inject = ['$rootScope', '$state', '$sessionStorage', '$window', 'Auth', 'Principal', 'VERSION']; function stateHandler($rootScope, $state, $sessionStorage, $window...
cfaddict/jhipster-course
sample-app/mvnblog/src/main/webapp/app/blocks/handlers/state.handler.js
JavaScript
apache-2.0
2,031
// Beowulf - awake.js // Welcome to reality. // Can you speak? console.log ('BEOWULF.') // What are you? require('./cluster.js') // Who are you? console.log ('WHO:', me ) // Where are you? console.log ('WHERE:', where) // What is the time? console.log ('TIME:', Date.now()) // Can you feel anythi...
lolotrgeek/the-cluster
awake.js
JavaScript
apache-2.0
395
var Utils = { verbose: false, log: function(...args) { if (!!this.verbose) { console.log(...args); } } }; export default Utils;
azukiapp/tasks-service
src/utils/index.js
JavaScript
apache-2.0
150
/* Copyright 2015-2016 Eduworks Corporation and other contributing parties. 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 applic...
knabb/PUPS_CASS
js/cass/org.cassproject.schema.ebac.js
JavaScript
apache-2.0
23,060
/* eslint-disable */ define([ 'spec/Aggregate.spec', 'spec/Views/MetricWidget.spec', 'spec/Application.spec', 'spec/Format.spec', 'spec/Utility.spec', 'spec/Validator.spec', 'spec/Fields/AddressField.spec', 'spec/Fields/MultiCurrencyField.spec', 'spec/Fields/NameField.spec', 'spec/Fields/PicklistFie...
Saleslogix/argos-saleslogix
tests/src/all.js
JavaScript
apache-2.0
514
var args = arguments[0] || {}; //Bryan's code $.doLoginBtn.addEventListener('click', doLoginBtnClicked); $.cancelLoginBtn.addEventListener('click', cancelLoginBtn); function cancelLoginBtn() { $.login.close(); var index = Alloy.createController("index").getView(); index.close(); } function doLoginBtnClicked() { ...
CIDM4385-Fire/Enactus
app/controllers/loginview.js
JavaScript
apache-2.0
1,158
/** * @license Apache-2.0 * * Copyright (c) 2021 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
stdlib-js/stdlib
lib/node_modules/@stdlib/math/strided/special/smskrsqrt/test/test.smskrsqrt.native.js
JavaScript
apache-2.0
6,830
app.controller('CreditCtrl', ['$rootScope', '$scope', '$timeout', 'CreditService', function($rootScope, $scope, $timeout, service) { $scope.credit = {}; $scope.new = function() { service.add($scope.credit, function() { $rootScope.showAlertMessage('Valor creditado com sucesso!', 'success'); ...
jeffersonvenancio/BarzingaNow
python/web/app/controllers/credit.js
JavaScript
apache-2.0
449
!(function() { 'use strict'; var language = { "zh":{ }, "en":{ } }; // export to window window.CrysyanLanguage = language; })();
BPing/crysyan
js/language.js
JavaScript
apache-2.0
213
/** * Coffeescript patterns * * @author Craig Campbell * @version 1.0 */ module.exports = ['coffeescript', [ { 'name': 'comment.block', 'pattern': /(\#{3})[\s\S]*\1/gm }, { 'name': 'string.block', 'pattern': /('{3}|"{3})[\s\S]*\1/gm }, /** * multiline regex...
segmentio/rainbow
js/language/coffeescript.js
JavaScript
apache-2.0
2,654
var TREE_ITEMS = [ ['TOP', './index.html', ['application', 'application/index.html', ['cache', 'application/cache/index.html', ['index.html', 'application/cache/index.html.html'] ] , ['config', 'application/config/index.html', ['autoload.php', 'application/config/autoload.php.html'] , ['config.php', 'application/config...
inputx/code-ref-doc
codeigniter/navframe-js.js
JavaScript
apache-2.0
13,585
define(['exports', 'module', './path', './ops'], function (exports, module, _path, _ops) { 'use strict'; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < ar...
andreaferretti/paths-js
dist/amd/sector.js
JavaScript
apache-2.0
1,724
#!/usr/bin/env node /* Licensed to OffGrid Networks (OGN) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. OGN licenses this file to you under the Apache License, Version 2.0 (...
nodekit-io/nodekit-cli
packages/nodekit-scripts-platform-android/bin/nodekit-scripts/lib/log.js
JavaScript
apache-2.0
1,924
angular.module('carpooling.services.passenger', []) .factory('PassengerSrv', function ($rootScope, $http, $q, Config, Utils, StorageSrv, CacheSrv) { var passengerService = {}; /* * NOTE use this function both for passenger and driver */ passengerService.getTrip = function (travelId) { va...
smartcommunitylab/sco.carpooling
carpooling-mobile/www/js/services/PassengerSrv.js
JavaScript
apache-2.0
11,067
// Plot a histogram of elevation in Colorado. var elevation = ee.Image('srtm90_v4'); var colorado = ee.Geometry.Rectangle(-109.05, 37, -102.05, 41); // Generate the histogram data. Use minBucketWidth for nice sized buckets. var histogram = ui.Chart.image.histogram({ image: elevation, region: colorado, scale: 2...
c11/earthengine-api
javascript/src/examples/Charts/ElevationHistogram.js
JavaScript
apache-2.0
520
var serverUrl = "/"; var DEMO = {}; function getParameterByName(name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results == null ? "" : decodeURIComponent(results[1].replace(/\+...
buaiti/licode-web-app
public/js/demoTemplate.js
JavaScript
apache-2.0
8,763
#!/usr/bin/env node "use strict"; var _ = require('dry-underscore'); function in_arg_generic_type(i){ var arg_type = "I" + String.fromCharCode(65 + i); return(arg_type); } function out_arg_generic_type(i){ var arg_type = "O" + String.fromCharCode(65 + i); return(arg_type); } function generic_signat...
curious-inc/dry-api-swift
build_client.js
JavaScript
apache-2.0
5,509
HidMirror = require('./HidMirror.js'); var mirror = new HidMirror (); mirror.start(); mirror.on("hidm_up", function (data){ console.log("-> mir:ror up"); }); mirror.on("hidm_down", function (data){ console.log("-> mir:ror down"); }); mirror.on("hidm_in", function (data){ console.log("-> mir:ror RFID...
fredericfok/hidmirror
hidmtest.js
JavaScript
apache-2.0
653
import React from 'react' import {storiesOf} from '@storybook/react' import Checked from '.' storiesOf('Checked', module) .add('default', () => <Checked />) .add('checked', () => <Checked checked />)
all3dp/printing-engine-client
src/app/component/checked/checked.story.js
JavaScript
apache-2.0
206
/* Copyright© 2000 - 2022 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ import {SuperMap} from '../SuperMap'; import {Util}...
SuperMap/iClient9
src/common/iServer/Vector.js
JavaScript
apache-2.0
2,116
/* ****************************************************************************** Copyright (c) 2016 Particle Industries, Inc. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
spark/particle-cli
src/cli/library_install.test.js
JavaScript
apache-2.0
3,266
import { SET_ROOM } from '../base/conference'; import { SET_LOCATION_URL } from '../base/connection'; import { ReducerRegistry, set } from '../base/redux'; import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from './actionTypes'; import { _getRouteToRender } from './functions'; ReducerRegistry.register('features/app', (stat...
KalinduDN/kalindudn.github.io
react/features/app/reducer.js
JavaScript
apache-2.0
1,173
/* * Copyright 2016 ThoughtWorks, 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 agr...
aj-jaswanth/gocd
server/webapp/WEB-INF/rails.new/spec/new_javascripts/views/agents/agents_widget_spec.js
JavaScript
apache-2.0
11,206
import template from './graphanalytics.html'; import controller from './graphanalytics.controller'; import './graphanalytics.styl'; let graphanalyticsComponent = { restrict: 'E', bindings: { labels: '=', graphData: '=' }, template, controller }; export default graphanalyticsComponent;
garrettwong/GDashboard
client/app/components/graphanalytics/graphanalytics.component.js
JavaScript
apache-2.0
306
function Lose(win) { var CustomButton = require('ui/customUI/CustomButton'); var revengeButton = new CustomButton(); revengeButton.initialize('Rivincita', 40); var loseSound = ZLSound.createSample({ media : 'music/loseSound.mp3', volume : 1.0 }); var self = Titanium.UI.createScrollView({ width : '100%'...
johneisenheim/bangcode
Resources/ui/winlose/Lose.js
JavaScript
apache-2.0
2,874
/** * @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/fs/write-file/test/test.js
JavaScript
apache-2.0
1,096
var util_rule_vars_8h = [ [ "SCRuleVarsType", "util-rule-vars_8h.html#a6b9ae5aa143860c723afe572aa3e20a2", [ [ "SC_RULE_VARS_ADDRESS_GROUPS", "util-rule-vars_8h.html#a6b9ae5aa143860c723afe572aa3e20a2af7a5ed965e2d037f844b22022712d53f", null ], [ "SC_RULE_VARS_PORT_GROUPS", "util-rule-vars_8h.html#a6b9ae5a...
onosfw/apis
suricata/apis/util-rule-vars_8h.js
JavaScript
apache-2.0
597
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
stdlib-js/stdlib
lib/node_modules/@stdlib/random/streams/erlang/test/test.main.js
JavaScript
apache-2.0
22,505
var a04507 = [ [ "operator()", "a04507.html#a2cb778f39831b9279d8960bf4c23a77f", null ] ];
stweil/tesseract-ocr.github.io
4.0.0/a04507.js
JavaScript
apache-2.0
93
/** * @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/utils/inherited-property-names/examples/index.js
JavaScript
apache-2.0
1,232
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var expressApollo_1 = require("./expressApollo"); exports.graphqlExpress = expressApollo_1.graphqlExpress; exports.graphiqlExpress = expressApollo_1.graphiqlExpress; var connectApollo_1 = require("./connectApollo"); exports.graphqlConnect = co...
mrtequino/JSW
graphql/server1/node_modules/apollo-server-express/dist/index.js
JavaScript
apache-2.0
442
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
sash-ua/monad-ts
src/identity.js
JavaScript
apache-2.0
2,220
/* ========================================================= * bootstrap-datepicker.js * http://projects.lsch.ru/datepicker * Version: 1.0.0 * Copyright 2015 Lev Leschiner * ========================================================= */ !function(d){var k=function(a,b){this.element=d(a);this.format=c.parseFormat(b.f...
lesch/Bootstrap-Datepicker
source/bootstrap-datepicker.min.js
JavaScript
apache-2.0
8,713
/** * Copyright 2020 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
rsimha-amp/amphtml
src/purifier/noop.js
JavaScript
apache-2.0
1,090
$.win.open(); if(Ti.Platform.osname != "android"){ Alloy.Globals.navMenu = $.navMenu; } //define menu title and controller var menu = [{id: 0, title: "Homepage", controller: 's_home'}, {id: 1, title: "Category", controller: 's_category'}, {id: 2, title: "Search", controller: 's_search'}]; ///////////function///////...
geonn/facebook
app/controllers/index.js
JavaScript
apache-2.0
2,305
/*! * ${copyright} */ sap.ui.define(["sap/ui/integration/Designtime"], function ( Designtime ) { "use strict"; return function () { return new Designtime({ "form": { "items": { "generalGroup": { "type": "group", "label": "General", "hint": "Please refer to the <a href='https://www.s...
SAP/openui5
src/sap.ui.integration/test/sap/ui/integration/editor/sap.card1/designtime/dt.js
JavaScript
apache-2.0
45,025
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } ...
BigBoss424/portfolio
v8/development/node_modules/graphql-tools-fork/dist/stitch/mergeSchemas.js
JavaScript
apache-2.0
12,991
define({ "name": "Veloci Lumen API", "version": "1.0.0", "description": "API interface for Veloci", "title": "Veloci Lumen API", "url": "{base_url}/api/", "sampleUrl": false, "apidoc": "0.2.0", "generator": { "name": "apidoc", "time": "2016-03-24T18:28:08.722Z", "url": "http://apidocjs.com",...
RaptorLab/veloci-lumen
apidoc/api_project.js
JavaScript
apache-2.0
353
describe("landing page", () => { it("loads content", () => { // content is loaded if children of root element exists. // children are built by React cy.request("/").should((response) => { expect(response.status).to.eq(200) }) }) it("user is not logged, tries to visit domain", () => { cy...
sapcc/elektra
e2e/cypress/integration/member/landingpage.js
JavaScript
apache-2.0
566
/** * EasyUI for jQuery 1.8.8 * * Copyright (c) 2009-2019 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"spinner"); va...
ithander/frame
src/main/resources/static/easyui/plugins/jquery.spinner.js
JavaScript
apache-2.0
3,849
/** * @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/incr/grubbs/examples/index.js
JavaScript
apache-2.0
1,226
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ri...
edge-code/edge-inspect-extension
inspect.js
JavaScript
apache-2.0
19,765
/** * Created by adelmo.pereira on 06/05/2017. */ (function () { 'use strict'; angular.module('dynamos-panel').directive('dynamic', directive); directive.$inject = ['$compile']; function directive($compile) { return { restrict: 'A', replace: true, scope: ...
dynamos/dynamos-commerce
panel/src/main/resources/static/app/directive/dynamic.directive.js
JavaScript
apache-2.0
615
/* * Copyright 2021 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 ...
GoogleForCreators/web-stories-wp
packages/stickers/src/experience-thailand/facebookIcon.js
JavaScript
apache-2.0
1,376
'use strict'; var express = require('express'); var controller = require('./vessel.controller'); var auth = require('../../auth/auth.service'); var router = express.Router(); router.get('/', auth.isAuthenticated(), controller.index); router.get('/:id', controller.show); router.post('/', auth.isAuthenticated(), contr...
debkh/jagen
server/api/vessel/index.js
JavaScript
apache-2.0
556
var MEDIAINFO_MEDIAINFO = "mediainfo"; var MEDIAINFO_PROGRAM = "program"; var MEDIAINFO_VIDEO = "video"; var MEDIAINFO_AUDIO = "audio"; var MEDIAINFO_SUBTITLE = "subtitle"; var MEDIAINFO_CODEC = "codec"; var MEDIAINFO_BITRATE = "bitrate"; var MEDIAINFO_FRAMERATE = "framerate"; var MEDIAINFO_RESOLUTION = "resolution"; v...
wxiwei/manage
src/main/webapp/WEB-INF/js/common/mediainfo_parser.js
JavaScript
apache-2.0
11,971
// Create overlay layers ################################################################### //Load Coal Power Plants function addOverlays(map){ //Add shale play var shaleStyle = { weight: 1, color: 'black', //fillOpacity: 0.5, fillColor: 'black' }; var shaleJson = new L.FeatureGroup(); $.get...
Science-for-Nature-and-People/hydraulic-fracturing
webapp/scripts/AddOverlaysFracFocus.js
JavaScript
apache-2.0
1,230
Ext.require([ 'Ext.direct.*', 'Ext.panel.Panel', 'Ext.form.field.Text', 'Ext.toolbar.TextItem' ]); Ext .onReady(function() { function doEcho(field) { TestAction .doEcho( field.getValue(), function(result, event) { var transaction = event.getTransaction(), content = Ext.String...
devacfr/matcha
example/src/main/webapp/direct.js
JavaScript
apache-2.0
3,039
/** * @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/plot/components/svg/path/lib/props/width/get.js
JavaScript
apache-2.0
829
define([ 'knockout', 'text!./role-group-mapping.html', 'utils/AutoBind', 'components/Component', 'utils/CommonUtils', './search-group-dialog', ], function( ko, view, AutoBind, Component, commonUtils, ){ class RoleGroupMapping extends AutoBind(Component){ constructor(params) { super(params); this....
anthonysena/Atlas
js/pages/configuration/users-import/components/role-group-mapping.js
JavaScript
apache-2.0
1,073
/** * @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/plot/components/svg/path/lib/props/opacity/get.js
JavaScript
apache-2.0
823
function WebView(e){var t=Titanium.UI.createWebView({url:e,top:0,loading:!1}),i=Titanium.UI.createActivityIndicator({zIndex:2});i.show(),t.addEventListener("load",function(){i.hide()});var o=new NavigateWindow("");return o.add(t),o.add(i),t=null,o.open(),o}var NavigateWindow=require("ui/common/NavigateWindow");module.e...
Jeremy720/Iowa-Alumni-Android-2.5-master
build/android/assets/ui/common/WebView.js
JavaScript
apache-2.0
335
import React, { Component } from 'react' import { connect } from 'react-redux' import {Alert, Badge, Button, Card, CardHeader, CardBody, CardFooter, Collapse, Input, Table } from 'reactstrap' import Creatable from 'react-select/creatable' import remove from 'lodash.remove' export const SOURCEPRIOS_PRIO_CHANGED = 'SOUR...
SignalK/signalk-server-node
packages/server-admin-ui/src/views/ServerConfig/SourcePriorities.js
JavaScript
apache-2.0
13,759
//// [/lib/initial-buildOutput.txt] /lib/tsc --b /src --verbose [12:01:00 AM] Projects in this build: * src/src/folder/tsconfig.json * src/src/folder2/tsconfig.json * src/src/tsconfig.json * src/tests/tsconfig.json * src/tsconfig.json [12:01:00 AM] Project 'src/src/folder...
nojvek/TypeScript
tests/baselines/reference/tsbuild/containerOnlyReferenced/initial-build/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js
JavaScript
apache-2.0
6,167
'use strict'; /** * cloudnode.directive.trackcard * * The trackcard directive */ angular.module('cloudnode.directive.trackcard'). directive('trackCardSmall', function(){ // Runs during compile return { controller: 'TrackCtrl', restrict: 'E', // E = Element, A = Attribute, C = Class, M = Comment scope...
cloudnode-app/cloudnode
src/app/trackcard/track.small.directive.js
JavaScript
apache-2.0
1,421
// // Copyright Kamil Pękala http://github.com/kamilkp // angular-sortable-view v0.0.13 2015/01/13 // ; (function (window, angular) { 'use strict'; /* jshint eqnull:true */ /* jshint -W041 */ /* jshint -W030 */ var module = angular.module('angular-sortable-view', []); module.directive('svRoot...
spadger/patent-spoiler
src/PatentSpoiler/scripts/custom/_common/directives/angular-sortable-view.js
JavaScript
apache-2.0
27,167
(function() { 'use strict'; var st = new ShardingTest({shards: 1, rs: {nodes: 2}}); assert.commandWorked(st.s0.adminCommand({enablesharding: 'TestDB'})); st.ensurePrimaryShard('TestDB', st.shard0.shardName); assert.commandWorked(st.s0.adminCommand({shardcollection: 'TestDB.TestColl', key: {x: 1}})...
christkv/mongo-shell
test/jstests/sharding/cursor_valid_after_shard_stepdown.js
JavaScript
apache-2.0
1,632
if(isJapanTrading()){ var Periods = (function(){ var barrier = 0, barrier2 = 0, barriers1 = [], barriers2 = []; var displayPeriods = function(){ var periods = Contract.periods(); if(!periods){ return false; } var wrapper = document.getElementById('period_row'), target= document.getEl...
shuwnyuantee/binary-static
src/javascript/binary_japan/trade_japan/periods.js
JavaScript
apache-2.0
3,553
'use strict'; var path = require('path'); var _ = require('lodash'); function requiredProcessEnv(name) { if(!process.env[name]) { throw new Error('You must set the ' + name + 'environment variable'); } return process.env[name]; } // All configs will extend these var defaults = { env: process.env.NODE_E...
Blazur/blazur
server/config/environment/index.js
JavaScript
apache-2.0
840
var RxOld = require('rx'); var RxNew = require('../../../../index'); module.exports = function _throw(suite) { var oldThrowWithCurrentThreadScheduler = RxOld.Observable.throw(new Error('error'), RxOld.Scheduler.currentThread); var newThrowWithCurrentThreadScheduler = RxNew.Observable.throw(new Error('error'), RxNe...
mattpodwysocki/RxJS
perf/micro/current-thread-scheduler/observable/throw.js
JavaScript
apache-2.0
756
/* * Copyright 2015 Sergej Meister * * 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...
SergejMeister/intellijob
src/main/resources/static/js/app/services/jobServices.js
JavaScript
apache-2.0
3,053
/* Copyright 2020 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...
googleinterns/typescript-flag-upgrade
test/test_app/karma.conf.js
JavaScript
apache-2.0
1,624
// 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/i18nBase",{root:{general:{cancel:"Cancel",close:"Close",none:"None",ok:"OK",other:"Other",stamp:"Stamp",now:"Now",choose:"Choose One...
wanglongbiao/webapp-tools
Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/esri/dijit/metadata/nls/i18nBase.js
JavaScript
apache-2.0
5,437
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
goberle/one
src/sunstone/public/app/utils/panel/template-table.js
JavaScript
apache-2.0
21,429
/** * @author fvi@ * * created @ 2012 08 16 * */ function ThreeChoiceView() { height = Ti.Platform.displayCaps.platformHeight, width = Ti.Platform.displayCaps.platformWidth; var view = Titanium.UI.createView({ backgroundColor:'white', height:height *0.3, width:Titanium.UI.FILL, top:height*0.27 })...
jame-hachi/QuizQ
Resources/ui/common/AddField/Three_Choice_Field.js
JavaScript
apache-2.0
1,520
MacPlayer.Html = '<embed type="application/x-shockwave-flash" src="http://img1.c0.ku6.cn/player/pV2.8.4.swf" id="Player" bgcolor="#FFFFFF" quality="high" allowfullscreen="true" allowNetworking="internal" allowscriptaccess="never" wmode="transparent" menu="false" always="false" pluginspage="http://www.macromedia.com/go...
chendaiming/VideoMao
player/ku6hd.js
JavaScript
apache-2.0
464
/a/lib/tsc.js -b -w sample1/tests //// [/a/lib/lib.d.ts] /// <reference no-default-lib="true"/> interface Boolean {} interface Function {} interface CallableFunction {} interface NewableFunction {} interface IArguments {} interface Number { toExponential: any; } interface Object {} interface RegExp {} interface Strin...
alexeagle/TypeScript
tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js
JavaScript
apache-2.0
68,920
/* * Example Of using Chevrotain's built in syntactic content assist * To implement semantic content assist and content assist on partial inputs. * * Examples: * "Public static " --> ["function"] * "Public sta" --> ["static"] * "call f" --> ["foo"] // assuming foo is in the symbol table. */ const { createToken,...
SAP/chevrotain
examples/parser/content_assist/content_assist_simple.js
JavaScript
apache-2.0
1,927
/* * Kendo UI Complete v2013.1.319 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be gover...
ndrmc/cats
Web/Scripts/kendo/2013.1.319/cultures/kendo.culture.ii.min.js
JavaScript
apache-2.0
1,591
(function() { 'use strict'; function SceneService(THREE) { var scene = new THREE.Scene(); this.referenceFrame = new THREE.Object3D(); scene.add(this.referenceFrame); this.getScene = function() { return scene; }; /** * transform from geo coordinates to local scene coordinates ...
NLeSC/ahn-pointcloud-viewer
app/scripts/pointcloud/scene.service.js
JavaScript
apache-2.0
1,730
'use strict'; var gulp = require('gulp'); var util = require('gulp-util'); var argv = require('yargs').argv; var $ = require('gulp-load-plugins')({ pattern: ['gulp-*'] }); gulp.task('sonar', function () { var options = { debug: false, separator: '\n', dryRun: false, sonar: { ...
oasp-forge/bht-2017-RideSharing-Server
samples/server/src/main/client/gulp/sonar.js
JavaScript
apache-2.0
1,252
/** 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 not use...
shazron/cordova-ios
tests/spec/unit/versions.spec.js
JavaScript
apache-2.0
2,149
/** * @license * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview Generating Lua for math blocks. */ 'use strict'; goog.module('Blockly.Lua.math'); const Lua = goog.require('Blockly.Lua'); const {NameType} = goog.require('Blockly.Names'); Lua['math_number'] = function(bl...
rachel-fenichel/blockly
generators/lua/math.js
JavaScript
apache-2.0
11,750
/** * vim:set sw=2 ts=2 sts=2 ft=javascript expandtab: * * # Layout * * ## License * * 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 licens...
framasoft/ep_mypads
frontend/js/modules/layout.js
JavaScript
apache-2.0
6,012
var config = require('./config.js'); var log = require('./log.js'); var constant = require('./constant.js'); var readline = require('./readline.js'); var cluster = require('cluster'); var fs = require('fs'); if (cluster.isMaster) { fs.mkdir(config.work_dir, function() { fs.mkdir(config.dst_dir, function() { var...
tedyu002/smtp_nodejs
main.js
JavaScript
apache-2.0
1,051
/** * @license Licensed under the Apache License, Version 2.0 (the "License"): * http://www.apache.org/licenses/LICENSE-2.0 * * @fileoverview Description. */ 'use strict'; var Bgpio = Bgpio || {}; Bgpio.WebSocket = {}; Bgpio.WebSocket.ws = null; Bgpio.WebSocket.URL = 'ws://localhost:8000/'; Bgpio.WebSo...
carlosperate/Blockly-gPIo
public/js/websocket.js
JavaScript
apache-2.0
1,706
/* * Copyright 2020 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 ...
GoogleChromeLabs/paymentrequest-show
src/components/result.js
JavaScript
apache-2.0
703
//https://github.com/kapke/angular2-starter/blob/master/gulpfile.js var gulp = require('gulp'), ts = require('gulp-typescript'), sourcemaps = require('gulp-sourcemaps'), clean = require('gulp-clean'), sass = require('gulp-sass'), moduleImporter = require('sass-module-importer'), path = require(...
crystalwm/userAccount
gulpfile.js
JavaScript
apache-2.0
3,194
var util = require('util'); var async = require('async'); var errors = require('./errors'); var types = require('./types'); var utils = require('./utils'); var requests = require('./requests'); var retry = require('./policies/retry'); /** * Handles a request to Cassandra, dealing with host fail-over and retries on e...
Teino1978-Corp/nodejs-driver
lib/request-handler.js
JavaScript
apache-2.0
15,034
/* * Copyright (C) 2012 KRM Associates, Inc. healtheme@krminc.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 re...
OSEHRA/HealtheMe
src/main/webapp/static/js/validate.vital.peakflow.js
JavaScript
apache-2.0
6,126
(function (root, factory) { 'use strict'; /* jshint node: true */ if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['ffwd-utils'], factory); } else if (typeof exports === 'object') { // Node. Does not work with strict CommonJS, but // only Commo...
ffwdjs/ffwd-menu
client/scripts/index.js
JavaScript
apache-2.0
4,347
/** * Copyright 2012 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 applic...
benvanik/games-framework
externs/webaudio.js
JavaScript
apache-2.0
6,619
/* Copyright 2014 Open Ag Data Alliance * * 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 agr...
OADA/oada-srvc-docker
oada/services/auth/db/flat/users.js
JavaScript
apache-2.0
1,159
function ShopScene (opts) { var name = 'Yopico Shop'; var DEFAULT_ENTITIES = [ new Text( { type: 'Title', text: name, y: height/20 } ), new Menu( [ new Text( { type: 'MenuItem', ...
javakat/javakat.github.io
assets/javascripts/scenes/shopscene.js
JavaScript
apache-2.0
5,498
//Using the @todo tag /** * @todo Write the documentation. * @todo Implement this function. */ function fooTodo() { // write me }
brunotavares/nano
example/src/tags-todo.js
JavaScript
bsd-2-clause
137
// launch multiple encodes/decodes in parallel 'use strict'; var ECLib = require('../../index'); var enums = ECLib.enums; var ECLibUtil = ECLib.utils; var buffertools = require("buffertools"); var crypto = require('crypto'); var assert = require('assert'); // Number of tests that are done at any given time. var _don...
scality/eclib
test/functional/functest.js
JavaScript
bsd-2-clause
3,966
/* * L.Control.Attribution is used for displaying attribution on the map (added by default). */ L.Control.Attribution = L.Control.extend({ options: { position: 'bottomright', prefix: '<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>' }, initialize: function (opti...
northerneyes/Leaflet
src/control/Control.Attribution.js
JavaScript
bsd-2-clause
2,081