Closed petermichaux closed 11 years ago
I took a stab at this to augment the uiActions object. See my pull request: See https://github.com/petermichaux/maria/pull/70
I think it should be possible to do the following in order to inherit. The following should be equivalent to the second example in this issue's description.
maria.ElementView.subclass(myApp, 'baseView', {
uiActions: {
'click .foo': 'onClickFoo'
}
});
myAppBaseView.subclass(myApp, 'subView', {
moreUIActions: {
'click .bar': 'onClickBar'
}
});
In the following code, the UI actions in
myApp.baseView
are not inherited bymyApp.subView
.It is necessary to do the following