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

Fix 'cannot set property boolean of undefined'

This commit is contained in:
Nick O'Leary 2014-04-12 23:09:47 +01:00
parent ae02cf8d71
commit de9ee37b42
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ var RED = require(process.env.NODE_RED_HOME+"/red/red");
var util = require("util"); var util = require("util");
var parseString = require('xml2js').parseString; var parseString = require('xml2js').parseString;
var useColors = true; var useColors = true;
util.inspect.styles.boolean = "red"; //util.inspect.styles.boolean = "red";
function Xml2jsNode(n) { function Xml2jsNode(n) {
RED.nodes.createNode(this,n); RED.nodes.createNode(this,n);

View File

@ -21,7 +21,7 @@ var events = require("events");
var debuglength = RED.settings.debugMaxLength||1000; var debuglength = RED.settings.debugMaxLength||1000;
var useColors = false; var useColors = false;
util.inspect.styles.boolean = "red"; // util.inspect.styles.boolean = "red";
function DebugNode(n) { function DebugNode(n) {
RED.nodes.createNode(this,n); RED.nodes.createNode(this,n);