seanmonstar/Shipyard — Issue #27: Can't pass onEventName to constructor of Views
Author: seanmonstar
Created: 2012-02-29 21:25:30+00:00
State: open
Labels: feature

This is the desired way of define specific views:

```js
var button = new View({
content: 'Submit',
onClick: function() { controller.save(); }
});
```

It currently doesn't work.