szurubooru/client/js/views/user_summary_view.js

19 lines
390 B
JavaScript
Raw Normal View History

2016-04-06 22:34:21 +02:00
'use strict';
const BaseView = require('./base_view.js');
class UserSummaryView extends BaseView {
constructor() {
super();
this.template = this.getTemplate('user-summary-template');
}
2016-04-08 10:35:38 +02:00
render(ctx) {
const target = ctx.target;
const source = this.template(ctx);
this.showView(target, source);
2016-04-06 22:34:21 +02:00
}
}
module.exports = UserSummaryView;