1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix node tests

This commit is contained in:
Nick O'Leary 2014-04-13 22:32:33 +01:00
parent 92d10384ba
commit 896b52ed9e

View File

@ -150,12 +150,12 @@ Node.prototype.send = function(msg) {
var m = clone(mm); var m = clone(mm);
if (req) { if (req) {
m.req = req; m.req = req;
mm.req = req;
} }
if (res) { if (res) {
m.res = res; m.res = res;
mm.res = res;
} }
mm.req = req;
mm.res = res;
node.receive(m); node.receive(m);
} }
} }