From 252135532d6c664dedef753aa45c15ac456a7e1d Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Fri, 18 Jul 2014 21:49:20 +0100 Subject: [PATCH] more JShint cleaning and fa icons added --- nodes/core/logic/10-switch.html | 4 ++-- nodes/core/logic/15-change.html | 2 +- nodes/core/logic/15-change.js | 2 +- nodes/core/logic/16-range.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodes/core/logic/10-switch.html b/nodes/core/logic/10-switch.html index 668b6e763..b0c928ad9 100644 --- a/nodes/core/logic/10-switch.html +++ b/nodes/core/logic/10-switch.html @@ -16,7 +16,7 @@ diff --git a/nodes/core/logic/15-change.js b/nodes/core/logic/15-change.js index 3669de36e..b7ef62e15 100644 --- a/nodes/core/logic/15-change.js +++ b/nodes/core/logic/15-change.js @@ -56,7 +56,7 @@ module.exports = function(RED) { //} //} else if (node.action == "replace") { - if (node.to.indexOf("msg.") == 0) { + if (node.to.indexOf("msg.") === 0) { makeNew( msg, node.property.split("."), eval(node.to) ); } else { diff --git a/nodes/core/logic/16-range.html b/nodes/core/logic/16-range.html index d7f323776..aa6ae4683 100644 --- a/nodes/core/logic/16-range.html +++ b/nodes/core/logic/16-range.html @@ -43,7 +43,7 @@
- +
Tip: This node ONLY works with numbers.