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

Add scope to status node

This commit is contained in:
Nick O'Leary 2015-08-21 14:17:31 +01:00
parent 40fe0f3239
commit 1d73c86cb2

View File

@ -20,6 +20,7 @@ module.exports = function(RED) {
function StatusNode(n) {
RED.nodes.createNode(this,n);
var node = this;
this.scope = n.scope;
this.on("input", function(msg) {
this.send(msg);
});