Tidy up jsHint errors in parser nodes

This commit is contained in:
Dave C-J
2014-06-30 20:43:31 +01:00
parent e15de8cf37
commit 790ad8eb68
3 changed files with 9 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ module.exports = function(RED) {
if (node.split) {
var strings = data.toString().split("\n");
for (var s in strings) {
if (strings[s] != "") {
if (strings[s] !== "") {
msg.payload = strings[s];
node.send(msg);
}
@@ -50,7 +50,7 @@ module.exports = function(RED) {
});
this.on("close", function() {
if (tail) tail.kill();
if (tail) { tail.kill(); }
});
}