mail/src/js/view/compose-view.js

16 lines
271 B
JavaScript

(function() {
'use strict';
app.view.ComposeView = Backbone.View.extend({
initialize: function() {
this.template = _.template(app.util.tpl.get('compose'));
},
render: function(eventName) {
$(this.el).html(this.template());
return this;
}
});
}());