mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +02:00
BOOM reloadddding fixed
This commit is contained in:
parent
3281c88b52
commit
0a9ec17852
3 changed files with 22 additions and 11 deletions
|
@ -524,6 +524,10 @@ GitVisuals.prototype.canvasResize = function(width, height) {
|
|||
}
|
||||
};
|
||||
|
||||
GitVisuals.prototype.addCommit = function(commit) {
|
||||
// TODO
|
||||
};
|
||||
|
||||
GitVisuals.prototype.addNode = function(id, commit) {
|
||||
this.commitMap[id] = commit;
|
||||
if (commit.get('rootCommit')) {
|
||||
|
@ -541,7 +545,6 @@ GitVisuals.prototype.addNode = function(id, commit) {
|
|||
if (this.gitReady) {
|
||||
visNode.genGraphics(this.paper);
|
||||
}
|
||||
|
||||
return visNode;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue