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

14 lines
302 B
JavaScript

"use strict";
const views = require("../util/views.js");
const template = views.getTemplate("user-summary");
class UserSummaryView {
constructor(ctx) {
this._hostNode = ctx.hostNode;
views.replaceContent(this._hostNode, template(ctx));
}
}
module.exports = UserSummaryView;