3 ms·
I stopped using MooTools almost 7 years ago. My rationale was this: if I can't trust what the this variable is in an event, because of the framework, the framew
by trebor 15y ago
I stopped using MooTools almost 7 years ago. My rationale was this: if I can't trust what the this variable is in an event, because of the framework, the framework isn't worth using.
Mootools completely confused me with the constant alteration of what this was referring to depending on event or context. But in jQuery usage of this was (and still is) very straightforward, so I switched.
It's no question of extending objects or of prototypes, but it's just about as confusing, if not worse, when an object/prototype is extended without the programmer's knowledge.