Skip to content

Commit

Permalink
Merge pull request #397 from kytart/v2
Browse files Browse the repository at this point in the history
fix #396
  • Loading branch information
zloirock authored May 5, 2018
2 parents d180ba3 + fe1f8fe commit b180c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/_microtask.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = function () {
};
// environments with maybe non-completely correct, but existent Promise
} else if (Promise && Promise.resolve) {
var promise = Promise.resolve();
var promise = Promise.resolve(undefined);
notify = function () {
promise.then(flush);
};
Expand Down

0 comments on commit b180c39

Please sign in to comment.