mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
awesome work dialog editor legit
This commit is contained in:
parent
b7f1637562
commit
8086d2b2b1
7 changed files with 476 additions and 111 deletions
|
@ -20,12 +20,15 @@ var BaseView = Backbone.View.extend({
|
|||
}
|
||||
},
|
||||
|
||||
render: function(HTML) {
|
||||
renderAgain: function(HTML) {
|
||||
// flexibility
|
||||
var destination = this.getDestination();
|
||||
HTML = HTML || this.template(this.JSON);
|
||||
|
||||
this.$el.html(HTML);
|
||||
},
|
||||
|
||||
render: function(HTML) {
|
||||
this.renderAgain(HTML);
|
||||
var destination = this.getDestination();
|
||||
$(destination).append(this.el);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue