Skip to content

Commit 8ff55c4

Browse files
require object-assign
1 parent f6bb456 commit 8ff55c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ep29-emit/app/stores/TodoStore.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
var AppDispatcher = require('../dispatcher/AppDispatcher');
22
var EventEmitter = require('events').EventEmitter;
3+
var assign = require('object-assign');
34

45
AppDispatcher.register(function(action) {
56

@@ -77,6 +78,6 @@ var TodoStore = assign({}, EventEmitter.prototype, {
7778
console.log("registering callback for changelistener");
7879
this.on(CHANGE_EVENT, callback);
7980
}
80-
}
81+
})
8182

8283
module.exports = TodoStore;

0 commit comments

Comments
 (0)