mail/src/js/view/accounts-view.js

17 lines
359 B
JavaScript
Raw Normal View History

2013-06-10 21:14:57 -04:00
define(['jquery', 'underscore', 'backbone', 'js/app-config'], function($, _, Backbone, app) {
'use strict';
2013-03-13 11:58:46 -04:00
2013-06-10 21:14:57 -04:00
var AccountsView = Backbone.View.extend({
2013-03-13 11:58:46 -04:00
initialize: function() {
this.template = _.template(app.util.tpl.get('accounts'));
},
2013-03-13 11:58:46 -04:00
2013-06-10 21:14:57 -04:00
render: function() {
$(this.el).html(this.template());
return this;
}
});
2013-06-10 21:14:57 -04:00
return AccountsView;
});