[Pkg-javascript-commits] [node-async] 130/480: Resolves #88

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:19 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 912d36bbfa58125918a14c945380178a393bdc42
Author: Aleksey V Zapparov <ixti at member.fsf.org>
Date:   Sun Feb 5 13:54:16 2012 +0100

    Resolves #88
---
 test/test-async.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/test-async.js b/test/test-async.js
index d3eeddc..4370408 100644
--- a/test/test-async.js
+++ b/test/test-async.js
@@ -1072,7 +1072,8 @@ exports['noConflict - node only'] = function(test){
         var filename = __dirname + '/../lib/async.js';
         fs.readFile(filename, function(err, content){
             if(err) return test.done();
-            var Script = process.binding('evals').Script;
+            // Script -> NodeScript in node v0.6.x
+            var Script = process.binding('evals').Script || process.binding('evals').NodeScript;
 
             var s = new Script(content, filename);
             var s2 = new Script(

-- 
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