inject node - Remove couple of lines of excess console.log

This commit is contained in:
Dave C-J 2014-02-03 19:06:49 +00:00
parent 45cb1016cc
commit bdd9d901ec
1 changed files with 43 additions and 45 deletions

View File

@ -58,8 +58,6 @@ function InjectNode(n) {
this.on("input",function(msg) {
var msg = {topic:this.topic};
console.log(this.payloadType);
console.log(this.payload);
if ( (this.payloadType == null && this.payload == "") || this.payloadType == "date") {
msg.payload = Date.now();
} else if (this.payloadType == null || this.payloadType == "string") {