mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
revert partway
This commit is contained in:
parent
ec1bab114f
commit
2e10b6c173
3 changed files with 63 additions and 107 deletions
|
@ -40,11 +40,14 @@ var AnimationQueue = Backbone.Model.extend({
|
|||
}
|
||||
},
|
||||
|
||||
thenFinish: function(promise) {
|
||||
thenFinish: function(promise, deferred) {
|
||||
promise.then(_.bind(function() {
|
||||
this.finish();
|
||||
}, this));
|
||||
this.set('promiseBased', true);
|
||||
if (deferred) {
|
||||
deferred.resolve();
|
||||
}
|
||||
},
|
||||
|
||||
add: function(animation) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue