diff --git a/hardware/BBB/145-BBB-hardware.html b/hardware/BBB/145-BBB-hardware.html
index 7fa89ad1..9a360381 100644
--- a/hardware/BBB/145-BBB-hardware.html
+++ b/hardware/BBB/145-BBB-hardware.html
@@ -153,7 +153,7 @@ voltage ten times in rapid succession for each input message and output the mean
// Handle resizing the Input Scaling div when the dialog is resized - this isn't quite right!
function switchDialogResize(ev, ui) {
$("#node-input-breakpoint-container-div").css("height", (ui.size.height - 299) + "px");
- };
+ }
$("#dialog").on("dialogresize", switchDialogResize);
$("#dialog").one("dialogopen", function (ev) {
diff --git a/hardware/LEDborg/78-ledborg.js b/hardware/LEDborg/78-ledborg.js
index 7c84f5e7..06083d44 100644
--- a/hardware/LEDborg/78-ledborg.js
+++ b/hardware/LEDborg/78-ledborg.js
@@ -17,7 +17,7 @@
module.exports = function(RED) {
"use strict";
var util = require("util");
- var exec = require('child_process').exec;
+ //var exec = require('child_process').exec;
var spawn = require('child_process').spawn;
var fs = require('fs');
@@ -105,7 +105,7 @@ module.exports = function(RED) {
if (RED.settings.verbose) { node.log("err: "+data+" :"); }
});
- node.child.on('close', function (code) {
+ node.child.on('close', function () {
node.child = null;
node.running = false;
node.status({fill:"red",shape:"circle",text:""});
diff --git a/hardware/LEDborg/package.json b/hardware/LEDborg/package.json
index 2655bc99..9ac2528f 100644
--- a/hardware/LEDborg/package.json
+++ b/hardware/LEDborg/package.json
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-ledborg",
- "version" : "0.0.5",
+ "version" : "0.0.6",
"description" : "A Node-RED node to control a PiBorg LedBorg board for a Raspberry Pi.",
"dependencies" : {
},
diff --git a/hardware/PiLiter/39-rpi-piliter.js b/hardware/PiLiter/39-rpi-piliter.js
index 03f86ee1..7357dd40 100644
--- a/hardware/PiLiter/39-rpi-piliter.js
+++ b/hardware/PiLiter/39-rpi-piliter.js
@@ -17,7 +17,6 @@
module.exports = function(RED) {
"use strict";
var util = require("util");
- var exec = require('child_process').exec;
var spawn = require('child_process').spawn;
var fs = require('fs');
diff --git a/hardware/PiLiter/package.json b/hardware/PiLiter/package.json
index 99abfba4..2eedbe2f 100644
--- a/hardware/PiLiter/package.json
+++ b/hardware/PiLiter/package.json
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-piliter",
- "version" : "0.0.4",
+ "version" : "0.0.5",
"description" : "A Node-RED node to drive a Raspberry Pi Pi-LITEr 8 LED board.",
"dependencies" : {
},
diff --git a/hardware/Pibrella/38-rpi-pibrella.js b/hardware/Pibrella/38-rpi-pibrella.js
index a5a50893..1c32da89 100644
--- a/hardware/Pibrella/38-rpi-pibrella.js
+++ b/hardware/Pibrella/38-rpi-pibrella.js
@@ -17,7 +17,6 @@
module.exports = function(RED) {
"use strict";
var util = require("util");
- var exec = require('child_process').exec;
var spawn = require('child_process').spawn;
var fs = require('fs');
diff --git a/hardware/Pibrella/package.json b/hardware/Pibrella/package.json
index 540c12a4..3fc87b73 100644
--- a/hardware/Pibrella/package.json
+++ b/hardware/Pibrella/package.json
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-pibrella",
- "version" : "0.0.6",
+ "version" : "0.0.7",
"description" : "A Node-RED node to read from and write to a Pibrella Raspberry Pi add-on board",
"dependencies" : {
},
diff --git a/hardware/blinkstick/76-blinkstick.js b/hardware/blinkstick/76-blinkstick.js
index a388b541..a35a377b 100644
--- a/hardware/blinkstick/76-blinkstick.js
+++ b/hardware/blinkstick/76-blinkstick.js
@@ -129,7 +129,7 @@ module.exports = function(RED) {
if (typeof(err.name) === 'undefined' || err.name !== 'ReferenceError') {
//USB error occurred when BlinkStick was animating
- node.led.close(function (err) {
+ node.led.close(function () {
node.led = undefined;
findBlinkStick();
});
diff --git a/hardware/blinkstick/package.json b/hardware/blinkstick/package.json
index ceb8f687..f87b8a91 100644
--- a/hardware/blinkstick/package.json
+++ b/hardware/blinkstick/package.json
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-blinkstick",
- "version" : "0.1.5",
+ "version" : "0.1.6",
"description" : "A Node-RED node to control a Blinkstick",
"dependencies" : {
"blinkstick" : "1.1.*"
diff --git a/io/mqlight/mqlight.html b/io/mqlight/mqlight.html
index 16ff0d0f..ea32ed6f 100644
--- a/io/mqlight/mqlight.html
+++ b/io/mqlight/mqlight.html
@@ -145,7 +145,7 @@
password: {type: "password"}
},
label: function() {
- if (this.service == "") {
+ if (this.service === "") {
this.service = "localhost";
}
return (this.clientid ? this.clientid + "@" : "") + this.service;
diff --git a/io/ping/88-ping.js b/io/ping/88-ping.js
index c7496cf8..8a020430 100644
--- a/io/ping/88-ping.js
+++ b/io/ping/88-ping.js
@@ -38,9 +38,9 @@ module.exports = function(RED) {
ex.stdout.on('data', function (data) {
line += data.toString();
});
- ex.stderr.on('data', function (data) {
+ //ex.stderr.on('data', function (data) {
//console.log('[ping] stderr: ' + data);
- });
+ //});
ex.on('close', function (code) {
var m = regex.exec(line)||"";
if (m !== '') {
diff --git a/io/ping/package.json b/io/ping/package.json
index 1ad8a84f..25897226 100644
--- a/io/ping/package.json
+++ b/io/ping/package.json
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-ping",
- "version" : "0.0.4",
+ "version" : "0.0.5",
"description" : "A Node-RED node to ping a remote server, for use as a keep-alive check.",
"dependencies" : {
},
diff --git a/social/pushbullet/57-pushbullet.html b/social/pushbullet/57-pushbullet.html
index c3414092..25959d3d 100644
--- a/social/pushbullet/57-pushbullet.html
+++ b/social/pushbullet/57-pushbullet.html
@@ -138,7 +138,7 @@
}
}
- try {
+ try {
getName(this.credentials.deviceid);
}
catch(err) {
@@ -164,8 +164,8 @@
function updateDeviceList() {
if(!ddConfig.val()) {
ddDevice.children().remove();
- ddDevice.append('')
- ddDevice.append('')
+ ddDevice.append('');
+ ddDevice.append('');
var currentDevice;
if(node.credentials) {
currentDevice = node.credentials.deviceid;
@@ -176,15 +176,15 @@
}
}
else {
- var config = RED.nodes.node(ddConfig.val()),
+ var config = RED.nodes.node(ddConfig.val()),
url = 'pushbullet/'+ddConfig.val()+'/devices';
if(config && config.credentials && config.credentials.apikey) {
url += '?apikey='+config.credentials.apikey;
}
$.getJSON(url, function(data) {
ddDevice.children().remove();
- ddDevice.append('')
- ddDevice.append('')
+ ddDevice.append('');
+ ddDevice.append('');
var currentDevice, addCurrent = true;
if(node.credentials) {
currentDevice = node.credentials.deviceid;
@@ -203,7 +203,7 @@
}
ddDevice.val(currentDevice);
}
- });
+ });
}
}
@@ -292,7 +292,7 @@
-