szurubooru/client/js/views/users_page_view.js
2016-05-11 12:17:40 +02:00

17 lines
342 B
JavaScript

'use strict';
const views = require('../util/views.js');
class UsersPageView {
constructor() {
this.template = views.getTemplate('users-page');
}
render(ctx) {
const target = ctx.target;
const source = this.template(ctx);
views.showView(target, source);
}
}
module.exports = UsersPageView;