caolan/async — pull request #317 by dougwilson (2013-05-21 04:11:05+00:00)
Title: Fix async compatibility with Internet Explorer 10

This fixes async to work on Internet Explorer 10. Internet Explorer 10 requires that the `setImmediate` function is not called as a method. As such, it cannot simply be aliased as `async.setImmediate` and `async.nextTick` as `Invalid calling object` error will be encountered since `setImmediate` will be called with `this` set to `async`.

Hopefully this can be merged soon, as otherwise only old versions of `async` can be used if people expect their site to work with IE10 visitors. I also added a comment in the source noting why `async.nextTick` is no longer simply an alias to `setImmedate` so it doesn't get replaced with an alias again (the original commit 4ef2984 did not use an alias for this reason).

This fixes #299.