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
// flow-typed signature: f798ef26147b77bbfbc697d19db02cf6 // flow-typed version: <<STUB>>/babel-cli_v^6.26.0/flow_v0.53.1 /** * This is an autogenerated libdef stub for: * * 'babel-cli' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with the ...
wojciech-bilicki/MarvelApp
flow-typed/npm/babel-cli_vx.x.x.js
JavaScript
apache-2.0
3,006
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const adjacent_overload_signatures_1 = __importDefault(require("./adjacent-overload-signatures")); const...
BigBoss424/portfolio
v7/development/node_modules/less/packages/less/node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js
JavaScript
apache-2.0
8,804
// // Copyright (c) Microsoft and contributors. 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 requi...
squirrelfm/azure-sdk-tools-xplat
lib/util/validation.js
JavaScript
apache-2.0
3,330
// 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 // distributed un...
michellephung/couchdb-fauxton
app/addons/replication/components/options.js
JavaScript
apache-2.0
2,995
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2017, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
unistra/one
src/sunstone/public/app/tabs/vms-tab/dialogs/resize/dialogId.js
JavaScript
apache-2.0
1,273
define(function (require) { 'use strict'; var modules = require('modules'); require('button-confirm'); modules.get('a4c-common', ['angular-utils-ui']).directive('deleteConfirm', function() { return { restrict: 'E', templateUrl: 'views/common/confirm_button.html', scope: { positio...
loicalbertin/alien4cloud
alien4cloud-ui/src/main/webapp/scripts/common/directives/delete_confirm.js
JavaScript
apache-2.0
414
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md 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 may obtain a copy of the License ...
khartec/waltz
waltz-ng/test/common/tally-utils/summing-test.js
JavaScript
apache-2.0
2,944
'use strict'; module.exports = function InvestmentModel() { return { name: 'investment' }; };
crosen188/district-insurance-sample
dist/models/investment.js
JavaScript
apache-2.0
112
// @flow // resources page layout import * as React from 'react' import { Card, OutlineButton } from '@opentrons/components' import styles from './styles.css' type Props = { title: React.Node, description: React.Node, url: string, } export function ResourceCard(props: Props): React.Node { return ( <Card ...
Opentrons/labware
app/src/components/Resources/ResourceCard.js
JavaScript
apache-2.0
719
/* * The MIT License (MIT) * Copyright (c) 2017 Lance Campbell. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation ...
Jw00/WATT
libs/brackets-server/embedded-ext/brackets-indent-guides/nls/strings.js
JavaScript
apache-2.0
1,969
angular.module('mnXDCR').controller('mnXDCRDeleteDialogController', function ($scope, $modalInstance, mnHelper, mnXDCRService, id) { $scope.deleteReplication = function () { var promise = mnXDCRService.deleteReplication(id); mnHelper.handleModalAction($scope, promise, $modalInstance); }; });
nimishzynga/ns_server
priv/public/angular/app/mn_admin/mn_xdcr/delete_dialog/mn_xdcr_delete_dialog_controller.js
JavaScript
apache-2.0
317
'use strict'; // Meta data used by the AngularJS docs app angular.module('navData', []) .value('NG_NAVIGATION', { "api": { "id": "api", "name": "API", "navGroups": [ { "name": "ng", "href": "api/ng", "type": "group", "navItems": [ { "name": "f...
LADOSSIFPB/nutrif
nutrif-web-refactor/lib/angular/docs/js/nav-data.js
JavaScript
apache-2.0
62,300
'use strict'; var _immutable = require('immutable'); var _immutable2 = _interopRequireDefault(_immutable); var _index = require('../../core/index'); var _tools = require('../../tseries/tools'); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } describe('tools', functi...
useabode/redash
node_modules/pandas-js/dist/__tests__/tseries/tools.js
JavaScript
bsd-2-clause
3,548
// Array constructor test var arr0 = new Array() //assert(arr0.length == 0) var __result1 = arr0.length; // for SAFE var __expect1 = 0; // for SAFE var arr1 = new Array("test") //assert(arr1.length == 1) var __result2 = arr1.length; // for SAFE var __expect2 = 1; // for SAFE //assert(arr1[0] == "test"); var __res...
daejunpark/jsaf
tests/typing_tests/TAJS_micro/test38.js
JavaScript
bsd-3-clause
1,051
var DATA_URI_PATTERN = /^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/; function matchDataUri(uri) { return DATA_URI_PATTERN.exec(uri); } module.exports = matchDataUri;
ChromeDevTools/devtools-frontend
node_modules/clean-css/lib/reader/match-data-uri.js
JavaScript
bsd-3-clause
190
/** * Copyright 2013-2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
joshbedo/react
src/browser/ui/dom/getEventKey.js
JavaScript
bsd-3-clause
2,926
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import { __DEBUG__, TREE_OPERATION_ADD, TREE_OPERATION_REMOVE, TREE_OPERATION_REORDER_CHILDREN, TREE_OPERATI...
terminatorheart/react
packages/react-devtools-shared/src/devtools/views/Profiler/CommitTreeBuilder.js
JavaScript
bsd-3-clause
9,739
var webpack = require("webpack"); var config = require("./webpack.client.js"); var hostname = process.env.HOSTNAME || "localhost"; config.cache = true; config.debug = true; config.devtool = "eval-sourcemap"; config.entry.unshift( "webpack-dev-server/client?http://" + hostname + ":8080", "webpack/hot/only-dev-serve...
amitos80/midburn-hackathon
webpack.client-watch.js
JavaScript
bsd-3-clause
1,098
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
aaron-goshine/react
src/renderers/shared/fiber/ReactFiber.js
JavaScript
bsd-3-clause
12,492
$(document).ready(function(){ var scroll_start = 0; var startchange = $('#startchange'); var offset = startchange.offset(); if (startchange.length){ $(document).scroll(function() { scroll_start = $(this).scro...
umbreen-deweb/umbreen-deweb.github.io
web-projects/Week_6/spring_break_hw/js/my.js
JavaScript
mit
672
const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { devtool: 'source-map', entry: { 'vendor': './sampleapp/vendor.ts', 'app': './sampleapp/main.ts' }, resolve: { extensions: ['', '.js', ...
tupamba/kardex
node_modules/mydatepicker/config/webpack.build.sampleapp.js
JavaScript
mit
1,494
'use strict' const BB = require('bluebird') const cacache = require('cacache') const cacheKey = require('./util/cache-key') const fetchFromManifest = require('./fetch').fromManifest const finished = require('./util/finished') const minimatch = require('minimatch') const normalize = require('normalize-package-data') c...
giovannic/giovannic.github.com
node_modules/npm/node_modules/pacote/lib/finalize-manifest.js
JavaScript
mit
8,535
{ str = val; len = str.length; index = expressionPos = expressionEndPos = 0; if (val.indexOf("[") < 0 || val.lastIndexOf("]") < len - 1) { return { exp: val, idx: null }; } while (!eof()) { chr = next(); if (isStringStart(chr)) { parseString(chr); } else if (chr === ...
stas-vilchik/bdd-ml
data/11955.js
JavaScript
mit
484
!function ($) { $(function(){ // // Activate Bootstrap's tooltips // $("[rel*=tooltip]").tooltip(); // Add bootstrap table style to table elements $("article.content table").addClass('table').addClass('table-hover'); // create tree $('.tree li:has(ul)').addClass('parent_li').find(' > span')....
XerxesDGreat/i-josh.com
themes/silk-pajamas/static/js/application.js
JavaScript
mit
2,555
var app4 = new Vue({ el: '#app-4', data: { todos: [ { text: 'Learn JavaScript' }, { text: 'Learn Vue' }, { text: 'Build something awesome' } ] } }) var app = new Vue({ el: '#app', data: { suggestions: [] }, mounted() { this.loadData(); setInterval(function () { ...
CSUChico-CINS465/CINS465-Fall2017-Lecture-Examples
mysitedocker/static/js/vueapp.js
JavaScript
mit
603
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,e){a instanceof String&&(a=String(a));for(var d=a.length,h=0;h<d;h++){var l=a[h];if(g.call(e,l,h,a))return{i:h,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProper...
cimocimocimo/staydrysystems.com
web/app/plugins/yith-woocommerce-wishlist/plugin-fw/assets/js/yith-fields.min.js
JavaScript
mit
6,891
/*eslint-disable no-empty */ 'use strict'; module.exports = function caret(el, start, end) { if (start === undefined) return get(el); set(el, start, end); }; function get(el) { var start, end, rangeEl, clone; if (el.selectionStart !== undefined) { start = el.selectionStart; end = el.selectionEnd; ...
yomolify/cc-server
node_modules/react-widgets/lib/util/caret.js
JavaScript
mit
1,157
"use strict"; const IBase = require("./IBase"); const IUser = require("./IUser"); const Utils = require("../core/Utils"); const AuthenticatedUser = require("../models/AuthenticatedUser"); const Constants = require("../Constants"); const StatusTypes = Constants.StatusTypes; const rest = require("../networking/rest"); ...
Gamecloud-Solutions/streambot
node_modules/discordie/lib/interfaces/IAuthenticatedUser.js
JavaScript
mit
9,767
var express = require('express'); var app = express(); // Set the render engine to mustache. app.set('views', __dirname + '/views'); app.set('view engine', 'mustache'); app.engine('mustache', require('hogan-middleware').__express); // Use a cookie parser. app.use(express.cookieParser()); app.use(express.bodyParser())...
BlueRidgeLabs/kimball
vendor/assets/javascripts/seamless/examples/server/app.js
JavaScript
mit
1,037
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ /...
lmazuel/azure-sdk-for-node
lib/services/spellCheck/lib/models/index.js
JavaScript
mit
1,194
"use strict"; const Constants = require("../Constants"); const Events = Constants.Events; const ChannelTypes = Constants.ChannelTypes; const Utils = require("../core/Utils"); const BaseCollection = require("./BaseCollection"); const Channel = require("../models/Channel"); const PermissionOverwrite = require("../model...
Gamecloud-Solutions/streambot
node_modules/discordie/lib/collections/ChannelCollection.js
JavaScript
mit
5,543
import React, {Component} from 'react' import {connect} from 'react-redux' import Nav from './common/Nav' class App extends Component { render () { return ( <div className='wrapper'> <Nav loggedIn={this.props.data.loggedIn} currentlySending={this.props.data.currentlySending} his...
codemaster94/Logging-In-Out
app/components/App.js
JavaScript
mit
776
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let FileAttachment = (props) => ( <SvgIcon {...props}> <path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-....
skarnecki/material-ui
src/svg-icons/file/attachment.js
JavaScript
mit
539
OC.L10N.register( "comments", { "Type in a new comment..." : "Введіть новий коментар...", "Delete comment" : "Видалити коментар", "Post" : "Відправити", "Cancel" : "Скасувати", "Edit comment" : "Редагувати коментар", "[Deleted user]" : "[Видалений користувач]", "Comments" : "Коментар...
phil-davis/core
apps/comments/l10n/uk.js
JavaScript
mit
2,056
/*! http://tinynav.viljamis.com v1.1 by @viljamis */ (function ($, window, i) { $.fn.tinyNav = function (options) { // Default settings var settings = $.extend({ 'active' : 'selected', // String: Set the "active" class 'header' : '', // String: Specify text for "header" and show header instead of...
Ihindng/Ajuer
static/assets/js/tinynav.js
JavaScript
mit
2,299
/*import and use vue-resource*/ import Vue from 'vue/dist/vue.js' import VueResource from 'vue-resource' Vue.use(VueResource); Vue.http.options.root = '/api'; /*import and use vuex*/ import Vuex from 'vuex' import store from './vuex/store.js' /*import router*/ import router from './services/router.js' import alert f...
CookingRobot/plainread
src/app.js
JavaScript
mit
2,271
'use strict'; const common = require('../common'); // This test ensures that an out of memory error exits with code 134 on Windows if (!common.isWindows) return common.skip('Windows-only'); const assert = require('assert'); const { exec } = require('child_process'); if (process.argv[2] === 'heapBomb') { // Heap b...
enclose-io/compiler
lts/test/parallel/test-windows-failed-heap-allocation.js
JavaScript
mit
1,023
/*jshint camelcase: false */ 'use strict'; var grunt = require('grunt'); var fs = require('fs'); exports.svgtoolkit = { iconic_icons: function (test) { test.expect(7); var actual = 'tmp/svg/iconic/'; var expected = 'test/expected/svg/iconic/'; function checkSVGIcon(name) { test.equal(grunt....
2947721120/curly-garbanzo
test/svg-toolkit_test.js
JavaScript
mit
693
describe('material.components.menu', function() { var attachedElements = []; var $mdMenu, $timeout, menuActionPerformed, $mdUtil; beforeEach(module('material.components.menu')); beforeEach(inject(function(_$mdUtil_, _$mdMenu_, _$timeout_) { $mdUtil = _$mdUtil_; $mdMenu = _$mdMenu_; $timeout = _$tim...
hodeyp/material
src/components/menu/menu.spec.js
JavaScript
mit
8,268
define(function(require) { 'use strict'; var frontendTypeMap = { tags: { viewer: require('orotag/js/app/views/viewer/tags-view'), editor: require('orotag/js/app/views/editor/tags-editor-view') } }; return frontendTypeMap; });
Djamy/platform
src/Oro/Bundle/FormBundle/Resources/public/js/tools/frontend-type-map.js
JavaScript
mit
282
/** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * */ 'use st...
thethirdwheel/reasonabledisagreement
node_modules/react-scripts/node_modules/jest-haste-map/build/crawlers/node.js
JavaScript
mit
3,435
define(function(require, exports, module) { require('./d.js'); module.exports = 'baz'; });
yibuyisheng/grunt-cmd-transport
test/cases/duplicate/b.js
JavaScript
mit
95
var vows = require('vows'), assert = require('assert'), mockery = require('../mockery'), sinon = require('sinon'); var mock_fake_module = { foo: function () { return 'mocked foo'; } }; var tests = { "when an intermediary module is involved": { topic: function() { re...
davidporter-id-au/mockery
test/intermediary.js
JavaScript
mit
2,431
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectWithoutPropertiesLoose2 = ...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.31/node/BottomNavigationAction/BottomNavigationAction.js
JavaScript
mit
8,378
!function(e){"use strict";CHERRY_API.utilites.namespace("ui_elements.select"),CHERRY_API.ui_elements.select={init:function(e){var t=this;CHERRY_API.status.document_ready?t.render(e):CHERRY_API.variable.$document.on("ready",t.render(e))},render:function(t){e(".cherry-filter-select",t).select2(),e(".cherry-multi-select",...
roberto-alarcon/Neuroglobal
wp-content/themes/cherryframework4/lib/admin/ui-elements/ui-select/assets/min/ui-select.min.js
JavaScript
gpl-2.0
344
var searchData= [ ['exact_2eh',['exact.h',['../exact_8h.html',1,'']]] ];
reuk/wayverb
docs_source/doxygen/html/search/files_0.js
JavaScript
gpl-2.0
75
QUnit.test( 'LayoutMode.getSegmentSize', function( assert ) { 'use strict'; var CellsByRow = Isotope.LayoutMode.create('cellsByRow'); CellsByRow.prototype._resetLayout = function() { this.getColumnWidth(); this.getRowHeight(); }; var iso = new Isotope( '#get-segment-size', { layoutMode: 'cellsByR...
Jeborivo/hots
sites/all/themes/proba/node_modules/isotope-packery/node_modules/isotope-layout/test/unit/get-segment-size.js
JavaScript
gpl-2.0
1,285
/** * tty.js - an xterm emulator * Christopher Jeffrey (https://github.com/chjj/tty.js) * * Originally forked from (with the author's permission): * * Fabrice Bellard's javascript vt100 for jslinux: * http://bellard.org/jslinux/ * Copyright (c) 2011 Fabrice Bellard * (Redistribution or commercial use is prohib...
ibuler/jumpserver
static/js/term.js
JavaScript
gpl-2.0
112,672
define(["lodash"],function(_){ var GeodsSummaryViewModel = function(MevGeodsSummaryFactory, scope, $modal, $location){ //private var _self=this; function _showPleaseWait(){ var modalInstance = $modal.open( { template: '<div class="mev-modal"><p> Please wait, downloading GEO dataset ... </p><div>...
apartensky/mev
web/src/main/javascript/edu/dfci/cccb/mev/web/javascript/geods/domain/GeodsSummaryViewModel.js
JavaScript
gpl-3.0
1,409
/** * Shopware 4.0 * Copyright © 2012 shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * permi...
flyingSkull/dl-shopware
engine/Shopware/Plugins/Default/Core/PluginManager/Views/backend/plugin_manager/store/updates.js
JavaScript
agpl-3.0
2,518
/*-------------------------------------------------------------------- Copyright (c) 2011 Local Projects. All rights reserved. Licensed under the Affero GNU GPL v3, see LICENSE for more details. --------------------------------------------------------------------*/ if (!tc) { var tc = {}; } tc.inlineEditor = fun...
codeforeurope/Change-By-Us
static/js/tc.gam.inlineEditor.js
JavaScript
agpl-3.0
5,661
Ext.onReady(function() { onMessageMnuContext = function (grid, rowIndex, e) { e.stopEvent(); var coords = e.getXY(); mnuContext.showAt([coords[0], coords[1]]); }; /////// var storePM; var msgCt; //Stores storePM = new Ext.data.Store({ proxy: new Ext.data.HttpProxy({ url: "processM...
hitsumabushi/processmaker
workflow/engine/templates/enterprise/addonsStore.js
JavaScript
agpl-3.0
50,085
/*! * Connect - HTTPServer * Copyright(c) 2010 Sencha Inc. * Copyright(c) 2011 TJ Holowaychuk * MIT Licensed */ /** * Module dependencies. */ var finalhandler = require('finalhandler'); var http = require('http'); var debug = require('debug')('connect:dispatcher'); var parseUrl = require('parseurl'); // proto...
anothertompetty/london-edit
node_modules/grunt-contrib-connect/node_modules/connect/lib/proto.js
JavaScript
unlicense
5,288
function synchCalDates(y,m,d) { $('#cal_y').attr('value',y); $('#cal_m').attr('value',m); $('#cal_d').attr('value',d); } function saveCalOrder() { var query = ''; $('.event').each(function(i){ var id = $(this).children('#id').attr('value'); var f_id = $(this).children('#f_id').attr('value'); var f_table_id ...
1btcxe/wlox
backstage2/shared2/js/calendar.js
JavaScript
apache-2.0
3,455
/** * @license Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ /*jslint plusplus: false, strict: false */ /*global define: false */ define(function () { var lang = { backSlashRegExp:...
charybdeBE/Cytomine-core
web-app/lib/requirejs/build/jslib/lang.js
JavaScript
apache-2.0
1,538
module.exports = { "liveLoggingWebAccess": false, // disabled by default for security reasons "morgan": 'dev', // settings for express's logging: https://www.npmjs.com/package/morgan /** * https://www.npmjs.com/package/tracer */ "logger": { "format": [ "{{timestamp}} <{{title}}> {{message}}...
bhecquet/qualityBoard
templates/new-components/project/config/logging.js
JavaScript
apache-2.0
540
'use strict'; const logger = require('hexo-log'); const chalk = require('chalk'); const { EventEmitter } = require('events'); const Promise = require('bluebird'); const ConsoleExtend = require('./extend/console'); // a stub Hexo object // see `hexojs/hexo/lib/hexo/index.js` function Context(base = process.cwd(), arg...
zhengxiexie/blog
node_modules/hexo/node_modules/hexo-cli/lib/context.js
JavaScript
apache-2.0
1,347
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.12/esri/copyright.txt for details. //>>built define("esri/MapNavigationManager","dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/_base/connect dojo/_base/event dojo/mouse dojo/keys ./kernel ./MouseEve...
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/esri/MapNavigationManager.js
JavaScript
apache-2.0
15,344
'use strict'; angular.module('somafmPlayerApp') .controller('FavStationsCtrl', ['$scope', '$filter', '$state', 'StationService', 'FavoriteStationService', 'PlayerService', function ($scope, $filter, $state, StationService, FavoriteStationService, PlayerService) { $scope.organizedStations = [];...
gabriel-laet/somafm-webplayer
app/scripts/controllers/fav-stations.js
JavaScript
apache-2.0
4,557
/** * @license * Visual Blocks Editor * * Copyright 2013 Google Inc. * https://developers.google.com/blockly/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
joshlory/blockly
core/field_angle.js
JavaScript
apache-2.0
11,016
'use strict'; var util = require('util'); module.exports.invalidDataType = function(objPath, filename) { return util.format( 'Invalid value data type for key "%s" in file "%s.json"', objPath, filename ); }; module.exports.invalidInputDirectory = function() { return 'Invalid input: not a directory'; }; modu...
dlockhart/l10n-language-builder
lib/errors.js
JavaScript
apache-2.0
1,489
/* */ "format cjs"; ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; var root = (objectTypes[typeof window] && window) || this, freeExports = object...
cfraz89/moonrock-js-starter
jspm_packages/npm/rx@2.5.3/src/core/headers/litetestintro-compat.js
JavaScript
apache-2.0
1,274
/* eslint-env jest */ // See https://github.com/facebook/jest/issues/2208 jest.mock('Linking', () => ({ addEventListener: jest.fn(), removeEventListener: jest.fn(), openURL: jest.fn(), canOpenURL: jest.fn(), getInitialURL: jest.fn().mockImplementation((value: string) => Promise.resolve(value)), })); // See ...
kkamperschroer/react-navigation
jest-setup.js
JavaScript
bsd-2-clause
563
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
andrerpena/react
src/renderers/shared/stack/reconciler/CallbackQueue.js
JavaScript
bsd-3-clause
2,738
'use strict'; // chops-signin is a web component that manages signing into services using // client-side OAuth via gapi.auth2. chops-signin visually indicates whether the // user is signed in using either an icon or the user's profile picture. The // signin or signout flow is initiated when the user clicks on this comp...
catapult-project/catapult
third_party/polymer2/bower_components/chopsui/chops-signin.js
JavaScript
bsd-3-clause
5,736
export default function click(map, payload) { map.fire('mousedown', payload); map.fire('mouseup', payload); }
mapbox/mapbox-gl-draw
test/utils/mouse_click.js
JavaScript
isc
114
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.sc'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Agiunghe unu cumentu"; Blockly.Msg.CHANGE_VALUE_TITLE = "Muda valori:"; Blockly.Msg.CLEAN_UP = "Lìmpia is brocus"; Blockly.Msg.COLLAPSE_ALL = "Serra e strin...
renatosierra/rainman
vendor/google-blockly/msg/js/sc.js
JavaScript
mit
32,023
import React from 'react'; import {connect} from 'react-redux'; import Component from '../component'; import {decorate, getTermProps, getTermGroupProps} from '../utils/plugins'; import {resizeTermGroup} from '../actions/term-groups'; import Term_ from './term'; import SplitPane_ from './split-pane'; const Term = decor...
reslaurentii/hyper
lib/components/term-group.js
JavaScript
mit
3,752
#!/usr/bin/env node ;(function() { 'use strict'; /** The Node filesystem module */ var fs = require('fs'); /** Used to minify variables embedded in compiled strings */ var compiledVars = [ 'argsIndex', 'argsLength', 'callback', 'collection', 'createCallback', 'ctor', 'guard', ...
jamesshore/ll10_ui_testing_strategies
node_modules/testacular/node_modules/lodash/build/pre-compile.js
JavaScript
mit
11,267
angular.module('teamform-memberDetail-app',['firebase']) .controller('ProfileAcc', ['$scope', '$firebaseObject', '$firebaseArray',function($scope) { //initalizeFirebase(); initalizeFirebase(); database = firebase.database(); $scope.FUID = null; $scope.Fname = ""; $scope.Fskill = ""; $scope.datadebug ...
RaymondWongCH/teamform-seed
app/js/temp/memberDetail_linked.js
JavaScript
mit
3,464
var level = require('level-test')() var post = require('../') var test = require('tape') test('simple', function (t) { var n = 5 var db = level('simple') post(db, function (op) { t.ok(op.key) t.ok(op.value) t.ok(op.type) t.ok(n--) if(!n) t.end() }) var m = n while(m--) ...
february29/Learning
web/vue/AccountBook-Express/node_modules/level-post/test/index.js
JavaScript
mit
405
/* * * * (c) 2010-2020 Torstein Honsi * * Extension to the VML Renderer * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from '../parts/Globals.js'; import U from '../parts/Utilities.js'; var addEvent = U.add...
generalludd/expenses
js/highcharts/es-modules/parts-3d/VMLRenderer.js
JavaScript
mit
2,127
<!-- Jquery js --> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Propeller checkbox js --> <script type="text/javascript" src="http://propeller.in/components/checkbox/js/checkbox.js"></script> <!-- Propeller js --> <script type="text/javascript"...
nikunjchotaliya15/nodejs
public/components/range-slider/snippets/disable-hendler.js
JavaScript
mit
1,233
/**! * cnpmjs.org - test/middleware/auth.test.js * * Copyright(c) cnpmjs.org and other contributors. * MIT Licensed * * Authors: * dead_horse <dead_horse@qq.com> (http://deadhorse.me) * fengmk2 <fengmk2@gmail.com> (http://fengmk2.com) */ 'use strict'; /** * Module dependencies. */ var request = require(...
yufi113/cnpmjs.org
test/middleware/auth.test.js
JavaScript
mit
2,986
/*! jQuery UI - v1.10.4 - 2014-02-02 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ",...
ulises7c7/octo-ninja
src/DonCar/TallerBundle/Resources/public/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-hi.min.js
JavaScript
mit
1,235
module.exports = function (config) { var testWebpackConfig = require('./webpack.test.config.js'); config.set({ // base path that will be used to resolve all patterns (e.g. files, exclude) basePath: '', proxies: { "/app.html": "localhost:9876/app.html" }, // frameworks to use // ava...
despotovska/OPEN_Launcher
karma.conf.js
JavaScript
mit
2,701
var gulp = require('gulp'), less = require('gulp-less'), path = require('path'), autoprefixer = require('gulp-autoprefixer'), minifycss = require('gulp-minify-css'), jshint = require('gulp-jshint'), uglify = require('gulp-uglify'), rename = require('gulp-rename'), clean = require('gulp-c...
airhadoken/botwiki.org
gulpfile.js
JavaScript
mit
1,979
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2016 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * Phaser.Input is the Input Manager for all types of Input across Phaser, including mouse, keyboard, touch and MSPoint...
trvslhlt/games-for-impact-final
projects/game_00/node_modules/phaser/dist/modules/input.js
JavaScript
mit
185,423
'use strict'; const response = require('../helpers/context').response; const Stream = require('stream'); describe('res.socket', function(){ it('should return the request socket object', function(){ const res = response(); res.socket.should.be.instanceOf(Stream); }); });
targos/koa
test/response/socket.js
JavaScript
mit
286
import { module, test } from '../qunit'; import moment from '../../moment'; module('getters and setters'); test('getters', function (assert) { var a = moment([2011, 9, 12, 6, 7, 8, 9]); assert.equal(a.year(), 2011, 'year'); assert.equal(a.month(), 9, 'month'); assert.equal(a.date(), 12, 'date'); a...
julionc/moment
src/test/moment/getters_setters.js
JavaScript
mit
15,185
function getState() { fetch('https://spacestate.pixelbar.nl/spacestate.php') .then(function(response) { return response.text() }).then(function(body) { setTimeout(getState, 2500); var data = JSON.parse(body); $('#status').html(data.state.toUpperCase()).removeAttr('class').addClass(data.state); }...
davidvanleeuwen/pixelbar.github.io
public/scripts/main.js
JavaScript
gpl-2.0
4,602
const Express = require('express'); const bodyParser = require('body-parser'); const async = require('async'); module.exports = HttpRpc; function HttpRpc(rpc){ var server = this.server = Express(); // parse application/json even if it doesnt say its json (*/* does not work) server.use(bodyParser.json({ type:...
vaporry/node-ethereum
lib/rpc/server/http.js
JavaScript
gpl-2.0
2,664
/** * Kendo UI v2018.1.221 (http://www.telerik.com/kendo-ui) * Copyright 2018 Telerik AD. All rights reserved. ...
Memba/Kidoju-Widgets
src/js/vendor/kendo/cultures/kendo.culture.en-UG.js
JavaScript
gpl-3.0
6,534
/* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("a11yhelp","vi",{title:"Hướng dẫn trợ năng",contents:"Nội dung Hỗ trợ. Nhấn ESC để đóng hộp thoại.",legend:[{name:"Chung",items:[{n...
CatoTH/antragsgruen
web/js/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js
JavaScript
agpl-3.0
5,275
import { Fragment } from 'inferno'; import { useBackend, useLocalState } from '../backend'; import { Button, Dimmer, Flex, Icon, LabeledList, Section, Tabs } from '../components'; import { Window } from '../layouts'; export const PersonalCrafting = (props, context) => { const { act, data } = useBackend(context); c...
erwgd/-tg-station
tgui/packages/tgui/interfaces/PersonalCrafting.js
JavaScript
agpl-3.0
5,318
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
hsanjuan/one
src/sunstone/public/app/tabs/groups-tab/dialogs/quotas.js
JavaScript
apache-2.0
2,809
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ define([ 'underscore', 'contrail-view' ], function (_, ContrailView) { var InstanceView = ContrailView.extend({ el: $(contentContainer), render: function () { var self = this, graphTabsTemp...
sbavanasi/contrail-web-controller
webroot/monitor/networking/ui/js/views/InstanceView.js
JavaScript
apache-2.0
2,884
/*jshint node:true*/ /** * 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 (...
ueshin/apache-tez
tez-ui/src/main/webapp/blueprints/entity/index.js
JavaScript
apache-2.0
1,022
import {CommonSignals_Enum} from '#core/constants/common-signals'; import * as experiments from '#experiments'; import {forceExperimentBranch, getExperimentBranch} from '#experiments'; import {Services} from '#service'; import {macroTask} from '#testing/helpers'; import { MockStoryImpl, addStoryAutoAdsConfig, ...
Gregable/amphtml
extensions/amp-story-auto-ads/0.1/test/test-amp-story-auto-ads.js
JavaScript
apache-2.0
15,306
define(function(require) { 'use strict'; var SpinnerTemplate = require('text!template/element/spinner.html'); var SpinnerView = Marionette.LayoutView.extend({ tagName: 'spinner', template: _.template(SpinnerTemplate) }); return SpinnerView; });
trsouz/StreamusChromeExtension
src/js/foreground/view/element/spinnerView.js
JavaScript
apache-2.0
268
// Copyright (C) 2014 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Compound Assignment Operator calls PutValue(lref, v) es5id: S11.13.2_A5.11_T2 description: > Evaluating LeftHandSideExpression lref returns Reference type; Reference base...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/compound-assignment/S11.13.2_A5.11_T2.js
JavaScript
bsd-2-clause
894
// FIXME handle date line wrap goog.provide('ol.control.Attribution'); goog.require('goog.asserts'); goog.require('ol'); goog.require('ol.dom'); goog.require('ol.Attribution'); goog.require('ol.control.Control'); goog.require('ol.css'); goog.require('ol.events'); goog.require('ol.events.EventType'); goog.require('ol....
itayod/ol3
src/ol/control/attributioncontrol.js
JavaScript
bsd-2-clause
11,912
// 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. /** @constructor */ function TaskManager() { } cr.addSingletonGetter(TaskManager); var localStrings = new LocalStrings(); TaskManager.prototype = {...
ropik/chromium
chrome/browser/resources/task_manager/main.js
JavaScript
bsd-3-clause
22,596
/** * Copyright 2015, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ import Ember from 'ember'; import DS from 'ember-data'; import { validator, buildValidations } from 'ember-cp-validations'; var attr = DS.attr; var Validations = buildValidations({ ...
rwjblue/ember-cp-validations
tests/dummy/app/models/user-detail.js
JavaScript
bsd-3-clause
1,279
(function () { "use strict"; angular.module('dlSearch').directive('dlSearch', ['$timeout', function ($timeout) { return { /* restrict: 'AE', */ scope: { title: '@', type: '@', layout: '@', icon: '@', ...
TheDarkCode/AngularAzureSearch
src/AngularAzureSearch/AngularAzureSearch.WebRole/ext-modules/dlSearch/dlSearchDirective.js
JavaScript
mit
744
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @polyfill...
gunaangs/Feedonymous
node_modules/metro-bundler/src/Resolver/polyfills/String.prototype.es6.js
JavaScript
mit
2,369
'use strict'; // Tests concurrent async jdbc connections. // TODO: a proper jdbc wrapper should be created to avoid ugly async code. var memwatch = require('memwatch'); var async = require('async'); // 1 - 23,305ms // 5 - 9,338ms // 10 - 8,846ms var concurrency = 5; //var dbServerName = '192.168.13.190'; //var dbPo...
joeferner/node-java
testIntegration/jdbc/enduranceTestAsync.js
JavaScript
mit
3,646
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
stringham/vscode
extensions/theme-seti/build/update-icon-theme.js
JavaScript
mit
9,945
var Runtime = require('../../zetta_runtime'); var Device = Runtime.Device; var util = require('util'); var SensorDriver = module.exports = function(){ Device.call(this); }; util.inherits(SensorDriver, Device); SensorDriver.prototype.init = function(config) { config .type('sensordriver'); };
eclub-sense/zetta2.0-runtime
test/fixture/sensor_driver.js
JavaScript
mit
302
'use strict'; const path = require('path'); const SilentError = require('silent-error'); const stringUtil = require('ember-cli-string-utils'); const pathUtil = require('ember-cli-path-utils'); const getPathOption = require('ember-cli-get-component-path-option'); const normalizeEntityName = require('ember-cli-normalize...
fpauser/ember.js
blueprints/component-class/index.js
JavaScript
mit
5,335