tree compare refactored

This commit is contained in:
Peter Cottle 2013-06-08 12:37:44 -10:00
parent 89377b2956
commit 89fa08e149
5 changed files with 87 additions and 96 deletions

View file

@ -165,7 +165,7 @@ GitEngine.prototype.exportTree = function() {
GitEngine.prototype.printTree = function(tree) {
tree = tree || this.exportTree();
TreeCompare.prototype.reduceTreeFields([tree]);
TreeCompare.reduceTreeFields([tree]);
var str = JSON.stringify(tree);
if (/'/.test(str)) {