mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
fixes for speeling mistooks in smooth and msgpack fixes.
This commit is contained in:
parent
b112f03a64
commit
3c4d4b91d9
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-rbe",
|
||||
"version" : "0.0.2",
|
||||
"version" : "0.0.3",
|
||||
"description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capability.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
@ -29,7 +29,7 @@ module.exports = function(RED) {
|
||||
var old = null;
|
||||
|
||||
this.on('input', function (msg) {
|
||||
if msg.hasOwnProperty("payload")) {
|
||||
if (msg.hasOwnProperty("payload")) {
|
||||
var n = Number(msg.payload);
|
||||
if (!isNaN(n)) {
|
||||
if ((node.action === "low") || (node.action === "high")) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-smooth",
|
||||
"version" : "0.0.2",
|
||||
"version" : "0.0.3",
|
||||
"description" : "A Node-RED node that provides several simple smoothing algorithms for incoming data values.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
@ -41,7 +41,7 @@ module.exports = function(RED) {
|
||||
node.send(msg);
|
||||
node.status({text:le +" o->b "+ msg.payload.length});
|
||||
}
|
||||
} else { node.warn("No payload found to process");
|
||||
} else { node.warn("No payload found to process"); }
|
||||
});
|
||||
}
|
||||
RED.nodes.registerType("msgpack",MsgPackNode);
|
||||
|
Loading…
Reference in New Issue
Block a user