mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	fixes for speeling mistooks in smooth and msgpack fixes.
This commit is contained in:
		@@ -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"  : {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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")) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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"  : {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user