Przeglądaj źródła

remove debug log

Luigi Cisana 7 lat temu
rodzic
commit
5a830e1387
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      package.json
  2. 1 1
      ramp-thermostat/ramp-thermostat.js

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
     "name"         : "node-red-contrib-ramp-thermostat",
-    "version"      : "0.3.1",
+    "version"      : "0.3.2",
     "description"  : "A Node-RED node that emulates a thermostat",
     "dependencies": {
     },

+ 1 - 1
ramp-thermostat/ramp-thermostat.js

@@ -14,7 +14,7 @@ module.exports = function(RED) {
   function RampThermostat(config) {
     RED.nodes.createNode(this, config);
     
-    this.warn(node_name+" - "+JSON.stringify(this));
+    //this.warn(node_name+" - "+JSON.stringify(this));
     
     var node_name;
     if (typeof this.name !== "undefined" ) {