Skip to content

Commit

Permalink
♻️ Replace Carbon.FileContent with Carbon.Eel
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Jun 22, 2018
1 parent 86f40c2 commit fe3ed2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions Resources/Private/Fusion/Overwrite.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ prototype(Neos.Neos:Page) {
head.imagesinarow = Neos.Fusion:Tag {
tagName = 'style'
content = Neos.Fusion:Array {
main = Carbon.FileContent:FileContent {
path = 'resource://Jonnitto.ImagesInARow/Private/Templates/InlineAssets/Main.css'
}
backend = Carbon.FileContent:FileContent {
@if.inBackend = ${node.context.inBackend}
path = 'resource://Jonnitto.ImagesInARow/Private/Templates/InlineAssets/Backend.css'
}
main = ${Carbon.FileContent.path('Jonnitto.ImagesInARow/Private/Templates/InlineAssets/Main.css')}
backend = ${node.context.inBackend ? Carbon.FileContent.path('Jonnitto.ImagesInARow/Private/Templates/InlineAssets/Backend.css') : ''}
}
@if.render = Carbon.Condition:Case {
enabled = ${Configuration.setting('Jonnitto.ImagesInARow.includeCss')}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"flowpack/nodetemplates": "^1.0",
"carbon/condition": "^1.0",
"carbon/image": "^1.0",
"carbon/filecontent": "^1.0"
"carbon/eel": "^1.1"
},
"archive": {
"exclude": [".editorconfig", ".gitignore", ".github", ".gitattributes", "gulp.json", "package.json", "CODE_OF_CONDUCT.md"]
Expand Down

0 comments on commit fe3ed2d

Please sign in to comment.