News for hackers. Stuff that matters.
Re:Why jQuery.proxy rocks my world by newhouseb on Wednesday April 27, 2011 @06:52AM (#2489033)
IIRC, .bind(this) was used in the exact same way in mootools years and years ago, and maybe even in Prototype before that.

Oh how I wish mootools had won the JS library war...

Re:Why jQuery.proxy rocks my world by jcampbell1 on Wednesday April 27, 2011 @10:57AM (#2489691)
The difference is that MooTools and Prototype modify the built in Function. Because of this, old versions of MooTools, and Prototype don't play nice with current browsers. This a a big reason jQuery won the war. function() {}.bind() is more convenient and cleaner, but $.proxy() will work regardless of whether Microsoft incorrectly implements a built in bind in their latest browser.