add lisp packages
This commit is contained in:
62
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/CHANGELOG.md
generated
vendored
Normal file
62
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<a name="1.0.7"></a>
|
||||
## [1.0.7](https://github.com/kumarharsh/custom-event-polyfill/compare/v1.0.6...v1.0.7) (2019-04-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** upgrade vulnerable dependencies ([26256e6](https://github.com/kumarharsh/custom-event-polyfill/commit/26256e6))
|
||||
|
||||
<a name="1.0.6"></a>
|
||||
## [1.0.6](https://github.com/kumarharsh/custom-event-polyfill/compare/v1.0.5...v1.0.6) (2018-07-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **package:** fix project name & references ([2eb73b3](https://github.com/kumarharsh/custom-event-polyfill/commit/2eb73b3))
|
||||
* **ci:** revert repository url ([85aa99a](https://github.com/kumarharsh/custom-event-polyfill/commit/85aa99a))
|
||||
|
||||
<a name="1.0.5"></a>
|
||||
## [1.0.5](https://github.com/kumarharsh/custom-event-polyfill/compare/v1.0.4...v1.0.5) (2018-07-22)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **test:** add support for saucelabs tests ([fb213c5](https://github.com/kumarharsh/custom-event-polyfill/commit/fb213c5))
|
||||
|
||||
<a name="1.0.4"></a>
|
||||
## [1.0.4](https://github.com/kumarharsh/custom-event-polyfill/compare/v1.0.3...v1.0.4) (2018-05-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Use correct test for undefined window ([21a1b95](https://github.com/kumarharsh/custom-event-polyfill/commit/21a1b95))
|
||||
|
||||
<a name="1.0.3"></a>
|
||||
## [1.0.3](https://github.com/kumarharsh/custom-event-polyfill/compare/v1.0.2...v1.0.3) (2018-05-15)
|
||||
|
||||
<a name="1.0.2"></a>
|
||||
## [1.0.2](https://github.com/kumarharsh/custom-event-polyfill/compare/v1.0.1...v1.0.2) (2018-05-15)
|
||||
|
||||
<a name="1.0.1"></a>
|
||||
## [1.0.1](https://github.com/kumarharsh/custom-event-polyfill/compare/v1.0.0...v1.0.1) (2018-05-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* fix test ([570c9be](https://github.com/kumarharsh/custom-event-polyfill/commit/570c9be))
|
||||
|
||||
<a name="1.0.0"></a>
|
||||
# 1.0.0 (2018-05-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* change package name ([9935c2f](https://github.com/kumarharsh/custom-event-polyfill/commit/9935c2f))
|
||||
* fix ponyfill test ([949937d](https://github.com/kumarharsh/custom-event-polyfill/commit/949937d))
|
||||
* make defaultPrevented work on IE ([8ce1942](https://github.com/kumarharsh/custom-event-polyfill/commit/8ce1942))
|
||||
* support node and other non-browser environments ([ddf42a6](https://github.com/kumarharsh/custom-event-polyfill/commit/ddf42a6))
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* the package name has changed
|
||||
21
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/LICENSE
generated
vendored
Normal file
21
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Evan Krambuhl
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
32
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/README.md
generated
vendored
Normal file
32
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/README.md
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# custom-event-polyfill
|
||||
|
||||
A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.
|
||||
|
||||
[](https://saucelabs.com/u/kumarharsh)
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
# using yarn
|
||||
$ yarn add custom-event-polyfill
|
||||
|
||||
# using npm
|
||||
$ npm install --save custom-event-polyfill
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Just include this polyfill before using any code which creates a CustomEvent
|
||||
object, ideally as early as possible.
|
||||
|
||||
Refer to the CustomEvent documentation for details on how to use it:
|
||||
https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent
|
||||
|
||||
## Big Thanks
|
||||
|
||||
Cross-browser Testing Platform and Open Source <3 Provided by [Sauce Labs](https://saucelabs.com).
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
100
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/package.json
generated
vendored
Normal file
100
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/package.json
generated
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"_from": "custom-event-polyfill@^1.0.7",
|
||||
"_id": "custom-event-polyfill@1.0.7",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-TDDkd5DkaZxZFM8p+1I3yAlvM3rSr1wbrOliG4yJiwinMZN8z/iGL7BTlDkrJcYTmgUSb4ywVCc3ZaUtOtC76w==",
|
||||
"_location": "/custom-event-polyfill",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "custom-event-polyfill@^1.0.7",
|
||||
"name": "custom-event-polyfill",
|
||||
"escapedName": "custom-event-polyfill",
|
||||
"rawSpec": "^1.0.7",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.7"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/plyr"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/custom-event-polyfill/-/custom-event-polyfill-1.0.7.tgz",
|
||||
"_shasum": "9bc993ddda937c1a30ccd335614c6c58c4f87aee",
|
||||
"_spec": "custom-event-polyfill@^1.0.7",
|
||||
"_where": "/home/andy/plyr/node_modules/plyr",
|
||||
"author": {
|
||||
"name": "Evan Krambuhl",
|
||||
"email": "thekrambuhl@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/kumarharsh/custom-event-polyfill/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
"@commitlint/config-conventional"
|
||||
]
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Mozilla Developer Network"
|
||||
},
|
||||
{
|
||||
"name": "Kumar Harsh",
|
||||
"email": "khs@playlyfe.com"
|
||||
},
|
||||
{
|
||||
"name": "Frank Panetta",
|
||||
"url": "http://www.savvi.io"
|
||||
},
|
||||
{
|
||||
"name": "Mikhail Reenko",
|
||||
"email": "reenko@yandex.ru"
|
||||
},
|
||||
{
|
||||
"name": "Joscha Feth",
|
||||
"email": "joscha@feth.com",
|
||||
"url": "http://www.feth.com"
|
||||
}
|
||||
],
|
||||
"deprecated": false,
|
||||
"description": "A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.",
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^6.2.0",
|
||||
"@commitlint/config-conventional": "^6.1.3",
|
||||
"@semantic-release/changelog": "^2.0.2",
|
||||
"@semantic-release/git": "^5.0.0",
|
||||
"eslint": "4.19.1",
|
||||
"eslint-plugin-prettier": "2.6.0",
|
||||
"husky": "^0.14.3",
|
||||
"jasmine-core": "^3.1.0",
|
||||
"karma": "^4.0.1",
|
||||
"karma-jasmine": "^1.1.2",
|
||||
"karma-sauce-launcher": "^2.0.2",
|
||||
"prettier": "1.12.1",
|
||||
"semantic-release": "^15.4.1"
|
||||
},
|
||||
"files": [
|
||||
"polyfill.js"
|
||||
],
|
||||
"homepage": "https://github.com/kumarharsh/custom-event-polyfill#readme",
|
||||
"keywords": [
|
||||
"polyfill",
|
||||
"custom-event",
|
||||
"CustomEvent",
|
||||
"Web API Interface"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "polyfill.js",
|
||||
"name": "custom-event-polyfill",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/kumarharsh/custom-event-polyfill.git"
|
||||
},
|
||||
"scripts": {
|
||||
"commitmsg": "commitlint -e $GIT_PARAMS",
|
||||
"test": "karma start",
|
||||
"test-ci": "karma start ./karma.conf-ci.js"
|
||||
},
|
||||
"version": "1.0.7"
|
||||
}
|
||||
53
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/polyfill.js
generated
vendored
Normal file
53
lisp/emacs-application-framework/app/js-video-player/node_modules/custom-event-polyfill/polyfill.js
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
// Polyfill for creating CustomEvents on IE9/10/11
|
||||
|
||||
// code pulled from:
|
||||
// https://github.com/d4tocchini/customevent-polyfill
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent#Polyfill
|
||||
|
||||
(function() {
|
||||
if (typeof window === 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
var ce = new window.CustomEvent('test', { cancelable: true });
|
||||
ce.preventDefault();
|
||||
if (ce.defaultPrevented !== true) {
|
||||
// IE has problems with .preventDefault() on custom events
|
||||
// http://stackoverflow.com/questions/23349191
|
||||
throw new Error('Could not prevent default');
|
||||
}
|
||||
} catch (e) {
|
||||
var CustomEvent = function(event, params) {
|
||||
var evt, origPrevent;
|
||||
params = params || {};
|
||||
params.bubbles = !!params.bubbles;
|
||||
params.cancelable = !!params.cancelable;
|
||||
|
||||
evt = document.createEvent('CustomEvent');
|
||||
evt.initCustomEvent(
|
||||
event,
|
||||
params.bubbles,
|
||||
params.cancelable,
|
||||
params.detail
|
||||
);
|
||||
origPrevent = evt.preventDefault;
|
||||
evt.preventDefault = function() {
|
||||
origPrevent.call(this);
|
||||
try {
|
||||
Object.defineProperty(this, 'defaultPrevented', {
|
||||
get: function() {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
this.defaultPrevented = true;
|
||||
}
|
||||
};
|
||||
return evt;
|
||||
};
|
||||
|
||||
CustomEvent.prototype = window.Event.prototype;
|
||||
window.CustomEvent = CustomEvent; // expose definition to window
|
||||
}
|
||||
})();
|
||||
Reference in New Issue
Block a user