sandbox command reset

This commit is contained in:
Peter Cottle 2013-01-03 17:41:33 -08:00
parent d6e9b6a962
commit f4179e9723
9 changed files with 203 additions and 18 deletions

View file

@ -76,6 +76,11 @@ GitVisuals.prototype.resetAll = function() {
this.commitMap = {};
};
GitVisuals.prototype.tearDown = function() {
this.resetAll();
this.paper.remove();
};
GitVisuals.prototype.assignGitEngine = function(gitEngine) {
this.gitEngine = gitEngine;
this.initHeadBranch();