From e3a2ee7debb44d84d5d94b0c2218d926a06c6053 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Fri, 1 Jul 2022 17:31:19 -0700 Subject: [PATCH 1/2] Remove misc script from django_css --- src/django_idom/components.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/django_idom/components.py b/src/django_idom/components.py index dab9a5d0..1433d30a 100644 --- a/src/django_idom/components.py +++ b/src/django_idom/components.py @@ -14,16 +14,7 @@ def django_css(static_path: str): static_path: The path to the static file. This path is identical to what you would use on a `static` template tag. """ - return html._( - html.script( - """ - let parentTag = document.currentScript; - console.log(parentTag); - //parentTag.attachShadow({ mode: 'open' }); - """ - ), - html.style(_cached_static_contents(static_path)), - ) + return html._(html.style(_cached_static_contents(static_path))) @component From daff80ff874bd39e4990b8d9c681ecd605f10bb7 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Fri, 1 Jul 2022 17:33:36 -0700 Subject: [PATCH 2/2] bump release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf2a083b..a283c7d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ Types of changes are to be listed in this order - Nothing (yet) -## [1.1.0] - 2022-06-25 +## [1.1.0] - 2022-07-01 ### Added