1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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") {