From abf87b75f8a57e6de0ef7349f6577a0e1c39ce1b Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Sep 2023 12:14:22 +0200 Subject: no more eslint errors --- webAO/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webAO/ui.js') diff --git a/webAO/ui.js b/webAO/ui.js index 69d4905..dc3c342 100644 --- a/webAO/ui.js +++ b/webAO/ui.js @@ -1,3 +1,5 @@ +/* eslint no-param-reassign: ["error", +{ "props": true, "ignorePropertyModificationsFor": ["container"] }] */ import { GoldenLayout } from 'golden-layout'; const config = { @@ -68,7 +70,5 @@ const golden = new GoldenLayout(); golden.registerComponentFactoryFunction('template', (container, componentState) => { const template = document.querySelector(`#${componentState.id}`); container.element.innerHTML = template.innerHTML; - // TODO: support multiple locales - // container.setTitle(document.querySelector(`#${componentState.id} meta[name='frame-title']`).getAttribute("content")); }); golden.loadLayout(config); -- cgit