Skip to content

Commit

Permalink
Fix js integration
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz committed Jul 24, 2023
1 parent db7e699 commit a486eaf
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,26 @@ include: **/*.fusion


prototype(Neos.Neos:Page) {
body {
javascripts.countUp = Neos.Fusion:Array {
lib = Neos.Fusion:Tag {
tagName = 'script'
src = Neos.Fusion:ResourceUri {
path = 'resource://VIVOMEDIA.CountUp/Public/JavaScript/countUpJs/countUp.js'
}
}
integration = Neos.Fusion:Tag {
tagName = 'script'
src = Neos.Fusion:ResourceUri {
path = 'resource://VIVOMEDIA.CountUp/Public/JavaScript/countUp.js'
}
}
@if.includeJavascript = ${Configuration.setting('VIVOMEDIA.CountUp.javascript.include') == true}
}
}
body {
javascripts.countUp = Neos.Fusion:Array {
lib = Neos.Fusion:Tag {
tagName = 'script'
attributes {
src = Neos.Fusion:ResourceUri {
path = 'resource://VIVOMEDIA.CountUp/Public/JavaScript/countUpJs/countUp.min.js'
}
}
}
integration = Neos.Fusion:Tag {
tagName = 'script'
attributes {
src = Neos.Fusion:ResourceUri {
path = 'resource://VIVOMEDIA.CountUp/Public/JavaScript/countUp.js'
}
}
}
@if.includeJavascript = ${Configuration.setting('VIVOMEDIA.CountUp.javascript.include') == true}
}
}
}

0 comments on commit a486eaf

Please sign in to comment.