Deprecated old socket nodes

This commit is contained in:
Nicholas O'Leary
2013-10-13 19:25:53 +01:00
parent eb9b31a21b
commit fff61861c1
6 changed files with 8 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ var RED = require("../../red/red");
function SocketIn(n) {
RED.nodes.createNode(this,n);
this.warn("node type deprecated");
this.port = n.port;
this.topic = n.topic;
this.trans = (n.transport||n.trans||"").toLowerCase();