Skip to content

Commit

Permalink
Fix babel compile error regards to calling this before super
Browse files Browse the repository at this point in the history
  • Loading branch information
cgarvis committed Jun 30, 2015
1 parent 85e8a20 commit 751f3a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ const CHANGE_EVENT = 'CHANGE_EVENT';

class Store extends EventEmitter {
constructor(dispatcher) {
super();

this._handlers = [];

this.dispatchToken = dispatcher.register(payload => {
Expand Down

0 comments on commit 751f3a7

Please sign in to comment.