Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
- Changed module.exports to ES6 export default
  • Loading branch information
PerryRylance committed Apr 19, 2021
1 parent 6600640 commit 4d07693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions event-dispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,5 +291,4 @@ class EventDispatcher

EventDispatcher.domNamespaceSuffix = "ed";

module.exports = Event;
module.exports = EventDispatcher;
export default EventDispatcher;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@perry-rylance/event-dispatcher",
"version": "1.0.2",
"version": "1.0.3",
"description": "A lightweight ES6 event dispatcher which supports bubbling, capture phases and bubbling to the DOM tree.",
"main": "event-dispatcher.js",
"type": "module",
Expand Down

0 comments on commit 4d07693

Please sign in to comment.