forked from ungap/event-target
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from AnakinYuen/feature/support-onevent
Feature/support onevent
- Loading branch information
Showing
7 changed files
with
151 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# EventTarget | ||
# InlineEventTarget | ||
|
||
[![Build Status](https://travis-ci.com/ungap/event-target.svg?branch=master)](https://travis-ci.com/ungap/event-target) [![Coverage Status](https://coveralls.io/repos/github/ungap/event-target/badge.svg?branch=master)](https://coveralls.io/github/ungap/event-target?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/ungap/event-target.svg)](https://greenkeeper.io/) ![WebReflection status](https://offline.report/status/webreflection.svg) | ||
[![Build Status](https://travis-ci.com/AnakinYuen/event-target.svg?branch=master)](https://travis-ci.com/ungap/event-target) [![Coverage Status](https://coveralls.io/repos/github/AnakinYuen/inline-event-target/badge.svg?branch=master)](https://coveralls.io/github/AnakinYuen/inline-event-target?branch=master) ![WebReflection status](https://offline.report/status/webreflection.svg) | ||
|
||
A [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) polyfill. | ||
A [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) polyfill with `onevent` supported. | ||
|
||
* CDN, as global patch, via https://unpkg.com/@ungap/event-target | ||
* ESM via `import EventTarget from '@ungap/event-target'` | ||
* CJS via `const EventTarget = require('@ungap/event-target')` | ||
* ESM via `import EventTarget from '@anakinyuen/inline-event-target'` | ||
* CJS via `const EventTarget = require('@anakinyuen/inline-event-target')` | ||
|
||
[Live test](https://ungap.github.io/event-target/test/) | ||
[Live test](https://anakinyuen.github.io/inline-event-target/test/index.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters