AWESOMEEEEEe first big refactor and its awesome

This commit is contained in:
Peter Cottle 2013-06-02 17:20:13 -07:00
parent bf6f987482
commit 4619eb370c
2 changed files with 11 additions and 7 deletions

View file

@ -7900,7 +7900,6 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
this.origin.gitVisuals
);
animation.play();
console.log('playing animation');
return animation.getPromise();
}, this);
@ -7912,7 +7911,9 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
// teamwork all at once because then the animation of each child
// is difficult. Instead, we will generate a promise chain which will
// produce the commit right before every animation
chain = chain.then(chainStep());
chain = chain.then(function() {
return chainStep();
});
}
deferred.resolve();
@ -23802,7 +23803,6 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
this.origin.gitVisuals
);
animation.play();
console.log('playing animation');
return animation.getPromise();
}, this);
@ -23814,7 +23814,9 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
// teamwork all at once because then the animation of each child
// is difficult. Instead, we will generate a promise chain which will
// produce the commit right before every animation
chain = chain.then(chainStep());
chain = chain.then(function() {
return chainStep();
});
}
deferred.resolve();

View file

@ -858,7 +858,9 @@ GitEngine.prototype.fakeTeamwork = function(numToMake) {
// teamwork all at once because then the animation of each child
// is difficult. Instead, we will generate a promise chain which will
// produce the commit right before every animation
chain = chain.then(chainStep());
chain = chain.then(function() {
return chainStep();
});
}
deferred.resolve();