2013-06-10 21:14:57 -04:00
|
|
|
define(['jquery', 'underscore', 'backbone', 'js/app-config'], function($, _, Backbone, app) {
|
2013-04-01 18:12:15 -04:00
|
|
|
'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
|
|
|
|
2013-04-01 18:12:15 -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() {
|
2013-04-01 18:12:15 -04:00
|
|
|
$(this.el).html(this.template());
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2013-06-10 21:14:57 -04:00
|
|
|
return AccountsView;
|
|
|
|
});
|