Something like Mootools Class.Binds would be nice to facilitate proper binding of methods.
-
MadRabbit
- Tag changed from binding to class, core, feature, implementation
yes, that's kinda nice feature, will think about it.
-
MadRabbit
- Milestone set to 2.0.0 Release
- State changed from new to resolved
I've added the feature, but named it
prebindwhich sounds more correct to mevar A = new Class({ prebind: $w('boo hoo'), boo: function() { }, hoo: function() { } });It will go public with the 1.6 release. It also available in master at github
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.