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

Missing brackets in sample node

Closes #414
This commit is contained in:
Nick O'Leary 2014-09-23 23:15:34 +01:00
parent 9152daa13b
commit 8742bf354b

View File

@ -48,7 +48,7 @@ module.exports = function(RED) {
node.warn("I saw a payload: "+msg.payload);
// in this example just send it straight on... should process it here really
this.send(msg);
}
});
this.on("close", function() {
// Called when the node is shutdown - eg on redeploy.