From 8742bf354bb63c12faee9741f5aef2d791ae037c Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 23 Sep 2014 23:15:34 +0100 Subject: [PATCH] Missing brackets in sample node Closes #414 --- nodes/99-sample.js.demo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/99-sample.js.demo b/nodes/99-sample.js.demo index 02a0abf6e..f9269451d 100644 --- a/nodes/99-sample.js.demo +++ b/nodes/99-sample.js.demo @@ -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.