code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
// Copyright 2017 The Kubernetes Dashboard 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 applicabl...
vlal/dashboard
src/test/frontend/deployment/list/controller_test.js
JavaScript
apache-2.0
1,179
<%# Copyright 2013-2017 the original author or authors from the JHipster project. This file is part of the JHipster project, see https://jhipster.github.io/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ...
JulienMrgrd/generator-jhipster
generators/client/templates/angularjs/src/main/webapp/app/services/auth/_principal.service.js
JavaScript
apache-2.0
3,805
//// [privateStaticNotAccessibleInClodule2.ts] // Any attempt to access a private property member outside the class body that contains its declaration results in a compile-time error. class C { private foo: string; private static bar: string; } class D extends C { baz: number; } module D { export...
thr0w/Thr0wScript
tests/baselines/reference/privateStaticNotAccessibleInClodule2.js
JavaScript
apache-2.0
1,098
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Adtoma/amphtml
3p/ampcontext-lib.js
JavaScript
apache-2.0
1,310
/** * @license Copyright 2017 The Lighthouse 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 required by applica...
GoogleChrome/lighthouse
docs/recipes/custom-audit/custom-config.js
JavaScript
apache-2.0
1,428
'use strict'; var helper = require('../helper'); describe('Web Map', function() { // shared element locators var map = element(by.id('map')); beforeAll(function() { // refer to "gulp test" task to get the baseUrl that is prepended browser.get('/web-map.html'); }); it('should have...
Kollibri/angular-esri-map
test/e2e/specs/web-map.js
JavaScript
apache-2.0
1,986
sap.ui.define([ "myCompany/myApp/controller/BaseController", "sap/ui/model/json/JSONModel", "myCompany/myApp/model/formatter", "sap/ui/model/Filter", "sap/ui/model/FilterOperator" ], function(BaseController, JSONModel, formatter, Filter, FilterOperator) { "use strict"; return BaseController.extend("myCompany.my...
openui5/packaged-sap.m
test-resources/sap/m/demokit/tutorial/worklist/03/webapp/controller/Worklist.controller.js
JavaScript
apache-2.0
5,986
export { default } from './InventoryForm';
GoogleCloudPlatform/sap-deployment-automation
third_party/github.com/ansible/awx/awx/ui_next/src/screens/Inventory/shared/index.js
JavaScript
apache-2.0
43
<%# Copyright 2013-2017 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 License. You ma...
liseri/generator-jhipster
generators/client/templates/angularjs/src/main/webapp/app/admin/gateway/_gateway-routes.service.js
JavaScript
apache-2.0
1,369
import Ember from 'ember'; const { Controller, inject: { service }, computed } = Ember; export default Controller.extend({ routing : service('-routing'), unreadNotifications : computed.filterBy('model.notifications', 'isRead', false) });
sumedh123/open-event-frontend
app/controllers/application.js
JavaScript
apache-2.0
256
/** * @license * Copyright 2019 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.notification', name: 'NotificationSetting', implements: [ 'foam.nanos.auth.Authorizable', 'foam.nanos.auth.ServiceProviderAware' ], javaImpor...
jacksonic/vjlofvhjfgm
src/foam/nanos/notification/NotificationSetting.js
JavaScript
apache-2.0
5,817
export { default as Conference } from './Conference';
parisjulien/arkadin-jitsimeet
react/features/conference/components/index.js
JavaScript
apache-2.0
54
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 Style = (function () { function Style(jsonObj) { ...
shuodata/deeplearning4j
deeplearning4j-ui-parent/deeplearning4j-ui-components/src/main/resources/assets/dl4j-ui.js
JavaScript
apache-2.0
60,777
var Alloy = require("alloy"), _ = Alloy._, Backbone = Alloy.Backbone; Alloy.Globals.FB = require("facebook"); Alloy.Globals.PW = require("progressWindow"); Alloy.createController("index");
am934743/chapter_9
Resources/iphone/app.js
JavaScript
apache-2.0
191
<%# Copyright 2013-2017 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 License. You ma...
deepu105/generator-jhipster
generators/client/templates/angularjs/src/main/webapp/app/admin/user-management/_user-management-detail.controller.js
JavaScript
apache-2.0
1,298
/** * @license * Copyright 2020 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.INTERFACE({ package: 'foam.core', name: 'Validator', methods: [ { name: 'validate', type: 'Void', javaThrows: [ 'IllegalStateException' ], args: [ { ...
jacksonic/vjlofvhjfgm
src/foam/core/Validator.js
JavaScript
apache-2.0
482
/** * Constant values used in pixi * * @lends PIXI */ var CONST = { /** * String of the current PIXI version. * * @static * @constant * @type {string} */ VERSION: '__VERSION__', /** * Two Pi. * * @static * @constant * @type {number} */ PI...
google/web-bsd-hunt
third_party/src/github.com/pixijs/pixi.js/src/core/const.js
JavaScript
apache-2.0
9,411
/** * Copyright 2014 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
ericwilligers/svg-animation
test/harness.js
JavaScript
apache-2.0
9,235
/*! Copyright (C) 2015 Google Inc., authors, and contributors <see AUTHORS file> Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> Created By: brad@reciprocitylabs.com Maintained By: miha@reciprocitylabs.com */ can.Control("GGRC.Controllers.TreeFilter", { }, { init : function() { ...
prasannav7/ggrc-core
src/ggrc/assets/javascripts/controllers/tree_filter_controller.js
JavaScript
apache-2.0
5,420
/** * Constructor: Bev.Class * 基类。 * * 创建一个新的Bev类,如下所示: * (code) * var MyClass = new Bev.Class(prototype); * (end) * * 创建一个新的有多个继承类的SuperMap类,如下所示: * (code) * var MyClass = new Bev.Class(Class1, Class2, prototype); * (end) */ Bev.Class = function() { var len = arguments.length; var P = a...
giscafer/PlottingSymbol
iClientJavaScriptPlottingSymbols/example/js/Class.js
JavaScript
apache-2.0
3,879
// Copyright 2016, EMC 'use strict'; var fs = require('fs'); var path = require('path'); var _ = require('lodash'); var Task; function TaskAnnotation(task) { this.task = task; } /** * Run the process to generate doc data with current existing task schemas * @param {Array<Object>} tasks - list of task from tas...
AlaricChan/on-tasks
task-annotation-generator.js
JavaScript
apache-2.0
7,003
enyo.kind({ name: "enyo.Canon.YahooTopStories", kind: enyo.VFlexBox, components: [ {name: "getYahooTopStories", kind: "WebService", url: "http://query.yahooapis.com/v1/public/yql?q=select%20title%20from%20rss%20where%20url%3D%22http%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories%22&format=json", onSuccess: "g...
enyojs/enyo-1.0
support/examples/Services/ws-simple/source/YahooTopStories.js
JavaScript
apache-2.0
1,190
import Map from '../src/ol/Map.js'; import View from '../src/ol/View.js'; import {getCenter} from '../src/ol/extent.js'; import ImageLayer from '../src/ol/layer/Image.js'; import TileLayer from '../src/ol/layer/Tile.js'; import {transform} from '../src/ol/proj.js'; import Static from '../src/ol/source/ImageStatic.js'; ...
gingerik/ol3
examples/reprojection-image.js
JavaScript
bsd-2-clause
1,257
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. <include src="keyboard_overlay_data.js"> var BASE_KEYBOARD = { top: 0, left: 0, width: 1237, height: 514 }; var BASE_INSTRUCTIONS = { top:...
axinging/chromium-crosswalk
chrome/browser/resources/chromeos/keyboard_overlay.js
JavaScript
bsd-3-clause
25,049
/*! * @see {@link https://github.com/englishextra/iframe-lightbox} * modified Simple lightbox effect in pure JS * @see {@link https://github.com/squeral/lightbox} * @see {@link https://github.com/squeral/lightbox/blob/master/lightbox.js} * @params {Object} elem Node element * @params {Object} settings object * e...
englishextra/shimansky.biz
libs/branding/js/vendors.min.js
JavaScript
mit
164,742
cordova.define("cordova-plugin-file.firefoxFileSystem", function(require, exports, module) { /* * * 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...
pocketpimps/pocketpimps-app
platforms/browser/www/plugins/cordova-plugin-file/www/browser/FileSystem.js
JavaScript
mit
1,209
export * from './contacts'; export * from './app'; export * from './forms';
jsperts/workshop_unterlagen
react/exercises/part_09/src/actions/index.js
JavaScript
mit
76
lychee.define('game.Compositor').exports(function(lychee, game, global, attachments) { var Class = function(game) { this.renderer = game.renderer || null;; this.__width = 0; this.__height = 0; this.__points = []; for (var i = 0; i < 10; i++) { this.__points.push({ x: 0, y: 0, z: 0, w: 0 });...
nspforever/lycheeJS
game/mode7/source/Compositor.js
JavaScript
mit
1,314
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import TextField from './TextField'; import TextFieldLabel from './TextFieldLabel'; import getMuiTheme from '../styles/getMuiTheme'; describe('<TextField />', () => { const muiTheme = getMuiTheme(); const...
pomerantsev/material-ui
src/TextField/TextField.spec.js
JavaScript
mit
3,639
'use strict'; const assert = require('./../../assert'); const common = require('./../../common'); let battle; describe('Safety Goggles', function () { afterEach(function () { battle.destroy(); }); it(`should be revealed if Terrain is also active`, function () { battle = common.createBattle([[ {species: 't...
svivian/Pokemon-Showdown
test/sim/items/safetygoggles.js
JavaScript
mit
1,008
/* eslint-disable no-var */ /* globals global globalThis self */ var define, require; (function () { var globalObj = typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ...
knownasilya/ember.js
packages/loader/lib/index.js
JavaScript
mit
2,203
'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); common.skipIfEslintMissing(); const RuleTester = require('../../tools/node_modules/eslint').RuleTester; const rule = require('../../tools/eslint-rules/lowercase-name-for-primitive'); new RuleTester().run('lowe...
enclose-io/compiler
lts/test/parallel/test-eslint-lowercase-name-for-primitive.js
JavaScript
mit
1,619
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Set the value of property length of A to Uint32(length) es5id: 15.4.5.1_A1.3_T1 description: length is object or primitve ---*/ //CHECK#1 var x = []; x.length = true; if (x.l...
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Array/S15.4.5.1_A1.3_T1.js
JavaScript
mit
1,223
module.exports={A:{A:{"2":"H D G E A B fB"},B:{"2":"1 C p J L N I"},C:{"1":"0 2 5 6 7 8 9 k l m n o M q r s t u v w x y z BB CB DB","2":"dB","164":"1 3 FB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j bB VB"},D:{"1":"KB IB gB LB MB NB","292":"0 1 2 3 5 6 7 8 9 F K H D G E A B C p J L N I O P Q R...
Qinjianbo/blog
node_modules/caniuse-lite/data/features/css-logical-props.js
JavaScript
mit
903
function test() { var NodeRSA = require('node-rsa'); var key = new NodeRSA({ b: 512 }); var keyData = "-----BEGIN PUBLIC KEY-----\ MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAIPmth+KR5csW4wS9K7GFn2XkRSGljla\ qOEyBAmpCTlhTVlCrc9Q2s6ZDxdxX5tkxKTxbAS5/mv2+FAJSgX4Fp0CAwEAAQ==\ -----END PUBLIC KEY-----\ -----BEGIN PRIVATE KEY-...
nongfadai/front_demo
lib/test/testRsa.js
JavaScript
mit
1,521
(function($) { $.fn.lifestream.feeds.github = function( config, callback ) { var template = $.extend({}, { commitCommentEvent: 'commented on <a href="http://github.com/' + '${status.repo.name}">${status.repo.name}</a>', createBranchEvent: 'created branch <a href="http://github.com/' + ...
christianvuerings/jquery-lifestream
src/services/github.js
JavaScript
mit
6,116
/***************************************************************************** * (c) 2005-2015 Copyright, Real-Time Innovations, All rights reserved. * * * * RTI grants Licensee a license to use, modify, compile, and create * * de...
gianpiero/dds-firststeps
ex4-durability/nodejs/console.js
JavaScript
mit
1,409
module.exports={A:{A:{"1":"B","2":"K D G E A gB"},B:{"1":"1 C d J M H I"},C:{"1":"0 1 2 3 5 6 7 8 9 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z GB AB CB DB WB","2":"dB EB XB"},D:{"1":"0 1 2 3 5 6 7 8 9 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e ...
jameshupp/jameshupp.github.io
node_modules/caniuse-lite/data/features/pointer-events.js
JavaScript
mit
894
/* * File generated with Blender 2.56 Exporter * https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender/ * * vertices: 8 * faces: 6 * normals: 0 * uvs: 0 * colors: 0 * materials: 1 * edges: 0 * */ var model = { "version" : 2, "scale" : 1.000000, "materials": [ { "DbgColor" :...
caraya/webgl-kitchen
Code Samples/ro.me/asset_viewer/files/models/city/City.Cube.012.js
JavaScript
mit
947
'use strict'; require('../common'); const assert = require('assert'); /* * We need to check the following things: * - We are correctly resolving big endian (doesn't mean anything for 8 bit) * - Correctly resolving little endian (doesn't mean anything for 8 bit) * - Correctly using the offsets * - Correctly i...
enclose-io/compiler
lts/test/parallel/test-buffer-writeuint.js
JavaScript
mit
6,278
var debug = require('debug')('att'); var events = require('events'); var util = require('util'); var ATT_OP_ERROR = 0x01; var ATT_OP_MTU_REQ = 0x02; var ATT_OP_MTU_RESP = 0x03; var ATT_OP_FIND_INFO_REQ = 0x04; var ATT_OP_FIND_INFO_RESP = 0x05; v...
tedsf/tiptap
node_modules/noble/lib/hci-socket/gatt.js
JavaScript
mit
21,650
import React from 'react'; import PropTypes from 'prop-types'; import Contact from './Contact'; function ContactsList({ contacts, onDelete }) { return ( <ul className="list-group"> {contacts.map(contact => ( <Contact key={contact.id} {...contact} onDelete={onDelete} /> ))} </ul> ); } ...
jsperts/workshop_unterlagen
react/exercises/part_07/src/components/ContactsList.js
JavaScript
mit
574
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.0.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var componentUtil_1 = require("./componentUtil"); va...
sufuf3/cdnjs
ajax/libs/ag-grid/19.0.1/lib/components/agGridWebComponent.js
JavaScript
mit
4,770
import { computed } from 'ember-metal/computed'; import run from 'ember-metal/run_loop'; import jQuery from 'ember-views/system/jquery'; import EmberView, { DeprecatedView } from 'ember-views/views/view'; import { compile } from 'ember-template-compiler'; import { registerKeyword, resetKeyword } from 'ember-htmlbars/t...
MatrixZ/ember.js
packages/ember-views/tests/views/view_test.js
JavaScript
mit
5,103
/*! * tui-editor * @version 1.4.6 * @author NHN FE Development Lab <dl_javascript@nhn.com> (https://nhn.github.io/tui.editor/) * @license MIT */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("jquery"), r...
extend1994/cdnjs
ajax/libs/tui-editor/1.4.6/tui-editor-extScrollSync.js
JavaScript
mit
42,173
(function () { L.Control.FullScreen = L.Control.extend({ options: { position: 'topleft', title: 'Full Screen', titleCancel: 'Exit Full Screen', forceSeparateButton: false, forcePseudoFullscreen: false, fullscreenElement: false }, onAdd: function (map) { var className = 'leaflet-control-zoom-fullscre...
extend1994/cdnjs
ajax/libs/leaflet.fullscreen/1.5.0/Control.FullScreen.js
JavaScript
mit
6,073
/** * Module dependencies */ var Logger = require('../lib/util/logger.js'); var cli = require('./_cli.js'); var CliRunner = require('./_clirunner.js'); // CLI definitions // $ nightwatch -c // $ nightwatch --config cli.command('config') .demand(true) .description('Path to configuration file') .alias('c') ....
isobar-idev/nightwatch
bin/runner.js
JavaScript
mit
2,117
'use strict'; module.exports.init = function (config, express) { var session = require('express-session'); var sessionMiddleware; var useConnectEtcdSession; var useConnectRedisSession; try { useConnectEtcdSession = require.resolve('connect-etcd'); } catch (e) { conso...
opentable/hobknob
server/session.js
JavaScript
mit
1,308
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; export function getBackdropUtilityClass(slot) { return generateUtilityClass('MuiBackdrop', slot); } const backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']); export default backdropClasses;
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.25/modern/Backdrop/backdropClasses.js
JavaScript
mit
305
'use strict'; var __chunk_1 = require('./chunk-45739695.js'); var __chunk_2 = require('./chunk-9103eeda.js'); var __chunk_4 = require('./chunk-73f8eef8.js'); var __chunk_5 = require('./chunk-13e039f5.js'); var script = { name: 'BButton', components: __chunk_1._defineProperty({}, __chunk_4.Icon.name, __chunk_4.Ico...
cdnjs/cdnjs
ajax/libs/buefy/0.9.19/cjs/chunk-5ed8a75a.js
JavaScript
mit
3,297
//>>built define({"themes/FoldableTheme/nls/strings":{_themeLabel:"Tema Dobr\u00e1vel",_layout_default:"Layout Padr\u00e3o",_layout_layout1:"Layout 1",_localized:{}}});
pjdohertygis/MapSAROnline
Web Mapping Application/themes/FoldableTheme/nls/main_pt-pt.js
JavaScript
cc0-1.0
168
/* YUI 3.9.0 (build 5827) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ YUI.add("escape",function(e,t){var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#x60;"},r={html:function(e){return(e+"").replace(/[&<>"'\/`]/g,r._htmlReplacer)},regex:function(e){return(e+"").repl...
alafon/ezpublish-community-built
ezpublish_legacy/extension/ezjscore/design/standard/lib/yui/3.9.0/build/escape/escape-min.js
JavaScript
gpl-2.0
465
tinyMCE.addI18n('zh.searchreplace_dlg',{ searchnext_desc:"\u518D\u6B21\u67E5\u627E", notfound:"\u67E5\u627E\u5DF2\u5B8C\u6210!\u6CA1\u6709\u627E\u5230\u5339\u914D\u9879\u3002", search_title:"\u67E5\u627E", replace_title:"\u67E5\u627E/\u66FF\u6362", allreplaced:"\u5DF2\u66FF\u6362\u6240\u6709\u5339\u914D\u7684\u5B5...
jwlynch/openacs.core
packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/zh_dlg.js
JavaScript
gpl-2.0
625
/** * Loads panel for editing an Access Policy Template * * @class MODx.panel.AccessPolicyTemplate * @extends MODx.FormPanel * @param {Object} config An object of config properties * @xtype modx-panel-access-policy-template */ MODx.panel.AccessPolicyTemplate = function(config) { config = config || {}; va...
sergeiforward/gl
manager_gl_xVCs4l0eEu/assets/modext/widgets/security/modx.panel.access.policy.template.js
JavaScript
gpl-2.0
10,603
const express = require('express') const validate = require('../validate') const middlewares = require('../middlewares') const api = require('../db-api') const app = module.exports = express.Router() app.get('/comments', validate({ query: Object.assign({}, validate.schemas.pagination, { topicId: { type: '...
DemocraciaEnRed/vicentelopez
lib/api-v2/comments/index.js
JavaScript
gpl-3.0
6,869
/** * * Copyright (c) 2016-present, Total Location Test Paragraph. * All rights reserved. * * This file is part of Where@. Where@ is free software: * you can redistribute it and/or modify it under the terms of * the GNU General Public License (GPL), either version 3 * of the License, or (at your option) any lat...
brmenchl/whereat-native
test/unit/services/CryptoService.spec.js
JavaScript
gpl-3.0
3,747
// ==UserScript== // @name TeamDynamix New Tab Override // @namespace https://oregonstate.teamdynamix.com // @version 0.1 // @description Override default TD "new tab" settings // @author Liv Vitale // @match http://tampermonkey.net/index.php?version=4.2&ext=dhdg&updated=true // @grant ...
ginafish/OSU-IT-Tool-Mods
TeamDynamix/Scripts/vitalec-td_new_tab.js
JavaScript
gpl-3.0
501
define([ "dojo/_base/declare", "dojo/_base/connect", "dojo/_base/lang", "dojo/dom-construct", "dojo/window", "../../common/Util" ], function ( declare, connect, lang, domConstruct, win, annoUtil ) { /** * @author Da...
usersource/anno
anno_app/www/anno/scripts/anno/draw/shapes/BaseShape.js
JavaScript
mpl-2.0
5,525
function setup() { // Created a dropdown in DOM var dropdown = createSelect(); dropdown.option('apple'); dropdown.option('mango'); dropdown.id("fruitlist"); console.log( dropdown ); // Selected a dropdown from DOM var dropdown = select('#fruitlist'); dropdown.option('applex'); dropdown.opt...
Jared-Sprague/p5.js
test/manual-test-examples/addons/p5.dom/selectbox_test/sketch.js
JavaScript
lgpl-2.1
365
/** * $Id: Event.js 965 2008-11-27 17:23:31Z spocke $ * * @author Moxiecode * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved. */ (function() { // Shorten names var each = tinymce.each, DOM = tinymce.DOM, isIE = tinymce.isIE, isWebKit = tinymce.isWebKit, Event; /**#@+ ...
Alfresco/explorer
web-client/source/web/scripts/tiny_mce/classes/dom/Event.js
JavaScript
lgpl-3.0
6,673
var mainApp=angular.module("addGroupApp",[]); mainApp.controller("addGroupController", function ($scope,$rootScope,$http,$location, $state, $stateParams) { console.log("state:",$state); console.log("stateParams:",$stateParams); $scope.id=$stateParams.id; $scope.name=$stateParams.name; })
zzsoszz/nodejshtttpserver
webapps/zd/js/bower_components/qdropdownselect/2.0.6/child.js
JavaScript
apache-2.0
308
/** * Copyright 2019 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
dotandads/amphtml
extensions/amp-story/1.0/amp-story-affiliate-link.js
JavaScript
apache-2.0
4,357
Ext.data.DataProxy=function(){this.addEvents("beforeload","load");Ext.data.DataProxy.superclass.constructor.call(this)};Ext.extend(Ext.data.DataProxy,Ext.util.Observable);
Ariah-Group/Continuity
src/main/webapp/javascripts/ext/build/data/DataProxy-min.js
JavaScript
apache-2.0
171
/** * Copyright 2014 IBM Corp. * * 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 wr...
cloudfoundry-community/node-red-cf-ready
test/red/api/flows_spec.js
JavaScript
apache-2.0
2,663
/** @scratch /configuration/config.js/1 * * == Configuration * config.js is where you will find the core Kibana configuration. This file contains parameter that * must be set before kibana is run for the first time. */ define(['settings'], function (Settings) { /** @scratch /configuration/config.js/2 * *...
stevelle/rpc-openstack
rpcd/playbooks/roles/kibana/templates/config.js
JavaScript
apache-2.0
2,292
// Options: --private-names --private-name-syntax // IIFE to hide private names from other tests. (function() { private @a; var object = {}; object.@a = 42; assert.equal(42, object.@a); private @b = @a; assert.equal(42, object.@b); object.@b = 'Changed'; assert.equal(object.@a, object.@b); assert....
rwaldron/traceur-todomvc
test/feature/PrivateNameSyntax/MemberExpression.js
JavaScript
apache-2.0
355
/* jshint browser: true */ /* jshint unused: false */ /* global describe, beforeEach, afterEach, it, */ /* global spyOn, expect*/ /* global templateEngine, $, _, uiMatchers*/ (function () { 'use strict'; describe('Cluster Overview View', function () { var view, div, serverView, coordinatorView, clusterSe...
hkernbach/arangodb
js/apps/system/_admin/aardvark/APP/test/specs/views/clusterOverviewViewSpec.js
JavaScript
apache-2.0
11,552
"use strict"; const validateNames = require("../helpers/validate-names"); const { HTML_NS, SVG_NS } = require("../helpers/namespaces"); const { createElement, internalCreateElementNSSteps } = require("../helpers/create-element"); const DocumentType = require("../generated/DocumentType"); const documents = require("../...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js
JavaScript
apache-2.0
3,872
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; describe('EventPluginRegistry', () => { var EventPluginRegistry; var createPlugin; before...
yangshun/react
src/renderers/shared/shared/event/__tests__/EventPluginRegistry-test.js
JavaScript
bsd-3-clause
7,038
console.log("In authorizationController.js"); notionApp.controller ( 'AuthorizationController', function($scope,$timeout,$stateParams, $state, $modal, $http) { $scope.name = "AuthorizationController"; $scope.pool = $scope.$parent.poolCollection.get($stateParams.poolKey); $scope.groupRoleCollection = new GroupRole...
blezek/Notion
ui/app/js/authorizationController.js
JavaScript
bsd-3-clause
2,592
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
iOSTestApps/react-native
Examples/UIExplorer/UIExplorerList.js
JavaScript
bsd-3-clause
9,204
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const impl = utils.implSymbol; function NavigatorPlugins() { throw new TypeError("Illegal constructor"); } Object.defineProperty(NavigatorPlugins, "prototype", { value: NavigatorPlugins.prototype, writable: f...
devierol/heroku-gjs
node_modules/jsdom/lib/jsdom/living/generated/NavigatorPlugins.js
JavaScript
bsd-3-clause
2,668
var InputStream = require('./InputStream').InputStream; var EntityParser = require('./EntityParser').EntityParser; function isWhitespace(c){ return c === " " || c === "\n" || c === "\t" || c === "\r" || c === "\f"; } function isAlpha(c) { return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'); } /** * * @param ...
dblock/dance-the-art-genome
node_modules/html5/lib/Tokenizer.js
JavaScript
mit
52,360
/* @flow */ import Path from 'path' import { it } from 'jasmine-fix' import Commands from '../lib/commands' let commands describe('Linter Commands', function() { beforeEach(function() { if (commands) { commands.dispose() } commands = new Commands() // Initial workspace view atom.views.get...
atom-community/linter
spec/commands-spec.js
JavaScript
mit
2,143
module.exports = { name: require('./package').name, treeFor() { // Nested addons don't call isEnabled automatically, // So this ensures that we return empty trees whenever // we are not enabled. if (this.isEnabled()) { return this._super.treeFor.call(this, ...arguments); } }, isEnabled...
arenoir/data
packages/canary-features/index.js
JavaScript
mit
527
const { doc: { builders: { concat } } } = require('prettier/standalone'); const AssemblyIf = { print: ({ path, print }) => concat([ 'if ', path.call(print, 'condition'), ' ', path.call(print, 'body') ]) }; module.exports = AssemblyIf;
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/prettier-plugin-solidity/src/nodes/AssemblyIf.js
JavaScript
mit
279
version https://git-lfs.github.com/spec/v1 oid sha256:c824544e55ad04b3214f2d60b38c67610e2886c38a893a0815253c08c2bbb480 size 2430
yogeshsaroya/new-cdnjs
ajax/libs/angular.js/1.3.0/i18n/angular-locale_tl.js
JavaScript
mit
129
/** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /* Fixture js lib file */
j-froehlich/magento2_wk
vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/View/_files/fallback/lib/web/mage/script.js
JavaScript
mit
135
"use strict"; function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); ...
jerrysam/jeromeminney-staging
node_modules/autoprefixer/lib/hacks/flex.js
JavaScript
mit
2,390
global.expect = require('expect.js'); global.PriorityQueue = require('..');
frangucc/gamify
www/sandbox/pals/node_modules/grunt-ng-annotate/node_modules/ng-annotate/node_modules/priorityqueuejs/test/bootstrap.js
JavaScript
mit
76
nv.models.lineWithFocusChart = function() { //============================================================ // Public Variables with Default Settings //------------------------------------------------------------ var lines = nv.models.line() , lines2 = nv.models.line() , xAxis = nv.models.axis() ,...
jygrinberg/wbam
public/javascript/d3/nv/models/lineWithFocusChart.js
JavaScript
mit
16,098
version https://git-lfs.github.com/spec/v1 oid sha256:0c295350c8e1cc4d35d6956b1bd138cbeb9de9bb6d5fee784b1361dd6bf160fa size 5030
yogeshsaroya/new-cdnjs
ajax/libs/rxjs/2.2.25/rx.testing.min.js
JavaScript
mit
129
var config = require('../config'); var gulp = require('gulp'); var gutil = require('gulp-util'); var fs = require('fs'); var path = require('path'); var rename = require('gulp-rename'); var filter = require('gulp-filter'); var concat = require('gulp-concat'); var series = require('stream-series'); var util = require('....
amithub/Angular-Material-Web-Design
gulp/tasks/build-scss.js
JavaScript
mit
2,659
/*! * qTip2 - Pretty powerful tooltips - * http://qtip2.com * * Copyright (c) 2013 Craig Michael Thompson * Released under the MIT, GPL licenses * http://jquery.org/license * * Date: Wed Jun 12 2013 04:21 UTC+0000 * Plugins: svg ajax tips modal viewport imagemap ie6 * Styles: basic css3 */ /*jslint browser:...
JohnThomson/BloomDesktop
src/BloomBrowserUI/lib/jquery.qtipSecondary.js
JavaScript
mit
125,017
/**************************************************************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of t...
Arlefreak/ArlefreakPlay
public/Games/goToWork/frameworks/cocos2d-html5/cocos2d/actions/CCActionInterval.js
JavaScript
mit
107,993
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.0 */ goog.provide('ngmaterial.components.datepicker'); goog.require('ngmaterial.components.icon'); goog.require('ngmaterial.components.virtualRepeat'); goog.require('ngmaterial.core'); /** * @ngdoc module * @name material.c...
phiphamuet/meanCopy
public/lib/angular-material/modules/closure/datepicker/datepicker.js
JavaScript
mit
104,914
define([ 'angular', 'layout/layout' ], function(angular) { angular.module('layout') .controller('exampleController2', function ($scope) { $scope.showIframe = false; $scope.switchVisibility = function () { $scope.showIframe = !$scope.showIframe; ...
JohannesHoppe/Webinar_AngularJS
Day2Task3/daniel/Scripts/layout/exampleController2.js
JavaScript
mit
339
import { get } from 'ember-metal/property_get'; import { set } from 'ember-metal/property_set'; import run from 'ember-metal/run_loop'; import { guidFor } from 'ember-metal/utils'; import EmberObject from 'ember-runtime/system/object'; import EmberLocation from 'ember-routing/location/api'; import jQuery from 'ember-v...
vikram7/ember.js
packages/ember-routing/lib/location/hash_location.js
JavaScript
mit
3,400
(function () { var classes = jss.createStyleSheet(window.styles).attach().classes document.body.innerHTML = '<button class="'+ classes.button1 +'">Button 1</button>' + '<button class="'+ classes.button2 +'">Button 2</button>' }())
qimingweng/jss
examples/namespace/app.js
JavaScript
mit
249
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A ...
Microsoft/Windows-universal-samples
archived/CameraResolution/js/js/Scenario3_AspectRatio.js
JavaScript
mit
9,946
var esprima = require('esprima'); var Literal = require('../nodes/Literal.js'); var ObjectExpression = require('../nodes/ObjectExpression.js'); var FunctionExpression = require('../nodes/FunctionExpression.js'); var ArrayExpression = require('../nodes/ArrayExpression.js'); /** * Create a value node from a value str...
abdulwahid24/generator-knockback
node_modules/yeoman-generator/node_modules/gruntfile-editor/node_modules/ast-query/lib/factory/value.js
JavaScript
mit
1,130
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
myfintech/material-ui
svg-icons/device/wifi-lock.js
JavaScript
mit
1,047
var grunt = require('grunt'); exports.handlebars = { default: function(test) { 'use strict'; test.expect(1); var actual = grunt.file.read('tmp/default.js'); var expected = grunt.file.read('test/expected/default.js'); test.equal(actual, expected, 'should compile handlebars templates using default...
cevn/tasky-web
node_modules/grunt-ember-templates/test/ember_handlebars_test.js
JavaScript
mit
3,915
'use strict'; var _ = require('underscore'); var validator = require('validator'); var Reflux = require('reflux'); var Server = require('../../api/Server.js'); var Repository = require('../../api/Repository.js'); var Common = require('../../api/Common.js'); var WizardVariantNameActions = require('../../action/wizard...
jordwest/react-ui-builder
client/src/store/wizard/WizardVariantNameStore.js
JavaScript
mit
2,713
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
myfintech/material-ui
svg-icons/communication/screen-share.js
JavaScript
mit
1,008
var parent = require('../../../actual/array/virtual/slice'); module.exports = parent;
zloirock/core-js
packages/core-js/features/array/virtual/slice.js
JavaScript
mit
87
$_L(["$wt.internal.SWTEventListener"],"$wt.custom.CTabFolder2Listener",null,function(){ $_I($wt.custom,"CTabFolder2Listener",$wt.internal.SWTEventListener); });
backwind1233/mayloon-portingtool
sources/net.sf.j2s.lib/j2slib/org/eclipse/swt/custom/CTabFolder2Listener.js
JavaScript
epl-1.0
167
function shouldBe(actual, expected) { if (actual !== expected) throw new Error(`bad value: ${actual}`); } function shouldThrow(func, errorMessage) { var errorThrown = false; var error = null; try { func(); } catch (e) { errorThrown = true; error = e; } if (!e...
Debian/openjfx
modules/web/src/main/native/Source/JavaScriptCore/tests/stress/string-raw.js
JavaScript
gpl-2.0
3,959
function Cucumber(featureSource, supportCodeInitializer, options) { var configuration = Cucumber.VolatileConfiguration(featureSource, supportCodeInitializer, options); var runtime = Cucumber.Runtime(configuration); return runtime; } Cucumber.Api = require('./cucumber/api'); Cucumber.Ast ...
rgparkins/http-stub
src/tests/node_modules/cucumber/lib/cucumber.js
JavaScript
gpl-2.0
1,285
// |jit-test| debug; error:ReferenceError; // Binary: cache/js-dbg-64-de23a9fc29db-linux // Flags: --ion-eager // var obj1 = {}, obj2 = {}; obj2['b'+i] = 0; for (var k in obj2) { (function g() { evalInFrame(1, "assertStackIs(['eval-code', f, 'bound(f)', 'global-code'])", true); })(); } for (var i = 0; i != array.le...
michath/ConMonkey
js/src/jit-test/tests/auto-regress/bug765483.js
JavaScript
mpl-2.0
345