Also fix setInterval for #481.

This commit is contained in:
Cheng Zhao 2014-08-07 14:23:28 +08:00
parent b139d97f3d
commit 382dbb500c
2 changed files with 8 additions and 0 deletions

View file

@ -32,3 +32,4 @@ global.clearImmediate = timers.clearImmediate
# timeout in browser process.
if process.type is 'browser'
global.setTimeout = wrapWithActivateUvLoop timers.setTimeout
global.setInterval = wrapWithActivateUvLoop timers.setInterval