Is this a bad idea?
var Mixin = new Class({
method: function(){
// do stuff
this.fireEvent('onMethod');
}
});
var Widget = new Class({
Implements: [Events,Options,Mixin],
options: {
foo: 'bar'
onMethod: function(){
// do stuff
}
}
});
Having a mixin that requires Options and Events? It's conceivable
that I person could try to use the Mixin without implementing Options
and Events in their class.
