mirror of https://github.com/node-red/node-red.git
Add scope to status node
parent
40fe0f3239
commit
1d73c86cb2
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue