[Pkg-javascript-commits] [node-async] 318/480: define async.nextTick before polyfilling async.setImmediate with it
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 08:58:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-async.
commit 53077a10094e84250e565997603b2ab222459e95
Author: Trevor Borg <trevor.borg at gmail.com>
Date: Mon Mar 18 12:08:30 2013 -0500
define async.nextTick before polyfilling async.setImmediate with it
---
lib/async.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/async.js b/lib/async.js
index 14d20cc..7315173 100755
--- a/lib/async.js
+++ b/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 {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list