From 60967aab3342ec957fd4fd0a10a991a4e7bf6dfb Mon Sep 17 00:00:00 2001 From: Cydrick Nonog Date: Mon, 20 Feb 2023 19:04:38 +0800 Subject: [PATCH] fix: Update assetmaker --- traits/AssetMaker.php | 1 + updates/version.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/traits/AssetMaker.php b/traits/AssetMaker.php index c4b7f0e..9ac93de 100644 --- a/traits/AssetMaker.php +++ b/traits/AssetMaker.php @@ -124,6 +124,7 @@ public function addJs($name, $attributes = []) } $jsPath = $this->getAssetPath($name); + $attributes = $this->processAssetAttributes($attributes); if (isset($this->controller)) { $this->controller->addJs($jsPath, $attributes); diff --git a/updates/version.yaml b/updates/version.yaml index 9ea4e90..dc714c1 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -27,3 +27,5 @@ - Fix issue with LINK_POLICY 2.1.0: - Support Octobercms 3.1 +2.1.1: + - Fix issue with AssetMaker