Skip to content

Commit

Permalink
Build.
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Dec 8, 2015
1 parent 1ae8377 commit 5a87153
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/event-target-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ var EventTarget = module.exports = function EventTarget() {
// }
Object.defineProperty(this, LISTENERS, {value: Object.create(null)});
}
else if (arguments.length === 1 && Array.isArray(arguments[0])) {
return defineCustomEventTarget(EventTarget, arguments[0]);
}
else if (arguments.length > 0) {
var types = Array(arguments.length);
for (var i = 0; i < arguments.length; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion dist/event-target-shim.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5a87153

Please sign in to comment.