revert changes to js files

This commit is contained in:
Niels Lyngsø
2023-06-09 09:01:32 +02:00
parent 5f5663a227
commit fa2582d1e1
2 changed files with 12 additions and 12 deletions

View File

@@ -4,10 +4,10 @@ template.innerHTML = `
`;
export default class MyPropertyEditorUI extends HTMLElement {
constructor() {
super();
this.attachShadow({ mode: 'open' });
this.shadowRoot.appendChild(template.content.cloneNode(true));
}
constructor() {
super();
this.attachShadow({mode: 'open'});
this.shadowRoot.appendChild(template.content.cloneNode(true));
}
}
customElements.define('my-property-editor-ui-custom', MyPropertyEditorUI);
customElements.define('my-property-editor-ui-custom', MyPropertyEditorUI);

View File

@@ -15,11 +15,11 @@ template.innerHTML = `
`;
export default class MySectionCustom extends HTMLElement {
constructor() {
super();
this.attachShadow({ mode: 'open' });
this.shadowRoot.appendChild(template.content.cloneNode(true));
}
constructor() {
super();
this.attachShadow({mode: 'open'});
this.shadowRoot.appendChild(template.content.cloneNode(true));
}
}
customElements.define('my-section-custom', MySectionCustom);
customElements.define('my-section-custom', MySectionCustom);