ZeissS/wobble — Issue #22: Think about replacing current model-presenter-view connections
Author: ZeissS
Created: 2011-12-16 22:24:12+00:00
State: open

Currently the presenter overwrites functions in the View/Display object. For callbacks from the model, it passes a callback.

It might be wiser to let the model as well as the display objects follow an EventEmiiter object similar to the window.BUS object we already have. The presenter could then just subscribe to events:

```javascript
function TestPresenter(view, model) {
view.on('contact.clicked', function(asd){
// ...
}, this);
}
```