awesome now we are using it for commit animations

This commit is contained in:
Peter Cottle 2013-06-02 17:35:55 -07:00
parent c8d117073f
commit f438948660
2 changed files with 18 additions and 3 deletions

View file

@ -7974,7 +7974,12 @@ GitEngine.prototype.commitStarter = function() {
newCommit.set('commitMessage', msg);
}
this.animationFactory.genCommitBirthAnimation(this.animationQueue, newCommit, this.gitVisuals);
var promise = this.animationFactory.playCommitBirthPromiseAnimation(
newCommit,
this.gitVisuals
);
this.animationQueue.thenFinish(promise);
};
GitEngine.prototype.commit = function() {
@ -23892,7 +23897,12 @@ GitEngine.prototype.commitStarter = function() {
newCommit.set('commitMessage', msg);
}
this.animationFactory.genCommitBirthAnimation(this.animationQueue, newCommit, this.gitVisuals);
var promise = this.animationFactory.playCommitBirthPromiseAnimation(
newCommit,
this.gitVisuals
);
this.animationQueue.thenFinish(promise);
};
GitEngine.prototype.commit = function() {

View file

@ -921,7 +921,12 @@ GitEngine.prototype.commitStarter = function() {
newCommit.set('commitMessage', msg);
}
this.animationFactory.genCommitBirthAnimation(this.animationQueue, newCommit, this.gitVisuals);
var promise = this.animationFactory.playCommitBirthPromiseAnimation(
newCommit,
this.gitVisuals
);
this.animationQueue.thenFinish(promise);
};
GitEngine.prototype.commit = function() {