mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
trying to remove global references on gitEngine
This commit is contained in:
parent
343cd37105
commit
b914c9887f
2 changed files with 9 additions and 8 deletions
|
@ -40,9 +40,6 @@ GitEngine.prototype.init = function() {
|
|||
|
||||
// commit once to get things going
|
||||
this.commit();
|
||||
|
||||
// now we are ready
|
||||
events.trigger('gitEngineReady', this);
|
||||
};
|
||||
|
||||
GitEngine.prototype.exportTree = function() {
|
||||
|
@ -139,9 +136,8 @@ GitEngine.prototype.reloadGraphics = function() {
|
|||
this.gitVisuals.rootCommit = rootCommit;
|
||||
|
||||
// this just basically makes the HEAD branch. the head branch really should have been
|
||||
// a member of a collection and not this annoying edge case stuff...
|
||||
// TODO -- hackyyy
|
||||
this.gitVisuals.grabHeadBranch();
|
||||
// a member of a collection and not this annoying edge case stuff... one day TODO
|
||||
this.gitVisuals.initHeadBranch();
|
||||
|
||||
// when the paper is ready
|
||||
this.gitVisuals.drawTreeFromReload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue