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
/* Here is the list of the major difference with other autocomplete scripts: - don't do anything but fire a signal when a choice is selected: it's left as an exercise to the developer to implement whatever he wants when that happens - don't generate the autocomplete HTML, it should be generated by the server Let's es...
Yury191/brownstonetutors
static/autocomplete_light/autocomplete.js
JavaScript
unlicense
24,953
/** * Created by Yazdaan Alimudeen on 25/08/14. * IT 13001308 */ $(document).ready(function(){ var myEasing = "swing"; ///Animation easing var sortArray = new Array(); var arrSize; var pQueue = []; var qQueue = []; var pause = false; var speed = $("#speed").val(); $(".note").hide()...
y2daz/quick-turtle
quickSort.js
JavaScript
unlicense
10,040
var dir_88755a864899a1d3be8e646509e65487 = [ [ "org", "dir_b65b928c8220b21e3474a7c1f5467783.html", "dir_b65b928c8220b21e3474a7c1f5467783" ] ];
onosfw/apis
onos/apis/dir_88755a864899a1d3be8e646509e65487.js
JavaScript
apache-2.0
146
{ "configurationSettings": [{ "category": "General", "fields": [{ "type": "webmap", "conditions": ["edit"] }, { "type": "appproxies" }, { "placeHolder": "Defaults to web map title", "label": "Title:", "fieldName": "title", "type": "string", "tooltip": "Defaults to web map t...
Esri/edit-template
resources/configurationPanel.js
JavaScript
apache-2.0
3,378
const ChannelModel = require('./model') const RootController = require('structure-root-controller') const slug = require('paradigm-slugs') /** * ChannelsController Class * * @public * @class ChannelsController */ class Controller extends RootController { /** * ChannelsController constructor * * @publi...
f12/paradigm-channels
src/controller.js
JavaScript
apache-2.0
5,342
// source: tendermint/consensus/wal.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATE...
eris-ltd/eris-db
js/proto/tendermint/consensus/wal_pb.js
JavaScript
apache-2.0
38,818
/** * Copyright 2017 Telerik AD * ...
xiangxik/castle-platform
castle-themes/castle-theme-uikit/src/main/resources/META-INF/bower_components/kendo-ui/src/js/kendo.router.js
JavaScript
apache-2.0
21,107
/* * @Author: liupuyan * @Date: 2017-02-27 09:41:55 * @Last Modified by: liupuyan * @Last Modified time: 2017-02-27 09:42:14 */ // timestamp: Tue, 01 May 2007 19:13:00 /* base2.js - copyright 2007, Dean Edwards http://www.opensource.org/licenses/mit-license */ // You know, writing a javascript library is awfu...
puyanLiu/LPYFramework
前端练习/11面向对象/多种方式创建对象/base2.js
JavaScript
apache-2.0
7,557
var classorg_1_1onosproject_1_1net_1_1behaviour_1_1BridgeName = [ [ "equals", "classorg_1_1onosproject_1_1net_1_1behaviour_1_1BridgeName.html#ae43d2a5908c1178044ea6f8c2bab0983", null ], [ "hashCode", "classorg_1_1onosproject_1_1net_1_1behaviour_1_1BridgeName.html#a5f685f00d03af0cc2182ff718515d7ed", null ], ...
onosfw/apis
onos/apis/classorg_1_1onosproject_1_1net_1_1behaviour_1_1BridgeName.js
JavaScript
apache-2.0
565
var dir_287eb78bfda0d783f7ca56b0fa0bef60 = [ [ "ClusterCommunicationServiceAdapter.java", "ClusterCommunicationServiceAdapter_8java.html", [ [ "ClusterCommunicationServiceAdapter", "classorg_1_1onosproject_1_1store_1_1cluster_1_1messaging_1_1ClusterCommunicationServiceAdapter.html", "classorg_1_1onosproject_1...
onosfw/apis
onos/apis/dir_287eb78bfda0d783f7ca56b0fa0bef60.js
JavaScript
apache-2.0
1,204
var appLocale = {lc:{"ar":function(n){ if (n === 0) { return 'zero'; } if (n == 1) { return 'one'; } if (n == 2) { return 'two'; } if ((n % 100) >= 3 && (n % 100) <= 10 && n == Math.floor(n)) { return 'few'; } if ((n % 100) >= 11 && (n % 100) <= 99 && n == Math.floor(n)) { return '...
cloud3edu/code-dot-org-old
dashboard/public/apps-package/js/en_ploc/calc_locale.js
JavaScript
apache-2.0
7,099
/** * @author Gerardo Camarena Gomez */ dtd.ui.login={}; dtd.ui.login.createloginWindow=function(){ dtd.ui.login.win=Titanium.UI.createWindow({ backgroundColor: "black", title: "Login" }); dtd.ui.login.userNameTextField=Titanium.UI.createTextField({ hintText:"Username", borderColor:"White", backgroundCo...
geracam/DTD-App
Resources/app/views/login.js
JavaScript
apache-2.0
968
sap.ui.define(['sap/uxap/BlockBase'], function (BlockBase) { "use strict"; return BlockBase.extend("sap.uxap.sample.AnchorBar.view.blocks.myBlock", { metadata: { /* no additional views provided */ } }); });
SAP/openui5
src/sap.uxap/test/sap/uxap/demokit/sample/AnchorBar/controller/blocks/myBlock.js
JavaScript
apache-2.0
217
/** * Created by ferron on 10/3/18 1:04 PM * adapted from split-file-stream library * URL : https://github.com/dannycho7/split-file-stream/blob/master/index.js * credit to : @dannycho7 */ const fs = require('fs') const StreamSplitter = require('./streamSplitter') const { PassThrough } = require('stream') const zl...
taskrabbit/elasticsearch-dump
lib/splitters/csvStreamSplitter.js
JavaScript
apache-2.0
1,566
//>>built define("dojox/sketch/UnderlineAnnotation",["./Annotation","./Anchor"],function(){var b=dojox.sketch;b.UnderlineAnnotation=function(a,e){b.Annotation.call(this,a,e);this.transform={dx:0,dy:0};this.start={x:0,y:0};this.property("label","#");this.lineShape=this.labelShape=null};b.UnderlineAnnotation.prototype=ne...
Caspar12/zh.sw
zh.web.site.admin/src/main/resources/static/js/dojo/dojox/sketch/UnderlineAnnotation.js
JavaScript
apache-2.0
2,904
$(function(){ $('.link .button').hover(function(){ var title=$(this).attr('data-title'); $('.tip em').text(title); var pos=$(this).offset().left; var dis=($('.tip').outerWidth()-$(this).outerWidth())/2; var l=pos-dis; $('.tip').css({'left':l+'px'}).animate({'top':180,'opacity':1},300); },function(){ if(...
zhengjinwei123/frontEndStudy
docs/特效按钮/button/js/script.js
JavaScript
apache-2.0
410
/** * Kubernetes * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v1.5.1-660c2a2 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit t...
Birdrock/client-javascript
kubernetes/test/model/V1GitRepoVolumeSource.spec.js
JavaScript
apache-2.0
2,669
/* Copyright 2015, 2016 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
aperezdc/matrix-react-sdk
src/components/views/rooms/RoomDropTarget.js
JavaScript
apache-2.0
1,036
var json = { "list": [ "No Alert", "Thunderstorm Warning", "Severe Thunderstorm Warning", "Tornado Warning", "Snow" ] } exports.json = json;
IBM-Bluemix/bluemix-retail
alerts.js
JavaScript
apache-2.0
164
"use strict"; var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = Schema.ObjectId; var fs = require('fs'); //Saves raw file to gridFS. exports.saveSource = function (dbinfo, ptKey, content, sourceInfo, contentType, callback) { var buffer = new Buffer(content); var fileMetadata =...
amida-tech/blue-button-record
lib/storage.js
JavaScript
apache-2.0
6,176
/* Copyright 2019 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
google/chicago-brick
lib/console_logger.js
JavaScript
apache-2.0
2,834
'use strict'; // Use Application configuration module to register a new module ApplicationConfiguration.registerModule('material', ['ngMaterial']);
savantly-net/selenium-harness
src/main/resources/public/modules/material/material.module.js
JavaScript
apache-2.0
148
$(function(){ console.log("page loaded"); window.lift.logError("hello"); });
joescii/lift-SOE-1720
src/main/webapp/js/test.js
JavaScript
apache-2.0
80
$(document).ready(function(){ $("#bike2").addClass("move"); $("#aboutbutton").click(function() { $("#bike2").show(); $("#bike").css("transform","translate(0px,150px"); $("#bike").css("transition-duration","2s"); }); $("#hobbies")....
hellovivian/hellovivian.github.io
sundaymorning.js
JavaScript
apache-2.0
10,170
// test unary minus var assert = require('assert'); var math = require('../../../index.js'); describe('unaryminus', function() { it('should parform unary minus of a boolean', function () { assert.equal(math.unary(true), -1); assert.equal(math.unary(false), 0); }); it('should perform unary minus of a num...
InspectorConstructor/lemon-webgl
mathjs/mathjs/test/function/arithmetic/unary.js
JavaScript
apache-2.0
1,629
// Copyright 2011 Traceur 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 applicable law or agreed ...
ericmckean/traceur-compiler
test/unit/es6/semantics/FreeVariableChecker.js
JavaScript
apache-2.0
2,930
export default function (css) { document.querySelector('head').innerHTML += `\n<style>${css}</style>` }
RSG-Group/rsg-components
src/protoCSS.js
JavaScript
apache-2.0
109
import React from 'react'; import PropTypes from 'prop-types'; import { observer, inject } from 'mobx-react'; import ConditionSetFormField from '../ConditionSetFormField/component'; import AddConditionLink from '../AddConditionLink/component'; @inject('conditionSetStore') @observer class DisplayLogicFormField extends...
thecartercenter/elmo
app/javascript/components/conditions/DisplayLogicFormField/component.js
JavaScript
apache-2.0
2,127
/* eslint-disable dot-notation */ const net = require('net'); const async = require('async'); const http = require('http'); const https = require('https'); const assert = require('assert'); const request = require('../../../lib/utilities/request'); const testCert = `-----BEGIN CERTIFICATE----- MIIEXTCCAsWgAwIBAgIQGvS...
scality/S3
tests/unit/utils/request.js
JavaScript
apache-2.0
16,359
define(['underscore'], function(_) { /* * External wrappers for LABKEY functions. The main purpose of this is for Ajax involved * functions, so that we can control the login screen. */ var failureWrapper = function (callback) { return function (errorInfo) { if (!_.isUndefined...
JonathonRichardson/LabKey-Mobile
module_files/resources/web/labkey_mobile/corelib/xlabkey.js
JavaScript
apache-2.0
3,035
/** * @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/streams/node/empty/benchmark/benchmark.js
JavaScript
apache-2.0
1,993
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { function dataTransformation(_model) { return { name: _model.attributes.name, address1: _model.attributes.addr...
suresh-mobilocity/SchoolAtHand
Resources/iphone/alloy/controllers/SchoolDetail.js
JavaScript
apache-2.0
16,551
export function isNumber(n) { return !isNaN(parseFloat(n)) && isFinite(n); }
Kikonejacob/nodeApp
src/app/utils/miscHelper.js
JavaScript
apache-2.0
80
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
mayurmarwa/mbionic3
src/pages/enquiries/enquiries.js
JavaScript
apache-2.0
5,730
import ApplicationAdapter from './application'; export default ApplicationAdapter.extend({ query(store, type, query) { if (!query.reverse) { return this._super(...arguments); } delete query.reverse; let { crate } = query; delete query.crate; return this.a...
steveklabnik/crates.io
app/adapters/dependency.js
JavaScript
apache-2.0
443
define([ "dojo/_base/declare" ], function (declare) { // module: // gform/controller/SingleSchemaRegistry return declare([], { // summary: // A registry for stores. Makes it easy to reuse and mock stores. constructor: function (schema) { this.schema = schema; }, schema: null, get: function (id, p...
stemey/gform-site
src/example/formbuilder/SingleSchemaRegistry.js
JavaScript
apache-2.0
407
// @flow import { Component } from 'react'; import { createRecordingDialogEvent, sendAnalytics } from '../../../analytics'; import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet'; import { getDropboxData, isEnabled as isDropboxEnabled, getNewAccessToken, updateDropboxToken } fr...
jitsi/jitsi-meet
react/features/recording/components/Recording/AbstractStartRecordingDialog.js
JavaScript
apache-2.0
10,943
var win = Titanium.UI.createWindow({ title : 'Tab 1', backgroundColor : '#fff' }); var tv = Ti.UI.createTableView(); require('model').get({ url : 'http://www.heise.de/newsticker/heise-atom.xml', onload : function(_data) { console.log(data); // DATEN RENDEREN } }); win.add(tv); win.open();
AppWerft/Code-CoffeeHamburg
Resources/app.js
JavaScript
apache-2.0
302
(function() { var __hasProp = Object.prototype.hasOwnProperty; FillMeUp.API = (function() { function API(login, password) { this.login = login; this.password = password; } API.prototype.requestURI = function(path, query) { var key, uri, value; if (query == null) { query =...
6hoursdaily/Fill-Me-Up
Resources/fill_me_up.js
JavaScript
apache-2.0
95,449
/* * Copyright 2019 EPAM Systems * * 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 ...
reportportal/service-ui
app/src/common/utils/index.js
JavaScript
apache-2.0
2,001
define(['angular'], function (angular) { 'use strict'; var fct = function () { return { polarToCartesian: function (a, b) { return { x: a * Math.cos(b), y: a * Math.sin(b) }; }, radToDeg: functio...
jackTheRipper/chat_nodejs
www/application/js/services/modules/game/helpers/maths.js
JavaScript
apache-2.0
714
/* eslint-env mocha */ 'use strict'; const fs = require('fs'); const assert = require('assert'); const oust = require('..'); const read = file => fs.readFileSync(file, 'utf8'); it('should return an array of stylesheet link hrefs', () => { const links = oust(read('test/sample/index.html'), 'stylesheets'); co...
addyosmani/oust
test/index.js
JavaScript
apache-2.0
5,712
var args = arguments[0] || {}; var photoData; var setImageEvent = "setImage"; function showCamera() { Titanium.Media.showCamera({ success : function(event) { Ti.API.debug("picture was taken"); //imageView.image = event.media; photoData = event.media; $.photo.image = event.media; $.trigger(setIma...
water-service-sience/babylon-client
app/controllers/post_image_view.js
JavaScript
apache-2.0
2,755
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
TanayParikh/foam2
src/com/google/foam/demos/sevenguis/Timer.js
JavaScript
apache-2.0
2,975
/*! * ${copyright} */ sap.ui.define([ "sap/ui/core/format/DateFormat", "sap/ui/core/format/DateFormatTimezoneDisplay", "sap/ui/model/_Helper", "sap/ui/model/CompositeType", "sap/ui/model/FormatException", "sap/ui/model/ParseException" ], function (DateFormat, DateFormatTimezoneDisplay, _Helper, CompositeType, ...
SAP/openui5
src/sap.ui.core/src/sap/ui/model/odata/type/DateTimeWithTimezone.js
JavaScript
apache-2.0
12,486
// Не будем сильно усложнять логику, просто отдельный общедоступный объект user, который в процессе выполнения не заменяется. // временно, пока не стабильно, вносим тестовые слова в localStorage /*var smallStr; if(!ls[equal'_words_Noun']) { smallStr = '[[["snake",[4658]],[["змея",[4658],[0,0,0,0,0,0,0,0,0,"змей",0,"зм...
rogallic/learnen.ru
src/js/user.js
JavaScript
apache-2.0
24,288
define([ '../views/ListView', './Comment', '../collections/ProfileItemComments', 'handlebars', 'underscore' ], function(ListView, Comment, ProfileItemComments, Handlebars, _) { 'use strict'; var SuperClass = ListView, template = Handlebars.compile('<h4>' + 'Reviews' + ...
ozoneplatform/omp-marketplace
javascript/src/profile/MyReviewsView.js
JavaScript
apache-2.0
1,949
var detect_engine_siggroup_8c = [ [ "DetectSigGroupPrintMemory", "detect-engine-siggroup_8c.html#af168b5ce8bb678cf8aea980153fa19bf", null ], [ "SigGroupHeadAppendSig", "detect-engine-siggroup_8c.html#ad89ebd7cf624e4e5745a5079e5436b47", null ], [ "SigGroupHeadBuildMatchArray", "detect-engine-siggroup_8c.html...
onosfw/apis
suricata/apis/detect-engine-siggroup_8c.js
JavaScript
apache-2.0
6,908
(function () { angular .module('irma') .factory('resultsManager', resultsManager); function resultsManager($q, Result, api) { // Exports return { getResult, getAvailableTags, }; // Functions function load(resultId, deferred) { api.files.details(resultId) .then...
quarkslab/irma
frontend/web/app/scripts/services/managers/resultsManager.js
JavaScript
apache-2.0
1,096
import angular from 'angular'; import calculatorService from './calculator.service'; let serviceModule = angular.module('app.services', []) .service('calculatorService', calculatorService) .name; export default serviceModule;
kerensei/Calculator
client/app/services/services.js
JavaScript
apache-2.0
234
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2017, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
abelCoronado93/one
src/sunstone/public/app/tabs/vms-tab/panels/log.js
JavaScript
apache-2.0
3,694
/* * datawrapper / theme / default v1.5.1 * generated on 2013-08-27T10:53:19+02:00 */ (function(){dw.theme.register('default',{colors:{palette:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd"],secondary:["#000000",'#777777','#cccccc','#ffd500','#6FAA12'],context:'#aaa',axis:'#000000',positive:'#1f77b4',negative:'#...
catevisco/catevisco.github.io
dataviz/foodstamp/js/default-5baee189e1a2f0bf680f4910cc958098.min.js
JavaScript
apache-2.0
466
import React from "react"; import ReactDOM from "react-dom"; import App from "./App"; import registerServiceWorker from "./registerServiceWorker"; ReactDOM.render(<App />, document.querySelector("#root")); registerServiceWorker();
Cygni94/multiDocs
src/index.js
JavaScript
apache-2.0
232
/* Based in part on observable arrays from Motorola Mobility’s Montage Copyright (c) 2012, Motorola Mobility LLC. All Rights Reserved. 3-Clause BSD License https://github.com/motorola-mobility/montage/blob/master/LICENSE.md */ /* This module is responsible for observing changes to owned properties ...
sguisse/InfoWkspOrga
10-Application/Prez-Webapp/InfoWkspOrga-Prez-Webapp/src/main/webapp/lib/collection/listen/property-changes.js
JavaScript
apache-2.0
19,472
var dao = require('../dao'); var db = require('../models'); var productTypeDao = new dao.ProductTypeDao(db); var randomstring = require('randomstring'); var async = require('async'); productTypeDao.save({ userId:1, name:'D', isLeaf:true, parentId:-1 },function(result){ console.log(result); }); // productTy...
juxiangwu/SimpleSales
Server/testing/producttypedao-testing.js
JavaScript
apache-2.0
670
/** * @author <Tropico> <www.mangiaconsapevole.com> * @author Gianluca Guazzo * @license [MIT](http://www.opensource.org/licenses/mit-license.php) */ (function ($) { 'use strict'; $.sceditor.locale["it-IT"] = { "Bold": "Grassetto", "Italic": "Corsivo", "Underline": "Sottolineato", "Strikethrough": "Barra...
webpagebytes/cms
src/main/resources/META-INF/admin/sce/languages/it.js
JavaScript
apache-2.0
2,897
import axios from 'axios'; import { UPVOTE, DOWNVOTE, SET_UPVOTE_LIST, SET_DOWNVOTE_LIST } from '../constants'; const url = '/api/v1/recipes'; /** * @description - Upvotes a recipe * * @export * * @param {Number} recipeId - Recipe ID * * @param {Number} userId - User ID * * @returns {object} dispatch - Di...
larrystone/BC-26-More-Recipes
client/src/actions/voteActions.js
JavaScript
apache-2.0
1,015
const signup = require('../controllers/signup'); const Polls = require('../models/polls'); const shortid = require('shortid'); const colors = require('../utils/colors'); const validator = require('validator'); const errorMessages = require('../utils/errorMessages'); const logger = require('../utils/logger'); const esca...
MiloATH/VotingApp
app/routes/index.js
JavaScript
apache-2.0
10,096
var TreeLib = artifacts.require("./TreeLib.sol"); var Tree = artifacts.require("./Tree.sol"); module.exports = function(deployer) { deployer.deploy(TreeLib); deployer.link(TreeLib, Tree); deployer.deploy(Tree); };
adibas03/solidity-data-tree
migrations/2_deploy_contracts.js
JavaScript
apache-2.0
221
'use strict'; describe('Directive: tsWidgetBar', function () { // load the directive's module beforeEach(module('websiteApp')); var element, scope; beforeEach(inject(function ($rootScope) { scope = $rootScope.$new(); })); it('should make hidden element visible', inject(function ($compile) { ...
Tooskich/website
test/spec/directives/tswidgetbar.js
JavaScript
apache-2.0
504
import React from "react"; import PropTypes from "prop-types"; import { StyledCounterWrapper, StyledCounter } from "./editor-counter.style"; import ValidationIcon from "../../../../__internal__/validations"; const Counter = ({ count = 0, limit = 3000, error, warning, info }) => ( <StyledCounterWrapper hasIcon={!...
Sage/carbon
src/components/text-editor/__internal__/editor-counter/editor-counter.component.js
JavaScript
apache-2.0
1,125
var settings = require("./settings"); var templatePanel = require("./templates/numbers.html"); var _ = codebox.require("hr.utils"); var View = codebox.require("hr.view"); var $ = codebox.require("jquery"); var rpc = codebox.require("core/rpc"); var commands = codebox.require("core/commands"); var getSIPConfig = _.mem...
CodeboxIDE/package-corvisa
src/numbers.js
JavaScript
apache-2.0
1,490
/*jshint globalstrict:false, strict:false, unused: false */ /*global assertEqual, assertTrue, arango, print, ARGUMENTS */ //////////////////////////////////////////////////////////////////////////////// /// @brief test the replication /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2012 triagens GmbH, Cologne,...
Simran-B/arangodb
tests/js/server/replication/fuzz/replication-fuzz-global.js
JavaScript
apache-2.0
20,429
// 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-compute
samples/generated/v1/public_delegated_prefixes.get.js
JavaScript
apache-2.0
1,967
// 路径配置 require.config({ paths:{ 'echarts':'http://echarts.baidu.com/build/echarts', 'echarts/chart/bar':'http://echarts.baidu.com/build/echarts' } }); // 使用 require( [ 'echarts', 'echarts/chart/bar'// 使用柱状图就加载bar模块,按需加载 ], function(ec){ // 基于准备好的dom,初始化echar...
courage-zen/demo
js/map.js
JavaScript
apache-2.0
4,607
import {Injector, bind, OpaqueToken, Optional} from 'angular2/di'; import {NumberWrapper, Type, isBlank, isPresent, BaseException, assertionsEnabled, print, stringify} from 'angular2/src/facade/lang'; import {BrowserDomAdapter} from 'angular2/src/dom/browser_adapter'; import {DOM} from 'angular2/src/dom/dom_adapter...
CarrieKroutil/angular
modules/angular2/src/core/application.js
JavaScript
apache-2.0
13,292
/* COPYRIGHT 2012 SUPERMAP * 本程序只能在有效的授权许可下使用。 * 未经许可,不得以任何手段擅自使用或传播。*/ /** * @requires SuperMap/Util.js * @requires SuperMap/REST.js * @requires SuperMap/REST/SurfaceAnalyst/DataReturnOption.js */ /** * Class: SuperMap.REST.SurfaceAnalystParameters * 表面分析提取操作参数类。 * 通过该类可以为进行表面分析提供参数信息,包括表面分析的方法提取等值线、提取等值面...
SuperMap/iClient-for-JavaScript
libs/SuperMap/REST/SpatialAnalyst/SurfaceAnalystParameters.js
JavaScript
apache-2.0
3,133
//= require curation_concerns/application
escowles/plum
app/assets/javascripts/curation_concerns.js
JavaScript
apache-2.0
42
/*! kibana - v3.0.0pre-milestone5 - 2013-11-08 * Copyright (c) 2013 Rashid Khan; Licensed Apache License */ define("panels/fields/module",["angular","app","underscore"],function(a,b,c){var d=a.module("kibana.panels.fields",[]);b.useModule(d),d.controller("fields",["$scope",function(a){a.panelMeta={status:"Deprecated"...
mshmsh5000/logstash-salt
kibana-latest/app/panels/fields/module.js
JavaScript
apache-2.0
586
var group__notifier = [ [ "notifier_notification_block_t", "group__notifier.html#structnotifier__notification__block__t", [ [ "targetConfig", "group__notifier.html#a2e0b1d4d7e3ebf8f454b55af953e3ffa", null ], [ "policy", "group__notifier.html#a26aef2519eb2f9990e04f2ce961dfc9b", null ], [ "notifyTyp...
scottdarch/Noer
FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/docs/Kinetis SDK API Reference Manual MK66F18_v2.1.0/group__notifier.js
JavaScript
apache-2.0
3,992
import { storiesOf } from "@storybook/react"; import { withInfo } from "@storybook/addon-info"; import KnobbedThemeProvider from "@hig/storybook/storybook-support/decorators/KnobbedThemeProvider"; import infoOptions from "./infoOptions"; import renderStory from "./renderStory"; import stories from "./stories"; const ...
Autodesk/hig
packages/slider/src/__stories__/Slider.stories.js
JavaScript
apache-2.0
632
"use strict"; const FaceDeformer = function() { var gl, verticeMap; var numTriangles; var maxx, minx, maxy, miny; var width, height; var first = true; var textureVertices, gridVertices; var texCoordBuffer, gridCoordbuffer; var texCoordLocation; var pdmModel; var usegrid = false; var drawProgra...
Abdelrahman3D/Iris
assets/js/face_deformer.js
JavaScript
apache-2.0
9,927
chorus.views.SearchResultList = chorus.views.Base.extend({ constructorName: "SearchResultList", templateName: "search_result_list", events: { "click a.show_all": "showAll" }, subviews: { ".list": "list" }, setup: function() { this.search = this.options.search; ...
mpushpav/chorus
app/assets/javascripts/views/search/search_result_list.js
JavaScript
apache-2.0
2,022
--- layout: js-bottom-all ---
xonixx/cml-site-jekyll
js/js-bottom-all.js
JavaScript
apache-2.0
29
/* * Kendo UI v2014.2.731 (http://www.telerik.com/kendo-ui) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial licen...
CE-KMITL-OOAD-2014/drinkforgood
drinktrack/src/js/cultures/kendo.culture.zh-Hans.js
JavaScript
apache-2.0
2,796
var express = require('express'); var router = express.Router(); var db = require('../queries'); router.get('/api/puppies', db.getAllPuppies); router.get('/api/usuarios', db.getAllUsuarios); router.get('/api/puppies/:id', db.getSinglePuppy); router.post('/api/puppies', db.createPuppy); router.put('/api/puppies/:id',...
mrtequino/JSW
nodejs/server3/routes/index.js
JavaScript
apache-2.0
415
/** * @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/negative-binomial/stdev/examples/index.js
JavaScript
apache-2.0
917
/*! * ${copyright} */ // Provides class sap.ui.rta.plugin.EasyAdd. sap.ui.define([ 'sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin', 'sap/ui/dt/OverlayRegistry' ], function(AdditionalElementsPlugin, OverlayRegistry) { "use strict"; /** * Constructor for a new EasyAdd Plugin. * * @param {str...
nzamani/openui5
src/sap.ui.rta/src/sap/ui/rta/plugin/EasyAdd.js
JavaScript
apache-2.0
7,789
(function() { 'use strict'; angular .module('nqms') .factory('rolesService', rolesServiceFunc); /** @ngInject */ function rolesServiceFunc($window, apiHost, $http, $log, $q, toastr) { var service = { getHaveFunction: getHaveFunction, getNotHaveFunction: getNotHaveFunction, save: ...
gavin2lee/incubator
mnisqm/mnisqm-pc/src/app/system/roles/roles.service.js
JavaScript
apache-2.0
2,330
var checkAuth = require('middleware/checkAuth'); var checkFinished = require('middleware/checkFinished'); var checkAdmin = require('middleware/checkAdmin'); var checkTime = require('middleware/checkTime'); var REST_PREFIX = '/rest'; module.exports = function(app) { // Public URLs: app.get('/login', require('./lo...
ostinru/srengine
routes/index.js
JavaScript
apache-2.0
2,749
define({"topics" : [{"title":"State Transition Examples","href":"datacollector\/UserGuide\/Pipeline_Maintenance\/PipelineStates-Examples.html","attributes": {"data-id":"concept_ijz_5s5_nz",},"menu": {"hasChildren":false,},"tocID":"concept_ijz_5s5_nz-d46e39619","topics":[]}]});
streamsets/datacollector
docs/generated/oxygen-webhelp/app/nav-links/json/concept_s4p_ns5_nz-d46e39597.js
JavaScript
apache-2.0
277
// $begin{copyright} // // This file is part of WebSharper // // Copyright (c) 2008-2016 IntelliFactory // // 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...
intellifactory/websharper.mathjs
WebSharper.MathJS.Tests/Scripts/WebSharper/WebSharper.Core.JavaScript/Runtime.js
JavaScript
apache-2.0
10,280
/* * 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/wp-story-editor/src/api/test/_utils.js
JavaScript
apache-2.0
6,216
/*! jQuery Validation Plugin - v1.14.0 - 6/30/2015 * http://jqueryvalidation.org/ * Copyright (c) 2015 Jörn Zaefferer; Licensed MIT */ !function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):a(jQuery)}(function(a){a.extend(a.validator.messages,{required:"필수 항목입니다.",remote:"항목...
ltm0203/YoYoCms
src/YoYo.Cms.Web/libs/jquery-validation/js/localization/messages_ko.min.js
JavaScript
apache-2.0
1,233
export default class ChatObserver{ constructor(){ this.observer = new MutationObserver(this.onMutated.bind(this)); this.observer.observe(this.getTarget(), { childList: true, subtree: true, }); } getTarget(){ return document.getElementById('logmain'); } onMutated(records){ for(let record of record...
whs/myliveenh
src/core/chatobserver.js
JavaScript
apache-2.0
647
var server = require('./server.js'); var router = require('./router.js'); var requestHandlers = require('./requestHandlers.js'); var handle = {}; handle["/"] = requestHandlers.start; handle["/start"] = requestHandlers.start; handle["/upload"] = requestHandlers.upload; handle["/show"] = requestHandlers.show; handle["/we...
jesshaw/node-sample-project
hodgepodge/index.js
JavaScript
apache-2.0
392
var Cloud = require('ti.cloud'); function getActivitiesACS(query) { var user = getUserLocal(Titanium.App.Properties.getString('user')); Cloud.Objects.query({ classname: 'activities', where: query }, function (e) { if (e.success) { for(var i=e.activities.length-1;i > -1 ;i--) { var activit...
leokenner/SE-Android
Resources/ui/common/cloud/appcelerator/activities_acs.js
JavaScript
apache-2.0
3,884
define([ 'Renderer/ShaderSource' ], function( ShaderSource) { 'use strict'; describe('Renderer/ShaderSource', function() { var mockContext = { webgl2 : false }; it('combines #defines', function() { var source = new ShaderSource({ defines : ['A', 'B'...
jasonbeverage/cesium
Specs/Renderer/ShaderSourceSpec.js
JavaScript
apache-2.0
3,747
import React from 'react' import {BrowserRouter as Router, Route, Link, Match} from 'react-router-dom'; import {render} from 'react-dom'; import {createStore, combineReducers, applyMiddleware, compose} from 'redux' import {Provider} from 'react-redux'; import AppReducers from 'reducers/AppStore'; import {ConnectedRoute...
huyhoangtb/reactjs
src/index.js
JavaScript
apache-2.0
3,132
document.domain = 'www.xun.com'; var _e = function () {}; typeof console != "undefined" && (_e = function (a) { console.log(a) }), function (m, w, $) { typeof w.kkContent == "undefined" && (w.kkContent = {}), kkContent.dapCtrl = false; kkContent.peerId = false; kkContent.fboxId = null; kk...
charlesSoftware/Monster-Video-Web-in-PHP
js/content_main.js
JavaScript
apache-2.0
18,962
// @flow import { BluetoothRequired } from "@ledgerhq/errors"; import { log } from "@ledgerhq/logs"; import timer from "./timer"; import type { BleManager } from "./types"; export const awaitsBleOn = ( bleManager: BleManager, ms: number = 3000 ): Promise<void> => new Promise((resolve, reject) => { let done ...
LedgerHQ/ledger-node-js-api
packages/react-native-hw-transport-ble/src/awaitsBleOn.js
JavaScript
apache-2.0
850
const MetaTraderConfig = require('./metatrader.config'); const Client = require('../../../base/client'); const BinarySocket = require('../../../base/socket'); const Dialog = require('../../../common/attach_dom/dialog'); const Currency = require('../../../common/currency'); const Validati...
kellybinary/binary-static
src/javascript/app/pages/user/metatrader/metatrader.ui.js
JavaScript
apache-2.0
32,837
const assert = require('assert'); const should = require('should'); const nextNumber = require('../src/nextNumber'); const nextLowest = nextNumber.nextLowest; const nextLargest = nextNumber.nextLargest; describe('nextNumber', function() { it('should get next lowest for 101', function() { let value = parseInt('10...
telmanagababov/ctci
part5-bits/test/nextNumber.spec.js
JavaScript
apache-2.0
1,359
/** * @license Angular v5.0.5 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define('@angular/animations', ['exports'], factory) : (fact...
HeH-Projects/team-agozzino
frontend/node_modules/@angular/animations/bundles/animations.umd.js
JavaScript
apache-2.0
53,396
import { setPropertiesFromJSON } from '../../json-helper'; import ObservationComponent from '../finding/ObservationComponent'; /** * Generated class for shr.oncology.StainingControl. * @extends ObservationComponent */ class StainingControl extends ObservationComponent { /** * Get the value (aliases codeableC...
standardhealth/flux
src/model/shr/oncology/StainingControl.js
JavaScript
apache-2.0
1,913
"use strict"; var electron = require('electron'); var app = electron.app; var ipcMain = electron.ipcMain; var dialog = electron.dialog; var BrowserWindow = electron.BrowserWindow; var Menu = electron.Menu; var crashReporter = electron.crashReporter; var path = require('path'); var isAccelerator = require("electron-i...
todbot/Blink1Control2
app/main.js
JavaScript
apache-2.0
9,848
var sys = require('sys'); var spawn = require('child_process').spawn; var os = require('os'); var path = require('path'); var fs = require('fs'); var commands = require('../commands/shadow'); exports.cliVersion = '>=3.2.0'; exports.version = '1.0'; exports.title = 'TiShadow Express'; exports.desc = 'For very basic an...
FokkeZB/TiShadow
plugin/yy.tishadow/1.0/hooks/shadow.js
JavaScript
apache-2.0
1,712
// 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-ai-platform
samples/generated/v1/featurestore_service.batch_read_feature_values.js
JavaScript
apache-2.0
4,020
/* Copyright [2014] [Raul] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
RaulMarfil/monitorizacion
Agente.js
JavaScript
apache-2.0
4,346
/*jshint globalstrict:false, strict:false */ /*global assertEqual */ //////////////////////////////////////////////////////////////////////////////// /// @brief tests for import /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2012 triagens GmbH, Cologne, Germany /// /// Licensed under the Apache License, Versi...
thurt/arangodb
js/server/tests/import.js
JavaScript
apache-2.0
12,138