marionettejs/backbone.marionette — pull request #1058 by jasonLaster (2014-03-26 02:10:22+00:00)
Title: Add @ui interpolation for behavior events

Fixes #1055

This makes `test.events` work.

```js
V = Marionette.ItemView.extend({
template: _.template('

'),
ui: {
coins: '.coins'
},
behaviors: {
test: {}
}
});

test = Marionette.Behavior.extend({
ui: {
doge: '.doge'
},

events: {
'click @ui.doge': 'onDogeClick',
'click @ui.coins': 'onCoinsClick'
},

onDogeClick: onDogeClickSpy,

onCoinsClick: onCoinsClickSpy

});
```