szurubooru/client/js/views/user_summary_view.js
2016-04-08 13:48:23 +02:00

18 lines
390 B
JavaScript

'use strict';
const BaseView = require('./base_view.js');
class UserSummaryView extends BaseView {
constructor() {
super();
this.template = this.getTemplate('user-summary-template');
}
render(ctx) {
const target = ctx.target;
const source = this.template(ctx);
this.showView(target, source);
}
}
module.exports = UserSummaryView;