不要怂,就是干,撸起袖子干!

Commit 9ae31380 by Sascha Depold

rework setImmediate

1 parent c06a6da8
Showing with 1 additions and 1 deletions
...@@ -507,7 +507,7 @@ var Utils = module.exports = { ...@@ -507,7 +507,7 @@ var Utils = module.exports = {
}, },
tick: function(func) { tick: function(func) {
var tick = (typeof setImmediate !== "undefined" ? setImmediate : process.nextTick) var tick = (global.hasOwnProperty('setImmediate') ? global.setImmediate : process.nextTick)
tick(func) tick(func)
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!