mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
some bugs
This commit is contained in:
parent
8086d2b2b1
commit
31aba06d45
10 changed files with 314 additions and 144 deletions
|
@ -371,12 +371,8 @@ var ConfirmCancelTerminal = Backbone.View.extend({
|
|||
// whenever they hit a button. make sure
|
||||
// we close and pass that to our deferred
|
||||
buttonDefer.promise
|
||||
.then(_.bind(function() {
|
||||
this.deferred.resolve();
|
||||
}, this))
|
||||
.fail(_.bind(function() {
|
||||
this.deferred.reject();
|
||||
}, this))
|
||||
.then(this.deferred.resolve)
|
||||
.fail(this.deferred.reject)
|
||||
.done(_.bind(function() {
|
||||
this.close();
|
||||
}, this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue