load of tiny listing fixes, undef, unused, etc

This commit is contained in:
Dave Conway-Jones
2016-04-09 18:00:14 +01:00
parent 37ba29484a
commit 48bcd3c7df
22 changed files with 532 additions and 535 deletions

View File

@@ -23,8 +23,8 @@ module.exports = function(RED) {
RED.nodes.createNode(this,n);
this.title = n.title;
var node = this;
this.on("input",function(msg) {
var titl = this.title || msg.topic;
node.on("input",function(msg) {
var titl = node.title || msg.topic;
if (typeof(msg.payload) == 'object') {
msg.payload = JSON.stringify(msg.payload);
}

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-notify",
"version" : "0.0.3",
"version" : "0.0.4",
"description" : "A Node-RED node to send local popup Notify alerts",
"dependencies" : {
"growl" : "1.8.1"