on master help sign in
Fix undeclared variable in node runtime
00efb33Christophe Calvès
jsrts/Runtime-node.js+1−1
@@ -22,7 +22,7 @@ $JSRTS.prim_readStr = function () {
22 }
22 }
23 i++;
23 i++;
24 if (i == b.length) {
24 if (i == b.length) {
25− nb = new Buffer(b.length * 2);
25+ var nb = new Buffer(b.length * 2);
26 b.copy(nb)
26 b.copy(nb)
27 b = nb;
27 b = nb;
28 }
28 }