Skip to content

Commit afe3edb

Browse files
committed
fix for review
1 parent 4599e7d commit afe3edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/promise.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
runLater = setImmediate;
417417
} else if (typeof(setTimeout) !== 'undefined' && _.isFunction(setTimeout)) {
418418
runLater = function(func) {
419-
window.setImmediate(func);
419+
setTimeout(func, 0);
420420
}
421421
}
422422
}

0 commit comments

Comments
 (0)