mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-25 23:48:34 +02:00
AWESOMEEEEEe first big refactor and its awesome
This commit is contained in:
parent
bf6f987482
commit
4619eb370c
2 changed files with 11 additions and 7 deletions
|
@ -7900,7 +7900,6 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
|
||||||
this.origin.gitVisuals
|
this.origin.gitVisuals
|
||||||
);
|
);
|
||||||
animation.play();
|
animation.play();
|
||||||
console.log('playing animation');
|
|
||||||
return animation.getPromise();
|
return animation.getPromise();
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
|
@ -7912,7 +7911,9 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
|
||||||
// teamwork all at once because then the animation of each child
|
// teamwork all at once because then the animation of each child
|
||||||
// is difficult. Instead, we will generate a promise chain which will
|
// is difficult. Instead, we will generate a promise chain which will
|
||||||
// produce the commit right before every animation
|
// produce the commit right before every animation
|
||||||
chain = chain.then(chainStep());
|
chain = chain.then(function() {
|
||||||
|
return chainStep();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
deferred.resolve();
|
deferred.resolve();
|
||||||
|
@ -23802,7 +23803,6 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
|
||||||
this.origin.gitVisuals
|
this.origin.gitVisuals
|
||||||
);
|
);
|
||||||
animation.play();
|
animation.play();
|
||||||
console.log('playing animation');
|
|
||||||
return animation.getPromise();
|
return animation.getPromise();
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
|
@ -23814,7 +23814,9 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
|
||||||
// teamwork all at once because then the animation of each child
|
// teamwork all at once because then the animation of each child
|
||||||
// is difficult. Instead, we will generate a promise chain which will
|
// is difficult. Instead, we will generate a promise chain which will
|
||||||
// produce the commit right before every animation
|
// produce the commit right before every animation
|
||||||
chain = chain.then(chainStep());
|
chain = chain.then(function() {
|
||||||
|
return chainStep();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
deferred.resolve();
|
deferred.resolve();
|
||||||
|
|
|
@ -858,7 +858,9 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
|
||||||
// teamwork all at once because then the animation of each child
|
// teamwork all at once because then the animation of each child
|
||||||
// is difficult. Instead, we will generate a promise chain which will
|
// is difficult. Instead, we will generate a promise chain which will
|
||||||
// produce the commit right before every animation
|
// produce the commit right before every animation
|
||||||
chain = chain.then(chainStep());
|
chain = chain.then(function() {
|
||||||
|
return chainStep();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
deferred.resolve();
|
deferred.resolve();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue