From b642137c652e5262c88dd4ddc055df684c8da8a2 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 10 Jan 2023 01:40:42 +0100 Subject: [PATCH] feat(OC/Template): Add `type="module"` for ES6 scripts Signed-off-by: Ferdinand Thiessen --- lib/private/legacy/template/functions.php | 16 +++++++++---- tests/lib/TemplateFunctionsTest.php | 29 +++++++++++++++++++++++ 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php index 56c488d5abe..7081bd4f743 100644 --- a/lib/private/legacy/template/functions.php +++ b/lib/private/legacy/template/functions.php @@ -72,14 +72,19 @@ function emit_css_loading_tags($obj) { * Prints a