deep in the hole trying to fix canvas positioning in visualizations

This commit is contained in:
Peter Cottle 2013-01-04 13:13:15 -08:00
parent b945037f34
commit 55c85cd439
12 changed files with 282 additions and 81 deletions

View file

@ -57,7 +57,7 @@ GitShim.prototype.processGitCommand = function(command, deferred) {
// if we didnt receive a defer handler in the options, this just
// resolves immediately
this.beforeDeferHandler(beforeDefer);
this.beforeDeferHandler(beforeDefer, command);
};
GitShim.prototype.afterGitCommandProcessed = function(command, deferred) {
@ -73,7 +73,7 @@ GitShim.prototype.afterGitCommandProcessed = function(command, deferred) {
})
.done();
this.afterDeferHandler(afterDefer);
this.afterDeferHandler(afterDefer, command);
};
exports.GitShim = GitShim;

View file

@ -110,8 +110,6 @@ TreeCompare.prototype.compareTrees = function(treeA, treeB) {
// like createTime, message, author
this.reduceTreeFields([treeA, treeB]);
console.log('comparing tree A', treeA, 'to', treeB);
return _.isEqual(treeA, treeB);
};