slightly nicer jscs style updates to several nodes

again not pushed to npm - still just whitespace.
This commit is contained in:
dceejay
2015-05-11 20:04:51 +01:00
parent f497b57b7d
commit 64d3b11fd9
6 changed files with 28 additions and 27 deletions

View File

@@ -93,7 +93,7 @@ module.exports = function(RED) {
try {
resolve(res.pushes[0].modified);
}
catch(ex){
catch(ex) {
self.warn('Unable to get history.');
resolve(0);
}
@@ -329,7 +329,7 @@ module.exports = function(RED) {
try {
this.deviceid = this.credentials.deviceid;
}
catch(err){}
catch(err) {}
}
if (configNode) {
@@ -390,7 +390,7 @@ module.exports = function(RED) {
PushbulletOut.prototype.pushMsg = function(pushtype, deviceid, title, msg) {
var self = this;
if (this.pusher) {
var handleErr = function(msg){
var handleErr = function(msg) {
return function(err) {
if (err) {
self.error(msg);