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 |
|---|---|---|---|---|---|
//// [parserMemberAccessorDeclaration6.ts]
class C {
set 0(i) { }
}
//// [parserMemberAccessorDeclaration6.js]
var C = /** @class */ (function () {
function C() {
}
Object.defineProperty(C.prototype, 0, {
set: function (i) { },
enumerable: true,
configurable: true
}... | basarat/TypeScript | tests/baselines/reference/parserMemberAccessorDeclaration6.js | JavaScript | apache-2.0 | 346 |
//// [inheritance1.ts]
class Control {
private state: any;
}
interface SelectableControl extends Control {
select(): void;
}
class Button extends Control implements SelectableControl {
select() { }
}
class TextBox extends Control {
select() { }
}
class ImageBase extends Control implements SelectableCo... | ivogabe/TypeScript | tests/baselines/reference/inheritance1.js | JavaScript | apache-2.0 | 2,552 |
/**
* Copyright 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
* Please see distribution for license.
*/
(function () {
if (!window.Four) window.Four = {};
/**
* Keeps a tally of meshes that need to support raycasting
*/
window.Four.InteractiveMeshes = function () {
... | McLeodMoores/starling | projects/web/web-engine/prototype/scripts/lib/four/four.interactivemeshes.js | JavaScript | apache-2.0 | 660 |
/**
* 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... | bspaulding/react | src/renderers/dom/shared/utils/ReactControlledValuePropTypes.js | JavaScript | bsd-3-clause | 2,719 |
// Copyright 2013 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.
onload = async function() {
let getURL = chrome.extension.getURL;
let tab = await promise(chrome.tabs.create, {"url": "about:blank"});
let config = ... | ric2b/Vivaldi-browser | chromium/chrome/test/data/extensions/api_test/webnavigation/crossProcessFragment/test_crossProcessFragment.js | JavaScript | bsd-3-clause | 7,120 |
// 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.
'use strict';
var systemTokenEnabled = (location.search.indexOf("systemTokenEnabled") != -1);
var selectedTestSuite = location.hash.slice(1);
console.log... | ric2b/Vivaldi-browser | chromium/chrome/test/data/extensions/api_test/platform_keys/basic.js | JavaScript | bsd-3-clause | 27,005 |
/*
* 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.
*/
'... | balajikris/autorest | src/generator/AutoRest.NodeJS.Azure.Tests/Expected/AcceptanceTests/Lro/operations/lRORetrys.js | JavaScript | mit | 54,878 |
/**
* @author MPanknin / http://www.redplant.de/
* @author alteredq / http://alteredqualia.com/
*/
THREE.AreaLight = function ( color, intensity ) {
THREE.Light.call( this, color );
this.type = 'AreaLight';
this.normal = new THREE.Vector3( 0, - 1, 0 );
this.right = new THREE.Vector3( 1, 0, 0 );
this.intens... | digital360/three.js | src/lights/AreaLight.js | JavaScript | mit | 584 |
/*!
* ui-grid - v4.4.0 - 2018-03-15
* Copyright (c) 2018 ; License: MIT
*/
(function () {
'use strict';
/**
* @ngdoc overview
* @name ui.grid.treeBase
* @description
*
* # ui.grid.treeBase
*
* <div class="alert alert-warning" role="alert"><strong>Beta</strong> This feature is ready for te... | sashberd/cdnjs | ajax/libs/angular-ui-grid/4.4.0/ui-grid.tree-base.js | JavaScript | mit | 65,939 |
'use strict';
const chalk = require('chalk');
module.exports = function(message, test) {
if (test) {
console.log(chalk.yellow(`DEPRECATION: ${message}`));
}
};
module.exports.deprecateUI = function(ui) {
return function(message, test) {
ui.writeDeprecateLine('The deprecateUI utility has been deprecated... | gabz75/ember-cli-deploy-redis-publish | node_modules/ember-cli/lib/utilities/deprecate.js | JavaScript | mit | 428 |
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children", "align", "controlSize", "mode", "stretched", "before", "className", "style", "getRef", "getRootRef", "onClick"];
import { createScopedElement } from ... | cdnjs/cdnjs | ajax/libs/vkui/4.23.0/cssm/components/File/File.js | JavaScript | mit | 1,794 |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/localization/ja/FontWarnings.js
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Licensed under the Apache License, Versi... | shayzluf/lazoozweb | wiki/extensions/Math/modules/MathJax/unpacked/localization/ja/FontWarnings.js | JavaScript | gpl-2.0 | 4,998 |
/**
* $RCSfile: editor_plugin_src.js,v $
* $Revision: 1.34 $
* $Date: 2006/02/10 16:29:39 $
*
* @author Moxiecode
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
*/
/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('flash', 'en,tr,de,sv,zh_cn,cs... | tectronics/fcc | tiny_mce/plugins/flash/editor_plugin_src.js | JavaScript | gpl-2.0 | 9,872 |
CKEDITOR.plugins.setLang( 'plugin4', 'en', {
test4: 'Testing'
} );
| SeeyaSia/www | web/libraries/ckeditor/tests/tickets/10913/_assets/plugin4/lang/en.js | JavaScript | gpl-2.0 | 68 |
/* Copyright (c) Business Objects 2006. All rights reserved. */
var L_bobj_crv_MainReport = "Main Report";
// Viewer Toolbar tooltips
var L_bobj_crv_FirstPage = "Go to First Page";
var L_bobj_crv_PrevPage = "Go to Previous Page";
var L_bobj_crv_NextPage = "Go to Next Page";
var L_bobj_crv_LastPage = "Go to Last Page";... | johndavedecano/tanghalangpasigenyo | aspnet_client/system_web/4_0_30319/crystalreportviewers13/allStrings_en.js | JavaScript | gpl-3.0 | 13,897 |
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
//-----------------------------------------------------------------------------
var BUGNUMBER = 690031;
var summary =
'Exclude __proto__ from showing up when enumerating properties of ' +
'Object.prototy... | kostaspl/SpiderMonkey38 | js/src/tests/ecma_5/extensions/getOwnPropertyNames-__proto__.js | JavaScript | mpl-2.0 | 824 |
/* *
*
* (c) 2009-2020 Øystein Moseng
*
* Accessibility component for chart container.
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../../../parts/Globals.js';
var doc = H.win.document;
import U fro... | burki/jewish-history-online | web/vendor/highcharts/es-modules/modules/accessibility/components/ContainerComponent.js | JavaScript | agpl-3.0 | 3,942 |
'use strict';
// Declare app level module which depends on filters, and services
angular.module('myApp', [
'ngRoute',
'myApp.filters',
'myApp.services',
'myApp.directives',
'myApp.controllers',
'UserApp'
]).
config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/login', {templateUrl: 'parti... | m-alcu/my-notes-pouch-db | www/lib/userapp-angular/example/js/app.js | JavaScript | apache-2.0 | 1,220 |
/*
* Copyright 2013-2015 the original author or authors
* @license MIT, see LICENSE.txt for details
*
* @author Scott Andrews
*/
(function (define) {
'use strict';
define(function (require) {
var pathPrefix, template, find, lazyPromise, responsePromise, when;
pathPrefix = require('../../../interceptor/pa... | bpatters/eservice | ui/node_modules/rest/mime/type/application/hal.js | JavaScript | apache-2.0 | 4,480 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... | hippich/typescript | tests/Fidelity/test262/suite/ch08/8.12/8.12.1/8.12.1-1_33.js | JavaScript | apache-2.0 | 735 |
/**
* Copyright (c) 2015, 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.
*/
import { desc... | lencioni/graphql-relay-js | src/node/__tests__/nodeasync.js | JavaScript | bsd-3-clause | 1,843 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'bg', {
copy: 'Копирай',
copyError: 'Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За ... | chronokz/Betty | www/modules/admin/js/plugins/!ckeditor/plugins/clipboard/lang/bg.js | JavaScript | isc | 1,318 |
var BrowserBuffer = require('../').Buffer // (this module)
var util = require('./util')
var suite = util.suite()
var LENGTH = 160
var browserBuffer = new BrowserBuffer(LENGTH * 8)
var typedarray = new Uint8Array(LENGTH * 8)
var dataview = new DataView(typedarray.buffer)
var nodeBuffer = new Buffer(LENGTH * 8)
;[brow... | nolanlawson/buffer | perf/readDoubleBE.js | JavaScript | mit | 997 |
function getTrimmedAttribute(sourceAttribute) {
return sourceAttribute.substring(8);
}
| suldae/roll20-character-sheets | Miseries & Misfortunes/js/utils/getTrimmedAttribute.js | JavaScript | mit | 89 |
/*
* Copyright 2014-2015 Guy Bedford (http://guybedford.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | xTMNTxRaphaelx/Travel-Helper | node_modules/aurelia-bundler/node_modules/jspm/lib/install.js | JavaScript | mit | 34,601 |
/* flatpickr v4.2.0, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.mn = {})));
}(this, (function (exports) { 'use strict';
var fp = typeof wi... | ahocevar/cdnjs | ajax/libs/flatpickr/4.2.0/l10n/mn.js | JavaScript | mit | 1,883 |
QUnit.test( 'pixel rounding', function( assert ) {
var container = document.querySelector('#pixel-rounding');
var msnry = new Masonry( container, {
gutter: '.gutter-sizer',
itemSelector: '.item',
transitionDuration: 0
});
var lastItem = msnry.items[2];
var containerWidth = 170;
while ( contain... | valeryvkrukov/influencer | web/node_modules/masonry-layout/test/unit/pixel-rounding.js | JavaScript | mit | 543 |
describe('Core_navigation', function () {
var id = 'testContainer';
beforeEach(function () {
this.$container = $('<div id="' + id + '"></div>').appendTo('body');
});
afterEach(function () {
if (this.$container) {
destroy();
this.$container.remove();
}
});
it("should move to the ne... | awadnajilp/delivour | wp-content/themes/justshop/includes/tt-vc-extend/easy-tables-vc/assets/lib/jquery-handsontable/test/jasmine/spec/Core_navigationSpec.js | JavaScript | gpl-2.0 | 7,456 |
(function () {
var media = (function () {
'use strict';
var PluginManager = tinymce.util.Tools.resolve('tinymce.PluginManager');
var Env = tinymce.util.Tools.resolve('tinymce.Env');
var Tools = tinymce.util.Tools.resolve('tinymce.util.Tools');
var getScripts = function (editor) {
return editor.getPara... | jabber-at/hp | hp/core/static/lib/tinymce/js/tinymce/plugins/media/plugin.js | JavaScript | gpl-3.0 | 35,899 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'list', 'lt', {
bulletedlist: 'Suženklintas sąrašas',
numberedlist: 'Numeruotas sąrašas'
} );
| gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/list/lang/lt.js | JavaScript | gpl-3.0 | 270 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'preview', 'uk', {
preview: 'Попередній перегляд'
} );
| gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/preview/lang/uk.js | JavaScript | gpl-3.0 | 243 |
/*
* Copyright (C) Pootle contributors.
*
* This file is a part of the Pootle project. It is distributed under the GPL3
* or later license. See the LICENSE file for a copy of the license and the
* AUTHORS file for copyright and authorship information.
*/
import { combineReducers } from 'redux';
function screen... | claudep/pootle | pootle/static/js/auth/reducers.js | JavaScript | gpl-3.0 | 3,278 |
/**
* @fileOverview News Specials Share Module - Share View
* Implements a shared view for Responsive/Desktop sites for a Personal Share module
* @requires bootstrap
* @requires Jquery-template-engine
* @requires share_template.inc/sssi
* @todo Add share options for other sharing environments and allow developer to sel... | BBCVisualJournalism/newsspec_9501 | source/js/lib/news_special/share_tools/view.js | JavaScript | apache-2.0 | 6,498 |
module.exports = require("core-js-pure/features/reflect/get-own-metadata-keys"); | BigBoss424/portfolio | v8/development/node_modules/@babel/runtime-corejs3/core-js/reflect/get-own-metadata-keys.js | JavaScript | apache-2.0 | 80 |
/*!
* FullCalendar v1.6.1 Google Calendar Plugin
* Docs & License: http://arshaw.com/fullcalendar/
* (c) 2013 Adam Shaw
*/
(function($) {
var fc = $.fullCalendar;
var formatDate = fc.formatDate;
var parseISO8601 = fc.parseISO8601;
var addDays = fc.addDays;
var applyAll = fc.applyAll;
fc.source... | blackfatTeam/newsroom | web/assets/metronic/plugins/fullcalendar/fullcalendar/gcal.js | JavaScript | bsd-3-clause | 2,765 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.composite.uncovered.nocontext.destination-in
// Description:drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.
// Note:
importScripts("/resource... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/compositing/2d.composite.uncovered.nocontext.destination-in.worker.js | JavaScript | bsd-3-clause | 1,054 |
var specify = require('specify')
, helpers = require('../helpers')
, timeout = helpers.timeout
, nano = helpers.nano
, nock = helpers.nock
;
var mock = nock(helpers.couch, "shared/headers")
, db = nano.use("shared_headers")
;
specify("shared_headers:setup", timeout, function (assert) {
... | somenathghosh/shippable-node | node_modules/nano/tests/shared/headers.js | JavaScript | mit | 1,636 |
/*
AngularJS v1.3.1
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(N,U,t){'use strict';function w(b){return function(){var a=arguments[0],c;c="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.1/"+(b?b+"/":"")+a;for(a=1;a<arguments.length;a++){c=c+(1==a?"?":"&")+"p"+(a-1)+"=";var d=enco... | pieszynski/grunci | www/static/js/vendor/angular.min.js | JavaScript | mit | 123,425 |
/*
* Aloha Align Plugin - Allow text alignment in Aloha Editor
* Copyright (C) 2010 by Thomas Lété - http://twitter.com/taoma_k
* Licensed unter the terms of LGPL http://www.gnu.org/copyleft/lesser.html
*
*/
define(
['aloha', 'aloha/plugin', 'aloha/floatingmenu', 'i18n!align/nls/i18n', 'i18n!aloha/nls/i18n', 'aloha/jq... | odera89/netizen.io | wp-content/plugins/front-end-editor/lib/aloha-editor/plugins/common/align/lib/align-plugin.js | JavaScript | gpl-2.0 | 8,526 |
/* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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/. */
gTestfile = 'regress-327534.js';
... | tejassaoji/RhinoCoarseTainting | testsrc/tests/e4x/extensions/regress-327534.js | JavaScript | mpl-2.0 | 639 |
module.exports={A:{A:{"2":"H E G C WB","260":"B A"},B:{"260":"D u g I J"},C:{"1":"0 1 2 3 4 5 6 X v Z a b c d N f M h i j k l m n o p q r s t y K","2":"UB x SB","260":"F L H E G C B A D u g I J Y O e P Q R S T U V W RB"},D:{"1":"0 1 2 3 4 5 6 h i j k l m n o p q r s t y K GB AB CB VB DB EB","2":"F L","260":"u g I J Y O... | mytkdals93/golfpass | public/framework/node_modules/caniuse-lite/data/features/fileapi.js | JavaScript | mit | 891 |
/// <binding Clean='clean' ProjectOpened='watch' />
var gulp = require("gulp"),
rimraf = require("rimraf"),
concat = require("gulp-concat"),
cssmin = require("gulp-cssmin"),
ts = require('gulp-typescript'),
fs = require('fs');
// https://www.npmjs.com/package/gulp-typescript
// http://weblogs.asp.... | HamidMosalla/allReady | AllReadyApp/Web-App/AllReady/gulpfile.js | JavaScript | mit | 1,902 |
const bluebird = require('bluebird');
const crypto = bluebird.promisifyAll(require('crypto'));
const nodemailer = require('nodemailer');
const passport = require('passport');
const User = require('../models/User');
/**
* GET /login
* Login page.
*/
exports.getLogin = (req, res) => {
if (req.user) {
return res... | ak-zul/hackathon-starter | controllers/user.js | JavaScript | mit | 10,301 |
/**
* mixin authorization
*
* Copyright 2012 Cloud9 IDE, Inc.
*
* This product includes software developed by
* Cloud9 IDE, Inc (http://c9.io).
*
* Author: Mike de Boer <info@mikedeboer.nl>
**/
"use strict";
var error = require("./../../error");
var Util = require("./../../util");
var authorization = m... | ludovicderochethales/node-github | api/v3.0.0/authorization.js | JavaScript | mit | 11,170 |
/* Copyright (c) 2012-2013 LevelUP contributors
* See list at <https://github.com/rvagg/node-levelup#contributing>
* MIT +no-false-attribs License <https://github.com/rvagg/node-levelup/blob/master/LICENSE>
*/
var errors = require('../lib/errors.js')
, async = require('async')
, common = require('./common')... | vijayee/HydraFile | node_modules/pouchdb/node_modules/levelup/test/get-put-del-test.js | JavaScript | mit | 6,096 |
jQuery(document).ready(function() {
// Display initial link
jQuery("#st-clicks-tags .inside").html('<a href="#st_click_tags" id="open_clicktags">'+stHelperClickTagsL10n.show_txt+'</a><a href="#st_click_tags" id="close_clicktags">'+stHelperClickTagsL10n.hide_txt+'</a><div class="container_clicktags"></div>');
// ... | lightingmcqueen/trueaussiebrands.com | wp-content/plugins/simple-tags/assets/js/helper-click-tags.js | JavaScript | gpl-2.0 | 1,262 |
module.exports={A:{A:{"2":"J C G E B A VB"},B:{"1":"D Y g H L"},C:{"2":"0 1 3 4 5 TB z F I J C G E B A D Y g H L M N O P S T U V W X v Z a b c d e f K h i j k l m n o p q r s x y u t RB QB","386":"Q R"},D:{"2":"0 1 3 4 5 8 F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x y u... | cleverswine/cleverswine-hugo | themes/semantic-cards/semantic/node_modules/caniuse-lite/data/features/mpeg-dash.js | JavaScript | gpl-3.0 | 779 |
// Copyright 2014 the V8 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.
new BenchmarkSuite('StringRepeat', [10], [
new Benchmark('StringRepeat', false, false, 0,
Repeat, RepeatSetup, RepeatTearDown),
]);
new Benchmark... | zero-ui/miniblink49 | v8_7_5/test/js-perf-test/Strings/harmony-string.js | JavaScript | gpl-3.0 | 3,196 |
module.exports = function(grunt) {
grunt.registerTask("index", "Generate index.html depending on configuration", function() {
var conf = grunt.config('index'),
appTmpl = grunt.file.read(conf.src.app),
mainTmpl = grunt.file.read(conf.src.main),
mainjs = conf.js + "/main.js";
grunt.file.mkdir... | ptool/simpl | build/indexgen/index.js | JavaScript | apache-2.0 | 725 |
// Copyright 2014 Google 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 agreed to in... | alice/accessibility-developer-tools | test/audits/multiple-labelable-elements-per-label-test.js | JavaScript | apache-2.0 | 1,698 |
describe('timepicker directive', function () {
var $rootScope, element;
beforeEach(module('ui.bootstrap.timepicker'));
beforeEach(module('template/timepicker/timepicker.html'));
beforeEach(inject(function(_$compile_, _$rootScope_) {
$compile = _$compile_;
$rootScope = _$rootScope_;
$rootScope.time ... | andrejbranch/techversed | web/components/angular-ui-bootstrap/src/timepicker/test/timepicker.spec.js | JavaScript | mit | 27,946 |
var class_mix_e_r_p_1_1_net_1_1_entities_1_1_public_1_1_db_crosstab3_result =
[
[ "Category1", "class_mix_e_r_p_1_1_net_1_1_entities_1_1_public_1_1_db_crosstab3_result.html#ab67529781ecaf859d33bab346d6b44c6", null ],
[ "Category2", "class_mix_e_r_p_1_1_net_1_1_entities_1_1_public_1_1_db_crosstab3_result.html#ab... | mixerp/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_entities_1_1_public_1_1_db_crosstab3_result.js | JavaScript | gpl-3.0 | 643 |
/**
* @private
* Private Container class used by the {@link Ext.grid.RowEditor} to hold its buttons.
*/
Ext.define('Ext.grid.RowEditorButtons', {
extend: 'Ext.container.Container',
alias: 'widget.roweditorbuttons',
frame: true,
shrinkWrap: true,
position: 'bottom',
constructor: function(con... | elasticsearcher/Bizcuit | src/ui/ext/classic/classic/src/grid/RowEditorButtons.js | JavaScript | gpl-3.0 | 4,023 |
import { createFilter, makeLegalIdentifier } from 'rollup-pluginutils';
export default function json(options = {}) {
const filter = createFilter(options.include, options.exclude);
return {
name: 'json',
transform(json, id) {
if (id.slice(-5) !== '.json') return null;
if (!filter(id)) return null;
con... | raisinbit/RaisinLearning | node_modules/rollup-plugin-json/src/index.js | JavaScript | gpl-3.0 | 4,063 |
// Copyright 2008 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | orange-tv-blagnac/selenium | third_party/closure/goog/ui/tabbarrenderer.js | JavaScript | apache-2.0 | 5,545 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @example: const rReadFile = promisify<Buffer, string>(fs.readFile);
*
*/
exports.promisify = function (func) {
return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i... | A-HostMobile/MobileApp | node_modules/@ionic/app-scripts/dist/util/promisify.js | JavaScript | apache-2.0 | 656 |
/*global window, Backbone, arangoHelper, _ */
window.arangoDocumentModel = Backbone.Model.extend({
initialize: function () {
'use strict';
},
urlRoot: "/_api/document",
defaults: {
_id: "",
_rev: "",
_key: ""
},
getSorted: function () {
'use strict';
var self = this;
var keys = ... | morsdatum/ArangoDB | js/apps/system/aardvark/frontend/js/models/arangoDocument.js | JavaScript | apache-2.0 | 736 |
/*
* Copyright 2015-present Open Networking Laboratory
*
* 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 appli... | donNewtonAlpha/onos | web/gui/src/main/webapp/tests/app/view/topo/topoPanel-spec.js | JavaScript | apache-2.0 | 4,878 |
/*!
* froala_editor v2.7.1 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2017 Froala Labs
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory)... | seogi1004/cdnjs | ajax/libs/froala-editor/2.7.1/js/languages/nb.js | JavaScript | mit | 10,567 |
/* DOM Level2 Events implemented as described here:
*
* http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html
*
*/
var core = require("./core").dom.level2.core,
utils = require("../utils"),
defineGetter = utils.defineGetter,
defineSetter = utils.defineSetter,
inheritFrom = utils.inhe... | hephaestus9/Ironworks | static/pyemoncms/js/eon-chart/node_modules/c3/node_modules/d3/node_modules/jsdom/lib/jsdom/level2/events.js | JavaScript | mit | 15,457 |
el.addEventListener(eventName, eventHandler);
| HubSpot/youmightnotneedjquery | src/comparisons/events/on/ie9.js | JavaScript | mit | 46 |
var _ = require('lodash'),
util = require('util'),
errors = require('ghost-ignition').errors;
function GhostError(options) {
options = options || {};
this.value = options.value;
errors.IgnitionError.call(this, options);
}
// jscs:disable
var ghostErrors = {
DataExportError: function DataExpor... | disordinary/Ghost | core/server/errors.js | JavaScript | mit | 2,280 |
{
"VALIDATOR.FIELDREQUIRED": "Completare il campo \"%s\", che è obbligatorio.",
"HASMANYFILEFIELD.UPLOADING": "Invio file... %s",
"TABLEFIELD.DELETECONFIRMMESSAGE": "Si è sicuri di voler eliminare questo elemento?",
"LOADING": "caricamento...",
"UNIQUEFIELD.SUGGESTED": "Cambiare il valore di '%s': %... | Widdershin/silverstripe-todo | src/framework/javascript/lang/src/it.js | JavaScript | mit | 2,801 |
"use strict";
exports.__esModule = true;
exports.bar = exports.foo = void 0;
var foo, bar;
exports.bar = bar;
exports.foo = foo;
| Skillupco/babel | packages/babel-plugin-transform-modules-commonjs/test/fixtures/interop-loose/export-named-2/output.js | JavaScript | mit | 130 |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview The "div" plugin. It wraps the selected block level elements with a 'div' element with specified styles and attributes.
*
*/
(function()
{
CKEDITOR.p... | Goutte/Ni | v1/web/apostropheCkEditorPlugin/js/ckeditor/_source/plugins/div/plugin.js | JavaScript | gpl-2.0 | 2,820 |
/* String streams are the things fed to parsers (which can feed them
* to a tokenizer if they want). They provide peek and next methods
* for looking at the current character (next 'consumes' this
* character, peek does not), and a get method for retrieving all the
* text that was consumed since the last time get w... | upei/drupal6-cms | sites/all/modules/campus_manager/codemirror/js/stringstream.js | JavaScript | gpl-2.0 | 3,939 |
Proj4js.defs["EPSG:32045"] = "+proj=tmerc +lat_0=42.5 +lon_0=-72.5 +k=0.999964286 +x_0=152400.3048006096 +y_0=0 +ellps=clrk66 +datum=NAD27 +to_meter=0.3048006096012192 +no_defs"; | MaxiReglisse/georchestra | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG32045.js | JavaScript | gpl-3.0 | 178 |
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines {@link CKEDITOR#verbosity} and binary flags {@link CKEDITOR#VERBOSITY_WARN} and
* {@link CKEDITOR#VERBOSITY_ERROR}. Defines also ... | ldilov/uidb | plugins/ckeditor/core/log.js | JavaScript | apache-2.0 | 4,799 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* DecimalLiteral :: DecimalIntegerLiteral
*
* @path ch07/7.8/7.8.3/S7.8.3_A1.1_T2.js
* @description DecimalIntegerLiteral :: NoNZeroDigit DecimalDigits
*/
//CHECK#1
if (11 !== 1... | popravich/typescript | tests/Fidelity/test262/suite/ch07/7.8/7.8.3/S7.8.3_A1.1_T2.js | JavaScript | apache-2.0 | 811 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The "continue" token can not be used as identifier
*
* @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.4.js
* @description Checking if execution of "contunue=1" fails
* @negative
*/
... | hippich/typescript | tests/Fidelity/test262/suite/ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.4.js | JavaScript | apache-2.0 | 336 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | darkrsw/safe | tests/parser_tests/js/src/tests/ecma_3/RegExp/regress-123437.js | JavaScript | bsd-3-clause | 3,523 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | daejunpark/jsaf | tests/parser_tests/js/src/tests/ecma/Date/15.9.5.10-11.js | JavaScript | bsd-3-clause | 2,981 |
var helpers = require('./helpers'),
should = require('should'),
needle = require('./../'),
server;
var port = 7707;
describe('Basic Auth', function() {
before(function(done) {
server = helpers.server({ port: port }, done);
})
after(function(done) {
server.close(done);
})
///////////... | neoligero/needle-podsystem | test/basic_auth_spec.js | JavaScript | mit | 4,523 |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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 conditions and
/// ... | techdragon/Js2Py | tests/TestCases/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-60.js | JavaScript | mit | 2,182 |
var moment = require("../../moment");
/**************************************************
Galego
*************************************************/
exports["lang:gl"] = {
setUp : function (cb) {
moment.lang('gl');
cb();
},
tearDown : function (cb) {
moment.lang('en... | leehanse/zzyyzz | wp-content/themes/myoto/assets/plugins/moment/test/lang/gl.js | JavaScript | apache-2.0 | 17,151 |
var structblackbone_1_1___c_o_n_t_e_x_t___t_3_01_d_w_o_r_d_01_4 =
[
[ "ContextFlags", "structblackbone_1_1___c_o_n_t_e_x_t___t_3_01_d_w_o_r_d_01_4.html#a09846f6f5a11420035387033fb27f60a", null ],
[ "Dr0", "structblackbone_1_1___c_o_n_t_e_x_t___t_3_01_d_w_o_r_d_01_4.html#a9a3e08f9c5539bddf00b0438dc69b367", null ... | bughoho/Blackbone | doc/lib/html/structblackbone_1_1___c_o_n_t_e_x_t___t_3_01_d_w_o_r_d_01_4.js | JavaScript | mit | 3,188 |
/**
* Lo-Dash 2.3.0 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize modern exports="npm" -o ./npm/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Invest... | jamesshore/lab4_testem | node_modules/testem/node_modules/fireworm/node_modules/lodash.flatten/node_modules/lodash.map/node_modules/lodash.forown/node_modules/lodash._basecreatecallback/node_modules/lodash.bind/node_modules/lodash._createwrapper/node_modules/lodash._basebind/index.js | JavaScript | mit | 1,800 |
/**
* 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 appli... | NewsappAJC/grunt-google-archieml | node_modules/googleapis/apis/youtubeAnalytics/v1.js | JavaScript | mit | 18,408 |
/**
* MenuOptionWidget is an option widget that looks like a menu item. The class is used with
* OO.ui.MenuSelectWidget to create a menu of mutually exclusive options. Please see
* the [OOjs UI documentation on MediaWiki] [1] for more information.
*
* [1]: https://www.mediawiki.org/wiki/OOjs_UI/Widgets/Selects_and... | tyolab/mediawiki-dist | vendor/oojs/oojs-ui/src/widgets/MenuOptionWidget.js | JavaScript | gpl-2.0 | 987 |
// "class" for customizing select2 (with possibility to create selection items on the fly
// Appropriated from http://jsfiddle.net/7AvKZ/59/
// Only minor changes made to this class - largely the original
function Select2Tagging(items,formatProperty, multienabled) {
if(!formatProperty) {
formatProperty="... | wenzhucjy/elasticsearch-rtf | plugins/inquisitor/_site/js/controllers/AdhocCtrl.js | JavaScript | apache-2.0 | 4,268 |
/**
* @author Ed Spencer
* @class Ext.data.writer.Xml
This class is used to write {@link Ext.data.Model} data to the server in an XML format.
The {@link #documentRoot} property is used to specify the root element in the XML document.
The {@link #record} option is used to specify the element name for each record that... | department-of-veterans-affairs/ChartReview | web-app/js/ext-5.1.0/packages/sencha-core/src/data/writer/Xml.js | JavaScript | apache-2.0 | 7,264 |
defineSuite([
'DataSources/ColorMaterialProperty',
'Core/Color',
'Core/JulianDate',
'Core/TimeInterval',
'DataSources/ConstantProperty',
'DataSources/TimeIntervalCollectionProperty'
], function(
ColorMaterialProperty,
Color,
JulianDat... | JuanMaSuarez/GeoJSON_Cesium | Specs/DataSources/ColorMaterialPropertySpec.js | JavaScript | apache-2.0 | 3,698 |
$(document).ready(function() {
pre_content = $("#jalpc_site_pv").html();
$("#jalpc_site_pv").html(pre_content);
$.ajax({
type: "get",
async: false,
url: "https://vps.jack003.com:8443/api/v1.0/jalpc/pv_count",
dataType: "jsonp",
jsonp: "callback",
jsonpCallback... | gongjunhao/gongjunhao.github.io | static/js/count.js | JavaScript | mit | 673 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v12.0.2
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... | extend1994/cdnjs | ajax/libs/ag-grid/12.0.2/lib/columnController/autoGroupColService.js | JavaScript | mit | 5,295 |
var _curry2 = require('./internal/_curry2');
var curryN = require('./curryN');
/**
* Returns a function of arity `n` from a (manually) curried function.
*
* @func
* @memberOf R
* @since v0.14.0
* @category Function
* @sig Number -> (a -> b) -> (a -> c)
* @param {Number} length The arity for the returned funct... | BigBoss424/portfolio | v7/development/node_modules/ramda/src/uncurryN.js | JavaScript | apache-2.0 | 1,089 |
'use strict';
const pMap = (iterable, mapper, options) => new Promise((resolve, reject) => {
options = Object.assign({
concurrency: Infinity
}, options);
if (typeof mapper !== 'function') {
throw new TypeError('Mapper function is required');
}
const {concurrency} = options;
if (!(typeof concurrency === 'n... | BigBoss424/portfolio | v8/development/node_modules/webpack-dev-server/node_modules/p-map/index.js | JavaScript | apache-2.0 | 1,370 |
version https://git-lfs.github.com/spec/v1
oid sha256:0b4fbf0fb52fb83da41c6260b4a892ed640289c3aeea37becbf67d4337683b10
size 2424
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.4.0-beta.4/i18n/angular-locale_to.js | JavaScript | mit | 129 |
// Tests that a library wrapper has to pass
module("Library wrapper");
test("can.trim", function () {
});
test("can.makeArray", function () {
deepEqual([], can.makeArray(null), "Empty argument creates empty array");
var array = ['one', 'two', 'three'];
var made = can.makeArray(array);
notEqual(array, can.makeAr... | ddhp/canjs | util/wrapper_test.js | JavaScript | mit | 666 |
module.exports={title:"Sentry",slug:"sentry",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Sentry icon</title><path d="M13.91 2.505c-.873-1.448-2.972-1.448-3.844 0L6.904 7.92a15.478 15.478 0 0 1 8.53 12.811h-2.221A13.301 13.301 0 0 0 5.784 9.814l-2.926 5.06a7.65 7.65 0 0 1 4.435 5.8... | cdnjs/cdnjs | ajax/libs/simple-icons/4.9.0/sentry.min.js | JavaScript | mit | 853 |
YUI.add('moodle-enrol_manual-quickenrolment', function(Y) {
var UEP = {
NAME : 'Enrolment Manager',
/** Properties **/
BASE : 'base',
SEARCH : 'search',
SEARCHBTN : 'searchbtn',
PARAMS : 'params',
URL : 'url',
AJAXURL : 'ajaxurl',
MULTIPLE : '... | CoderLifeEU/du-tests | enrol/manual/yui/quickenrolment/quickenrolment.js | JavaScript | gpl-3.0 | 29,564 |
/**
* @author sunag / http://www.sunag.com.br/
*/
THREE.FloatNode = function( value ) {
THREE.InputNode.call( this, 'fv1', { share: false } );
this.value = [ value || 0 ];
};
THREE.FloatNode.prototype = Object.create( THREE.InputNode.prototype );
THREE.FloatNode.prototype.constructor = THREE.Float... | masterfish2015/my_project | 半导体物理/js/three/examples/js/nodes/inputs/FloatNode.js | JavaScript | mit | 527 |
/****************************************************************************
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 this software and associated documentation files (the "Software"), to deal
in th... | darkoverlordofdata/asteroids | web/frameworks/cocos2d-html5/external/pluginx/Plugin.js | JavaScript | mit | 6,369 |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'button', 'it', {
selectedLabel: '%1 (selezionato)'
} );
| aodarc/flowers_room | styleguides/static/ckeditor/ckeditor/plugins/button/lang/it.js | JavaScript | mit | 245 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v11.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... | extend1994/cdnjs | ajax/libs/ag-grid/11.0.0/lib/logger.js | JavaScript | mit | 2,620 |
module.exports = minimatch
minimatch.Minimatch = Minimatch
var path = { sep: '/' }
try {
path = require('path')
} catch (er) {}
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {}
var expand = require('brace-expansion')
// any single thing other than /
// don't need to escape / when using new R... | tohshige/test | used12_1801_bak/node_modules/minimatch/minimatch.js | JavaScript | gpl-3.0 | 25,776 |
'use strict';
import $ from 'jquery';
import { GetYoDigits } from './foundation.util.core';
import { Plugin } from './foundation.plugin';
import { SmoothScroll } from './foundation.smoothScroll';
/**
* Magellan module.
* @module foundation.magellan
* @requires foundation.smoothScroll
*/
class Magellan extends P... | YannLorgueilleux/book | src/_assets/_vendors/foundation-6.4.2/js/foundation.magellan.js | JavaScript | gpl-3.0 | 7,131 |
;(function ($) {
'use strict';
var $html = $('html');
/**
* Off canvas menu plugin
*
* The plugin provides an lightweight way to use an off canvas pattern for all kind of content. The content
* needs to be positioned off canvas using CSS3 `transform`. All the rest will be handled by th... | megadruck/Shopware-Test1 | themes/Frontend/Responsive/frontend/_public/src/js/jquery.off-canvas-menu.js | JavaScript | agpl-3.0 | 11,866 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The value of the internal [[Prototype]] property of the Boolean
* prototype object is the Object prototype object
*
* @path ch15/15.6/15.6.4/S15.6.4_A2.js
* @description Checking Object.prototype.isPrototypeOf(Boolean.prototype)
*/
//CHECK#1
if (... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.6/15.6.4/S15.6.4_A2.js | JavaScript | bsd-3-clause | 463 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Comma Operator evaluates all Expressions and returns the last of them
*
* @path ch11/11.14/S11.14_A3.js
* @description Checking with "="
*/
//CHECK#1
var x = 0;
var y = 0;
var z = 0;
if ((x = 1, y = 2, z = 3) !== 3) {
$ERROR('#1: var x = 0; var ... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.14/S11.14_A3.js | JavaScript | bsd-3-clause | 832 |
"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 async_1 = require('../scheduler/async');
var... | ottohernandezgarzon/tanks-colored-of-war | programar/node_modules/rxjs/operators/delay.js | JavaScript | mit | 5,275 |