mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +02:00
gitvisuals in animation
This commit is contained in:
parent
38b0512bca
commit
a009b9783a
3 changed files with 22 additions and 23 deletions
|
@ -20,12 +20,11 @@ var Visualization = Backbone.View.extend({
|
|||
branchCollection: this.branchCollection
|
||||
});
|
||||
|
||||
gitEngine = new GitEngine({
|
||||
this.gitEngine = new GitEngine({
|
||||
collection: this.commitCollection,
|
||||
branches: this.branchCollection,
|
||||
gitVisuals: this.gitVisuals
|
||||
});
|
||||
this.gitEngine = gitEngine;
|
||||
this.gitVisuals.assignGitEngine(this.gitEngine);
|
||||
|
||||
// needs to be called before raphael ready
|
||||
|
@ -453,7 +452,6 @@ GitVisuals.prototype.addBranchFromEvent = function(branch, collection, index) {
|
|||
};
|
||||
|
||||
GitVisuals.prototype.addBranch = function(branch, paperOverride) {
|
||||
// TODO
|
||||
var visBranch = new VisBranch({
|
||||
branch: branch,
|
||||
gitVisuals: this,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue