Commit 5536d7a4 authored by akiraohgaki's avatar akiraohgaki

Cleanup

parent 5398c7a1
......@@ -4,20 +4,6 @@ import Chirit from '../../../libs/chirit/Chirit.js';
export default class BaseComponent extends Chirit.Component {
constructor() {
super();
this.html = html;
}
setContent(content) {
if (content instanceof TemplateResult) {
render(content, this.contentRoot);
}
else {
super.setContent(content);
}
}
get sharedStyle() {
return `
@import url(styles/reset.css);
......@@ -34,4 +20,17 @@ export default class BaseComponent extends Chirit.Component {
return btoa(itemKey).slice(-255);
}
get html() {
return html;
}
setContent(content) {
if (content instanceof TemplateResult) {
render(content, this.contentRoot);
}
else {
super.setContent(content);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment