guardian/frontend — pull request #4316 by phamann (2014-05-19 16:46:15+00:00)
Title: Polyfill Function.prototype.bind take 2.

Take 2 for polyfilling .bind();

- Introduce new polyfill module
- Move error handling attachment higher up the execution chain
- Remove go.js wrap file

We recently added Function.prototype.bind to our cut-the-mustard test, which inadvertently kicked out ~4% of users from receiving our core JavaScript application. This took that demographic from 6 to 10%, and broke our line in the sand to serve JS to ~95% of users.

This is a temporary change going forward, as we are discussing the ability to separate analytics & advert code from our core JS file. More to follow in the coming weeks.

/cc @rich-nguyen @ironsidevsquincy