mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 09:20:03 +02:00
window focus back
This commit is contained in:
parent
93f6f3c6ca
commit
3664ad8b65
5 changed files with 177 additions and 15 deletions
|
@ -8,6 +8,13 @@ var BaseView = Backbone.View.extend({
|
|||
return this.destination || this.container.getInsideElement();
|
||||
},
|
||||
|
||||
tearDown: function() {
|
||||
this.$el.html('');
|
||||
if (this.container) {
|
||||
this.container.tearDown();
|
||||
}
|
||||
},
|
||||
|
||||
render: function(HTML) {
|
||||
// flexibility
|
||||
var destination = this.getDestination();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue