Add scope to status node

pull/731/head
Nick O'Leary 2015-08-21 14:17:31 +01:00
parent 40fe0f3239
commit 1d73c86cb2
1 changed files with 1 additions and 0 deletions

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);
});