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 2006 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... | dcmoore/sphero-blockly | resources/public/closure-library/closure/goog/net/channelrequest.js | JavaScript | mit | 37,752 |
/*!
* # Semantic UI 2.3.2 - Rating
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
window = (typeof window != 'undefined' && window.Math == Math)
? window
: (typeof sel... | martindale/Semantic-UI | dist/components/rating.js | JavaScript | mit | 14,361 |
define({
"visible": "عرض خريطة النظرة العامة افتراضيًا",
"minWidth": "الحد الأدنى للاتساع",
"minHeight": "الحد الأدنى للارتفاع",
"maxWidth": "الحد الأقصى للاتساع",
"maxHeight": "الحد الأقصى للارتفاع",
"minText": "الحد الأدنى",
"maxText": "الحد الأقصى",
"attachText": "تحديد زاوية الخريطة لإرفاق عنصر واجه... | cmccullough2/cmv-wab-widgets | wab/2.3/widgets/OverviewMap/setting/nls/ar/strings.js | JavaScript | mit | 738 |
// all these characters are safe to put in an HTML id
var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
var crypto = window.crypto;
var arr = new Uint8Array(24);
module.exports = uuid;
function uuid() {
crypto.getRandomValues(arr);
var s = "";
for (var m = 0, t = 0; t < arr.length; m =... | Qbuer/groovebasin | src/client/uuid.js | JavaScript | mit | 675 |
/*!
* jquery.fancytree.debug.js
*
* Miscellaneous debug extensions.
* (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/)
*
* Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de)
*
* Released under the MIT license
* https://github.com/mar10/fancytree/wiki/LicenseInfo
*
* @ver... | H4213/WeLyon1.0 | static/components/fancytree-2.9.0/dist/src/jquery.fancytree.debug.js | JavaScript | mit | 3,739 |
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defineProperties(ta... | Akkuma/npm-cache-benchmark | pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/redux-form/6.6.3/es/Fields.js | JavaScript | mit | 6,517 |
/*!
* Copyright (c) Metaways Infosystems GmbH, 2011
* LGPLv3, http://opensource.org/licenses/LGPL-3.0
*/
Ext.ns('Ext.ux.AdvancedSearch');
/**
* dataIndex chooser + filter
*
* @namespace Ext.ux.AdvancedSearch
* @class Ext.ux.AdvancedSearch.FilterCriteria
* @extends Ext.Container
*/
Ext.ux.AdvancedSearch.Filt... | sidmahata/betacap | public_html/bundles/aimeosshop/client/extjs/lib/ext.ux/AdvancedSearch/FilterCriteria.js | JavaScript | mit | 3,465 |
jQuery(function($) {
var body = $('body');
var html = $('html');
var viewport = $(window);
/* ==========================================================================
Menu
========================================================================== */
function menu() {
html.toggleClass('menu-active');... | chadgmoore/mattila | src/js/script.js | JavaScript | mit | 3,633 |
import { filter, sortBy } from 'common/collections';
import { flow } from 'common/fp';
import { toFixed } from 'common/math';
import { useBackend } from '../backend';
import { LabeledList, ProgressBar, Section } from '../components';
import { getGasColor, getGasLabel } from '../constants';
import { NtosWindow } from '.... | erwgd/-tg-station | tgui/packages/tgui/interfaces/NtosAtmos.js | JavaScript | agpl-3.0 | 1,721 |
/**
* @fileOverview Change me.
*/
export('changeMe');
/**
* Change me.
*/
function changeMe() {
// TODO: impl. me.
}
| Transcordia/ringojs | tools/admin/skeletons/package/lib/skeleton.js | JavaScript | apache-2.0 | 127 |
/* Copyright 2012 Mozilla Foundation
*
* 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... | WhitesteinTechnologies/wt-vaadin-pdf.js | web/pdf_document_properties.js | JavaScript | apache-2.0 | 8,577 |
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/errors/RequestTimeoutError",["./create","./RequestError"],function(a,b){return a("RequestTimeoutError... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojo/errors/RequestTimeoutError.js | JavaScript | apache-2.0 | 353 |
(async function(testRunner) {
const {page, session, dp} = await testRunner.startBlank(
`Verifies that making requests which set "SameParty; SameSite=Strict" cookies send us Network.ResponseReceivedExtraInfo events with corresponding blocked set-cookies.\n`);
await dp.Network.enable();
const firstPartyUrl =... | scheib/chromium | third_party/blink/web_tests/http/tests/inspector-protocol/network/blocked-setcookie-same-party-invalid-same-site-strict.js | JavaScript | bsd-3-clause | 1,711 |
// Copyright 2019 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.
/** Element containing navigation buttons for the Cellular Setup flow. */
Polymer({
is: 'button-bar',
behaviors: [
I18nBehavior,
],
properti... | scheib/chromium | ui/webui/resources/cr_components/chromeos/cellular_setup/button_bar.js | JavaScript | bsd-3-clause | 2,396 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'ko', {
copy: '복사',
copyError: '브라우저의 보안설정 때문에 복사할 수 없습니다. 키보드(Ctrl/Cmd+C)를 이용해서 복사하십시오.',
cut: '잘라내기',
cutError: '브라우저의 보안설정 때문에 잘라내기... | chronokz/Betty | www/modules/admin/js/plugins/!ckeditor/plugins/clipboard/lang/ko.js | JavaScript | isc | 915 |
module.exports={A:{A:{"1":"E B A","2":"J C G VB"},B:{"1":"D Y g H L"},C:{"1":"0 1 3 4 5 6 TB z 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 t RB QB"},D:{"1":"0 1 3 4 5 6 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... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/caniuse-lite/data/features/keyboardevent-which.js | JavaScript | mit | 815 |
(function($){$('#publish').click(function(event){var data={};var $el=$('#siteorigin-widgets-meta-box');$el.find('*[name]').each(function(){var $$=$(this);var name=/[a-zA-Z0-9\-]+\[[a-zA-Z0-9]+\]\[(.*)\]/.exec($$.attr('name'));if(!name){return;}
name=name[1];var parts=name.split('][');parts=parts.map(function(e){if(!is... | rayhan-mursalin/ecnh | wp-content/plugins/so-widgets-bundle/base/js/meta-box-manager.min.js | JavaScript | gpl-2.0 | 888 |
var define, requirejs;
(function() {
var MOVED_MODULES = {
"discourse/views/list/post-count-or-badges": "discourse/raw-views/list/post-count-or-badges",
"discourse/views/list/posts-count-column" : "discourse/raw-views/list/posts-count-column",
"discourse/views/list/visited-line" : "discourse/raw-views/l... | gfvcastro/discourse | app/assets/javascripts/discourse-loader.js | JavaScript | gpl-2.0 | 5,257 |
function ReservationManagement(opts, approval)
{
var options = opts;
var elements = {
userFilter: $("#userFilter"),
startDate: $("#formattedStartDate"),
endDate: $("#formattedEndDate"),
userId: $("#userId"),
scheduleId: $("#scheduleId"),
resourceId: $("#resourceId"),
statusId: $('#statusId'),
referen... | GTboy68/html | Web/scripts/admin/reservations.js | JavaScript | gpl-3.0 | 12,912 |
/**
* Stateful mixin for graphic object
*/
var States = require('../States');
var Stateful = function (opts) {
if (opts.states) {
this.initStates(opts.states);
}
};
Stateful.prototype = {
initStates: function (states) {
this._states = new States({... | mo-norant/FinHeartBel | website/node_modules/zrender/lib/graphic/mixin/Stateful.js | JavaScript | gpl-3.0 | 783 |
var le__mutex_8h =
[
[ "LE_MUTEX_DECLARE_REF", "le__mutex_8h.html#a7bada3ca8908be93ba5b393e460f6e80", null ],
[ "le_mutex_Ref_t", "le__mutex_8h.html#ab2af11e2077e6bed9962eb7dfd54eb03", null ],
[ "le_mutex_CreateNonRecursive", "le__mutex_8h.html#a602e2c18e646db7af0d68bb5fb103207", null ],
[ "le_mutex_Cre... | legatoproject/legato-docs | 15_10/le__mutex_8h.js | JavaScript | mpl-2.0 | 965 |
define([
'backbone', 'underscore', 'underscore.string', 'gettext', 'js/models/group',
'js/collections/group', 'backbone.associations', 'coffee/src/main'
],
function(Backbone, _, str, gettext, GroupModel, GroupCollection) {
'use strict';
_.str = str;
var GroupConfiguration = Backbone.AssociatedModel.... | xiandiancloud/edxplaltfom-xusong | cms/static/js/models/group_configuration.js | JavaScript | agpl-3.0 | 3,339 |
var namespaceCqrs_1_1MongoDB_1_1Tests_1_1Integration_1_1Configuration =
[
[ "TestMongoDbModule", "classCqrs_1_1MongoDB_1_1Tests_1_1Integration_1_1Configuration_1_1TestMongoDbModule.html", "classCqrs_1_1MongoDB_1_1Tests_1_1Integration_1_1Configuration_1_1TestMongoDbModule" ]
]; | cdmdotnet/CQRS | wiki/docs/4.2/html/namespaceCqrs_1_1MongoDB_1_1Tests_1_1Integration_1_1Configuration.js | JavaScript | lgpl-2.1 | 281 |
#!/usr/bin/env node
/************************************************************************
* Copyright 2010-2015 Brian McKelvey.
*
* 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
... | explodingbarrel/WebSocket-Node | test/scripts/autobahn-test-client.js | JavaScript | apache-2.0 | 4,521 |
reportCompare(typeof(evalcx("/x/")), "object")
| darkrsw/safe | tests/browser_extensions/js1_8_5/regress/regress-607799.js | JavaScript | bsd-3-clause | 47 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.state.saverestore.shadowBlur
// Description:save()/restore() works for shadowBlur
// Note:
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = ... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/the-canvas-state/2d.state.saverestore.shadowBlur.worker.js | JavaScript | bsd-3-clause | 1,111 |
/*!
* jQuery Scrollify
* Version 1.0.18
*
* Requires:
* - jQuery 1.7 or higher
*
* https://github.com/lukehaas/Scrollify
*
* Copyright 2016, Luke Haas
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software... | wout/cdnjs | ajax/libs/scrollify/1.0.18/jquery.scrollify.js | JavaScript | mit | 25,937 |
'use strict';
var gulp = require('gulp');
var gulpLoadPlugins = require('gulp-load-plugins');
// var request = require('request')
var KarmaServer = require('karma').Server;
// var fs = require('fs')
var path = require('path');
var plugins = gulpLoadPlugins();
process.env.NODE_ENV = 'test';
gulp.task('test', ['start... | f1lander/happy-new-dawn | gulp/test.js | JavaScript | mit | 1,064 |
// 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 applicable... | dart-archive/core-elements | lib/src/web-animations-next/src/player.js | JavaScript | apache-2.0 | 6,407 |
// Copyright 2018 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.
function f(async) {
async()
}
f()
| weolar/miniblink49 | v8_7_5/test/message/fail/call-async.js | JavaScript | apache-2.0 | 204 |
/**
* Copyright 2016 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | jdelhommeau/amphtml | ads/inabox/inabox-messaging-host.js | JavaScript | apache-2.0 | 3,662 |
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
goog.module('goog.editor.plugins.SpacesTabHandlerTest');
goog.setTestOnly();
const BrowserEvent = goog.require('goog.events.BrowserEvent');
const FieldMock = goog.require('goog.testing.editor.FieldMock');
const KeyCod... | scheib/chromium | third_party/google-closure-library/closure/goog/editor/plugins/spacestabhandler_test.js | JavaScript | bsd-3-clause | 6,381 |
version https://git-lfs.github.com/spec/v1
oid sha256:d15c5b3dd0e7f84adb47f2111a601c2f99cbcd132a55c70c01688fef44bb3ca5
size 3449
| yogeshsaroya/new-cdnjs | ajax/libs/highstock/2.0.4/themes/dark-unica.js | JavaScript | mit | 129 |
var store, env;
var run = Ember.run;
var Person = DS.Model.extend({
name: DS.attr('string'),
cars: DS.hasMany('car', { async: false })
});
Person.toString = function() { return "Person"; };
var Car = DS.Model.extend({
make: DS.attr('string'),
model: DS.attr('string'),
person: DS.belongsTo('person', { async... | pdud/data | packages/ember-data/tests/integration/record-array-manager-test.js | JavaScript | mit | 3,764 |
"use strict";
var BaseCollection = require('./baseCollection');
var Call = require('./call');
module.exports = BaseCollection.extend({
type: 'calls',
model: Call
});
| unam3/kaiwa | src/js/models/calls.js | JavaScript | mit | 177 |
/* */
var $ = require('./$'),
assertObject = require('./$.assert').obj;
module.exports = function ownKeys(it) {
assertObject(it);
var keys = $.getNames(it),
getSymbols = $.getSymbols;
return getSymbols ? keys.concat(getSymbols(it)) : keys;
};
| megadreams/Aurelia | sample_application/jspm_packages/npm/core-js@0.9.18/modules/$.own-keys.js | JavaScript | cc0-1.0 | 260 |
var headerInformation = [{"back":"","title":"1. Choose Buttons and Options","next":"Select Services"},
{"back":"Button Styles","title":"2. Select Services","next":"Sharing Method"},{"back":"Social Channels","title":"3. Sharing Method","next":"Additional Features"},{"back":"Sharing Method","title":"4. Additional Feature... | naveenchander1909/consult1 | wp-content/plugins/share-this/js/sharethis.js | JavaScript | gpl-2.0 | 73,789 |
/**
* Copyright 2013 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 agreed to ... | kwangkim/react-page | src/elements/VectorWidget/VectorWidget.js | JavaScript | apache-2.0 | 6,370 |
import Ember from 'ember';
export default Ember.Controller.extend({
showFullCharacters: false,
fullCharacters: null,
displayCast: function() {
if (this.get('showFullCharacters') && this.get('fullCharacters')) {
return this.get('fullCharacters');
} else {
return this.get('model.featuredCastin... | vevix/hummingbird | frontend/app/controllers/manga/index.js | JavaScript | apache-2.0 | 1,144 |
(function () {
'use strict';
describe('dynamicLocale', function() {
beforeEach(module('tmh.dynamicLocale'));
beforeEach(module(function(tmhDynamicLocaleProvider) {
tmhDynamicLocaleProvider.localeLocationPattern('/base/components/angular-i18n/angular-locale_{{locale}}.js');
}));
afterEach(inj... | jvedikunnel-fa/tapestry5-angular-demo | src/main/webapp/js/bower_components/angular-dynamic-locale/test/tmhDynamicLocaleSpec.js | JavaScript | apache-2.0 | 15,973 |
define([
"jQuery",
"utils/url",
"core/events",
"core/state",
"core/progress",
"core/loading",
"core/search"
], function($, URL, events, state, progress, loading, search) {
var prev, next;
var usePushState = (typeof history.pushState !== "undefined");
var handleNavigation = func... | thelastmile/gitbook | theme/javascript/core/navigation.js | JavaScript | apache-2.0 | 5,223 |
// Copyright 2008 Google Inc. 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 conditions a... | dfdeshom/v8onpython | v8-src/test/mjsunit/string-lastindexof.js | JavaScript | bsd-3-clause | 2,344 |
version https://git-lfs.github.com/spec/v1
oid sha256:91881630a67d058d35b53de1204fd824825239c8668b1930b0324f2484bb9c83
size 10244
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/parser.js | JavaScript | mit | 130 |
/*
Language: Swift
Author: Chris Eidhof <chris@eidhof.nl>
Contributors: Nate Cook <natecook@gmail.com>
Category: system
*/
function(hljs) {
var SWIFT_KEYWORDS = {
keyword: '__COLUMN__ __FILE__ __FUNCTION__ __LINE__ as as! as? associativity ' +
'break case catch class continue convenience default defer... | guvatara/guvatara.github.io | vendors/highlight/languages/swift.js | JavaScript | mit | 4,573 |
/** @license MIT License (c) copyright 2012-2013 original author or authors */
(function(e){e(["require","./when","./cancelable","./delay","./function"],function(e){function o(){}function u(e){o.prototype=e;var t=new o;return o.prototype=null,t}var t,n,r,i,s;return t=e("./when"),n=e("./cancelable"),r=e("./delay"),i=e(... | minutelabsio/minutelabsio.github.io | library/js/vendor/when/poll.js | JavaScript | gpl-3.0 | 860 |
;(function ($) {
/**
* Shopware Tab Menu Plugin
*
* This plugin sets up a menu with tabs you can switch between.
*/
$.plugin('swTabMenu', {
defaults: {
/**
* Class that should be set on the plugin element when initializing
*
* @pr... | Sunchairs/shopware | themes/Frontend/Responsive/frontend/_public/src/js/jquery.tab-menu.js | JavaScript | agpl-3.0 | 7,336 |
//// [ArrowFunction3.ts]
var v = (a): => {
};
//// [ArrowFunction3.js]
var v = (a);
{
}
;
| domchen/typescript-plus | tests/baselines/reference/ArrowFunction3.js | JavaScript | apache-2.0 | 103 |
var tape = require('tape')
var thunky = require('./')
tape('run only once', function (t) {
t.plan(3)
var ran = 0
var run = thunky(function (cb) {
ran++
cb()
})
run(function () {
t.same(ran, 1, 'ran once')
})
run(function () {
t.same(ran, 1, 'ran once')
})
run(function () {
t.sam... | severnsc/brewing-app | src/client/node_modules/thunky/test.js | JavaScript | mit | 2,047 |
import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import Toggle from 'react-toggle';
import AsyncSelect from 'react-select/async';
import { NonceProvider } from 'react-sele... | gol-cha/mastodon | app/javascript/mastodon/features/hashtag_timeline/components/column_settings.js | JavaScript | agpl-3.0 | 3,859 |
describe('#mouseout', function() {
beforeEach(function() {
$.fn.raty.defaults.path = '../lib/images';
this.el = Helper.create('#el');
});
afterEach(function() {
Helper.clear();
});
it ('receives the mouse event', function() {
// given
this.el.raty({
mouseout: function(score, evt) ... | tectronics/tyres-wordpress | wp-content/plugins/directory/libraries/raty/spec/mouseout_spec.js | JavaScript | gpl-2.0 | 2,785 |
OC.L10N.register(
"sharebymail",
{
"Shared with %1$s" : "Compartido con %1$s",
"Shared with {email}" : "Compartido con {email}",
"Shared with %1$s by %2$s" : "Compartido con %1$s por %2$s",
"Shared with {email} by {actor}" : "Compartido con {email} por {actor}",
"Password for mail share sent... | andreas-p/nextcloud-server | apps/sharebymail/l10n/es_UY.js | JavaScript | agpl-3.0 | 2,772 |
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.grid.enhanced.plugins.exporter.CSVWriter"]){
dojo._hasResource["dojox.grid.enhanced.plugins.ex... | skobbler/AddressHunter | web-app/public/js/dojox/grid/enhanced/plugins/exporter/CSVWriter.js | JavaScript | bsd-3-clause | 1,801 |
version https://git-lfs.github.com/spec/v1
oid sha256:b8adab925a25da8463a3690ccfdeb51a0e5739c078dd3cf9fd925e2b426b6bd5
size 2326
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.4.0-beta.4/i18n/angular-locale_bm-latn-ml.js | JavaScript | mit | 129 |
define("dijit/tree/dndSource", [
"dojo/_base/array", // array.forEach array.indexOf array.map
"dojo/_base/connect", // isCopyKey
"dojo/_base/declare", // declare
"dojo/dom-class", // domClass.add
"dojo/dom-geometry", // domGeometry.position
"dojo/_base/lang", // lang.mixin lang.hitch
"dojo/on", // subscribe
"do... | brucevsked/vskeddemolist | vskeddemos/projects/jslibdemo/WebRoot/js/dojo193/dijit/tree/dndSource.js.uncompressed.js | JavaScript | mit | 18,493 |
function bug673705() {
var x;
try {
try {
} catch (e) {
}
} finally {
}
print(x);
return x;
}
assertEq(bug673705(), undefined);
| JasonGross/mozjs | js/src/jit-test/tests/basic/bug673705-2.js | JavaScript | mpl-2.0 | 152 |
// Copyright 2015 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.
// Crankshaft changes the stack usage and messes up the binary search for the
// stack depth that causes a stack overflow. The issue only arises withou... | weolar/miniblink49 | v8_7_5/test/mjsunit/regress/regress-475705.js | JavaScript | apache-2.0 | 1,637 |
(function($) {
CKEDITOR.plugins.add( 'drupal_accessibility',
{
icons : '',
active : false,
editor : { },
init: function( editor ) {
var that = this;
that.editor = editor;
editor.addCss(Drupal.settings.accessibility_wysiwyg.css);
editor.addCommand( 'accessibility... | ktrovato/drupal-secured | sites/all/modules/contrib/accessibility/modules/accessibility_wysiwyg/plugins/ckeditor3/plugin.js | JavaScript | gpl-2.0 | 4,047 |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 48c-88 0-176 10.9-176 87.6v208c0 42.3 34.5 76.6 77 76.6L124 453v11h49.1l44-43.8H300l44 43.8h44v-10.9l-33-32.8c42.5 0 77-34.4 77-76.6v-208C432 58.9 353.2 48 256 48zm-99 328.4c-18.3 0-33-14.7-33-32.8s14.7-32.8 33-32.8 33 14.7 33 32.8... | matteobortolazzo/matteobortolazzo.github.io | build/app/svg/md-train.js | JavaScript | mit | 502 |
// Copyright 2006 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... | AndrewBarton/WebParrot | transcoders/traceur/third_party/closure-library/closure/goog/debug/fancywindow.js | JavaScript | mit | 8,987 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'justify', 'tt', {
block: 'Киңлеккә карап тигезләү',
center: 'Үзәккә тигезләү',
left: 'Сул як кырыйдан тигезләү',
right: 'Уң як кырыйдан тигезләү'
... | CCI-MIT/XCoLab | view/src/main/resources/static/js/lib/newckeditorplugins/justify/lang/tt.js | JavaScript | mit | 401 |
var test = require('tape');
var Codec = require('..');
test('encode key', function(t){
var codec = new Codec({ keyEncoding: 'hex' });
var buf = codec.encodeKey('686579', {});
t.equal(buf.toString(), 'hey');
buf = codec.encodeKey('686579');
t.equal(buf.toString(), 'hey');
buf = codec.encodeKey('686579', ... | bleffew99/Token_Broadcast | src/node_modules/level-codec/test/kv.js | JavaScript | mit | 2,238 |
/* eslint-disable no-console, no-param-reassign */
/**
* HTML5 video player module to support HLS video playback.
*
*/
(function(requirejs, require, define) {
'use strict';
define('video/02_html5_hls_video.js', ['video/02_html5_video.js', 'hls'],
function(HTML5Video, HLS) {
var HLSVideo = {};
... | Stanford-Online/edx-platform | common/lib/xmodule/xmodule/js/src/video/02_html5_hls_video.js | JavaScript | agpl-3.0 | 4,369 |
/**
* 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... | artyomtrityak/ec-deploy-mobile | node_modules/react-native/Libraries/Interaction/InteractionManager.js | JavaScript | apache-2.0 | 5,044 |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.dayjs_plugin_advancedFormat=t()}(this,function(){"use strict";return function(e,t,r){var n=t.prototype,o=n.format;r.en.ordinal=function(e){var t=["th","st","nd","rd"],r=e%100;return"[... | cdnjs/cdnjs | ajax/libs/dayjs/1.8.36/plugin/advancedFormat.js | JavaScript | mit | 915 |
// An example configuration file.
exports.config = {
// The address of a running selenium server.
//seleniumAddress: 'http://localhost:4444/wd/hub',
seleniumServerJar: '../node_modules/protractor/selenium/selenium-server-standalone-2.42.2.jar', // Make use you check the version in the folder
// Capabilities to... | lokinell/zols | zols-ui/test/protractor.conf.js | JavaScript | apache-2.0 | 665 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The production x >>= y is the same as x = x >> y
*
* @path ch11/11.13/11.13.2/S11.13.2_A4.7_T2.5.js
* @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)
*/
//C... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.13/11.13.2/S11.13.2_A4.7_T2.5.js | JavaScript | bsd-3-clause | 1,405 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js
* @description Function.prototype.bind - F can get own accessor property that overrides an inherited data property
*/
function testcase() {
var foo = function () { };
var obj = ... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.3/15.3.4/15.3.4.5/15.3.4.5-6-7.js | JavaScript | bsd-3-clause | 693 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The Date.prototype.toDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes
*
* @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T1.js
* @description Checking ReadOnly attribute
*/
x = Date.prototype.toDateString.length;
Date.p... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T1.js | JavaScript | bsd-3-clause | 489 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The Date.prototype property "setMilliseconds" has { DontEnum } attributes
*
* @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T3.js
* @description Checking DontEnum attribute
*/
if (Date.prototype.propertyIsEnumerable('setMilliseconds')) {
$ERROR... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T3.js | JavaScript | bsd-3-clause | 551 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If x is -Infinity, Math.floor(x) is -Infinity
*
* @path ch15/15.8/15.8.2/15.8.2.9/S15.8.2.9_A5.js
* @description Checking if Math.floor(x) is -Infinity, where x is -Infinity
*/
// CHECK#1
var x = -Infinity;
if (Math.floor(x) !== -Infinity)
{
$ERR... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.8/15.8.2/15.8.2.9/S15.8.2.9_A5.js | JavaScript | bsd-3-clause | 383 |
"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 OuterSubscriber_1 = require('../OuterSubscri... | ottohernandezgarzon/tanks-colored-of-war | programar/node_modules/rxjs/operators/throttle.js | JavaScript | mit | 5,917 |
if (typeof requestAnimationFrame === "undefined") {
requestAnimationFrame = typeof window !== "undefined"
&& (window.msRequestAnimationFrame
|| window.mozRequestAnimationFrame
|| window.webkitRequestAnimationFrame
|| window.oRequestAnimationFrame)
|| function(callback) { return setTimeou... | nolsherry/cdnjs | ajax/libs/d3-timer/0.0.2/timer.js | JavaScript | mit | 3,424 |
angular
.module('material.components.autocomplete')
.controller('MdAutocompleteCtrl', MdAutocompleteCtrl);
var ITEM_HEIGHT = 41,
MAX_HEIGHT = 5.5 * ITEM_HEIGHT,
MENU_PADDING = 8;
function MdAutocompleteCtrl ($scope, $element, $mdUtil, $mdConstant, $mdTheming, $window,
$... | Androguide/material | src/components/autocomplete/js/autocompleteController.js | JavaScript | mit | 18,617 |
/*
File: xajax_core.js
This file contains the definition of the main xajax javascript core.
This is the client side code which runs on the web browser or similar
web enabled application. Include this in the HEAD of each page for
which you wish to use xajax.
Title: xajax core javascript library
Please s... | hammadalinaqvi/bookstoregenie | xajax_new/xajax_js/xajax_core_uncompressed.js | JavaScript | apache-2.0 | 93,460 |
// 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: '46241355-bb95-46a9-ba6c-42b554d71925',
managementCertificate: {
key: '... | MikhailTryakhov/azure-xplat-cli | test/recordings/cli-batch-job-tests/cli_batch_job_should_update_a_job_using_parameters.nock.js | JavaScript | apache-2.0 | 6,669 |
var shell = require('..');
var assert = require('assert'),
fs = require('fs');
shell.config.silent = true;
shell.rm('-rf', 'tmp');
shell.mkdir('tmp');
//
// Invalids
//
shell.sed();
assert.ok(shell.error());
shell.sed(/asdf/g); // too few args
assert.ok(shell.error());
shell.sed(/asdf/g, 'nada'); // too few ... | jamon/shelljs | test/sed.js | JavaScript | bsd-3-clause | 1,176 |
test(function () {
var webpage = require('webpage');
var page = webpage.create();
page.evaluate(function() {
window.addEventListener('keypress', function(event) {
window.loggedEvent = window.loggedEvent || [];
window.loggedEvent.push(event);
}, false);
});
... | matepeter90/phantomjs | test/module/webpage/keypress-event.js | JavaScript | bsd-3-clause | 2,109 |
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import Counter from '../components/Counter'
import * as CounterActions from '../actions'
function mapStateToProps(state) {
return {
counter: state.counter
}
}
function mapDispatchToProps(dispatch) {
return bindActionCreators(Co... | janaagaard75/framework-investigations | old-or-not-typescript/learn-redux/universal/common/containers/App.js | JavaScript | unlicense | 416 |
// Copyright 2012 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 applicable... | marcofernandezheras/MaquinaDeTuring | src/sprite_offsets.js | JavaScript | apache-2.0 | 19,216 |
/*!
* Connect - multipart
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var deprecate = require('depd')('connect');
var multiparty = require('multiparty')
, typeis = require('type-is')
, _limit = require('./limit')
, qs = require('qs');... | twobitcircus/galileo-data-painting | node_modules_intel/express/node_modules/connect/lib/middleware/multipart.js | JavaScript | mit | 4,775 |
import PropTypes from 'prop-types';
import { Component, cloneElement, h, options, render } from 'preact';
var version = '15.1.0'; // trick libraries to think we are react
var ELEMENTS = 'a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data dat... | 13space/13space.github.io | node_modules/preact-compat/dist/preact-compat.es.js | JavaScript | mit | 17,032 |
/**
* @fileOverview
*
* 样式控制
*
* @author: techird
* @copyright: Baidu FEX, 2014
*/
KityMinder.registerUI('ribbon/appearence/style', function(minder) {
var $tabs = minder.getUI('ribbon/tabs');
var $commandbutton = minder.getUI('widget/commandbutton');
var $stylePanel = new FUI.LabelPanel({
... | xiaocuixt/kityminder | ui/ribbon/appearence/style.js | JavaScript | bsd-3-clause | 745 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v8.2.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 <... | tonytomov/cdnjs | ajax/libs/ag-grid/8.2.0/lib/gridSerializer.js | JavaScript | mit | 12,449 |
module.exports={A:{A:{"1":"A","2":"J C G E B TB"},B:{"2":"D X g H L"},C:{"1":"X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x","2":"0 1 2 4 RB F I J C G E B A D v z t s PB OB"},D:{"1":"F I J C G E B A D X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x","2":"0 2 4 8... | fawwadk/humsafar | sites/all/themes/bootstrap_subtheme/node_modules/caniuse-lite/data/features/spdy.js | JavaScript | gpl-2.0 | 787 |
define(
({
invalidMessage: "少なくとも 1 つの項目を選択しなければなりません。",
multiSelectLabelText: "{num} 個の項目が選択されています"
})
);
| avz-cmf/zaboy-middleware | www/js/dojox/form/nls/ja/CheckedMultiSelect.js | JavaScript | gpl-3.0 | 181 |
/* vim: set sw=4 ts=4 et tw=78: */
/* ***** 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 License. You may obtain a copy of the License at... | emrysr/SNOTS | public/node_modules/load-grunt-config/node_modules/cson/node_modules/js2coffee/out/lib/narcissus_packed.js | JavaScript | mit | 74,702 |
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
(function () {... | peterpy8/Windows-universal-samples | filethumbnails/js/js/scenario2.js | JavaScript | mit | 3,756 |
/* */
var isObject = require("./$.is-object");
require("./$.object-sap")('isSealed', function($isSealed) {
return function isSealed(it) {
return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
};
});
| IsmailM/sequenceserver | public/vendor/npm/core-js@1.1.2/modules/es6.object.is-sealed.js | JavaScript | agpl-3.0 | 218 |
export const createChangeEmitter = () => {
let currentListeners = []
let nextListeners = currentListeners
function ensureCanMutateNextListeners() {
if (nextListeners === currentListeners) {
nextListeners = currentListeners.slice()
}
}
function listen(listener) {
if (typeof listener !== 'fu... | unmeshpro/easyPost | static/node_modules/change-emitter/src/index.js | JavaScript | mit | 961 |
$(document).ready(function() {
var table;
if ($("#service-history").length) {
table = new Table('#service-history');
}
if ($("#raf-history").length) {
table = new Table('#raf-history');
}
if ($("#sor-history").length) {
table = new Table('#sor-history');
}
Ser... | alideny/AquaFlameCMS_Trinity | wow/static/js/management/services.js | JavaScript | gpl-2.0 | 18,845 |
/*
Highcharts JS v6.0.4 (2017-12-15)
(c) 2016 Highsoft AS
Authors: Jon Arild Nygard
License: www.highcharts.com/license
*/
(function(m){"object"===typeof module&&module.exports?module.exports=m:m(Highcharts)})(function(m){var w=function(){return function(d){var n=this,k=n.graphic,p=d.animate,m=d.attr,q=d.onComple... | Motorui/ass-app | web/assets/9f83c9c3/js/modules/wordcloud.js | JavaScript | gpl-3.0 | 4,796 |
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
'use strict';
var DOMProperty = require('./DOMProperty');
var ReactDOMComponentTree = require('./ReactDOMComponentTree');
var ReactI... | BigBoss424/portfolio | v8/development/node_modules/react-dom-core/lib/DOMPropertyOperations.js | JavaScript | apache-2.0 | 7,485 |
"use strict";
var inheritFrom = require("../utils").inheritFrom;
module.exports = function (core) {
// TODO: constructor should not take ownerDocument
core.Comment = function Comment(ownerDocument, data) {
core.CharacterData.call(this, ownerDocument, data);
};
inheritFrom(core.CharacterData, core.Comment,... | sapit/whiteboard | node_modules/paper/node_modules/jsdom/lib/jsdom/living/comment.js | JavaScript | apache-2.0 | 411 |
var $ = jQuery = require("common:widget/ui/jquery/jquery.js");
var UT = require("common:widget/ui/ut/ut.js");
var getFavIconUrl = function(url){
prohost = url.match(/([^:\/?#]+:\/\/)?([^\/@:]+)/i);
prohost = prohost ? prohost : [true,"http://",document.location.hostname];
//抓取ico
retu... | taohaoge/fis3 | test/diff_fis3_smarty/product_code/hao123_fis3_smarty/home/widget/hot-site/hot-site-async.js | JavaScript | bsd-2-clause | 4,079 |
global.options = {
cache: false // cache invokes a separate path
}
var fs = require('fs')
var path = require('path')
var crypto = require('crypto')
var rimraf = require('rimraf')
var common = require('./common.js')
var req = common.req
var mount = common.mount
var stExpect = common.stExpect
var test = require('tap'... | bruce-one/st | test/no-gzip-accepted-no-cache.js | JavaScript | isc | 965 |
/**
* @fileoverview Rule to flag creation of function inside a loop
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
/**
* Gets the containing loop n... | Vikkee-Singh/song-tracker | server/node_modules/eslint/lib/rules/no-loop-func.js | JavaScript | mit | 5,752 |
/**
* jqPlot
* Pure JavaScript plotting plugin using jQuery
*
* Version: 1.0.1
* Revision: 1096
*
* Copyright (c) 2009-2011 Chris Leonello
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL
* versio... | hodorogandrei/contesteasyplatform | tplugins/jqPlot/plugins/jqplot.canvasTextRenderer.js | JavaScript | gpl-2.0 | 24,364 |
version https://git-lfs.github.com/spec/v1
oid sha256:8dbae23fa2fff883105afe8e4bbde48a28b58fcd3d0cc69c8d2a5b452235973e
size 4762
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/nls/pt/colors.js.uncompressed.js | JavaScript | mit | 129 |
/**
* Javascript implementation of basic PEM (Privacy Enhanced Mail) algorithms.
*
* See: RFC 1421.
*
* @author Dave Longley
*
* Copyright (c) 2013 Digital Bazaar, Inc.
*
* A Forge PEM object has the following fields:
*
* type: identifies the type of message (eg: "RSA PRIVATE KEY").
*
* procType: identifie... | Zeipt/Mycely_fdroid | www/jxcore/node_modules/telehash/node_modules/telehash-cs2a/node_modules/node-forge/js/pem.js | JavaScript | agpl-3.0 | 8,007 |
// Copyright JS Foundation and other contributors, http://js.foundation
//
// 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 r... | grgustaf/jerryscript | tests/jerry-test-suite/11/11.05/11.05.01/11.05.01-047.js | JavaScript | apache-2.0 | 661 |