Permalink
Browse files

Merge pull request #11 from pflannery/fixes-coffee-overriding-setImme…

…diate

ensures setImmediate is not overridden by coffee-script generated local variable
  • Loading branch information...
2 parents c3223c1 + b34da99 commit 11a1d5ff9645eb22d360447e57bdc32f8b351632 @balupton balupton 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 or 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 11a1d5f

Please sign in to comment.