4 ms·
Because I think it's cleaner having it as the third argument on events instead of having a large list of stuff in _.bindAll in initialize (and additionally, I'v
by kjbekkelund 14y ago
Because I think it's cleaner having it as the third argument on events instead of having a large list of stuff in _.bindAll in initialize (and additionally, I've found it simpler to explain it to others, but I don't know why). I think it's just one of those subjective choices.
- epidemian 14y agoAgreed. Plus, bindAll [1] does quite a lot of magic under the hood that IMO is an overkill compared to passing the context object. [1]: http://underscorejs.org/docs/underscore.html#section-52 http://underscorejs.org/docs/underscore.html#section-52