Removing debugging source location output from --nodes. It shouldn't have snuck in there.

This commit is contained in:
Jeremy Ashkenas
2013-03-05 20:50:03 +13:00
parent 304432c197
commit fbe07f1fce
2 changed files with 3 additions and 5 deletions

View File

@@ -156,15 +156,14 @@
};
Base.prototype.toString = function(idt, name) {
var location, tree;
var tree;
if (idt == null) {
idt = '';
}
if (name == null) {
name = this.constructor.name;
}
location = this.locationData ? locationDataToString(this.locationData) : "??";
tree = '\n' + idt + location + ": " + name;
tree = '\n' + idt + name;
if (this.soak) {
tree += '?';
}