Permalink
Browse files

Merge pull request #269 from tborg/master

fixes setImmediate is undefined error for gecko/webkit browsers
  • Loading branch information...
2 parents f6da010 + 53077a1 commit 9ac2b2feecc84c364b4fcee56459bfb07cd46a4d @caolan committed May 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/async.js
View
2 lib/async.js
@@ -79,10 +79,10 @@
async.nextTick = setImmediate;
}
else {
- async.setImmediate = async.nextTick;
async.nextTick = function (fn) {
setTimeout(fn, 0);
};
+ async.setImmediate = async.nextTick;
}
}
else {

0 comments on commit 9ac2b2f

Please sign in to comment.