diff --git a/nodes/core/analysis/72-sentiment.js b/nodes/core/analysis/72-sentiment.js index 16a4d7ea2..747e079cc 100644 --- a/nodes/core/analysis/72-sentiment.js +++ b/nodes/core/analysis/72-sentiment.js @@ -15,12 +15,13 @@ **/ module.exports = function(RED) { + "use strict"; var sentiment = require('sentiment'); - + function SentimentNode(n) { RED.nodes.createNode(this,n); var node = this; - + this.on("input", function(msg) { sentiment(msg.payload, msg.overrides || null, function (err, result) { msg.sentiment = result; diff --git a/nodes/core/core/80-template.js b/nodes/core/core/80-template.js index aafb893e4..82348326e 100644 --- a/nodes/core/core/80-template.js +++ b/nodes/core/core/80-template.js @@ -15,6 +15,7 @@ **/ module.exports = function(RED) { + "use strict"; var mustache = require("mustache"); var util = require("util"); var fs = require('fs'); diff --git a/nodes/core/core/90-comment.js b/nodes/core/core/90-comment.js index 759b16207..ef5f08005 100644 --- a/nodes/core/core/90-comment.js +++ b/nodes/core/core/90-comment.js @@ -15,6 +15,7 @@ **/ module.exports = function(RED) { + "use strict"; function CommentNode(n) { RED.nodes.createNode(this,n); } diff --git a/nodes/core/core/98-unknown.js b/nodes/core/core/98-unknown.js index 1a7362263..ed4716b86 100644 --- a/nodes/core/core/98-unknown.js +++ b/nodes/core/core/98-unknown.js @@ -15,6 +15,7 @@ **/ module.exports = function(RED) { + "use strict"; function UnknownNode(n) { RED.nodes.createNode(this,n); } diff --git a/nodes/core/hardware/36-rpi-gpio.js b/nodes/core/hardware/36-rpi-gpio.js index d7378c870..99e36da53 100644 --- a/nodes/core/hardware/36-rpi-gpio.js +++ b/nodes/core/hardware/36-rpi-gpio.js @@ -15,6 +15,7 @@ **/ module.exports = function(RED) { + "use strict"; var util = require("util"); var exec = require('child_process').exec; var fs = require('fs'); diff --git a/nodes/core/io/10-mqtt.html b/nodes/core/io/10-mqtt.html index e4d6c985d..3ad7f3239 100644 --- a/nodes/core/io/10-mqtt.html +++ b/nodes/core/io/10-mqtt.html @@ -102,7 +102,7 @@