mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-24 23:18:35 +02:00
sandbox command reset
This commit is contained in:
parent
d6e9b6a962
commit
f4179e9723
9 changed files with 203 additions and 18 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue