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

@@ -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")) {