Permalink
Browse files

fixes tests failing for node 0.8 because setImmediate not defined

  • Loading branch information...
1 parent 033ccf6 commit b34da99ff6722e9b756d9e7025334c9d9579bfe1 @pflannery pflannery committed Nov 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/taskgroup.coffee
@@ -1,5 +1,5 @@
# Import
-`setImmediate = setImmediate || process.nextTick` # node 0.8 b/c
+`var setImmediate = setImmediate; if (!setImmediate) setImmediate=process.nextTick` # node 0.8 b/c
ambi = require('ambi')
events = require('events')
domain =

0 comments on commit b34da99

Please sign in to comment.