You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2017. It is now read-only.
Allow for mixing in methods from another class after class definition. E.g.
varMyClass=Class.extend({});// Mix in a set of functionsMyClass.mixin({foo: function(){},bar: function(){}});// Mix in all prototype methods of another classMyClass.mixin(MyOtherClass);// Mix in only certain methods of another classMyClass.mixin(MyOtherClass,['baz','qux']);
The text was updated successfully, but these errors were encountered:
Definitely possible, just a bit of a rewrite to the library. I'd probably do this as part of a 2.0 release (not planned at the moment, but maybe soon).
Allow for mixing in methods from another class after class definition. E.g.
The text was updated successfully, but these errors were encountered: