This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/client/js/views/user_summary_view.js

19 lines
388 B
JavaScript
Raw Normal View History

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