Change node deprecation message

This commit is contained in:
Nicholas O'Leary 2013-10-31 16:41:52 +00:00
parent 8891548909
commit b12b02ebb9
5 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ var RED = require(process.env.NODE_RED_HOME+"/red/red");
function SocketIn(n) {
RED.nodes.createNode(this,n);
this.warn("node type deprecated - will be moved to node-red-nodes project at next point update");
this.warn("node type deprecated - will be removed in a future release");
this.port = n.port;
this.topic = n.topic;
this.trans = (n.transport||n.trans||"").toLowerCase();

View File

@ -18,7 +18,7 @@ var RED = require(process.env.NODE_RED_HOME+"/red/red");
function SocketOut(n) {
RED.nodes.createNode(this,n);
this.warn("node type deprecated - will be moved to node-red-nodes project at next point update");
this.warn("node type deprecated - will be removed in a future release");
this.host = n.host;
this.port = n.port * 1;
this.name = n.name;

View File

@ -20,7 +20,7 @@ var dgram = require('dgram');
// The Input Node
function MCastIn(n) {
RED.nodes.createNode(this,n);
this.warn("node type deprecated - will be moved to node-red-nodes project at next point update");
this.warn("node type deprecated - will be removed in a future release");
this.group = n.group;
this.port = n.port;
this.host = n.host || null;

View File

@ -19,7 +19,7 @@ var gpio = require("pi-gpio");
function GPIOInNode(n) {
RED.nodes.createNode(this,n);
this.warn("node type deprecated - will be moved to node-red-nodes project at next point update");
this.warn("node type deprecated - will be removed in a future release");
this.buttonState = -1;
this.pin = n.pin;
this.resistor = n.resistor;

View File

@ -19,7 +19,7 @@ var gpio = require("pi-gpio");
function GPIOOutNode(n) {
RED.nodes.createNode(this,n);
this.warn("node type deprecated - will be moved to node-red-nodes project at next point update");
this.warn("node type deprecated - will be removed in a future release");
this.pin = n.pin;
var node = this;