Slide 50
Slide 50 text
Stores
based on events
addChangeListener: function(callback) {
this.on('change', callback);
},
removeChangeListener: function(callback) {
this.removeListener('change', callback);
},
emitChange: function() {
this.emit('change');
}