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 |
|---|---|---|---|---|---|
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
if ( !CKEDITOR.editor ) {
// Documented at editor.js.
CKEDITOR.editor = function() {
// Push this editor to the pending list. It'll be processed later o... | webmasterETSI/web | web/ckeditor/core/editor_basic.js | JavaScript | mit | 1,254 |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ReactInlineSVG... | ahocevar/cdnjs | ajax/libs/react-inlinesvg/0.7.0/react-inlinesvg.js | JavaScript | mit | 134,420 |
define({HKD_displayName:"港幣",CNY_displayName:"人民幣",JPY_displayName:"日圓",JPY_symbol:"¥",USD_displayName:"美元",CAD_symbol:"CA$",GBP_displayName:"英鎊",CHF_displayName:"瑞士法郎",CNY_symbol:"CN¥",EUR_displayName:"歐元",GBP_symbol:"£",CAD_displayName:"加幣",USD_symbol:"US$",EUR_symbol:"€",AUD_displayName:"澳幣",CHF_symbol:"CHF",HKD_sym... | cdnjs/cdnjs | ajax/libs/dojo/1.17.1/cldr/nls/zh-hant/currency.min.js | JavaScript | mit | 396 |
OC.L10N.register(
"dav",
{
"Contact birthdays" : "Yhteystietojen syntymäpäivät",
"Personal" : "Henkilökohtainen",
"Contacts" : "Yhteystiedot",
"Technical details" : "Tekniset yksityiskohdat",
"Remote Address: %s" : "Etäosoite: %s",
"Request ID: %s" : "Pyynnön tunniste: %s"
},
"nplurals=2... | jbicha/server | apps/dav/l10n/fi_FI.js | JavaScript | agpl-3.0 | 348 |
var LightboxCanvas = (function () {
var events = {
documentMouseup: [],
windowResize: [],
};
window.onload = function () {
document.body.addEventListener("mouseup", function (e) {
events.documentMouseup = events.documentMouseup.filter(function (event) {
/... | vaidap/zulip | static/js/lightbox_canvas.js | JavaScript | apache-2.0 | 11,290 |
'use strict';
var directiveModule = angular.module('angularjs-dropdown-multiselect', []);
directiveModule.directive('ngDropdownMultiselect', ['$filter', '$document', '$compile', '$parse',
function ($filter, $document, $compile, $parse) {
return {
restrict: 'AE',
scope: {
... | eevans/newts | ui/app/bower_components/angularjs-dropdown-multiselect/src/angularjs-dropdown-multiselect.js | JavaScript | apache-2.0 | 14,117 |
import {
moduleFor,
test
} from 'ember-qunit';
moduleFor('transform:array', 'ArrayTransform', {
// Specify the other units that are required for this test.
// needs: ['serializer:foo']
});
test("#serialize", function() {
var transform = this.subject();
deepEqual(transform.serialize(null), []);
deepEqua... | vevix/hummingbird | frontend/tests/unit/transforms/array-test.js | JavaScript | apache-2.0 | 641 |
/*global js_beautify: true */
function run_html_tests(test_obj, Urlencoded, js_beautify, html_beautify, css_beautify)
{
var opts = {
indent_size: 4,
indent_char: ' ',
preserve_newlines: true,
jslint_happy: false,
keep_array_indentation: false,
brace_style: 'collapse... | geometryzen/geometryzen | vendor/js-beautify/js/test/beautify-html-tests.js | JavaScript | mit | 25,485 |
(function () {
"use strict";
function PackagesInstallLocalController($scope, $route, $location, Upload, umbRequestHelper, packageResource, localStorageService, $timeout, $window, localizationService, $q) {
var vm = this;
vm.state = "upload";
vm.localPackage = {};
vm.installPac... | lars-erik/Umbraco-CMS | src/Umbraco.Web.UI.Client/src/views/packages/views/install-local.controller.js | JavaScript | mit | 7,984 |
Proj4js.defs["EPSG:5739"] = ""; | debard/georchestra-ird | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG5739.js | JavaScript | gpl-3.0 | 31 |
Proj4js.defs["EPSG:27038"] = "+proj=utm +zone=38 +ellps=clrk80 +units=m +no_defs"; | debard/georchestra-ird | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG27038.js | JavaScript | gpl-3.0 | 82 |
Proj4js.defs["EPSG:32098"] = "+proj=lcc +lat_1=60 +lat_2=46 +lat_0=44 +lon_0=-68.5 +x_0=0 +y_0=0 +ellps=clrk66 +datum=NAD27 +units=m +no_defs"; | debard/georchestra-ird | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG32098.js | JavaScript | gpl-3.0 | 143 |
// 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 = function() {
var getURL = chrome.extension.getURL;
chrome.tabs.create({"url": "about:blank"}, function(tab) {
var tabId = tab.id;
ch... | axinging/chromium-crosswalk | chrome/test/data/extensions/api_test/webnavigation/failures/test_failures.js | JavaScript | bsd-3-clause | 8,402 |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** 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/js1_5/extensions/XXXcatchguard-001-n.js | JavaScript | bsd-3-clause | 2,427 |
class X { async static f() {} }
| Jazzling/jazzle-parser | test/test-esprima/fixtures/es2017/async/methods/invalid-async-static.js | JavaScript | mit | 32 |
/*!
* Module dependencies.
*/
var EventEmitter = require('events').EventEmitter;
var MongooseError = require('./error');
var MixedSchema = require('./schema/mixed');
var Schema = require('./schema');
var ObjectExpectedError = require('./error/objectExpected');
var StrictModeError = require('./error/strict');
var Val... | danieloostra/mean-charlie-workspace | steve/MEAN/Mongo/QuotingDojo/node_modules/mongoose/lib/document.js | JavaScript | unlicense | 66,825 |
//// [chainedAssignmentChecking.ts]
class X {
constructor(public z) { }
a: number;
}
class Y {
constructor(public z) { }
a: number;
b: string;
}
class Z {
z: any;
c: string;
}
var c1 = new X(3);
var c2 = new Y(5);
var c3 = new Z();
c1 = c2 = c3; // Should be error
//// [chainedAssignmentChecking.... | domchen/typescript-plus | tests/baselines/reference/chainedAssignmentChecking.js | JavaScript | apache-2.0 | 723 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.pattern.paint.repeat.coord2
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done.bi... | chromium/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/fill-and-stroke-styles/2d.pattern.paint.repeat.coord2.worker.js | JavaScript | bsd-3-clause | 1,308 |
// @flow
export const name = "main.js";
| JonathanUsername/flow | newtests/gen_flow_files_command/test_project/dist/main.js | JavaScript | mit | 41 |
module.exports = function (context) {
return {
NewExpression: function (node) {
if (node.callee.name === 'Promise' && node.arguments.length === 1) {
var params = node.arguments[0].params
if (!params || !params.length) { return }
if (params[0].name !== 'resolve') {
return ... | eLobato/dotfiles | vim/bundle/node_modules/eslint-plugin-promise/rules/param-names.js | JavaScript | mit | 604 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// Normally the Bazel "ts_devserver" automatically handles the module resolution of
// dependencies in the browser u... | Toxicable/angular | modules/playground/systemjs-config.js | JavaScript | mit | 1,335 |
// To disable
slider.setAttribute('disabled', true);
// To re-enable
slider.removeAttribute('disabled');
// To disable one handle
var origins = slider.getElementsByClassName('noUi-origin');
origins[0].setAttribute('disabled', true);
| atlefren/beerdatabase | web/static/js/lib/nouislider/documentation/more/disable-all.js | JavaScript | mit | 235 |
import Mirage from 'ember-cli-mirage';
import Model from 'ember-cli-mirage/orm/model';
import Schema from 'ember-cli-mirage/orm/schema';
import Db from 'ember-cli-mirage/db';
/*
A model with a hasMany association can be in eight states
with respect to its association. This helper class
returns a parent (and its ... | kagemusha/ember-cli-mirage | tests/integration/schema/has-many/has-many-helper.js | JavaScript | mit | 2,922 |
/*! ReactInstantSearch 4.1.0-beta.4 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && ... | extend1994/cdnjs | ajax/libs/react-instantsearch/4.1.0-beta.4/Connectors.js | JavaScript | mit | 609,679 |
/*globals describe, before, beforeEach, afterEach, it */
/*jshint expr:true*/
var testUtils = require('../../utils'),
should = require('should'),
Promise = require('bluebird'),
_ = require('lodash'),
// Stuff we are testing
ModelsTag = require('../../../server/models/tag'),
... | androidesk/adesk-blog | core/test/integration/model/model_tags_spec.js | JavaScript | gpl-2.0 | 17,782 |
/**
* Series is the abstract class containing the common logic to all chart series. Series includes
* methods from Labels, Highlights, and Callouts mixins. This class implements the logic of
* animating, hiding, showing all elements and returning the color of the series to be used as a legend item.
*
* ## Listener... | ebouda33/torrent | www/ext/packages/charts/src/chart/series/Series.js | JavaScript | gpl-3.0 | 61,653 |
numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
copy = numbers[0...numbers.length]
middle = copy[3..6]
| UAK-35/wro4j | wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/coffeeScript/simple/test/slices.js | JavaScript | apache-2.0 | 104 |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/Neo-Euler/Size5/Regular/Main.js
*
* Copyright (c) 2013-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... | uva/mathjax-rails-assets | vendor/assets/javascripts/jax/output/SVG/fonts/Neo-Euler/Size5/Regular/Main.js | JavaScript | mit | 4,887 |
require("../env");
require("../../d3");
require("../../d3.time");
var vows = require("vows"),
assert = require("assert");
var suite = vows.describe("d3.time.year");
suite.addBatch({
"year": {
topic: function() {
return d3.time.year;
},
"returns years": function(floor) {
assert.deepEqual... | adebali/adebali.github.io | workbench/phyloblast/dendrogram/d3test/d3/test/time/year-test.js | JavaScript | mit | 1,230 |
version https://git-lfs.github.com/spec/v1
oid sha256:3ea45e8b05bed183151ddfa7a4b20aab9437a48cc4a03ff49289c938b343713b
size 2705
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.4.0-beta.4/i18n/angular-locale_mgo-cm.js | JavaScript | mit | 129 |
'use strict';
exports.__esModule = true;
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProper... | ezsimple/java | springboot/GReact/node_modules/react-bootstrap/lib/NavbarCollapse.js | JavaScript | apache-2.0 | 2,357 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
(global = global || self, factory(global.jQuery));
}(this, function ($) { 'use strict';
$ = $ && $.hasOwnProperty('def... | zynthian/zynthian-webconf | bower_components/bootstrap-table/dist/locale/bootstrap-table-ur-PK.js | JavaScript | gpl-3.0 | 23,649 |
// This file has been autogenerated.
var profile = require('../../../lib/util/profile');
exports.getMockedProfile = function () {
var newProfile = new profile.Profile();
newProfile.addSubscription(new profile.Subscription({
id: '4004a9fd-d58e-48dc-aeb2-4a4aec58606f',
name: 'AAD_POLICY_ADMINISTRATION_SERV... | msfcolombo/azure-xplat-cli | test/recordings/arm-cli-role-tests/arm_role_definition_delete_for_custom_role_with_valid_id_should_work.nock.js | JavaScript | apache-2.0 | 14,398 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The value of the internal [[Prototype]] property of the Date
* constructor is the Function prototype object
*
* @path ch15/15.9/15.9.4/S15.9.4_A4.js
* @description Checking Function.prototype.isPrototypeOf(Date)
*/
//CHECK#1
if (!(Function.protot... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.9/15.9.4/S15.9.4_A4.js | JavaScript | bsd-3-clause | 475 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch10/10.4/10.4.3/10.4.3-1-55gs.js
* @description Strict - checking 'this' from a global scope (Literal getter includes strict directive prologue)
* @onlyStrict
*/
var o = { get foo() { "use strict"; return this; } }
if (o.foo!==o) {
... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch10/10.4/10.4.3/10.4.3-1-55gs.js | JavaScript | bsd-3-clause | 358 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-6.js
* @description Array.prototype.filter - value of 'length' is a number (value is positive)
*/
function testcase() {
function callbackfn(val, idx, obj) {
return true;
... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.20/15.4.4.20-3-6.js | JavaScript | bsd-3-clause | 524 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Global object properties have attributes { DontEnum }
*
* @path ch10/10.2/10.2.3/S10.2.3_A2.3_T4.js
* @description Global execution context - Other Properties
*/
var evalStr =
'//CHECK#1\n'+
'for (var x in this) {\n'+
' if ( x === \'Math\' ) {\n... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch10/10.2/10.2.3/S10.2.3_A2.3_T4.js | JavaScript | bsd-3-clause | 413 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v9.0.3
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto... | sashberd/cdnjs | ajax/libs/ag-grid/9.0.4/lib/rowModels/pagination/serverPaginationService.js | JavaScript | mit | 13,269 |
/*!
* Copyright 2019 Hitachi Vantara. 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... | tkafalas/pentaho-kettle | plugins/connections/ui/src/main/javascript/app/components/message/message.component.js | JavaScript | apache-2.0 | 2,400 |
// 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... | isabela-angelo/scratch-tangible-blocks | scratch-blocks/node_modules/google-closure-library/closure/goog/ui/sliderbase_test.js | JavaScript | bsd-3-clause | 36,595 |
// META: global=window,worker
"use strict";
promise_test(() => fetch("../cors/resources/not-cors-safelisted.json").then(res => res.json().then(runTests)), "Loading data…");
const longValue = "s".repeat(127);
[
{
"headers": ["accept", "accept-language", "content-language"],
"values": [longValue, "", longVa... | scheib/chromium | third_party/blink/web_tests/external/wpt/fetch/api/headers/headers-no-cors.any.js | JavaScript | bsd-3-clause | 1,925 |
import { module, test } from '../qunit';
import moment from '../../moment';
module('is valid');
test('array bad month', function (assert) {
assert.equal(moment([2010, -1]).isValid(), false, 'month -1 invalid');
assert.equal(moment([2100, 12]).isValid(), false, 'month 12 invalid');
});
test('array good month'... | MOSOSJAN/apartment | vendor/bower/moment/src/test/moment/is_valid.js | JavaScript | bsd-3-clause | 12,113 |
/**
* JavaScript code for the "Edit" screen
*
* @package TablePress
* @subpackage Views JavaScript
* @author Tobias Bäthge
* @since 1.0.0
*/
/* global alert, confirm, tp, tablepress_strings, tablepress_options, ajaxurl, wpLink, tb_show, wp */
// Ensure the global `tp` object exists.
window.tp = window.tp || {}... | alexliutsg/wp_site | wp-content/plugins/tablepress/admin/js/edit.js | JavaScript | mit | 47,534 |
/**
* @license
* Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | J22pineda/myscheduler-web | temp/node_modules/vulcanize/node_modules/hydrolysis/lib/ast-utils/js-parse.js | JavaScript | bsd-3-clause | 2,728 |
// META: global=window,worker
// META: script=/common/utils.js
// Helpers that return headers objects with a particular guard
function headersGuardNone(fill) {
if (fill) return new Headers(fill);
return new Headers();
}
function headersGuardResponse(fill) {
const opts = {};
if (fill) opts.headers = fill;
re... | scheib/chromium | third_party/blink/web_tests/external/wpt/fetch/range/general.any.js | JavaScript | bsd-3-clause | 2,587 |
Prism.languages.reason = Prism.languages.extend('clike', {
'comment': {
pattern: /(^|[^\\])\/\*[\s\S]*?\*\//,
lookbehind: true
},
'string': {
pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,
greedy: true
},
// 'class-name' must be matched *after* 'constructor' defined below
'class-name': /\b[A-Z]\w*/,
'ke... | Leeps-Lab/otree-redwood | polymer/node_modules/prismjs/components/prism-reason.js | JavaScript | mit | 1,226 |
var $ = require('jquery-browserify');
var _ = require('underscore');
var Backbone = require('backbone');
var templates = require('../../../dist/templates');
module.exports = Backbone.View.extend({
className: 'inner',
template: templates.sidebar.drafts,
initialize: function(options) {
_.bindAll(this);
... | AtekiRyu/prose | app/views/sidebar/drafts.js | JavaScript | bsd-3-clause | 552 |
/*
* mobile page unit tests
*/
(function($){
var libName = 'jquery.mobile.page',
themedefault = $.mobile.page.prototype.options.theme;
module(libName);
var eventStack = [],
etargets = [],
cEvents=[],
cTargets=[];
$( document ).bind( "pagebeforecreate pagecreate", function( e ){
eventStack.push( e.typ... | arschmitz/jquery-mobile | tests/unit/page/page_core.js | JavaScript | mit | 3,998 |
import "math";
var projection = d3.geo.projection,
projectionMutator = d3.geo.projectionMutator;
| GerHobbelt/d3-geo-projection | src/projection.js | JavaScript | bsd-3-clause | 102 |
version https://git-lfs.github.com/spec/v1
oid sha256:8c98d5b50acf14742e22f0ec4f1cb096b54a4912cc3a3fe64a9a612736c27acc
size 86
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.9.0-pr3/collection.js | JavaScript | mit | 127 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v8.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var utils_1 = require("../utils");
var gridRow_1 = require("./gridRow");
var GridCell = (function () {
function GridCell(g... | jdh8/cdnjs | ajax/libs/ag-grid/8.0.0/lib/entities/gridCell.js | JavaScript | mit | 1,205 |
import { select } from 'd3-selection';
import { dispatch } from 'd3-dispatch';
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof ob... | twitter/d3kit | dist/d3kit-es.js | JavaScript | mit | 53,266 |
// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// distributed under the License is distributed on an "AS-IS" BASIS,
// Un... | scheib/chromium | third_party/google_input_tools/src/chrome/os/inputview/config/constants.js | JavaScript | bsd-3-clause | 2,732 |
module.exports = function(grunt) {
grunt.util.linefeed = '\n';
RegExp.quote = function (string) {
return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&');
};
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
defaultPath: 'bootflat'
},
banner: '/*\n * <%= pkg.name %> ... | jtarleton/jt-web | web/css/bootflat.github.io-master/Gruntfile.js | JavaScript | mit | 8,241 |
'use strict';
var async = require('async'),
user = require('../../user'),
helpers = require('../helpers'),
accountHelpers = require('./helpers');
var followController = {};
followController.getFollowing = function(req, res, next) {
getFollow('account/following', 'following', req, res, next);
};
followControlle... | Jdesk/bid | src/controllers/accounts/follow.js | JavaScript | gpl-3.0 | 1,235 |
var m1_a1 = 10;
var m1_c1 = /** @class */ (function () {
function m1_c1() {
}
return m1_c1;
}());
var m1_instance1 = new m1_c1();
function m1_f1() {
return m1_instance1;
}
/// <reference path='m1.ts'/>
var a1 = 10;
var c1 = /** @class */ (function () {
function c1() {
}
return... | basarat/TypeScript | tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js | JavaScript | apache-2.0 | 450 |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let HardwareGamepad = (props) => (
<SvgIcon {...props}>
<path d="M15 7.5V2H9v5.5l3 3 3-3zM7.5 9H2v6h5.5l3-3-3-3zM9 16.5V22h6v-5.5l-3-3-3 3zM16.5 9l-3 3 3 3H22V9h-5.5z"/>
</SvgIcon>
);
HardwareGamepad = pure(Hardw... | IsenrichO/mui-with-arrows | src/svg-icons/hardware/gamepad.js | JavaScript | mit | 452 |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorBorderHorizontal = (props) => (
<SvgIcon {...props}>
<path d="M3 21h2v-2H3v2zM5 7H3v2h2V7zM3 17h2v-2H3v2zm4 4h2v-2H7v2zM5 3H3v2h2V3zm4 0H7v2h2V3zm8 0h-2v2h2V3zm-4 4h-2v2h2V7zm0-4h-2v2h2V3zm6 14h2v-2h-2v2z... | IsenrichO/mui-with-arrows | src/svg-icons/editor/border-horizontal.js | JavaScript | mit | 649 |
// 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.
/** @suppress {duplicate} */
var remoting = remoting || {};
(function() {
'use strict';
/**
* @param {function(string, string)} sendExtensionMessage C... | axinging/chromium-crosswalk | remoting/webapp/base/js/protocol_extension_manager.js | JavaScript | bsd-3-clause | 3,641 |
/*! UIkit 2.27.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(addon) {
var component;
if (window.UIkit2) {
component = addon(UIkit2);
}
if (typeof define == 'function' && define.amd) {
define('uikit-datepicker', ['uikit'], function(){
return com... | hooyoyo/learn-py-blog | www/static/js/components/datepicker.js | JavaScript | gpl-3.0 | 113,438 |
//// [tests/cases/compiler/aliasUsageInAccessorsOfClass.ts] ////
//// [aliasUsage1_backbone.ts]
export class Model {
public someData: string;
}
//// [aliasUsage1_moduleA.ts]
import Backbone = require("aliasUsage1_backbone");
export class VisualizationModel extends Backbone.Model {
// interesting stuff he... | jdavidberger/TypeScript | tests/baselines/reference/aliasUsageInAccessorsOfClass.js | JavaScript | apache-2.0 | 1,831 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | dbHunter/bson_rtdb | web/grpcgateway/test/codemirror/addon/edit/closebrackets.js | JavaScript | apache-2.0 | 6,899 |
// Copyright 2007 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | cbetheridge/simpleclassroom | static/third-party/closure-library/closure/goog/ui/ac/richremotearraymatcher.js | JavaScript | mit | 4,708 |
/**
* française translation
* @author Régis Guyomarch <regisg@gmail.com>
* @author Benoit Delachaux <benorde33@gmail.com>
* @author Jonathan Grunder <jonathan.grunder@gmail.com>
* @version 2019-06-11
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['elfinder'], factory);
... | WBCE/WebsiteBaker_CommunityEdition | wbce/modules/elfinder/ef/js/i18n/elfinder.fr.js | JavaScript | gpl-2.0 | 35,217 |
/*!
* angular-mapboxgl-directive 0.16.0 2016-11-14
* An AngularJS directive for Mapbox GL
* git: git+https://github.com/Naimikan/angular-mapboxgl-directive.git
*/
(function (angular, mapboxgl, undefined) {
'use strict';
angular.module('mapboxgl-directive', []).directive('mapboxgl', ['$q', 'mapboxglUtils', 'mapboxglC... | ahocevar/cdnjs | ajax/libs/angular-mapboxgl-directive/0.16.0/angular-mapboxgl-directive.js | JavaScript | mit | 62,660 |
/*
* metismenu - v2.6.0
* A jQuery menu plugin
* https://github.com/onokumus/metisMenu#readme
*
* Made by Osman Nuri Okumuş <onokumus@gmail.com> (https://github.com/onokumus)
* Under MIT License
*/
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['exports', 'jquery']... | x112358/cdnjs | ajax/libs/metisMenu/2.6.0/metisMenu.js | JavaScript | mit | 13,015 |
/**
* Copyright (c) 2015-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.
*
* @provides... | wangchunling/react-native-for-APICloud | project/AwesomeProject/node_modules/react-native/Libraries/BatchedBridge/BatchingImplementation/BatchedBridgeFactory.js | JavaScript | bsd-2-clause | 3,413 |
/**
* A specialized SplitButton that contains a menu of {@link Ext.menu.CheckItem} elements. The button automatically
* cycles through each menu item on click, raising the button's {@link #change} event (or calling the button's
* {@link #changeHandler} function, if supplied) for the active menu item. Clicking on the... | serovvitaly/net | www/public/extjs-4/src/button/Cycle.js | JavaScript | bsd-3-clause | 7,229 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import ReactDOM from 'react-dom';
import RestAndDefault from './RestAndDefault';
describe('rest + default', ... | chungchiehlun/create-starter-app | packages/starter-scripts/fixtures/kitchensink/template/src/features/syntax/RestAndDefault.test.js | JavaScript | mit | 536 |
/*! tether 1.3.6 */
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory(require, exports, module);
} else {
root.Tether = factory();
}
}(this, function(require, exports, module) {
'use stri... | AMoo-Miki/cdnjs | ajax/libs/tether/1.3.6/js/tether.js | JavaScript | mit | 56,059 |
// PostgreSQL SchemaGrammar
// -------
var _ = require('underscore');
var grammar = require('./grammar').grammar;
var baseSchemaGrammar = require('../../base/schemagrammar').baseSchemaGrammar;
// Grammar for the schema builder.
exports.schemaGrammar = _.defaults({
// The possible column mo... | Stagounet/Blog | node_modules/knex/clients/server/postgres/schemagrammar.js | JavaScript | mit | 6,133 |
/**
* @fileoverview Rule to flag when deleting variables
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = function(context) {... | bpatters/eservice | ui/node_modules/eslint/lib/rules/no-delete-var.js | JavaScript | apache-2.0 | 574 |
/**
* [js-sha256]{@link https://github.com/emn178/js-sha256}
*
* @version 0.3.2
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2016
* @license MIT
*/
(function (root) {
'use strict';
var NODE_JS = typeof process == 'object' && process.versions && process.versions.node;
if (NO... | myfreeer/masterkey | src/sha256.js | JavaScript | lgpl-3.0 | 9,420 |
'use strict';
var pathFn = require('path');
var Promise = require('bluebird');
var _ = require('lodash');
var File = require('./file');
var util = require('hexo-util');
var fs = require('hexo-fs');
var chalk = require('chalk');
var EventEmitter = require('events').EventEmitter;
var Pattern = util.Pattern;
var join = ... | rocknamx8/rocknamx8.github.io | node_modules/hexo/lib/box/index.js | JavaScript | apache-2.0 | 6,826 |
(function(global) {
var define = global.define;
var require = global.require;
var Ember = global.Ember;
if (typeof Ember === 'undefined' && typeof require !== 'undefined') {
Ember = require('ember');
}
Ember.libraries.register('Ember Simple Auth Torii', '0.6.5');
define("simple-auth-torii/authenticators... | thisispiers/cdnjs | ajax/libs/ember-simple-auth/0.6.5/simple-auth-torii.amd.js | JavaScript | mit | 4,453 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Pipe } from '@angular/core';
import { isBlank } from '../facade/lang';
import { InvalidPipeArgumentError } f... | ice3x2/Clreball | web/lib/@angular/common/src/pipes/uppercase_pipe.js | JavaScript | gpl-3.0 | 1,271 |
'use strict';
module.exports.definition = {
set: function (v) {
this._setProperty('pause-after', v);
},
get: function () {
return this.getPropertyValue('pause-after');
},
enumerable: true,
configurable: true
};
| ElvisLouis/code | work/js/node_modules/jsdom/node_modules/cssstyle/lib/properties/pauseAfter.js | JavaScript | gpl-2.0 | 252 |
/**
* Shopware 5
* Copyright (c) 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
* permission... | megadruck/Shopware-Test1 | themes/Backend/ExtJs/backend/category/store/tree.js | JavaScript | agpl-3.0 | 1,517 |
/**
* @depend ../../sinon.js
*/
/**
* Sinon core utilities. For internal use only.
*
* @author Christian Johansen (christian@cjohansen.no)
* @license BSD
*
* Copyright (c) 2010-2013 Christian Johansen
*/
"use strict";
(function (sinon) {
var div = typeof document != "undefined" && document.createElement("... | DSynergy/Go | vendor/sinon/lib/sinon/util/core.js | JavaScript | mit | 9,917 |
// ==========================================
// BOWER: CacheClean API
// ==========================================
// Copyright 2012 Twitter, Inc
// Licensed under The MIT License
// http://opensource.org/licenses/MIT
// ==========================================
var Emitter = require('events').EventEmitter;
var... | alexsmander/alexmattorr | wp-content/themes/portfolio/node_modules/grunt-bower-task/node_modules/bower/lib/commands/cache-clean.js | JavaScript | gpl-2.0 | 4,511 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v3.3.2
* @link http://www.ag-grid.com/
* @license MIT
*/
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() {... | dlueth/cdnjs | ajax/libs/ag-grid/3.3.2/lib/headerRendering/renderedHeaderGroupCell.js | JavaScript | mit | 7,949 |
d3_selectionPrototype.text = function(value) {
return arguments.length < 1
? this.node().textContent : this.each(typeof value === "function"
? function() { var v = value.apply(this, arguments); this.textContent = v == null ? "" : v; } : value == null
? function() { this.textContent = ""; }
: f... | webisteme/punkmoney | web/static/d3/src/core/selection-text.js | JavaScript | mit | 365 |
'use strict';
describe('parser', function() {
beforeEach(function() {
/* global getterFnCacheDefault: true */
/* global getterFnCacheExpensive: true */
// clear caches
getterFnCacheDefault = createMap();
getterFnCacheExpensive = createMap();
});
describe('lexer', function() {
var lex;
... | techlabs28/angular.js | test/ng/parseSpec.js | JavaScript | mit | 124,711 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | sreym/cdnjs | ajax/libs/forerunnerdb/1.3.455/fdb-core+views.js | JavaScript | mit | 280,382 |
(function() {
var Binary, autoprefixer, fs, path;
autoprefixer = require('./autoprefixer');
path = require('path');
fs = require('fs-extra');
Binary = (function() {
function Binary(process) {
this["arguments"] = process.argv.slice(2);
this.stdin = process.stdin;
this.stderr = process... | bekahlbaker/bekahlynnbaker.com | wp-content/themes/sparkle/node_modules/autoprefixer/lib/binary.js | JavaScript | gpl-2.0 | 10,599 |
/**
* Copyright (c) 2015-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.
*
* The easin... | jskit2015/react-native-for-APICloud | project/AwesomeProject/node_modules/react-native/Libraries/Animation/AnimationUtils.js | JavaScript | bsd-2-clause | 6,143 |
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
https://github.com/mishoo/UglifyJS2
-------------------------------- (C) ---------------------------------
Author: Mihai Bazon
... | EdwardStudy/myghostblog | versions/1.25.7/node_modules/uglify-js/lib/transform.js | JavaScript | mit | 6,888 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["Highcharts"] = fact... | viskin/cdnjs | ajax/libs/react-highcharts/4.0.0/highstock.js | JavaScript | mit | 4,356 |
function WebSocketTest2()
{
if ("WebSocket" in window)
{
var ws = new WebSocket("%%WEBSOCKET_URL%%");
ws.onopen = function()
{
// Web Socket is connected
alert("websocket is open");
// You can send data now
ws.send("Hey man, you got the time?");
};
ws.onmessage = function(evt) { alert("recei... | krosenvold/selenium-git-release-candidate | third_party/objc/CocoaHTTPServer/Samples/SimpleWebSocketServer/Web/WebSocketTest2.js | JavaScript | apache-2.0 | 467 |
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("rxjs-compat/observable/bindNodeCallback"));
//# sourceMappingURL=bindNodeCallback.js.map | BigBoss424/portfolio | v8/development/node_modules/rxjs/observable/bindNodeCallback.js | JavaScript | apache-2.0 | 280 |
'use strict';
var toArray = require('../../../lib/Array/from');
var f = function () {
return toArray(arguments);
};
module.exports = function (t, a) {
a.deep(t.call(f, 0, 1, 2)(3), [], "0 arguments");
a.deep(t.call(f, 5, {})(1, 2)(3, 4)(5, 6), [1, 2, 3, 4, 5], "Many arguments");
};
| markredballoon/clivemizen | wp-content/themes/redballoon/bootstrap/node_modules/npm-shrinkwrap/node_modules/json-diff/node_modules/cli-color/node_modules/es5-ext/test/Function/prototype/curry.js | JavaScript | gpl-2.0 | 289 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
(function (mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) //... | Cyperghost/WCF | wcfsetup/install/files/js/3rdParty/codemirror/addon/display/panel.js | JavaScript | lgpl-2.1 | 4,659 |
Prism.languages.csharp=Prism.languages.extend("clike",{keyword:/\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|na... | J22pineda/myscheduler-web | temp/bower_components/prism/components/prism-csharp.min.js | JavaScript | bsd-3-clause | 857 |
/**
* angular-strap
* @version v2.3.6 - 2015-11-14
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
angular.module('mgcrea.ngStrap.modal').run([ '$templateCac... | EmprendedoresLA/emprendevs-equipo-1 | webapp2/bower_components/angular-strap/dist/modules/modal.tpl.js | JavaScript | mit | 918 |
var pink={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};export default pink; | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-beta.5/legacy/colors/pink.min.js | JavaScript | mit | 230 |
// 19.1.3.1 Object.assign(target, source)
var $def = require('./$.def');
$def($def.S, 'Object', {assign: require('./$.assign')}); | chrisschultzblackboard/door-fellowship | wp-content/themes/chris-base-theme/node_modules/sassdoc/node_modules/babel-runtime/node_modules/core-js/modules/es6.object.assign.js | JavaScript | gpl-2.0 | 129 |
require('../modules/es6.object.to-string');
require('../modules/web.dom.iterable');
require('../modules/es6.weak-set');
module.exports = require('../modules/$').core.WeakSet; | chrisschultzblackboard/door-fellowship | wp-content/themes/chris-base-theme/node_modules/sassdoc/node_modules/babel-runtime/node_modules/core-js/library/fn/weak-set.js | JavaScript | gpl-2.0 | 174 |
//! moment.js locale configuration
//! locale : Russian [ru]
//! author : Viktorminator : https://github.com/Viktorminator
//! Author : Menelion Elensúle : https://github.com/Oire
//! author : Коренберг Марк : https://github.com/socketpair
;(function (global, factory) {
typeof exports === 'object' && typeof module ... | gitee2008/glaf | webapps/glaf/static/AdminLTE/bower_components/moment/locale/ru.js | JavaScript | apache-2.0 | 8,328 |
// DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.path.moveTo.multiple
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/common/canvas-tests.js");
var t = async_test("");
t.step(function() {
var offscreenCanvas = new OffscreenC... | totallybradical/temp_servo2 | tests/wpt/web-platform-tests/offscreen-canvas/path-objects/2d.path.moveTo.multiple.worker.js | JavaScript | mpl-2.0 | 673 |
/**
* Polski translation
* @author Marcin Mikołajczyk <marcin@pjwstk.edu.pl>
* @author Wojciech Jabłoński <www.jablonski@gmail.com>
* @author Bogusław Zięba <bobi@poczta.fm>
* @version 2016-07-09
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.pl = {
... | agent115/test2 | vendor/studio-42/elfinder/js/i18n/elfinder.pl.js | JavaScript | bsd-3-clause | 22,983 |