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
/*eslint no-console: 0*/ import { sexpToString, lex } from '../src/lex' import { parse } from '../src/parser' import { desugar, analyze } from '../src/analyzer' import { compile } from '../src/compiler' export var repl_input export var repl_input_li export var output_list export var __history_front export var __histor...
bootstrapworld/wescheme-js
test/repl2.js
JavaScript
lgpl-2.1
3,029
SyntaxHighlighter.autoloader( 'xs ' + MTBrushParams.baseUrl + '/shBrushXSScript.js' ); // disable double click to select SyntaxHighlighter.defaults['quick-code'] = false; // add toolbar related code // function selectElementText(el, win) { win = win || window; var doc = win.document, se...
derektu/wp-xscode
brushTypes.js
JavaScript
lgpl-3.0
1,965
var searchData= [ ['norm',['norm',['../struct_felt_1_1_impl_1_1_mixin_1_1_poly_1_1_geom_3_01_t_derived_00_013_01_4_1_1_vertex.html#aa9e6c1e0d1c147fc055daccf922c2000',1,'Felt::Impl::Mixin::Poly::Geom< TDerived, 3 >::Vertex']]], ['null_5fidx',['null_idx',['../namespace_felt.html#a1d3660aac94e9b1674dd2e3b49069c0...
feltech/Felt
docs/search/variables_5.js
JavaScript
lgpl-3.0
974
import prefix from '../prefix' import translate from '../translate' export default { deck: function (deck) { deck.intro = deck.queued(intro) function intro (next) { var cards = deck.cards cards.forEach(function (card, i) { card.intro(i, function (i) { if (i === cards.length -...
fculpo/deck-of-cards
lib/modules/intro.js
JavaScript
lgpl-3.0
1,265
"use strict"; /* * --------------------------------------------------------- * Copyright(C) Microsoft Corporation. All rights reserved. * --------------------------------------------------------- * * --------------------------------------------------------- * Generated file, DO NOT EDIT * -----------------------...
mosser/ArduinoML-kernel
externals/xtext/node_modules/azure-devops-node-api/TestApi.js
JavaScript
lgpl-3.0
161,151
/*jshint unused:false,devel:true*/ /** * Copyright (C) 2005-2014 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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 Foundation, either ...
nzheyuti/Aikau
aikau/src/test/resources/alfresco/TestCommon.js
JavaScript
lgpl-3.0
27,361
define([ "tracking/Datum", "object/ObjectBinding", "array/ArrayBinding" ], function( Datum, ObjectBinding, ArrayBinding) { function PropertyType(createViewModel) { this.createViewModelCallback = createViewModel; } PropertyType.prototype.injectProperty = function(property, model, key) { var datum = new ...
MartinRixham/Datum
src/property/PropertyType.js
JavaScript
lgpl-3.0
838
/** * @file * * Defines the {@link Point} class. * * @module point */ define([ './utils' ], function(Utils) { 'use strict'; function validatePoint(options, context) { if (!Utils.isValidTime(options.time)) { // eslint-disable-next-line max-len throw new TypeError('peaks.points.' + context +...
bbcrd/peaks.js
src/point.js
JavaScript
lgpl-3.0
3,236
angular.module( 'eu.water-switch-on.sip.filters', [ ] );
switchonproject/sip-html5
app/scripts/filters/_module.js
JavaScript
lgpl-3.0
69
$.extend(window.lang_te, { "rate_title": "ఈ అనువర్తనాన్ని రేట్ చేయండి", "rate_star1": "అది అసహ్యించుకుంది", "rate_star2": "దీన్ని ఇష్టపడలేదు", "rate_star3": "ఇది సరే", "rate_star4": "అది నచ్చింది", "rate_star5": "ప్రేమించాను", "rate_NOSUBMIT": "లేదు, ధన్యవాదాలు", "rate_SUBMIT": "సమర్పించు", "rate_SUBMITLATER": "తర్వాత"...
trollderius/wouldyourather_phonegap
www/~commons/modules/rate/lang/te.js
JavaScript
unlicense
902
import PropTypes from "prop-types" import React, { Component } from "react" import { render } from "react-dom" import Filter from "bad-words" class CreatePost extends Component { static propTypes = { onSubmit: PropTypes.func.isRequired } constructor(props) { super(props) this.initialState = { ...
saramic/learning
react/react-in-action/ch9-testing/src/components/post/Create.js
JavaScript
unlicense
1,068
/* Save this file content as a bookmark in Internet Explorer This script helps to get the XPath of an element in IE-similar to Firefox's firebug/firepath Select any element in a webpage and click on the two bookmarks GetXPATH_init.js,GetXPATH_final.js in the mentioned order to get the XPath of that element. */ javascr...
Madusudanan/Selenium
GetXPATH_init.js
JavaScript
unlicense
777
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const graphql_1 = require("graphql"); const apollo_graphql_1 = require("apollo-graphql"); const directives_1 = require("../../../directives"); const utils_1 = require("../../utils"); exports.keyFieldsMissingExternal = ({ name: serviceName, typ...
diegopacheco/scala-playground
caliban-graphql-fun/src/main/resources/gateway/node_modules/@apollo/gateway/node_modules/@apollo/federation/dist/composition/validate/preComposition/keyFieldsMissingExternal.js
JavaScript
unlicense
2,945
var require = { baseUrl: '.', paths: { 'jquery': 'lib/jquery-2.1.1', 'text': 'lib/text', 'underscore': 'lib/underscore', 'underscore.string': 'lib/underscore.string', 'qunit': 'lib/qunit-1.15.0', 'sinon': 'lib/sinon-1.10.3' }, shim: { 'qunit': { ...
SeanShubin/template-scala-web
gui/src/main/resources/serve-from-classpath/require-config.js
JavaScript
unlicense
636
/* this is a dummy implementation to create poi-data, which are passed over to JS / Wikitude SDK on first location update */ function onLocationUpdated(position) { // var latitude = position.coords.latitude; // var longitude = position.coords.longitude; // var altitude = position.coords.altitude; // var placesAmou...
alexu84/atmSurfingClient
www/js/loadingPoisFromApplicationModel.js
JavaScript
unlicense
1,026
var nconf = require('nconf'); var confFile = './config/config.json'; var dbtype = nconf.get('database:type'); exports.up = function(db, Promise) { if (dbtype == 'oracledb') { return db.schema.hasTable('capcodes').then(function(exists) { if (!exists) { return db.schema.createTable('capcodes', table ...
davidmckenzie/pagermon
server/knex/migrations/20191119112846_update_capcodes_oracle.js
JavaScript
unlicense
1,475
(function($) { $.fn.showHide = function(options) { // default vars for the plugin var defaults = { speed : 1000, easing : '', changeText : 0, showText : 'Show', hideText : 'Hide', showCallback : null, hideCallback : null } var options = $.extend(defaults, options) var toggleClick = $(th...
bocogop/main
webreport/trunk/common_web/src/main/webapp/media/js/showHide.js
JavaScript
unlicense
1,803
// Error middleware module.exports = function error() { // Return generator function return function* error(next) { try { yield next; } catch (err) { // Set response status code this.status = err.status || 500; this.body = { error: err.message || '...
eladnava/applicationize
lib/middleware/error.js
JavaScript
apache-2.0
554
window.setupsAndTeardownsOutput = {}; window.setupsAndTeardownsOutput["suite"] = [1,2,3,0,[],[1,0,27],[],[[4,0,1,0,[],[1,24,3],[[1,5,6,0,7,8,0,[1,25,0],[],[[25,2,8]]],[0,9,0,0,0,0,0,[1,25,1],[[0,10,6,0,11,0,0,[1,25,1],[],[]],[2,5,6,0,7,12,0,[1,26,0],[],[[26,2,12]]]],[]],[2,5,6,0,7,13,0,[1,26,1],[],[[27,2,13]]]]]],[[1,...
kyle1986/robortframe
utest/webcontent/spec/data/SetupsAndTeardowns.js
JavaScript
apache-2.0
1,645
var _ = require('lodash'); // var debug = require('debug')('mgenerate:array'); /** * $join operator takes an array and an `sep` separator string and concats * the elements of the array (cast to string) separated by `sep`. * The default `sep` is the empty string ''. * * @example Returns the string "foo-bar-baz". ...
rueckstiess/mgeneratejs
lib/operators/join.js
JavaScript
apache-2.0
1,011
// test/connection.js // // Tests connect()/disconnect()/NotConnectedError // // Copyright 2012, StatusNet 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...
h4ck3rm1k3/databank
lib/test/connection.js
JavaScript
apache-2.0
7,630
/** * UserController * * @description :: Server-side logic for managing users * @help :: See http://links.sailsjs.org/docs/controllers */ module.exports = { 'login': function (req, res) { User.findOne({username: req.body.username, password: req.body.password}) .exec(function (err, u...
Alesmith/InteractionDesignProject
api/controllers/UserController.js
JavaScript
apache-2.0
1,055
db.createCollection('loginAttempts');
javuio/MongoNodeBoostrapAngular
db/mongodb/scripts/Deployment/004_loginAttempts.js
JavaScript
apache-2.0
40
//// [objectLiteralFunctionArgContextualTyping.ts] interface I { value: string; toString: (t: string) => string; } function f2(args: I) { } f2({ hello: 1 }) // error f2({ value: '' }) // missing toString satisfied by Object's member f2({ value: '', what: 1 }) // missing toString satisfied by Object's member ...
freedot/tstolua
tests/baselines/reference/objectLiteralFunctionArgContextualTyping.js
JavaScript
apache-2.0
1,040
/* * 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 ...
GoogleForCreators/web-stories-wp
packages/story-editor/src/utils/useRovingTabIndex/nestedNavigation.js
JavaScript
apache-2.0
2,241
/** * Copyright 2015 The Incremental DOM 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 ...
reggi/incremental-dom
src/traversal.js
JavaScript
apache-2.0
2,243
const STARTING_POPULATION = 10000; /** * Environment constructor. * @param x * @param y * @constructor */ var Environment = function (x, y) { // Initialize world boundaries. this.minX = 0; this.minY = 0; if (typeof x == 'undefined') { x = 500; } this.maxX = x; if (typeof y == '...
alexandergurov/dirtchamber
stage2/env.js
JavaScript
apache-2.0
2,487
Threadable.MessageView = Ember.View.extend({ templateName: 'message', tagName: 'li', classNames: 'message', showQuotedText: false, anchor: function() { return "message-" + this.get('context').get('id'); }.property('id'), actions: { toggleQuotedText: function() { this.set('showQuotedText', ...
otherio/threadable.com
app/assets/javascripts/views/message_view.js
JavaScript
apache-2.0
364
import { expect } from 'chai'; let { spec } = require('modules/proxistoreBidAdapter'); const BIDDER_CODE = 'proxistore'; describe('ProxistoreBidAdapter', function () { const consentString = 'BOJ8RZsOJ8RZsABAB8AAAAAZ+A=='; const bidderRequest = { bidderCode: BIDDER_CODE, auctionId: '1025ba77-5463-4877-b0eb-1...
mcallari/Prebid.js
test/spec/modules/proxistoreBidAdapter_spec.js
JavaScript
apache-2.0
5,746
//// [subtypingWithStringIndexer4.js] // Derived type indexer must be subtype of base type indexer var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); ...
fdecampredon/jsx-typescript-old-version
tests/baselines/reference/subtypingWithStringIndexer4.js
JavaScript
apache-2.0
1,075
import{IndexInterface,DocumentInterface}from"./type.js";import{is_function,is_object,is_string}from"./common.js";export default function(a){register(a,"add"),register(a,"append"),register(a,"search"),register(a,"update"),register(a,"remove")}function register(a,b){a[b+"Async"]=function(){const a=this,c=arguments,d=c[c....
nextapps-de/flexsearch
dist/module/async.js
JavaScript
apache-2.0
517
var Zinc = Alloy.Globals.Zinc; Zinc.ready($); Zinc.click($.lbl_one, function(){ Zinc.pushView("window2"); }); Zinc.click($.lbl_four, function(){ Zinc.openWindow("window4"); }); Zinc.click($.lbl_five, function(){ Zinc.openWindow("window5"); });
mich8060/Views
app/controllers/window1.js
JavaScript
apache-2.0
250
/* * Arab.js - include file for normalization data for a particular script * * Copyright © 2013-2018, 2020-2021 JEDLSoft * * 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...
iLib-js/iLib
js/lib/nfkc/Arab.js
JavaScript
apache-2.0
832
/* * 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 ...
afiantara/apache-wicket-1.5.7
src/wicket-core/src/main/java/org/apache/wicket/markup/html/form/AbstractCheckSelector.js
JavaScript
apache-2.0
3,780
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
lucidsoftware/closure-library
closure/goog/graphics/path.js
JavaScript
apache-2.0
15,780
// Copyright 2010 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
yamadatomonori/closure-library
closure/goog/messaging/bufferedchannel.js
JavaScript
apache-2.0
7,979
/******************************************************************************* * Copyright (c) 2015 Unicon (R) Licensed under the * Educational Community 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://...
Apereo-Learning-Analytics-Initiative/LearningAnalyticsProcessor
src/main/resources/public/assets/js/directives.js
JavaScript
apache-2.0
1,480
var spotifySchema = [ { name: 'text', dataType: 'STRING', semantics: { conceptType: 'DIMENSION' } }, { name: 'popularity', dataType: 'NUMBER', semantics: { conceptType: 'METRIC' } } ]; function getAuthType() { var response = { type: 'OAUTH2' }; return respo...
googledatastudio/community-connectors
spotify/src/connector.js
JavaScript
apache-2.0
3,319
/** * Created by shellus on 2016-03-16. */ angular.module('ngMQTT', []) .config(['$provide', function($provide){ $provide.provider('MQTT', function(){ var settings = { href: "" }; this.setHref = function(href){ settings.href = href; ...
shellus/angular-MQTT
src/angular-MQTT.js
JavaScript
apache-2.0
2,316
var Q = require('q'), os = require('os'); module.exports = { architecture: getArchitecture, platform: getPlatform, ip: getIpAddress, id: getUniqueId }; function getPlatform() { return os.platform(); } function getArchitecture() { var architecture = os.arch(); if (architecture == 'x64...
bigboards/bigboards-fabric
code/utils/sys-utils.js
JavaScript
apache-2.0
1,335
define(['dojo/_base/declare', 'gform/controller/TabCrudController'], function (declare, TabCrudController) { return declare([TabCrudController], { schemaUrlPrefix: null, _setTitleAttr: null, showSelectButton:true, postCreate: function () { if (this.store.editorFactory) { this.editorFactory = this.stor...
stemey/gform-app
src/gform-app/controller/TabCrudController.js
JavaScript
apache-2.0
1,560
const config = require('../config'); const _ = require('lodash'); /** * Middleware that is ran before all routes in app.js * add functions here you want to run before the routes middleware are ran */ /** * Used to detemine if we should use stage or production * could probably be rewritten to just add environment...
bradtaylorsf/safe-haven
server/middleware/global.js
JavaScript
apache-2.0
1,443
"use strict"; /** * Wraps a test function in an asynchronous test zone. The test will automatically * complete when all asynchronous calls within this zone are done. Can be used * to wrap an {@link inject} call. * * Example: * * ``` * it('...', async(inject([AClass], (object) => { * object.doSomething.then((...
tzerb/Learning
WebApplication3/src/WebApplication3/jspm_packages/npm/dist/js/cjs/src/testing/async.js
JavaScript
apache-2.0
817
/*! * Copyright (c) 2015-2016, Okta, Inc. and/or its affiliates. All rights reserved. * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") * * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. * Unless required by ...
alanzhou-okta/okta-signin-widget
src/EnrollOnPremController.js
JavaScript
apache-2.0
3,189
/* * Copyright 2011 55 Minutes (http://www.55minutes.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
55minutes/fiftyfive-wicket-2.x
examples/src/main/java/fiftyfive/wicket/examples/home/HelloPanel.js
JavaScript
apache-2.0
690
var NAVTREEINDEX0 = { "annotated.html":[1,0], "bsort_8f90.html":[2,0,0,0], "bsort_8f90_source.html":[2,0,0,0], "classbsort.html":[1,0,0], "classbsort_a7c8d6b5536a6d01dd6e51f7c71dcfe57.html#a7c8d6b5536a6d01dd6e51f7c71dcfe57":[1,0,0,13], "classes.html":[1,1], "dir_68267d1309a1af8e8297ef4c3efbcdba.html":[2,0,0], "files.ht...
arinrb/bsort
doc/html/navtreeindex0.js
JavaScript
apache-2.0
23,267
import bodyParser from "body-parser"; import bunyanRequest from "bunyan-request"; import cors from "cors"; import express from "express"; import api from "api"; import * as config from "config"; import log from "services/logger"; express() .use(cors()) .use(bunyanRequest({ logger: log })) .use...
innowatio/iwwa-write-api
src/server.js
JavaScript
apache-2.0
603
/** * var str = '<div>{0}-{1}</div>'; * str.format('e','f'); * str = <div>e-f</div> **/ String.prototype.format = function () { var args = arguments; return this.replace(/\{(\d+)\}/g, function (m, n) { return args[n]; }); }; var App = function () { var isIE8 = false; // IE8 mode var isIE9 = fal...
boip/YCSrch
YCSrch/WebContent/assets/js/app.js
JavaScript
apache-2.0
61,941
'use strict';var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var event_manager_1 = require('./event_manager');...
aayushkapoor206/whatshot
node_modules/angular2/src/core/render/dom/events/hammer_common.js
JavaScript
apache-2.0
1,682
var mqtt = require('mqtt'), nconf = require('nconf'), influx = require('influx'), winston = require('winston'), moment = require('moment'), twilio = require('twilio'), mandrill = require('mandrill-api/mandrill'), keen_io = require('keen.io'); nconf.file({ file: './conf.json' }); var logger = new (win...
lgramatikov/celeste
control.js
JavaScript
apache-2.0
9,349
'use strict'; angular.module('digApp.directives') .directive('checkboxFilter', function() { return { restrict: 'E', scope: { aggregationName: '@', aggregationKey: '@', aggregationCount: '&', aggregationTermsType: '@', nestedPath: '@', ...
NextCenturyCorporation/dig
client/components/checkbox-filter/checkbox-filter.directive.js
JavaScript
apache-2.0
784
import RRElement from './rrelement'; import RRSequence from './rrsequence'; import SvgContent from './svg/svgcontent'; import RRBreak from './rrbreak'; export default class RRDiagram { /** * @param {RRElement} rrElement */ constructor(rrElement) { this.rrElement = rrElement; } toSV...
Chrriis/rrdiagram-js
src/ui/rrdiagram.js
JavaScript
apache-2.0
3,378
/** * This script contains helper functions that make any element with `.sticky-element` class sticky. */ 'use strict'; const stickyElement = $('.sticky-element'); const stickyElementFixed = stickyElement.hasClass('initially-fixed'); const stickyElTopOffset = 32; const startPointToFixElement = initialHeadHeight + s...
SpineEventEngine/SpineEventEngine.github.io
js/sticky-elements.js
JavaScript
apache-2.0
2,575
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleapis/nodejs-video-intelligence
samples/analyze.v1p2beta1.js
JavaScript
apache-2.0
12,553
/** * Fade between sections with keyboard up/down. <h1> and preamble are wrapped in a section. */ $(document).ready( function() { $('#content h1:first-child, #content #preamble').wrapAll("<span class='sect1' />"); var sections = $('.sect1'); $.each(sections, function(i,o) {if (i > 0) {$(o).hide()}}); ...
rotty3000/papersntalks
themes/fade-navigation.js
JavaScript
apache-2.0
1,104
import React from "react"; import ReactDOM from "react-dom"; import { createStore } from "redux"; import App from "./components/App"; import reducer from "./reducers"; import style from "./scss/index.scss"; import configureStore from "./store"; import { fetchTeams, fetchTeamMembers, fetchRoles } from "./actions"; imp...
keithb418/scrum-team-app
front-end/src/index.js
JavaScript
apache-2.0
864
/* * @constructor * @implements {IDetailView} */ var MapDetailView = function (facade) { var app = facade, _self = this, Device, Styles, LocalDictionary, UI, mapDetailTableView, _detailView, locationDetailTitleBar, locationDetailMap, locationDetail, locationPhoto, topDetailView, onBackBtnClick;...
jeffbcross/uMobile
Resources/js/views/MapDetailView.js
JavaScript
apache-2.0
4,540
exports.node = { name: 'Pouvoir d\'achat', modules: [ ] } exports.links = [ 'indicateurs-economiques' ]
project-orion/orion
data/concepts/pouvoir_achat.js
JavaScript
apache-2.0
121
/** * 可锁定的表格视图 * @class * @extends mini.GridView */ mini.FrozenGridView = function() { mini.FrozenGridView.superclass.constructor.call(this) }; mini.extend(mini.FrozenGridView, mini.GridView, { isFixedRowHeight : function() { return this.fixedRowHeight }, frozenPosition : "left", isRight...
hemingwang0902/jquery-miniui
src/main/webapp/scripts/miniui/source/debug/grid/FrozenGridView.js
JavaScript
apache-2.0
15,051
/*global jQuery*/ jQuery.fn.iosModalWidget = function () { 'use strict'; return jQuery(this).each(function () { var element = jQuery(this); element.hide(); element.find('[data-mm-role~="dismiss-modal"]').click(function () { element.hideModal(); }); }); }; jQuery.fn.showModal = function () { 'use strict'...
troven/meta4nms
todo/src/static/js/vendor/mindmup/lib-ios/ios-modal-widget.js
JavaScript
apache-2.0
914
/*! * SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2013 SAP AG. All rights reserved */ /* ---------------------------------------------------------------------------------- * Hint: This is a derived (generated) file. Changes should be done in the underlying * source files only (*.control...
YunuSahin/sdk
src/org.scn.community.basics/os/sapui5/suite/META-INF/resources/sap/suite/ui/commons/BusinessCard-dbg.js
JavaScript
apache-2.0
9,431
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ fwdOptionsConfigObj = new ForwardingOptionsConfigObj(); function ForwardingOptionsConfigObj() { this.load = load; this.init = init; this.destroy = destroy; this.initComponents = initComponents; this.createEPEntry = createEPEntry...
manojgn/contrail-web-controller
webroot/config/forwardingoptions/ui/js/fwd_options_config.js
JavaScript
apache-2.0
12,389
angular.module( 'add-chapter', [] ).config( function( $stateProvider ) { $stateProvider.state( 'add-chapter', { url: '/add-chapter/:id', parent: 'course', templateUrl: 'course/chapter/add-chapter/add-chapter.tpl', controller: 'AddChapterCtrl', } ); } ).controller( 'AddChapterCtrl', function( $scope,...
goyalzz/SampleSetupMySQLElasticSearch
ui/app/js/course/chapter/add-chapter/add-chapter-ctrl.js
JavaScript
apache-2.0
951
const InetAddress = require('../src/InetAddress'); describe('InetAddress', () => { it('should get the local address', () => { InetAddress.getLocalAddress(); }); it('should convert an IP address to integer representation', () => { const addr = new InetAddress('80.91.37.133'); expect(addr.toInt()).to.e...
redhat-developer-demos/openshift-next-demo
msa/bonjour/node_modules/zipkin/test/InetAddress.test.js
JavaScript
apache-2.0
524
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-34211225-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics...
jonyhandoko/khayana
google_analytics_auto.js
JavaScript
apache-2.0
430
/** * Copyright 2013-2018 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see http://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
ramzimaalej/generator-jhipster
generators/kubernetes/files.js
JavaScript
apache-2.0
5,433
import os from 'os'; import macosVersion from 'macos-version'; import { isMac, isWindows } from '../environment'; function macOS() { const version = macosVersion(); return `Macintosh; Intel Mac OS X ${version.replace(/\./g, '_')}`; } function windows() { const version = os.release(); const [majorVersion, mi...
meetfranz/franz
src/helpers/userAgent-helpers.js
JavaScript
apache-2.0
1,117
/* * 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 ...
GoogleForCreators/web-stories-wp
packages/story-editor/src/app/story/useStoryReducer/reducers/index.js
JavaScript
apache-2.0
2,356
/* eslint-disable react/jsx-no-bind */ import React from 'react'; import { arrayOf, func, shape } from 'prop-types'; import Menu from '@material-ui/core/Menu'; import MenuItem from '@material-ui/core/MenuItem'; import MoreVertIcon from '@material-ui/icons/MoreVert'; import IconButton from '@material-ui/core/IconButton'...
veritone/veritone-sdk
packages/veritone-react-common/src/components/FolderTree/Menu/index.js
JavaScript
apache-2.0
1,678
var images5 = new Array ('./img/portfolio/small/0.jpg', './img/portfolio/small/0-1.jpg'); var index5 = 1; function rotateImage5() { $('#project0').fadeOut('fast', function() { $(this).attr('src', images5[index5]); $(this).fadeIn('fast', function() { if (index5 == images5.length-1) { ...
abvba/abvba.github.io
js/rotator5.js
JavaScript
apache-2.0
477
var Node = require('./Node'), isString = require('../../util/string').isString; /** * @constructor AssignmentNode * @extends {Node} * Define a symbol, like "a = 3.2" * * @param {String} name Symbol name * @param {Node} expr The expression defining the symbol */ function AssignmentNode(name, ex...
npmcomponent/josdejong-mathjs
lib/expression/node/AssignmentNode.js
JavaScript
apache-2.0
1,707
/* * 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 ...
firejack-open/Firejack-Platform
platform/src/main/webapp/js/net/firejack/platform/console/domain/view/action/ActionParameterRowEditorDialog.js
JavaScript
apache-2.0
3,610
/** * All these assets are being added just after the JQUERY, the JQUERY UI, BOOTSTRAP and some others. * So, we can be sure that the JQuery is already loaded for this page, except that we were using * the Unframed View. */ $( document ).ready(function(e){ /** * Lets start the Datatable plugin (included i...
danilor/Luminus
modules/cutequotes/assets/js/code.js
JavaScript
apache-2.0
922
$axure.loadCurrentPage({ "url":"p8_9_1_1设置密码.html", "generationDate":new Date(1438911585180.17), "isCanvasEnabled":false, "variables":["OnLoadVariable", "yz_msg"], "page":{ "packageId":"40eab690226945768d43fba33baae0ae", "type":"Axure:Page", "name":"p8_9_1_1设置密码", "notes":{ }, "style":{ ...
yicold/axure-case
jzb/嘉禾良木UE&UI-C端-V2.2/files/p8_9_1_1设置密码/data.js
JavaScript
apache-2.0
28,754
import React from "react"; import FormatedDate from "../common/formated-date"; import _ from "lodash"; const cx = require('classnames') export default class FailureDetails extends React.Component { getStacktrace(failure) { if (failure.backtrace == null) { return "" } let i = 0 return _.map(fail...
peh/jesque-admin
frontend/scripts/components/jobs/failure-details.js
JavaScript
apache-2.0
1,554
var class_value = [ [ "Value", "class_value.html#aeae5b32fd20812506e28077c55435015", null ], [ "~Value", "class_value.html#aceb26b90be781020c0c71ae5d16ca06f", null ], [ "clone", "class_value.html#a6c71eea2c1a4bb61da14e54848e126b4", null ], [ "getSize", "class_value.html#ad2a8b55277e7b066cb41959625f94dab...
scottdarch/Noer
FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/middleware/multicore_2.1.0/erpc/doc/eRPC_infrastructure/erpcgen/class_value.js
JavaScript
apache-2.0
574
/* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. */ /****************************************************************************** * * You may not use the identified files except in compliance with the Apache * License, Version 2.0 (the "License.") * * You may obtain a copy of the ...
oracle/Node-oracledb
test/autoCommit.js
JavaScript
apache-2.0
12,957
'use strict'; /** * Cedar * * Generic charting / visualization library for the ArcGIS Platform * that leverages vega + d3 internally. */ /** * Constructor * @param {object} options Cedar options */ var Cedar = function Cedar(options){ //close over this for use in callbacks var self = this; //ensure an ...
ajturner/cedar
src/cedar.js
JavaScript
apache-2.0
14,580
/* eslint-disable array-element-newline */ const keywords = [ "close", "closes", "closed", "fix", "fixes", "fixed", "resolve", "resolves", "resolved" ]; /* eslint-enable array-element-newline */ class ReferenceSearch { constructor(client, pull, repo) { /** * The client that instantiated this templa...
synicalsyntax/zulipbot
src/structures/ReferenceSearch.js
JavaScript
apache-2.0
2,993
function GetURLParameter(key) { var re=new RegExp('(?:\\?|&)'+key+'=(.*?)(?=&|$)','gi'); var r=[], m; while ((m=re.exec(document.location.search)) != null) r.push(m[1]); return r; } (function($) { $.fn.jekyllSearch = function(options) { var settings = $.extend({ jsonFile :...
YunYinORG/yunyinorg.github.io
assets/js/jekyll-search.js
JavaScript
apache-2.0
4,195
module.exports = { "env": { "browser": true, "es6": true, "node": true }, "extends": "eslint:recommended", "globals": { "__DEV__": true }, "parser": "babel-eslint", "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true, "jsx": true }, "sourceType...
henrytao-me/react-native-mdcore
.eslintrc.js
JavaScript
apache-2.0
1,172
/** * Created by manishdwibedy on 4/5/16. */ $(function(){ loadData('pub.usgs.gov'); }); function loadData(mime) { $.getJSON( 'data/measurements/domain/' + mime + '_units.json', function( measurement_units ) { var chart = c3.generate({ bindto: '#chart', data: { ...
USCDataScience/polar.usc.edu
html/team25/eval/js/measurement_domain.js
JavaScript
apache-2.0
754
/** * @ngdoc directive * @name bgOtpDevicesDirective * @description * Directive to provide otp information on scope * @example * <div bg-otp-devices></div> */ angular.module('BitGo.Common.BGOtpDevicesDirective', []) .directive('bgOtpDevices', ['$rootScope', '$modal', '$location', '$q', 'BG_DEV', 'UtilityServi...
BitGo/bitgo-chrome
common/scripts/bgOtpDevicesDirective.js
JavaScript
apache-2.0
9,365
function Controller() { require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments)); this.__controllerPath = "meeo/CoverageInfoWin"; arguments[0] ? arguments[0]["__parentSymbol"] : null; arguments[0] ? arguments[0]["$model"] : null; arguments[0] ? arguments[0]["__i...
csgf/earthserver-sg-mobile
Resources/android/alloy/controllers/meeo/CoverageInfoWin.js
JavaScript
apache-2.0
4,128
/* * Content script * * This script puts the injected scripts on the page and acts as a relay between the background and * injected scripts. */ (function() { "use strict"; function loadScript(url) { var script = document.createElement('script'); script.src = chrome.extension.getURL(url); (documen...
Madobe/botchan_kai
scripts/init.js
JavaScript
apache-2.0
1,082
//每个页面都引入这个文件,提供所有的全局设置和文件引入 if (!_app) var _app = {}; //最高全局变量,angular if (!_cfg) var _cfg = {}; //最高全局变量,功用设置 if (!_fns) var _fns = {}; //最高全局变量,公用函数 if (!_xdat) var _xdat = {}; //共享变量 (function _main() { 'use strict'; _cfg.host = window.location.host; _cfg.homePath = 'http://www.jieminuoketang.com/acc...
zhyuzh3d/jieminuo
www/account/js/app.js
JavaScript
apache-2.0
15,639
/* jshint browser: true, devel: true, indent: 2, curly: true, eqeqeq: true, futurehostile: true, latedef: true, undef: true, unused: true */ /* global $, jQuery, document, Modernizr */ function l(data) { 'use strict'; console.log(data); } jQuery(document).ready(function () { 'use strict'; var $bgSlider = $('...
interglobalvision/corner-store
js/main.js
JavaScript
apache-2.0
974
/** * @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/math/base/tools/evalrational/lib/evalrational.js
JavaScript
apache-2.0
3,028
var express = require('express'); var galleryRouter = express.Router(); var router = function(title) { var galleryController = require('../controllers/galleryController')(title); galleryRouter.route('/') .get(galleryController.getGalleryImages); return galleryRouter; }; module.exports = ...
kmiyachi/git_trial
src/routes/galleryRoutes.js
JavaScript
apache-2.0
327
/** * Module dependencies. */ var passport = require('passport') , url = require('url') , querystring= require('querystring') , crypto = require('crypto') , jws = require('jws') , base64url = require('base64url') , util = require('util') , utils = require('./utils') , OAuth2 = require('oauth').OAuth2 ...
IBM-Bluemix/arch-hybrid-data-carcare
node/lib/passport-idaas-openidconnect/lib/strategy.js
JavaScript
apache-2.0
17,818
var path = require('path') var webpack = require('webpack') var pkg = require('./package.json') var date = new Date() var banner = ` ${pkg.name} ${pkg.version} Author: ${pkg.author} Homepage: ${pkg.homepage} Release under ${pkg.license}. update ${date.toLocaleDateString()} ` var config = { devtool: 'cheap-module-eva...
kisnows/fullpage.js
webpack.config.js
JavaScript
apache-2.0
961
'use strict'; var Backbone = require('backbone'); module.exports = Backbone.View.extend({ tagName: 'div', className: 'message-item', render: function() { var timestamp = window.layerSample.dateFormat(this.model.sentAt); var parts = ''; if (!this.model.isDestroyed) { this.model.parts.forEach(...
layerhq/layer-js-sampleapps
examples/websdk-samples/backbone/app/views/message.js
JavaScript
apache-2.0
1,777
/** * Copyright 2013-2018 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see http://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
bd82/jhipster-core
lib/core/jdl_enum.js
JavaScript
apache-2.0
2,276
/* * Copyright 2014-2015 Guy Bedford (http://guybedford.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...
Y--/jspm-cli
cli.js
JavaScript
apache-2.0
18,895
var emajax = require("@/common/ajax.js"); module.exports = window.tools = { retryThrottle: retryThrottle, DOMEval: DOMEval, loadScript: loadScript, resolvePromiseSequentially: resolvePromiseSequentially, }; // todo: implemnet this function resolvePromiseSequentially(list){ } function loadScript(path){ return n...
easemob/kefu-webim
src/js/app/tools/tools.js
JavaScript
apache-2.0
1,304
//// [privacyGloGetter.ts] module m1 { export class C1_public { private f1() { } } class C2_private { } export class C3_public { private get p1_private() { return new C1_public(); } private set p1_private(m1_c3_p1_arg: C1_public) { } ...
ivogabe/TypeScript
tests/baselines/reference/privacyGloGetter.js
JavaScript
apache-2.0
5,499
import spinner from "../lib/Spin"; import {isEmpty} from "../utils/Utils"; const apiPath = "/manage/api/client/"; let csrfToken = null; function apiUrl(path) { return apiPath + path; } function validateResponse(showErrorDialog) { return res => { spinner.stop(); if (!res.ok) { if ...
OpenConext/OpenConext-manage
manage-gui/src/api/index.js
JavaScript
apache-2.0
7,329
define(['angular','search/module-name','kylo-utils/LazyLoadUtil','constants/AccessConstants', 'kylo-services','kylo-feedmgr'], function (angular,moduleName,lazyLoadUtil,AccessConstants) { var module = angular.module(moduleName, []); module.config(['$stateProvider',function ($stateProvider) { $statePro...
peter-gergely-horvath/kylo
ui/ui-app/src/main/resources/static/js/search/module.js
JavaScript
apache-2.0
1,203
//r.$emit = (n, p) => $g.emit(n, p); //r.$on = (n, h) => $g.on(n, h); $g.polyEditor.configure({ strokeStyle: 'black' }); $g.mouse.listen(c); $g.polyEditor.listen(); $g.run({ canvas: document.getElementById('myCanvas'), fillStyle: 'black' }); window.c = c; window.ctx = ctx;
javimosch/hideberg
src/client/dinas/js/$g.example.js
JavaScript
apache-2.0
290
class HomeController { constructor() { 'ngInject' // to override strict-di mode this.name = 'home'; } } export default HomeController;
cgayle/ng6-starter-training
client/app/components/home/home.controller.js
JavaScript
apache-2.0
161