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 |
|---|---|---|---|---|---|
'use strict';
var testHelper = require('../../test-helper');
var setupFile = require('./dashboard-setup');
var dashboardPage = require('../pages/dashboard');
describe('Cockpit Dashboard Spec', function() {
describe('dashboard page navigation', function() {
before(function() {
return testHelper(setupFi... | nagyistoce/camunda-bpm-webapp | webapp/src/test/js/e2e/cockpit/specs/dashboard-spec.js | JavaScript | apache-2.0 | 3,658 |
// ./pages/_document.js
import React from 'react'
import Document, { Head, Main, NextScript } from 'next/document'
import JssProvider from 'react-jss/lib/JssProvider'
import flush from 'styled-jsx/server'
import getPageContext from '../client/getPageContext'
class MyDocument extends Document {
render () {
const ... | RSG-Group/website | pages/_document.js | JavaScript | apache-2.0 | 2,315 |
/**
* @fileoverview
* these are lightweight helpers that should not be attached to the element more than once
*/
goog.provide('recoil.ui.HtmlHelper');
goog.require('goog.dom.classlist');
goog.require('recoil.ui.WidgetHelper');
/**
* @constructor
* @param {!recoil.ui.WidgetScope} scope gui scope
*/
recoil.ui.Ht... | evaks/recoil | src/ui/html.js | JavaScript | apache-2.0 | 15,284 |
angular.module('sikre.directives', [])
.directive("serviceList", function ($timeout) {
/*
serviceList [directive] - This directive populates the list of services
inside an item, sunch as SSH keys, SSL certificates and service passwords.
It works under the same premise as items. It shows the cont... | sikrvault/sikr-frontend | assets/js/directives.js | JavaScript | apache-2.0 | 6,345 |
/**
* @license
* Copyright (C) 2016 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 require... | qtproject/qtqa-gerrit | polygerrit-ui/app/elements/change/gr-confirm-revert-dialog/gr-confirm-revert-dialog.js | JavaScript | apache-2.0 | 1,828 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Segment = function Segment() {
_classCallCheck(this, Segment);
};
exports.Seg... | GalenWarren/koa-odata | dist/common/lib/segments/base.js | JavaScript | apache-2.0 | 739 |
var typedFunction = require('typed-function');
var digits = require('./../util/number').digits;
// returns a new instance of typed-function
var createTyped = function () {
// initially, return the original instance of typed-function
// consecutively, return a new instance from typed.create.
createTyped = typedFu... | mikberg/mathjs | lib/core/typed.js | JavaScript | apache-2.0 | 5,197 |
import angular from 'angular';
import Sidebar from './sidebar/sidebar';
import Topbar from './topbar/topbar';
let commonModule = angular.module('app.common', [
Sidebar,
Topbar
])
.name;
export default commonModule;
| beliars/chat-app | client/app/common/common.js | JavaScript | apache-2.0 | 224 |
const Promise = require('promise');
const bcrypt = require('bcrypt');
const saltRounds = 10;
let instance = null;
class EncrypterClass {
constructor() {
if (!instance) {
instance = this;
}
return instance;
}
encryptPassword(password) {
return new Promise((reso... | alexpop89/fauxr | bin/scripts/models/utils/encrypter.js | JavaScript | apache-2.0 | 794 |
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | dremio/dremio-oss | dac/ui/src/components/SVG.js | JavaScript | apache-2.0 | 3,113 |
const Rx = require('rxjs');
const { map } = require('rxjs/operators');
const defaults = require('../defaults');
module.exports = class InputHandler {
constructor({ defaultInputTarget, inputStream, logger }) {
this.defaultInputTarget = defaultInputTarget || defaults.defaultInputTarget;
this.inputSt... | simhawk/simhawk.github.io | node_modules/concurrently/src/flow-control/input-handler.js | JavaScript | apache-2.0 | 1,273 |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
require('./db');
var data = require('./database/data');
var routes = require('./routes/index');
var... | ilariut/bappery | app.js | JavaScript | apache-2.0 | 1,662 |
/*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/cldr/nls/en-ca/currency",{CAD_symbol:"$",USD_symbol:"US$"}); | wanglongbiao/webapp-tools | Highlander/ship-gis/src/main/webapp/js/arcgis_js_api/library/3.22/dojo/cldr/nls/en-ca/currency.js | JavaScript | apache-2.0 | 277 |
/*
* 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 applica... | dads-software-brotherhood/sekc | node_modules/generator-jhipster/generators/kubernetes/index.js | JavaScript | apache-2.0 | 11,717 |
/**
*
*/
define( function() {
/**
* 在逻辑代码中,一定要先绑定事件,然后再加载jqm
*/
var vm = avalon.define({
$id : "bonusRecordSingle",
datas:{
currentClientId:"",
nickname:"",
domainnameId : "",
domainname : "",
description:"",
domainPhoto : "",
sharenumber : 0,
sharetotal : 0,
... | GSSBuse/GSSB | src/main/webapp/static/frontend-jam/static/js/bonusRecordSingle.js | JavaScript | apache-2.0 | 7,178 |
export default {
TimeToEmpty: 'TimeToEmpty',
UPowerServiceName: 'org.freedesktop.UPower',
UPowerObjectPath: '/org/freedesktop/UPower',
Interfaces: {
UPower: 'org.freedesktop.UPower',
Device: 'org.freedesktop.UPower.Device',
DBus: {
Properties: 'org.freedesktop.DBus.Properties'
}
}
}
| despairblue/node-i3power | src/constants.js | JavaScript | apache-2.0 | 316 |
//envio de formulario por el metodo POST
$("#editar").on("submit", function(e){
e.preventDefault();
var formData = new FormData(document.getElementById("editar"));
$.ajax({
url: "ajax/editarproyecto.php",
type: "POST",
dataType: "HTML",
data: formData,
... | mccreeper98/Inversiones | proyecto/js/editadmin.js | JavaScript | apache-2.0 | 1,145 |
/*global describe, it*/
var chai = require("chai"), expect = chai.expect;
var router = Object.setPrototypeOf(require('../lib/Router'));
var dummyDataObject = require('./dataObject-test').dummySql;
router.init();
describe('router', function () {
"use strict";
describe('getRoute', function() {
it ('should r... | Lolobstant/JavascriptDataObjects | test/test-lib-Router.js | JavaScript | apache-2.0 | 1,888 |
/*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* 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... | inbloom/secure-data-service | sli/dashboard/src/main/webapp/static/js/widgets/grid/SLC.grid.tree.js | JavaScript | apache-2.0 | 2,065 |
/*!
* Bootstrapping code for all resources.
*
* Copyright 2011 Marcelo Gornstein <marcelog@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 at
*
* http://www.apache.org/li... | marcelog/AsterTrace-Node | src/bootstrap/bootstrap.js | JavaScript | apache-2.0 | 2,915 |
/*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT 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 requir... | clive-jevons/joynr | javascript/libjoynr-js/src/main/js/joynr/proxy/DiscoveryQos.js | JavaScript | apache-2.0 | 4,173 |
var classdroid_1_1_runtime_1_1_utilities_1_1_misc_1_1_extensions_1_1_joint_fix =
[
[ "Reset", "classdroid_1_1_runtime_1_1_utilities_1_1_misc_1_1_extensions_1_1_joint_fix.html#a9587f6322132ea9f1c5109b9a769085f", null ]
]; | sintefneodroid/droid | docs/cvs/classdroid_1_1_runtime_1_1_utilities_1_1_misc_1_1_extensions_1_1_joint_fix.js | JavaScript | apache-2.0 | 224 |
var a00271 =
[
[ "BBGrid", "a00271.html#a433d978224467a5842ab3126dd0ba903", null ],
[ "BBGrid", "a00271.html#aed2c82e5d0aa5c92137aae623a79f5ec", null ],
[ "~BBGrid", "a00271.html#a70d6e4e5938d390162572615e0a9036a", null ],
[ "AssertNoDuplicates", "a00271.html#a19df7a0ef4d8204b5d6fa36765011114", null ],
... | stweil/tesseract-ocr.github.io | 3.x/a00271.js | JavaScript | apache-2.0 | 1,356 |
/**
* Copyright 2018 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... | tensorflow/model-analysis | tensorflow_model_analysis/frontend/tfma-config-picker/tfma-config-picker-template.html.js | JavaScript | apache-2.0 | 1,271 |
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(p,n,q){p instanceof String&&(p=String(p));for(var h=p.length,g=0;g<h;g++){var k=p[g];if(n.call(q,k,g,p))return{i:g,v:k}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUN... | jens-maus/RaspberryMatic | buildroot-external/package/neoserver/pkg/mediola/neo_server/node_modules/x.hub.m.hm.js | JavaScript | apache-2.0 | 352,422 |
/**
* 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
* distribut... | wolverineav/horizon-bsn | horizon_bsn/bsndashboard/static/networktemplate/actions/create/createTemplate.controller.js | JavaScript | apache-2.0 | 954 |
componentHandler.upgradeAllRegistered();
angular
.module("GruiApp", [
"ngRoute",
"ui.router",
"oc.lazyLoad",
"door3.css",
"ngSanitize",
"ui.select",
"ui.codemirror"
])
.run([
"$rootScope",
"$state",
"$stateParams",
"$window",
"$templateCache",
function($rootScop... | dgraph-io/gru | admin/webUI/app/app.module.js | JavaScript | apache-2.0 | 14,566 |
// 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-vmmigration | samples/generated/v1/vm_migration.create_migrating_vm.js | JavaScript | apache-2.0 | 2,875 |
function populateSidebar(Floor, RoomNumber){
$.ajax ({
dataType:"json",
url: "http://127.0.0.1:7379/lrange/"+Floor+"-"+RoomNumber+"/-1/-1",
success:function(data){
$.each(data.lrange,function(i,room){
$.ajax ({
dataType:"json",
url: "http:... | mingyi-bian/ece496 | js/populateSideBar.js | JavaScript | apache-2.0 | 9,736 |
/* ========================================================================
* for nice validate themes
* @since K'naan (xknaan@163.com)
* ======================================================================== */
+function ($) {
'use strict';
function fixedLeft($msgbox) {
var $input = $msgbox.p... | ysdxz207/f-blog | src/main/resources/static_resources/admin/plugins/nice-validator-1.0.7/jquery.validator.themes.js | JavaScript | apache-2.0 | 5,008 |
(function(){
window.popuper = {
init: function(id, shift, scroll, noclose){
var self = this;
$('.popuper').off().click(function(e){
e.preventDefault();
self.open($(this).data('target'));
});
$('.popup-closer').off().click(function(e){
e.preventDefault();
self.close();
});
... | Gerrproger/Popuper | popuper.js | JavaScript | apache-2.0 | 1,275 |
var m = require('mithril');
var $ = require('jquery');
var bootbox = require('bootbox'); // TODO: Why is this required? Is it? See [#OSF-6100]
var $osf = require('js/osfHelpers');
var waterbutler = require('js/waterbutler');
var util = require('./util.js');
var makeClient = require('js/clipboard');
// Helper for fi... | SSJohns/osf.io | website/static/js/filepage/revisions.js | JavaScript | apache-2.0 | 10,095 |
angular.module('EventServiceFactory', [])
.factory("EventService", function($http,$ionicLoading,$q,$window,UrlPath){
var service = {};
var getEventPath = UrlPath.getEventPath();
var getEventDetailPath = UrlPath.getEventDetailPath();
service.getMainInfo = function(num,start_id,order){
return $http.post(... | AKAMobi/ucapp | app/www/js/FactoryEventService.js | JavaScript | apache-2.0 | 568 |
/**
* Copyright (c) 2016-2018 Pivotal Software 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | reactor/reactor-core-js | src/util.js | JavaScript | apache-2.0 | 5,536 |
appControler.$inject = ['todos']
export default function appControler (todos){
const vm = this
vm.items = todos || []
}
| kornicameister/TodoApp | src/client/app/app.todo.controller.js | JavaScript | apache-2.0 | 120 |
/*
* biojs-vis-interactions-d3
* https://github.com/4ndr01d3/biojs-vis-interactions-d3
*
* Copyright (c) 2014 4ndr01d3
* Licensed under the Apache 2 license.
*/
// browserify build config
var buildDir = "build";
var outputFile = "biojsvisinteractionsheatmapd3";
// packages
var gulp = require('gulp');
// bro... | 4ndr01d3/biojs-vis-interactions-heatmap-d3 | gulpfile.js | JavaScript | apache-2.0 | 3,423 |
/**
* Copyright (c) 2015 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | rkoster/console | app/ui/app/js/main/CookiesAlertController.js | JavaScript | apache-2.0 | 1,162 |
/* COPYRIGHT 2012 SUPERMAP
* 本程序只能在有效的授权许可下使用。
* 未经许可,不得以任何手段擅自使用或传播。*/
/**
* @requires SuperMap/REST.js
* @requires SuperMap/REST/ServerStyle.js
* @requires SuperMap/REST/Theme/Theme.js
* @requires SuperMap/REST/Theme/ThemeUniqueItem.js
*/
/**
* Class: SuperMap.REST.ThemeUnique
* 单值专题图。
* 单值专题图是利用不同的颜色或符... | SuperMap/iClient-for-JavaScript | libs/SuperMap/REST/Theme/ThemeUnique.js | JavaScript | apache-2.0 | 5,754 |
/*
*A D3 widget that displays overall statistical data for total recalls, total US *recalls,year to date recalls for the current year as well as the percent change from
*the previous year
* @author Apeenan Arias
*/
/*
* Returns the total number of results from 2004 to current
*
*/
var food_json = (function(){
... | OrbisTechnologies/Orbis180 | wiley/overview_statistics.js | JavaScript | apache-2.0 | 5,420 |
import {describe, ddescribe, it, iit, xit, xdescribe, expect, beforeEach, el} from 'angular2/test_lib';
import {EventManager, EventManagerPlugin, DomEventsPlugin} from 'angular2/src/render/dom/events/event_manager';
import {VmTurnZone} from 'angular2/src/core/zone/vm_turn_zone';
import {List, ListWrapper, Map, MapWrapp... | boxman0617/angular | modules/angular2/test/render/dom/events/event_manager_spec.js | JavaScript | apache-2.0 | 5,874 |
/**
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | google-org/services-eligibility-calculator | client/service-manager/src/components/service/show/ShowDraft.js | JavaScript | apache-2.0 | 4,822 |
function pegaid(id){
return document.getElementById(id);
} | danielfilhodev/caixamaster | views/app/js/geral.js | JavaScript | apache-2.0 | 61 |
$(document).ready(function() {
$('#letsStart').on('click', function() {
$('#letsStart').css('visibility', 'hidden');
$('#installStarter').fadeOut(1000);
$('#installWrapper').fadeIn(1000);
$('#backgroundBlurred').fadeIn(1000, function() {
});
return false;
});
});
$(window).load(function() {
if($('#c... | Coonti/Coonti | themes/seed/js/50_seed.js | JavaScript | apache-2.0 | 366 |
// ==UserScript==
// @name MC Stories
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description enter something useful
// @match http://www.mcstories.com/*
// @match http://mcstories.com/*
// @copyright 2012+, You
// ==/UserScript==
function addGlobalStyle(css) {
var head, s... | rmcamara/flickrDownloader | tamperMonkey/MC Stories.user.js | JavaScript | apache-2.0 | 716 |
var trimStart = require('lodash.trimstart');
var trimEnd = require('lodash.trimend');
var toArray = require('lodash.toarray');
var protocolRelativeUrlRe = /^\/\/.*\..*\//;
module.exports.slashJoin = function() {
var items = toArray(arguments);
for (var i = 0; i < items.length; i++) {
// Trim off any leading s... | 4front/htmlprep | lib/url-utils.js | JavaScript | apache-2.0 | 1,149 |
import PropTypes from 'prop-types';
import React from 'react';
import classNames from 'classnames';
import CopyButton from '../CopyButton';
const CodeSnippet = ({
className,
type,
children,
onClick,
wrappedContentRef,
...other
}) => {
const snippetType =
type === 'terminal' ? 'bx--snippet--terminal' ... | jzhang300/carbon-components-react | src/components/CodeSnippet/CodeSnippet.js | JavaScript | apache-2.0 | 945 |
/*
* Copyright 2017 Alexander Pustovalov
*
* 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... | ipselon/structor | src-client/modules/workspace/containers/ToolbarSelection/index.js | JavaScript | apache-2.0 | 1,918 |
import {Loading} from './loading.js';
const PAGINATION_ENDPOINT = '/devices';
const BLANK_PAGE_TOKEN = '';
const MAX_DEVICE_COUNT_PARAMETER_NAME = 'maxDeviceCount';
const PAGE_TOKEN_PARAMETER_NAME = 'pageToken';
/*
* Table Column Organization:
* Aggregation table has Field 1 | ... | Field n | deviceCount | Button |... | googleinterns/step176-2020 | src/main/webapp/table-manager.js | JavaScript | apache-2.0 | 8,702 |
/* Copyright (c) 2010, Sage Software, 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 ... | Sage/argos-sdk | src/Fields/EditorField.js | JavaScript | apache-2.0 | 12,172 |
var classcpptempl_1_1_data_value =
[
[ "DataValue", "classcpptempl_1_1_data_value.html#a63f53b3d264c9f86675341954c817327", null ],
[ "DataValue", "classcpptempl_1_1_data_value.html#a29a6891405cc2d608954bf7b5ffc4d7c", null ],
[ "dump", "classcpptempl_1_1_data_value.html#a5628360a0f76f5627ed72cf362fd7358", nu... | scottdarch/Noer | FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/middleware/multicore_2.1.0/erpc/doc/eRPC_infrastructure/erpcgen/classcpptempl_1_1_data_value.js | JavaScript | apache-2.0 | 613 |
/**
* @SSCCE ob.object Observer pattern
*/
var subject = new FM.Object();
var observer = new FM.Object();
subject.addListener(observer);
observer.onEventName = function(subject,eventData) {
console.log("onEventName: subject with ID " + subject.getID()+ " sent message: " + eventData["message"]);
... | rbelusic/fm-js | html/examples/sscce/ob/Object/listeners.js | JavaScript | apache-2.0 | 384 |
/*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
define([
'underscore'
], function (_) {
var Labels = function () {
this.get = function (key) {
var keyArray, newKey;
if (_.has(labelMap, key)) {
return labelMap[key];
} else {
... | sbavanasi/contrail-web-server-manager | webroot/common/ui/js/labels.js | JavaScript | apache-2.0 | 7,597 |
import { push } from "react-router-redux"
import { CALL_API } from "../middleware/api"
function loginApiCall(email, password) {
return {
[CALL_API] : {
endpoint: "/api/authenticate",
types: ["LOGIN_REQUEST", "LOGIN_SUCCESS", "LOGIN_FAILURE"],
config: {
me... | ThoughtWorksTurkey/marketwatcher.io | src/actions/auth.js | JavaScript | apache-2.0 | 1,380 |
// Use this in conjunction with qCluster.js to create a cluster layer on a Leaflet Map; requires Leaflet JS lib
// the 'makeDonuts' function (not mandatory to use) requires D3 and jQuery
var QClusterLeafletLayer = {};
QClusterLeafletLayer.Manager = function(pointArr, id, map, opts){
this.layer;
this.layerId = id;... | spatialdev/quick-cluster | q-cluster-leaflet-layer.js | JavaScript | apache-2.0 | 17,774 |
import {describe, it, iit, xit, expect, beforeEach, afterEach} from 'angular2/test_lib';
import {
Runner, Sampler, SampleDescription,
Validator, bind, Injector, Metric,
Options, WebDriverAdapter
} from 'benchpress/common';
import { isBlank } from 'angular2/src/facade/lang';
import { Promise, PromiseWrapper } from... | lgalfaso/angular | modules/benchpress/test/runner_spec.js | JavaScript | apache-2.0 | 3,905 |
import {h} from 'preact';
import UXResize from './UXResize';
const UXCircle = ({children, ...props}) => (
<UXResize {...props}>
<svg width="100%" height="100%">
<ellipse cx="50%" cy="50%" rx="50%" ry="50%" />
</svg>
</UXResize>
)
export default UXCircle; | majunbao/xue | react-flux/demo11/src/uxkit/UXCircle.js | JavaScript | apache-2.0 | 275 |
/*
https://github.com/ralfhergert/jquery-normalize
jQuery wrapper for DOM normalization */
(function(d){var f=function(){var a=document.createElement("div");a.appendChild(document.createTextNode("a"));a.appendChild(document.createTextNode("\u00ad"));a.appendChild(document.createTextNode("b"));var b=document.body||doc... | ralfhergert/jquery-normalize | jquery.normalize.1.0.min.js | JavaScript | apache-2.0 | 741 |
/* begin_generated_IBM_copyright_prolog */
/* */
/* This is an automatically generated copyright prolog. */
/* After initializing, DO NOT MODIFY OR MOVE */
/* *********************************... | natashadsilva/streamsx.iot.starter | nodejs/app/server/routes/socket/io-socket.js | JavaScript | apache-2.0 | 929 |
import React from 'react';
import axios from 'axios';
class Sidebar extends React.Component {
constructor() {
super();
}
//==HANDLERS==
_handleClick(event) {
event.preventDefault();
let entry = {
category: this.category,
type: this.type,
forms: formObj(this.type),
};
axios.post(window.locatio... | Alek-S/pseudozen | src/components/children/sidebar.js | JavaScript | apache-2.0 | 5,833 |
var dir_b56aa87d440fa25382f65e8cc456bdcd =
[
[ "java", "dir_451c3dff5375889498ae09ea79ec0440.html", "dir_451c3dff5375889498ae09ea79ec0440" ]
]; | onosfw/apis | onos/apis/dir_b56aa87d440fa25382f65e8cc456bdcd.js | JavaScript | apache-2.0 | 147 |
const BaseModel = require(`../BaseModel`);
/**
* NotificationListQuery class
*/
class NotificationListQuery extends BaseModel {
/**
* Creates new NotificationListQuery model
* @param {object} options - model options object
* @param {string} options.deviceId - Device ID
* @param {string} opt... | devicehive/devicehive-javascript | src/models/query/NotificationListQuery.js | JavaScript | apache-2.0 | 2,459 |
var commentBox, commentNum, commnetIcon, dayCnt, footer, icon, likeIcon, likeNum, message, name, ribon, star, starText, win;
win = Titanium.UI.currentWindow;
icon = Titanium.UI.createImageView({
left: 58,
top: 11,
width: 22,
height: 7
});
win.add(icon);
name = Titanium.UI.createLabel({
left: 88,
top: 11,
... | takayukishmz/keizoku_client | Resources/test.js | JavaScript | apache-2.0 | 2,536 |
'use strict';
const Buffer = require('buffer').Buffer;
const writeIEEE754 = require('../float_parser').writeIEEE754;
const Long = require('../long');
const Map = require('../map');
const Binary = require('../binary');
const constants = require('../constants');
const normalizedFunctionString = require('./utils').normal... | timkuijsten/js-bson | lib/parser/serializer.js | JavaScript | apache-2.0 | 33,036 |
/**
* @flow
*/
const CaptionRole: AXObjectModelDefinition = {
relatedConcepts: [
{
module: 'HTML',
concept: {
name: 'caption',
},
},
],
type: 'structure',
};
export default CaptionRole; | A11yance/axobject-query | src/etc/objects/CaptionRole.js | JavaScript | apache-2.0 | 228 |
var searchData=
[
['eanycode_5fchar',['EANYCODE_CHAR',['../a02886.html',1,'']]],
['edgeoffset',['EdgeOffset',['../a02530.html',1,'']]],
['edgept',['EDGEPT',['../a02506.html',1,'']]],
['element',['Element',['../a04250.html',1,'MinK']]],
['elist',['ELIST',['../a02806.html',1,'']]],
['elist2',['ELIST2',['../a0... | stweil/tesseract-ocr.github.io | 4.0.0-beta.1/search/classes_5.js | JavaScript | apache-2.0 | 934 |
(function() {
'use strict';
describe('opentele.parserServices.temperatureDeviceNodeParser', function() {
var nodesParser, parserUtils, nodeMap, parseNode, node;
beforeEach(module('opentele.parserServices'));
beforeEach(inject(function(_nodesParser_, _parserUtils_) {
nodesParser = _nodesParser_;
parserU... | silverbullet-dk/opentele-client-html | unit-tests/services/parserServices/temperatureDeviceNodeParser_test.js | JavaScript | apache-2.0 | 1,118 |
var config = require('./config.js');
var gulp = require('gulp');
var clean = require('gulp-clean');
var less = require('gulp-less');
var jade = require('gulp-jade');
var es = require('event-stream');
var path = require('path');
var runSequence = require('run-sequence');
v... | yrezgui/dropbox-polymer-demo | gulpfile.js | JavaScript | apache-2.0 | 2,436 |
/*global saveAs */
'use strict';
angular.module('ictsAppApp')
.controller('conversionCtrl', ['$scope', '$modalInstance', 'tMobileConversion', function ($scope, $modalInstance, tMobileConversion) {
$scope.step = 1;
let dataLL;
$scope.converse = function(data) {
dataLL = tMobileConversion.toApp(da... | utwente/lisa-telefonie | client/app/tel/t-mobile/conversion.controller.js | JavaScript | apache-2.0 | 674 |
"use strict";
const render_announce_stream_docs = require("../templates/announce_stream_docs.hbs");
const render_new_stream_users = require("../templates/new_stream_users.hbs");
const render_subscription_invites_warning_modal = require("../templates/subscription_invites_warning_modal.hbs");
let created_stream;
expor... | brainwane/zulip | static/js/stream_create.js | JavaScript | apache-2.0 | 17,428 |
require(["jquery","b"],function($,b){
$(function(){
$("#test").on("click",function(){
alert("返回a模块和b模块:"+b.getName());
})
})
}) | ggj2010/javabase | js/src/main/webapp/requirejs/js/test.js | JavaScript | apache-2.0 | 173 |
import {Client} from 'theseus';
import {Http} from 'any-http-reqwest';
import apiUriByEnv from './media-api.config.json!';
const client = new Client({
promise: Promise,
http: new Http
});
function isDefined(val) {
return typeof val !== 'undefined';
}
export function listEnvironments() {
return Obje... | intfrr/grid-inspector | media-api.js | JavaScript | apache-2.0 | 1,186 |
/**
* Copyright 2016 Boris Seang
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | ghybs/zxingjs2 | zxingjs2.js | JavaScript | apache-2.0 | 3,643 |
/*
* Copyright 2013-2016 Uncharted Software Inc.
*
* Property of Uncharted(TM), formerly Oculus Info Inc.
* https://uncharted.software/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | unchartedsoftware/influent | influent-client/influent-clientjs/test/test-specs/infResultComponentBaseSpec.js | JavaScript | apache-2.0 | 12,932 |
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=8eca4a894d6f9b882d17)
* Config saved to config.json and https:... | cjcjameson/concourse | docs/concourse-docs/lib/concourse/js/bootstrap.js | JavaScript | apache-2.0 | 9,190 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.ui.ux3.QuickView.
sap.ui.define(['jquery.sap.global', 'sap/ui/commons/CalloutBase', 'sap/ui/core/delegate/Ite... | SuicidePreventionSquad/SeniorProject | resources/sap/ui/ux3/QuickView-dbg.js | JavaScript | apache-2.0 | 14,025 |
/*global module:false*/
module.exports = function(grunt) {
'use strict'
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('package.json'),
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy... | enriquecastl/charado | Gruntfile.js | JavaScript | apache-2.0 | 5,922 |
/*
* Copyright 2017 TWO SIGMA OPEN SOURCE, 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 appl... | jpallas/beakerx | test/js/python/plotPythonTest.js | JavaScript | apache-2.0 | 7,761 |
import Adapter from 'src/adapter';
import bidfactory from 'src/bidfactory';
import * as utils from 'src/utils';
import { ajax } from 'src/ajax';
import { STATUS, S2S, EVENTS } from 'src/constants';
import { cookieSet } from 'src/cookie.js';
import adaptermanager from 'src/adaptermanager';
import { config } from 'src/co... | guillaume-sticky/Prebid.js | modules/prebidServerBidAdapter/index.js | JavaScript | apache-2.0 | 21,162 |
/**
* @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/static-analysis/js/sloc/benchmark/benchmark.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/regexp/whitespace/test/test.js | JavaScript | apache-2.0 | 1,344 |
import { LibraryInitGenerator } from '../libinit';
export default LibraryInitGenerator;
| spark/particle-library-manager | src/init/index.js | JavaScript | apache-2.0 | 88 |
var express = require("express");
var bodyParser = require("body-parser");
var bcrypt = require("bcryptjs");
var read = require('read');
var fs = require('fs');
var http = require('http');
var mkdirp = require('mkdirp');
var net = require('net');
var async = require('async');
var toobusy = require('toobusy-js');
const ... | escapin/ElectionManager | ElectionHandler/server.js | JavaScript | apache-2.0 | 22,440 |
'use strict';
import { getAdUnitSizes, logWarn } from '../src/utils.js';
import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, VIDEO } from '../src/mediaTypes.js';
import includes from 'core-js/library/fn/array/includes.js';
const BID_HOST = 'https://prebid.technoratimedia.com';
const US... | varashellov/Prebid.js | modules/synacormediaBidAdapter.js | JavaScript | apache-2.0 | 6,242 |
define({"oj-message":{fatal:"Fatal",error:"Erro",warning:"Advertência",info:"Informações",confirmation:"Confirmação","compact-type-summary":"{0}: {1}"},"oj-converter":{summary:"O valor não está no formato esperado.",detail:"Informe um valor no formato esperado.","plural-separator":", ",hint:{summary:"Exemplo: {exampleV... | diakogiannis/glostercms | GlosterCMS/src/main/webapp/secpanel/js/libs/oj/v3.2.0/resources/nls/pt/ojtranslations.js | JavaScript | apache-2.0 | 20,378 |
//
// walkToolsEditorSliderRanges.js
// version 0.1
//
// Created by David Wooldridge, Summer 2015
// Copyright © 2015 David Wooldridge.
//
// All the sliders in walkToolsEditor have a range (with the exception of phase controls that are always +-180)
// Two sets of slider ranges are given here; one for e... | DaveDubUK/walkTools | walkTools/walkToolsEditorSliderRanges.js | JavaScript | apache-2.0 | 10,212 |
Video = {};
Video.view = Ti.UI.createView();
Video.videoObject = null;
Video.init = function()
{
Video.videoObject = Titanium.Media.createVideoPlayer({
contentURL:'movie.mov',
backgroundColor:'#111',
movieControlMode:Titanium.Media.VIDEO_CONTROL_DEFAULT,
scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL,
t... | mauropm/TestMovie | Resources/video.js | JavaScript | apache-2.0 | 476 |
/*
Some nice helper functions to help with date parsing and localization
In the future it may make sense to use moment.js, luxon, or date-fns,
but for now, just get by with the native browser APIs and save some bytes.
Confusingly, native Date() objects are actually date/time objects.
Surprisingly, the Djan... | mercycorps/TolaActivity | js/date_utils.js | JavaScript | apache-2.0 | 1,303 |
LoginController = RouteController.extend({
template: "Login",
yieldTemplates: {
/*YIELD_TEMPLATES*/
},
action: function() {
this.render();
}
}); | jamilshehzad/MeteorUI | cin_ixv/client/views/login/login_controller.js | JavaScript | apache-2.0 | 153 |
// @flow
import { CONNECTION_WILL_CONNECT, SET_LOCATION_URL } from '../connection';
import { JitsiConferenceErrors } from '../lib-jitsi-meet';
import { assign, ReducerRegistry, set } from '../redux';
import { LOCKED_LOCALLY, LOCKED_REMOTELY } from '../../room-lock';
import {
AUTH_STATUS_CHANGED,
CONFERENCE_FA... | bgrozev/jitsi-meet | react/features/base/conference/reducer.js | JavaScript | apache-2.0 | 15,002 |
/*
* @Author: liupuyan
* @Date: 2017-03-16 18:38:27
* @Last Modified by: liupuyan
* @Last Modified time: 2017-03-17 14:10:13
*/
'use strict';
// 代码分离
module.exports = {
entry: './main.js',
output: {
filename: 'bundle.js'
}
}; | puyanLiu/LPYFramework | 前端练习/autoFramework/webpack-demo3/demo09/webpack.config.js | JavaScript | apache-2.0 | 244 |
$_L(["java.io.Reader"],"java.io.BufferedReader",["java.io.IOException","java.lang.IllegalArgumentException","$.IndexOutOfBoundsException","$.StringBuilder","org.apache.harmony.luni.util.Msg"],function(){
c$=$_C(function(){
this.$in=null;
this.buf=null;
this.marklimit=-1;
this.count=0;
this.markpos=-1;
this.pos=0... | abego/j2slib | src/main/j2slib/java/io/BufferedReader.js | JavaScript | apache-2.0 | 6,215 |
import React, { PureComponent } from 'react';
import { connect } from 'react-redux';
import { requestAllEpisodes } from 'app/actions/episodes';
import FeedcastLoader from 'app/components/FeedcastLoader';
import EpisodesList from './EpisodesList';
class EpisodesListContainer extends PureComponent {
constructor(props... | feedcast/hurley | src/pages/episodeslist/index.js | JavaScript | apache-2.0 | 1,208 |
/*
Copyright IBM Corporation 2016, 2017
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, so... | ibm-wch/wchtools-cli | authoring-api/lib/loginREST.js | JavaScript | apache-2.0 | 9,986 |
define({"topics" : [{"title":"Event Record","href":"datacollector\/UserGuide\/Origins\/SQLServerCDC.html#concept_ckx_z3v_s1b","attributes": {"data-id":"concept_ckx_z3v_s1b",},"menu": {"hasChildren":false,},"tocID":"concept_ckx_z3v_s1b-d46e65923","topics":[]}]}); | SandishKumarHN/datacollector | docs/generated/oxygen-webhelp/app/nav-links/json/concept_byp_dgv_s1b-d46e65780.js | JavaScript | apache-2.0 | 262 |
// Copyright 2012 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | mduvall/traceur | src/codegeneration/module/ModuleVisitor.js | JavaScript | apache-2.0 | 5,270 |
define(function() {
var insertPanel = function(model) {
var $panel = $('<panel id="donation_panel"></panel>').css({
visibility: 'visible',
position: 'absolute',
bottom: 0,
right: 0,
}).attr({
name: "donation_panel",
src: "coui://ui/mods/donation_panel/donation_panel.html",
... | JustinLove/donation_panel | ui/mods/donation_panel/panel.js | JavaScript | apache-2.0 | 1,167 |
/*jshint globalstrict:false, strict:false, maxlen: 500 */
/*global assertEqual, assertTrue, assertFalse, AQL_EXECUTE, AQL_EXPLAIN */
////////////////////////////////////////////////////////////////////////////////
/// @brief tests for COLLECT w/ COUNT
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2010-2012 triage... | hkernbach/arangodb | js/server/tests/aql/aql-optimizer-collect-methods.js | JavaScript | apache-2.0 | 18,684 |
'use strict';
// need to finish '/publish' and '/subscribe'
const http = require('http');
const fs = require('mz/fs');
const url = require('url');
const path = require('path');
const logger = require('koa-logger')();
const app = require('koa')();
const Router = require('koa-router');
const clients = [];
app.use(log... | AlexMold/node-work | homework06/chat-koa/chat.js | JavaScript | apache-2.0 | 4,203 |
import { Application } from "stimulus"
import { definitionsFromContext } from "stimulus/webpack-helpers"
// Look for controllers inside app/javascripts/packs/controllers/
const application = Application.start()
const context = require.context("./controllers", true, /\.js$/)
application.load(definitionsFromContext(cont... | catima/catima | app/javascript/packs/application.js | JavaScript | apache-2.0 | 326 |
#!/usr/bin/jjs -fv
var cmd = "docker build -t airhacks/openliberty-kernel ."
var System = Java.type("java.lang.System");
$EXEC(cmd, System.in, System.out, System.err);
| AdamBien/docklands | openliberty-kernel/build.js | JavaScript | apache-2.0 | 168 |