Skip to content

Commit

Permalink
Fixed IE11 bug with setImmedate invalid "this"
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhakes committed Jul 25, 2016
1 parent 0f43cad commit 5ab3983
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "promise-polyfill",
"version": "6.0.0",
"version": "6.0.1",
"description": "Lightweight promise polyfill. A+ compliant",
"main": "promise.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
};

// Use polyfill for setImmediate for performance gains
Promise._immediateFn = (typeof setImmediate === 'function' && setImmediate) ||
Promise._immediateFn = (typeof setImmediate === 'function' && function (fn) { setImmediate(fn); }) ||
function (fn) {
setTimeoutFunc(fn, 0);
};
Expand Down
2 changes: 1 addition & 1 deletion promise.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ab3983

Please sign in to comment.