From cd39be4d76c657db6b2819f41d6e18121d96ddec Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Tue, 18 Jan 2022 11:23:22 +0000 Subject: [PATCH] Update: Allow new version of carbon/eel --- Resources/Private/Fusion/External/ResourceHints.fusion | 4 ++-- Resources/Private/Fusion/Internal/Assets.fusion | 2 +- Resources/Private/Fusion/Internal/Package.fusion | 2 +- composer.json | 9 ++++----- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Resources/Private/Fusion/External/ResourceHints.fusion b/Resources/Private/Fusion/External/ResourceHints.fusion index b793aea..43c059b 100644 --- a/Resources/Private/Fusion/External/ResourceHints.fusion +++ b/Resources/Private/Fusion/External/ResourceHints.fusion @@ -64,7 +64,7 @@ prototype(Carbon.IncludeAssets:ResourceHints.Items) < prototype(Neos.Fusion:Comp @if.set = ${this.items && this.rel && this.type && Type.isArray(this.items) && Array.length(this.items)} renderer = Neos.Fusion:Loop { - items = ${Carbon.Array.unique(props.items)} + items = ${Array.unique(props.items)} itemRenderer = Carbon.IncludeAssets:Internal.Tag.ResourceHint { rel = ${props.rel} fileObject = ${Carbon.IncludeAssets.parseFilename(item + '(' + props.type + ')')} @@ -92,7 +92,7 @@ prototype(Carbon.IncludeAssets:ResourceHints.Nodes) < prototype(Neos.Fusion:Comp @if.set = ${this.items && this.rel && Type.isArray(this.items) && Array.length(this.items)} renderer = Neos.Fusion:Loop { - items = ${Carbon.Array.unique(props.items)} + items = ${Array.unique(props.items)} itemRenderer = afx`