mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-03 03:04:27 +02:00
awesome
This commit is contained in:
parent
764fbf63bc
commit
de9d91773a
8 changed files with 461 additions and 270 deletions
|
@ -65,7 +65,9 @@ var MultiView = Backbone.View.extend({
|
|||
});
|
||||
|
||||
this.render();
|
||||
this.start();
|
||||
if (!options.wait) {
|
||||
this.start();
|
||||
}
|
||||
},
|
||||
|
||||
onWindowFocus: function() {
|
||||
|
@ -125,11 +127,9 @@ var MultiView = Backbone.View.extend({
|
|||
// other views will take if they need to
|
||||
this.keyboardListener.mute();
|
||||
|
||||
setTimeout(_.bind(function() {
|
||||
_.each(this.childViews, function(childView) {
|
||||
childView.tearDown();
|
||||
});
|
||||
}, this), this.deathTime);
|
||||
_.each(this.childViews, function(childView) {
|
||||
childView.die();
|
||||
});
|
||||
|
||||
this.deferred.resolve();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue