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 © Esri. 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.ap...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/ParcelDrafter/setting/nls/da/strings.js
JavaScript
mit
5,300
export {default} from 'ember-frost-core/components/frost-autocomplete'
EWhite613/ember-frost-core
app/components/frost-autocomplete.js
JavaScript
mit
71
import * as types from 'App/actions/types' const initialState = [] export default (state = initialState, action) => { switch (action.type) { case types.SHOW_MESSAGE: return state.concat([{ messageId: action.messageId, message: action.message, }]) case types.HIDE_MESSAGE: re...
willy-claes/django-react
app/reducers/messages.js
JavaScript
mit
429
eidogo = window.eidogo || {}; eidogo.i18n = eidogo.i18n || { 'move': 'Jogada', 'loading': 'Carregando', 'passed': 'Passar', 'resigned': 'abandono', 'variations': 'Variantes', 'no variations': 'nenhuma variação', 'tool': 'f...
tianzuo/wzmobile
www/eidogo-player-1.2/player/i18n/pt.js
JavaScript
mit
4,611
/* * 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/recoveryServicesBackupManagement/lib/models/azureIaaSVMJobExtendedInfo.js
JavaScript
mit
2,564
(function() { <%= contents %> exports.JsonApiDataStore = JsonApiDataStore; exports.JsonApiDataStoreModel = JsonApiDataStoreModel; })();
jprincipe/jsonapi-datastore
src/node-wrapper.js
JavaScript
mit
143
describe('UploadableFilesView', function() { var f = support.factories; it('renders confirmUploadTableColumns of file type', function() { var fileType = f.fileType({ confirmUploadTableColumns: [ {name: 'custom', cellView: pageflow.TextTableCellView} ] }); var view = new pageflow.Upl...
tf/pageflow-dependabot-test
spec/javascripts/views/uploadable_files_view_spec.js
JavaScript
mit
617
module.exports = FSStorage var fs = require('fs') var inherits = require('inherits') var mkdirp = require('mkdirp') var os = require('os') var path = require('path') var raf = require('random-access-file') var rimraf = require('rimraf') var Storage = require('./storage') var thunky = require('thunky') var TMP = path....
fisch0920/webtorrent
lib/fs-storage.js
JavaScript
mit
5,438
/*hammerhead|script|start*/ var __swScopeHeaderValue = "/"; if (typeof window !== 'undefined' && window) { window['hammerhead|process-dom-method'] && window['hammerhead|process-dom-method'](); if (window.__get$ && typeof __get$ === 'undefined') var __get$Loc = window.__get$Loc, __set$Loc = window.__set$Loc, ...
miherlosev/testcafe-hammerhead
test/client/data/service-worker/fetch-event.js
JavaScript
mit
2,449
define({ "unit": "Mērvienības", "style": "Stils", "dual": "dubulta", "english": "angļu", "metric": "metriska", "ruler": "lineāls", "line": "līnija", "number": "skaitlis", "spinnerLabel": "Noapaļot mēroga skaitli līdz: ", "decimalPlace": "decimālvieta", "separator": "Rādīt tūkstošdaļu atdalītājus" ...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/Scalebar/setting/nls/lv/strings.js
JavaScript
mit
339
import _concat from './internal/_concat.js'; import _curry2 from './internal/_curry2.js'; import _reduce from './internal/_reduce.js'; import map from './map.js'; /** * ap applies a list of functions to a list of values. * * Dispatches to the `ap` method of the second argument, if present. Also * treats curried f...
CrossEye/ramda
source/ap.js
JavaScript
mit
1,455
module.exports={A:{A:{"2":"H D G E A B mB"},B:{"1":"q","2":"C K f L N I J"},C:{"1":"0 1 2 3 4 5 6 8 e AB g h i j k l m n o p M r s t u v w x y z EB MB DB BB FB HB IB JB KB LB","2":"jB NB F O H D G E A B C K f L N I J P Q R S T dB cB","132":"U V W X Y Z a b c d"},D:{"1":"5 6 8 DB BB FB HB IB JB KB LB bB WB q SB QB rB TB...
jeffmcfadden/PiThermostat
node_modules/caniuse-lite/data/features/font-variant-east-asian.js
JavaScript
mit
978
(function(window, document){ 'use strict'; var _instance, config; var sense = { get: function() { return _instance; }, init: function(options){ return _instance || new Sense(options) } }; /** * Constructor */ function Sense(options){ _instance = this; confi...
jyotishkabiswas/four
public/scripts/vendor/sense.js
JavaScript
mit
10,256
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var log = require('../core/log'); var error = require('../core/error'); var ChatUserSchema = new mongoose.Schema({ openid: { type: String, require: true }, regTime: { type: Date, require: true }, info: { /*you can add anything by yourself*...
szwork2013/wechat-ship
server/dao/ChatUserDao.js
JavaScript
mit
832
import React from 'react'; import warning from 'react/lib/warning'; const ANONYMOUS = '<<anonymous>>'; const CustomPropTypes = { deprecated(propType, explanation){ return function(props, propName, componentName){ if (props[propName] != null) { warning(false, `"${propName}" property of "${componen...
kwnccc/react-bootstrap
src/utils/CustomPropTypes.js
JavaScript
mit
5,571
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { //...
AlexandrBasan/store_cms_site
public/assets/application-bb572477d4ea2f5a6a75e2f0da899704.js
JavaScript
mit
575,437
var gulp = require("gulp"); var babel = require("gulp-babel"); gulp.task("default", function () { return gulp.src("js/*.js") .pipe(babel()) .pipe(gulp.dest("dist")); }); gulp.task('watch', ['default'], function () { gulp.watch("js/*.js", ['default']); });
pflorian91/js
es-6/modularity/new-oop-features/gulpfile.js
JavaScript
mit
274
/* ---------------------------------- * MODAL v2.0.0 * Licensed under The MIT License * http://opensource.org/licenses/MIT * ---------------------------------- */ !function () { var findModals = function (target) { var i, modals = document.querySelectorAll('a'); for (; target && target !== document; targ...
vladikoff/ratchet
js/modals.js
JavaScript
mit
927
const DrawCard = require('../../drawcard.js'); class TommenBaratheon extends DrawCard { setupCardAbilities(ability) { this.persistentEffect({ targetController: 'any', match: player => player.hand.length === 0, effect: ability.effects.cannotGainChallengeBonus() })...
DukeTax/throneteki
server/game/cards/05-LoCR/TommenBaratheon.js
JavaScript
mit
398
var navigationEl = document.querySelector('.navigation'); var demosEl = document.querySelector('.demos'); var articleEls = document.querySelectorAll('article'); var jsOutputEl = document.querySelector('.js-output'); var htmlOutputEl = document.querySelector('.html-output'); var ulHeight = 20; var demos = []; function ...
NicholasPersa/NicholasPersa.github.io
webprotocol/js/anime-master/documentation/assets/js/scripts.js
JavaScript
mit
7,042
import fetchJsonp from 'fetch-jsonp' import { API_URL_STOPS, checkStatus } from './../common' export const FETCH_STOPS = 'FETCH_STOPS' export const FETCH_STOPS_REQUEST = 'FETCH_STOPS_REQUEST' export const FETCH_STOPS_SUCCESS = 'FETCH_STOPS_SUCCESS' export const FETCH_STOPS_FAILURE = 'FETCH_STOPS_FAILURE' export funct...
mark4carter/react-hrtbus
src/redux/modules/stops/stop-actions.js
JavaScript
mit
976
(function () { 'use strict'; angular.module(appName) .controller('skillsController', [ 'skillsModel', function (skillsModel) { var lineCount = 25; var self = this; self.skills = function() { return skillsModel.skills.toArray().concat(new Array(lineCount - skillsModel.cou...
Fixeg/DnD-5e-Character-Sheet-Generator
scripts/app/controllers/skillsController.js
JavaScript
mit
362
angular.module('docsApp').constant('DEMOS', [ { "name": "autocomplete", "moduleName": "material.components.autocomplete", "label": "Autocomplete", "demos": [ { "ngModule": { "name": "autocompleteDemo", "module": "autocompleteDemo", "dependencies": [ ...
angular/code.material.angularjs.org
1.1.26/js/demo-data.js
JavaScript
mit
107,559
//= require <widgets/boxes/button-box> Ergo.defineClass('Ergo.widgets.DropdownButton', 'Ergo.widgets.ButtonBox', { defaults: { // baseCls: 'dropdown-button', include: 'dropdown', components: { content: { etype: 'button', cls: 'dropdown-toggle', components: { caret: { etype: 'icon', ...
eliace/ergojs-site
lib/ergo-js/js/widgets/buttons/dropdown-button.js
JavaScript
mit
947
var hammerhead = window.getTestCafeModule('hammerhead'); var browserUtils = hammerhead.utils.browser; var iframeSandbox = hammerhead.sandbox.iframe; var testCafeCore = window.getTestCafeModule('testCafeCore'); var domUtils = testCafeCore.get('./utils/dom'); var textSelection = testCafeCore.get('./utils/text-...
churkin/testcafe
test/client/legacy-fixtures/api/press-test.js
JavaScript
mit
10,920
/** * i18n.js * * This will setup the i18n language files and locale data for your plugin. * */ import { addLocaleData, defineMessages } from 'react-intl'; import enTranslationMessages from './translations/en.json'; import frTranslationMessages from './translations/fr.json'; import enLocaleData from 'react-intl...
skelpook/strapi
packages/strapi-admin/files/public/app/i18n.js
JavaScript
mit
706
/*jshint quotmark: false*/ 'use strict'; var Promise = require('../../lib/ext/promise'); var assertFile = require('../helpers/assert-file'); var assertFileEquals = require('../helpers/assert-file-equals'); var conf = require('../helpers/conf'); var ember = require('../helpers/emb...
slindberg/ember-cli
tests/acceptance/pods-generate-test.js
JavaScript
mit
48,081
/* * grunt-modernizr * https://github.com/doctyper/grunt-modernizr * * Copyright (c) 2012 Richard Herrera * Licensed under the MIT license. */ module.exports = function (grunt) { // ========================================================================== // DEFAULT CONFIG // ===============================...
Chabrall/pizza
node_modules/grunt-modernizr/tasks/modernizr.js
JavaScript
mit
3,829
"use strict"; class JsonSerializer { constructor(_writer, _indentDelta = 2) { this._writer = _writer; this._indentDelta = _indentDelta; this._state = []; } _willOutputValue() { if (this._state.length > 0) { const top = this._top(); const wasEmpty = top...
Quokkalinchen/The-Code-Hustlers
node_modules/@ngtools/json-schema/src/serializers/json.js
JavaScript
mit
3,524
export * as ns from "mod";
prettier/prettier
tests/format/js/export-star/export-star-as.js
JavaScript
mit
28
const { app, ipcMain } = require('electron'); app.whenReady().then(() => { process.stdout.write(JSON.stringify(ipcMain.eventNames())); process.stdout.end(); app.quit(); });
seanchas116/electron
spec-main/fixtures/api/ipc-main-listeners/main.js
JavaScript
mit
181
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { useThemeVariants } from '@material-ui/styles'; import withStyles fro...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.14/legacy/Fab/Fab.js
JavaScript
mit
7,882
define("gridx/nls/pt-br/QuickFilter", { filterLabel: 'Filtrar', clearButtonTitle: 'Limpar Filtro', buildFilterMenuLabel: 'Construir Filtro&hellip;', apply: 'Aplicar Filtro' });
gres147679/ResearchPro
lib/dojo/gridx/nls/pt-br/QuickFilter.js.uncompressed.js
JavaScript
gpl-2.0
187
/* * * Copyright (c) Microsoft. * * This code is licensed under the Apache License, Version 2.0. * THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY * IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR * PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
SuriyaaKudoIsc/wikia-app-test
extensions/WikiBhasha/src/lang/en/strings.js
JavaScript
gpl-2.0
8,943
$(window).load(function(){FusionCharts.ready(function () { var cnstrctnPlan = new FusionCharts({ type: 'gantt', renderAt: 'chart-container', width: '750', height: '500', dataFormat: 'json', dataSource: { "chart": { "dateformat": "mm/dd/yyyy...
sguha-work/fiddletest
fiddles/Gauge/Hover-Effects/Customizing-process-hover-effects-in-Gantt-chart_336/demo.js
JavaScript
gpl-2.0
7,629
function instant_articles_force_submit ( post_ID ) { var data = { 'action': 'instant_articles_force_submit', 'post_ID': post_ID, 'force': jQuery( '#instant_articles_force_submit' ).is( ':checked' ), 'security': jQuery( '#instant_articles_force_submit' ).attr( 'data-security' ) }; jQuery.post( ajaxurl, data, ...
bigdecisions/facebook-instant-articles-wp
js/instant-articles-meta-box.js
JavaScript
gpl-2.0
1,052
(function ($) { $(document).ready(function($){ var breakingnews = $('.view-id-aktuelt.view-display-id-panel_pane_6'); breakingnews.marquee('view-id-aktuelt view-display-id-panel_pane_6').mouseover(function () { $(this).trigger('stop'); }).mouseout(function () { $(th...
ishoj/ishoj.dk
public_html/profiles/os2web/modules/os2web_breaking_news/js/jquery.marquee.js
JavaScript
gpl-2.0
7,413
(function() { 'use strict'; window.jQuery = require('jquery'); window.$ = window.jQuery; require('bootstrap'); require('highcharts'); require('SiriWaveJS'); window.Hammer = require('hammerjs'); window.svgPanZoom = require('svg-pan-zoom'); loadScript("siriwave.js", myPrettyCode); ...
helenmvas/wiserair
wp-content/themes/_tk-master/includes/js/main.js
JavaScript
gpl-2.0
8,207
http://jsfiddle.net/fusioncharts/dwu9w555/
sguha-work/fiddletest
backup/fiddles/Chart/Tool_Tips/100%_stacked_column_chart_with_customized_tool_tips/url.js
JavaScript
gpl-2.0
42
/** * $Id: editor_plugin_src.js 166 2007-01-05 10:31:50Z spocke $ * * @author Moxiecode * @copyright Copyright 2004-2007, Moxiecode Systems AB, All rights reserved. */ tinyMCE.importPluginLanguagePack('dd'); var TinyMCE_dd_Plugin = { getInfo : function() { return { longname : 'd:d', auth...
bBlaze01/teapot
administrator/js/tiny_mce/plugins/dd/editor_plugin.js
JavaScript
gpl-3.0
2,781
// This file is generated S_bkc_0 = [ [ 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834, 2835, 2837, 2838, 2839, 2840, 2841, 2842, 2843, 2844, 2845, 2846, 2847, 2848, 2849, 2850, 2851, 2852 ], [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, ...
belissent/GrampsDynamicWebReport
reports/report_002/dwr_db_S_bkc_0.js
JavaScript
gpl-3.0
16,109
import Reflux from 'reflux'; import superagent from 'superagent'; import PushAction from '../action/push'; import firekylin from 'common/util/firekylin'; export default Reflux.createStore({ listenables: PushAction, /** * select user data * @param {[type]} id [description] * @return {[type]} [descript...
Genffy/Blog.Genffy
www/static/src/admin/store/push.js
JavaScript
gpl-3.0
1,204
// Copyright 2013 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
HtmlUnit/htmlunit-rhino-fork
testsrc/jstests/es6/symbols.js
JavaScript
mpl-2.0
17,333
/* * Copyright (c) 2014 ThoughtWorks, Inc. * * Pixelated is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Pixelated i...
sw00/pixelated-user-agent
web-ui/app/js/page/events.js
JavaScript
agpl-3.0
6,345
var base_embed_url = 'https://actionnetwork.org/widgets/v2/form/stop-rex-tillerson-2?format=js&source=widget&style=full' query_string = new URLSearchParams(window.location.search); var ref = query_string.get('referrer'); var full_embed_url = base_embed_url + '&referrer='+ref; $.getScript(full_embed_url) .done(function...
advocacycommons/advocacycommons
public/plus/call/tillerson-dems/app/ref_passthrough.js
JavaScript
agpl-3.0
406
/** @jsx React.DOM */ /* * Copyright (C) 2014 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * ...
venturehive/canvas-lms
client_apps/canvas_quizzes/apps/events/js/views/question_listing.js
JavaScript
agpl-3.0
2,301
import { configure } from 'enzyme' import Adapter from 'enzyme-adapter-react-16'; configure({ adapter: new Adapter() });
rroart/aether
webr/__tests__/setup/jestTestSetup.js
JavaScript
agpl-3.0
122
export default function setJsSpecValidator(func, validator) { Object.defineProperty(func, 'js-spec:validate', { value: validator }) }
mcjazzyfunky/js-surface
boxroom/archive/js-surface_preact_2018-11-10/src/main/js-surface.util/internal/setJsSpecValidator.js
JavaScript
lgpl-3.0
142
/* Rise of the replicators server * Following code is made to run in browser, web worker or node.js. */ define( [ 'lodash', './static_data', './errors', './options', './config', './state', './state-manipulation', './event-emitter', './fsm', './api/index', './actions/index', ], function(_, Data, Errors, Opti...
Offirmo/online-adventur.es
tosort/ror/lib/core/server.js
JavaScript
unlicense
2,541
var gulp = require('gulp'); var mocha = require('gulp-mocha'); var babel = require('gulp-babel'); gulp.task('test', function () { return gulp.src('./tests/**/*.js') .pipe(babel()) .pipe(mocha({ timeout: 20000 })); }); gulp.task('build', function (callback) { return gulp.src('./src/**/*.js') ...
seeden/livia
gulpfile.js
JavaScript
apache-2.0
441
//>>built define( "dojox/editor/plugins/nls/zh-tw/Breadcrumb", //begin v1.x content ({ "nodeActions": "${nodeName} 動作", "selectContents": "選取內容", "selectElement": "選取元素", "deleteElement": "刪除元素", "deleteContents": "刪除內容", "moveStart": "將游標移到開頭", "moveEnd": "將游標移到末尾" }) //end v1.x content );
cfxram/grails-dojo
web-app/js/dojo/1.7.2/dojox/editor/plugins/nls/zh-tw/Breadcrumb.js
JavaScript
apache-2.0
364
var GreetingMessage = React.createClass({ getInitialState: function() { return {greeting: 'Hello'}; }, goodbye: function() { this.setState({greeting: 'Goodbye'}); }, render: function() { return React.DOM.div({}, React.DOM.div({}, this.state.greeting, ' ', this.props.name), React.DOM.bu...
reacuna/react-rails
test/dummy/app/assets/javascripts/pages.js
JavaScript
apache-2.0
376
/* * 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")...
kidaa/isis
core/viewer-wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/jquery.isis.wicket.viewer.js
JavaScript
apache-2.0
5,324
"use strict"; const conversions = require("webidl-conversions"); const focusing = require("../helpers/focusing"); const DOMStringMap = require("../generated/DOMStringMap"); class HTMLAndSVGElementSharedImpl { _initHTMLAndSVGElement() { this._tabIndex = 0; this._dataset = DOMStringMap.createImpl([], { elemen...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/jest-environment-jsdom-fourteen/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAndSVGElementShared-impl.js
JavaScript
apache-2.0
1,673
'use strict'; timing_test(function() { var polyfillRect1 = document.getElementById('polyfillRect1'); var polyfillRect2 = document.getElementById('polyfillRect2'); var polyfillRect3 = document.getElementById('polyfillRect3'); var nativeRect1 = document.getElementById('nativeRect1'); var nativeRect2 = document...
ericwilligers/svg-animation
test/testcases/additive-check.js
JavaScript
apache-2.0
5,121
"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 FS = require("fs"); var Path = require("path...
jzthree/GraphBoard
node_modules/typedoc/dist/lib/output/themes/MinimalTheme.js
JavaScript
apache-2.0
2,415
'use strict'; define(['angular', 'require'], function(angular, require){ var app = angular.module('portal.notifications.directives', []); app.directive('notifications', function(){ return { restrict : 'E', templateUrl : require.toUrl('./partials/notifications.html') } ...
timlevett/uw-frame
src/main/webapp/portal/notifications/directives.js
JavaScript
apache-2.0
542
var id = "dq"; // Replace with reporting mechanism function hook(id, result, message){}; if (document.title === "PASS") hook(id, "pass"); else if (document.title === "FAIL") hook(id, "fail", "Test "+id+" failed");
hansmy/Webinos-Platform
webinos/web_root/tests/widget_tests/test-cases/ta-ZjcdAxFMSx/000/hook.js
JavaScript
apache-2.0
220
/* * Copyright 2014 Rackspace * * 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...
ebensing/dreadnot
lib/util/graphite.js
JavaScript
apache-2.0
3,030
/** * @license Copyright 2020 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...
umaar/lighthouse
lighthouse-core/test/audits/dobetterweb/charset-test.js
JavaScript
apache-2.0
8,268
/** * Copyright 2013-2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
JedWatson/react
vendor/browser-transforms.js
JavaScript
apache-2.0
9,266
// 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...
kou/arrow
js/gulp/util.js
JavaScript
apache-2.0
6,814
(function() { 'use strict'; angular .module('web') .factory('githubContributor', githubContributor); /** @ngInject */ function githubContributor($log, $http) { var apiHost = 'https://api.github.com/repos/Swiip/generator-gulp-angular'; var service = { apiHost: apiHost, getContribut...
indraneelr/progbook
web/src/app/components/githubContributor/githubContributor.service.js
JavaScript
apache-2.0
856
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.4.4.17-7-c-iii-28 description: Array.prototype.some - true prevents further side effects ---*/ var result = false; function callbackfn(val, idx, obj) {...
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/some/15.4.4.17-7-c-iii-28.js
JavaScript
apache-2.0
1,125
//// [checkForObjectTooStrict.ts] module Foo { export class Object { } } class Bar extends Foo.Object { // should work constructor () { super(); } } class Baz extends Object { constructor () { // ERROR, as expected super(); } } //// [checkForObjectTooStrict....
thr0w/Thr0wScript
tests/baselines/reference/checkForObjectTooStrict.js
JavaScript
apache-2.0
1,105
// 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. var Event = require('event_bindings').Event; var sendRequest = require('sendRequest').sendRequest; var validate = require('schemaUtils').validate; fu...
hujiajie/pa-chromium
chrome/renderer/resources/extensions/chrome_setting.js
JavaScript
bsd-3-clause
1,641
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
dist/matrix/Matrix.js
JavaScript
bsd-3-clause
6,898
angular.module("acsshowcase.service", ["ngResource"]). factory('Book', function ($resource) { var bt = $resource('api/books/:bookId', {bookId: '@id'}, {update: {method: 'PUT'}}); bt.prototype.isNew = function(){ return (typeof(this.id) === 'undefined'); }; ret...
tlin-fei/ds4p
DS4P/acs-showcase/web/src/main/webapp/js/app-service.js
JavaScript
bsd-3-clause
336
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ var EXPORTED_SYMBOLS = ["init", "map"]; const Cc = Components.classes; const Ci = Components.interfaces; const Cu...
GaloisInc/hacrypto
src/Javascript/Mozilla/old_snapshots/sync/tps/extensions/mozmill/resource/modules/windows.js
JavaScript
bsd-3-clause
9,878
var _curry1 = /*#__PURE__*/ require("./internal/_curry1"); /** * Takes a function `fn`, which takes a single array argument, and returns a * function which: * * - takes any number of positional arguments; * - passes these arguments to `fn` as an array; and * - returns the result. * * In other words, `R.un...
ChromeDevTools/devtools-frontend
node_modules/ramda/src/unapply.js
JavaScript
bsd-3-clause
906
// Copyright 2015 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. /** * @fileoverview * `cr-toggle-button` provides a switch the user can toggle on or off by * tapping or by dragging. Wraps a `paper-toggle-button`. *...
guorendong/iridium-browser-ubuntu
ui/webui/resources/cr_elements/v0_8/cr_toggle_button/cr_toggle_button.js
JavaScript
bsd-3-clause
906
'use strict'; /** * The Itsa Dialogbox module. * * * Dialogbox with sugar messages * * @module gallery-itsadialogbox * @class ITSADialogbox * @extends Panel * @constructor * * <i>Copyright (c) 2012 Marco Asbreuk - http://theinternetwizard.net</i> * YUI BSD License - http://developer.yahoo.com/yui/license.h...
inikoo/fact
libs/yui/yui3-gallery/src/gallery-itsadialogbox/js/gallery-itsadialogbox.js
JavaScript
mit
69,998
'use strict'; angular.module('copayApp.services').factory('feeService', function($log, $stateParams, bwcService, walletService, configService, gettext, lodash, txFormatService, gettextCatalog) { var root = {}; // Constant fee options to translate root.feeOpts = { priority: gettext('Priority'), normal: g...
Kirvx/copay
src/js/services/feeService.js
JavaScript
mit
2,138
(function() { 'use strict'; angular .module('app') .controller('dashboardController', dashboardController); function dashboardController ($scope, show) { var vm = this; vm.test = "is this working" vm.itemArray = []; //event handler function for every change ...
teambugatti/TIKA-Show-Tracker
public/controllers/dashboardController.js
JavaScript
mit
3,147
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Create advanced table (resize, reorder, and show/hide columns; and also grid editing). * This function is designed mainly for table DOM generated from browsing a table in the database. * For using this function in other table DOM, you may need to: * - add "draggable" ...
ameet007/popin
phpmyadmin/js/makegrid.js
JavaScript
mit
97,410
import { value } from "./shared-c"; it("should have to correct value", () => { expect(value).toBe(42); });
webpack/webpack
test/configCases/graph/issue-11856/a.js
JavaScript
mit
109
const webpack = require("webpack"); const packageJson = require("./package.json"); const path = require("path"); const isProduction = process.env.NODE_ENV === "production"; const settings = require("../../../../settings.local.json"); module.exports = { entry: "./app/main.jsx", optimization: { minimize:...
mitchelsellers/Dnn.Platform
DNN Platform/Modules/ResourceManager/ResourceManager.Web/webpack.config.js
JavaScript
mit
3,913
import {stringifyFactory} from './model.stringify'; describe('model stringify', () => { let stringify; describe('filter', () => { const model = { by: { lastName: { items: ['Smith', 'Doe'] }, gender: { items: ['male'] } } }; const empty = {by: {}}; beforeEach(() => { stri...
azkurban/ng2
projects/qgrid-core/services/model.stringify.spec.js
JavaScript
mit
1,923
(function(){ function getDeviceObjectForPreview() { var raw_values = window.location.search.substring(1).split('&'); var values = {}; var device = { platform: "" }; if (raw_values) { for (var key in raw_values) { var tmp = raw_values[key].split('='); values[tmp[0]] = de...
monaca-templates/helloworld
www/components/monaca-cordova-loader/cordova-loader.js
JavaScript
mit
1,712
/** * Angular app environment settings */ 'use strict'; module.exports = { // root application name; all ng-modules for this app will be put underneath this namespace appName: 'MyApp', // set base template/partials dir baseTemplateDir: '/src/app/partials/', // helper function to get full template path ...
CatTail/gulp-recipes
browserify-separating-app-and-vendor-bundles/public/src/app/env.js
JavaScript
mit
405
/*! * jQuery JavaScript Library v2.0.0 -wrap,-event-alias,-effects,-offset * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-04-20 */ (function...
michael829/jquery-builder
dist/2.0.0/jquery-effects-event-alias-offset-wrap.js
JavaScript
mit
214,159
import html from 'ui/partials/info.html'; import uiModules from 'ui/modules'; uiModules .get('kibana') .directive('kbnInfo', function () { return { restrict: 'E', scope: { info: '@', placement: '@' }, template: html, link: function ($scope) { $scope.placeme...
istresearch/PulseTheme
kibana/src/ui/public/directives/info.js
JavaScript
mit
373
/* global angular */ (function() { 'use strict'; angular .module('angularScreenfull') .directive('ngsfToggleFullscreen', ngsfToggleFullscreenDirective); /** * @ngdoc directive * @name angularScreenfull.directive:ngsfToggleFullscreen * @restrict A * * @description ...
hrajchert/angular-screenfull
src/directive/toggle-fullscreen.js
JavaScript
mit
815
/*! * jQuery JavaScript Library v1.9.1 -offset,-dimensions,-deprecated * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-3-15 */ (function( win...
eric-seekas/jquery-builder
dist/1.9.1/jquery-deprecated-dimensions-offset.js
JavaScript
mit
261,850
var el, hammer; module('Simultaenous recognition', { setup: function() { el = utils.createHitArea() }, teardown: function() { hammer && hammer.destroy(); } }); asyncTest('should pinch and pan simultaneously be recognized when enabled', function() { expect(4); var panCount ...
loki315zx/hammer.js
tests/unit/test_simultaneous_recognition.js
JavaScript
mit
6,953
/* * Copyright (c) 2014 Adobe Systems Incorporated. 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 * the rights...
lxfschr/spaces-design
src/nls/root/menu.js
JavaScript
mit
1,309
'use strict'; var GetIntrinsic = require('get-intrinsic'); var test = require('tape'); var forEach = require('foreach'); var debug = require('object-inspect'); var generatorFns = require('make-generator-function')(); var asyncFns = require('make-async-function').list(); var asyncGenFns = require('make-async-generator...
matryer/bitbar
xbarapp.com/node_modules/es-abstract/test/GetIntrinsic.js
JavaScript
mit
7,312
const reducer = require(`../component-data-dependencies`) describe(`add page data dependency`, () => { it(`lets you add a node dependency`, () => { const action = { type: `CREATE_COMPONENT_DEPENDENCY`, payload: { path: `/hi/`, nodeId: `123`, }, } expect(reducer(undefine...
danielfarrell/gatsby
packages/gatsby/src/redux/reducers/__tests__/page-data-dependencies.js
JavaScript
mit
3,909
'use strict'; // Tests below are not from WPT. require('../common'); const assert = require('assert'); const URLSearchParams = require('url').URLSearchParams; { const params = new URLSearchParams(); assert.throws(() => { params.get.call(undefined); }, { code: 'ERR_INVALID_THIS', name: 'TypeError', ...
enclose-io/compiler
lts/test/parallel/test-whatwg-url-custom-searchparams-get.js
JavaScript
mit
868
'use strict'; describe('parser', function() { beforeEach(function() { /* global getterFnCache: true */ // clear cache getterFnCache = {}; }); describe('lexer', function() { var lex; beforeEach(function () { /* global Lexer: false */ lex = function () { var lexer = new ...
shouldormust/angular.js
test/ng/parseSpec.js
JavaScript
mit
50,280
(function(angular) { 'use strict'; angular .module('camera', []); })(angular);
louisgv/eat
www/lib/ng-camera/app/angular/app.js
JavaScript
mit
97
require('../index'); var mqtt = require('mqtt'); describe('Tunnel', function() { describe('MQTTS', function() { it('should sucesssfully tunnel MQTT requests to AIO', function(done) { var client = mqtt.connect('mqtt://localhost:3001'); client.on('connect', done); client.on('error', done); ...
zsh2938/adafruit-io-node
tunnel/test/mqtt.js
JavaScript
mit
341
module.exports = function( grunt ) { "use strict"; function readOptionalJSON( filepath ) { var data = {}; try { data = grunt.file.readJSON( filepath ); } catch ( e ) {} return data; } var gzip = require( "gzip-js" ), srcHintOptions = readOptionalJSON( "src/.jshintrc" ); // The concatenated file won...
ar582/PSDsite
userreg/jquery/Gruntfile.js
JavaScript
mit
3,586
define({ root: //begin v1.x content { "dateTimeFormats-appendItem-Year": "{1} {0}", "field-tue-relative+-1": "last Tuesday", "field-year": "Year", "days-format-narrow@localeAlias39": { "bundle": "gregorian", "target": "days-standAlone-narrow" }, "dateFormatItem-Hm": "HH:mm", "field-wed-relative+0": "this We...
inodient/summer-mvc
node_modules/dojo/cldr/nls/chinese.js
JavaScript
mit
8,866
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ /* eslint-env node */ 'use strict'; var logging = require('../utils.js').log; var browserDetails...
MoWeg/webRTC-firstTry
src/main/webapp/bower_components/webrtc-adapter/src/js/chrome/getusermedia.js
JavaScript
mit
7,465
IntlMessageFormat.__addLocaleData({"locale":"kln"});
sufuf3/cdnjs
ajax/libs/intl-messageformat/3.0.0/locale-data/kln.js
JavaScript
mit
53
/*! * tui-editor * @version 1.3.2 * @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> (https://nhnent.github.io/tui.editor/) * @license MIT */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("...
cdnjs/cdnjs
ajax/libs/tui-editor/1.3.2/tui-editor-extScrollSync.js
JavaScript
mit
39,608
/* * * Networkgraph series * * (c) 2010-2019 Paweł Fus * * License: www.highcharts.com/license */ /** * Formatter callback function. * * @callback Highcharts.SeriesNetworkDataLabelsFormatterCallbackFunction * * @param {Highcharts.SeriesNetworkDataLabelsFormatterContextObject|Highcharts.DataLabelsFormatterCo...
extend1994/cdnjs
ajax/libs/highcharts/7.1.2/es-modules/modules/networkgraph/networkgraph.src.js
JavaScript
mit
42,286
/** * Application Startup * ReactionCore Server Configuration */ /** * configure bunyan logging module for reaction server * See: https://github.com/trentm/node-bunyan#levels */ var formatOut, isDebug, levels, _ref, _ref1; isDebug = Meteor.settings.isDebug || process.env.REACTION_DEBUG || "INFO"; levels = ["FATAL...
luckyyang/reaction-core
server/main.js
JavaScript
gpl-3.0
4,402
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any lat...
nipunn1313/parity
js/src/modals/AddDapps/index.js
JavaScript
gpl-3.0
745