1
0
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:
dceejay 2015-03-31 13:25:59 +01:00
parent b112f03a64
commit 3c4d4b91d9
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-rbe", "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.", "description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capability.",
"dependencies" : { "dependencies" : {
}, },

View File

@ -29,7 +29,7 @@ module.exports = function(RED) {
var old = null; var old = null;
this.on('input', function (msg) { this.on('input', function (msg) {
if msg.hasOwnProperty("payload")) { if (msg.hasOwnProperty("payload")) {
var n = Number(msg.payload); var n = Number(msg.payload);
if (!isNaN(n)) { if (!isNaN(n)) {
if ((node.action === "low") || (node.action === "high")) { if ((node.action === "low") || (node.action === "high")) {

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-smooth", "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.", "description" : "A Node-RED node that provides several simple smoothing algorithms for incoming data values.",
"dependencies" : { "dependencies" : {
}, },

View File

@ -41,7 +41,7 @@ module.exports = function(RED) {
node.send(msg); node.send(msg);
node.status({text:le +" o->b "+ msg.payload.length}); 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); RED.nodes.registerType("msgpack",MsgPackNode);