mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Change node deprecation message
This commit is contained in:
parent
8891548909
commit
b12b02ebb9
@ -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();
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user