From 2a37caf4a56165721b6dee4c4989a11156acf018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Fri, 9 Jun 2023 09:02:16 +0200 Subject: [PATCH] Revert "revert changes to js files" This reverts commit fa2582d1e1b06d27aacdd397b123a8c62e7de12e. --- .../public-assets/App_Plugins/property-editor.js | 12 ++++++------ .../public-assets/App_Plugins/section.js | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js index a79a2b9b72..d217ad5cee 100644 --- a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js +++ b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/property-editor.js @@ -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); \ No newline at end of file +customElements.define('my-property-editor-ui-custom', MyPropertyEditorUI); diff --git a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js index c55d9eb25b..b9835aa52a 100644 --- a/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js +++ b/src/Umbraco.Web.UI.Client/public-assets/App_Plugins/section.js @@ -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); \ No newline at end of file +customElements.define('my-section-custom', MySectionCustom);