News for hackers. Stuff that matters.
Re:Google open-sources JsAction, a JavaScript event delegati... by couchand on Thursday May 22, 2014 @08:19PM (#7787373)
The API could certainly use some work, and it's worse than you mention. If it were just a matter of applying widely-known Gang of Four patterns it would be fine. All over the place it looks like the designer didn't realize there's a built-in Function.prototype.bind.
Re:Google open-sources JsAction, a JavaScript event delegati... by gefh on Thursday May 22, 2014 @10:09PM (#7787670)
In IE8 and FF3.6, there isn't. If you believe netmarketshare.com, that's 20% of users right there.
Re:Google open-sources JsAction, a JavaScript event delegati... by superlupo on Friday May 23, 2014 @05:28AM (#7788586)
If you are not relying on edge case behaviour of Function.prototype.bind, including the polyfill here should be enough: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Re:Google open-sources JsAction, a JavaScript event delegati... by coldtea on Friday May 23, 2014 @12:07AM (#7787927)
IIRC, lots of Google products (like Google Docs) don't support those browsers entirely.