File tree Expand file tree Collapse file tree 10 files changed +22
-23
lines changed Expand file tree Collapse file tree 10 files changed +22
-23
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ prototype(Carbon.IncludeAssets:Case) < prototype(Neos.Fusion:Component) {
9
9
alwaysInclude = ${PropTypes.boolean}
10
10
}
11
11
12
- mixin = null
12
+ mixin = ${ null}
13
13
document = ${this.mixin}
14
14
content = ${this.mixin}
15
15
appendFilter = ''
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ prototype(Carbon.IncludeAssets:Collection) < prototype(Neos.Fusion:Component) {
31
31
}
32
32
33
33
collection = ${[]}
34
- assetPackage = null
34
+ assetPackage = ${ null}
35
35
cacheBuster = ${Configuration.setting('Carbon.IncludeAssets.Default.CacheBuster')}
36
36
disableCacheBusterForPreloadAsset = ${Configuration.setting('Carbon.IncludeAssets.Default.DisableCacheBusterForPreloadAsset')}
37
37
paths = ${Configuration.setting('Carbon.IncludeAssets.Default.Path')}
38
- wrapper = null
38
+ wrapper = ${ null}
39
39
40
40
@if.hasAssetPackage = ${this.assetPackage && Type.isArray(this.collection) && Array.length(this.collection)}
41
41
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ prototype(Carbon.IncludeAssets:File) < prototype(Neos.Fusion:Component) {
12
12
wrapper = ${PropTypes.string}
13
13
}
14
14
15
- file = null
15
+ file = ${ null}
16
16
assetPackage = ${node.context.currentSite.siteResourcesPackageKey}
17
17
cacheBuster = ${Configuration.setting('Carbon.IncludeAssets.Default.CacheBuster')}
18
18
disableCacheBusterForPreloadAsset = ${Configuration.setting('Carbon.IncludeAssets.Default.DisableCacheBusterForPreloadAsset')}
19
- assetPath = null
20
- wrapper = null
19
+ assetPath = ${ null}
20
+ wrapper = ${ null}
21
21
22
22
// This is a internal variable, please use `assetPath` for an single file
23
23
paths = ${Configuration.setting('Carbon.IncludeAssets.Default.Path')}
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ prototype(Carbon.IncludeAssets:ResourceHints) < prototype(Neos.Fusion:Component)
30
30
modulePreload = ${Configuration.setting('Carbon.IncludeAssets.ResourceHints.ModulePreload')}
31
31
32
32
// Pass documentNodes who should be preloaded (Array, FlowQuery or a single node)
33
- preloadNodes = null
33
+ preloadNodes = ${ null}
34
34
// Pass documentNodes who should be prerendererd (Array, FlowQuery or a single node)
35
- prerenderNodes = null
35
+ prerenderNodes = ${ null}
36
36
37
37
renderer = afx`
38
38
<Carbon.IncludeAssets:ResourceHints.Items @key='dnsPrefetch' items={props.dnsPrefetch} rel='dns-prefetch' />
@@ -54,8 +54,8 @@ prototype(Carbon.IncludeAssets:ResourceHints.Items) < prototype(Neos.Fusion:Comp
54
54
type = ${PropTypes.oneOf(['modulepreload', 'resourcehint'])}
55
55
}
56
56
57
- items = null
58
- rel = null
57
+ items = ${ null}
58
+ rel = ${ null}
59
59
type = ${this.rel == 'modulepreload' ? 'modulepreload' : 'resourcehint'}
60
60
61
61
@@ -80,9 +80,9 @@ prototype(Carbon.IncludeAssets:ResourceHints.Nodes) < prototype(Neos.Fusion:Comp
80
80
type = ${PropTypes.string}
81
81
}
82
82
83
- items = null
84
- rel = null
85
- as = null
83
+ items = ${ null}
84
+ rel = ${ null}
85
+ as = ${ null}
86
86
87
87
// Internal
88
88
items.@process {
@@ -106,4 +106,3 @@ prototype(Carbon.IncludeAssets:ResourceHints.Nodes) < prototype(Neos.Fusion:Comp
106
106
`
107
107
}
108
108
}
109
-
Original file line number Diff line number Diff line change 4
4
5
5
prototype(Carbon.IncludeAssets:Internal.Assets) < prototype(Neos.Fusion:Component) {
6
6
// Body || Head || BodyStart || HeadStart
7
- location = null
7
+ location = ${ null}
8
8
9
9
loadJSforCSSAsynchron = ${Configuration.setting('Carbon.IncludeAssets.LoadJSforCSSAsynchron') && this.location == 'Head'}
10
10
packages = ${Configuration.setting('Carbon.IncludeAssets.Packages')}
Original file line number Diff line number Diff line change 1
1
prototype(Carbon.IncludeAssets:Internal.InlineFile) < prototype(Carbon.IncludeAssets:Internal.TypeCase) {
2
2
@if.set = ${this.path && this.type && this.content}
3
3
4
- path = null
5
- type = null
4
+ path = ${ null}
5
+ type = ${ null}
6
6
attributes = ''
7
7
content = ${String.trim(Carbon.FileContent.path(this.path))}
8
8
css = ${'<style' + this.attributes +'>' + this.content + '</style>'}
Original file line number Diff line number Diff line change 4
4
5
5
prototype(Carbon.IncludeAssets:Internal.Package) < prototype(Neos.Fusion:Component) {
6
6
// Body || Head || BodyStart || HeadStart
7
- location = null
7
+ location = ${ null}
8
8
// The config for the package
9
9
config = Neos.Fusion:DataStructure
10
10
Original file line number Diff line number Diff line change 1
1
prototype(Carbon.IncludeAssets:Internal.Tag) < prototype(Neos.Fusion:Component) {
2
- path = null
3
- fileObject = null
2
+ path = ${ null}
3
+ fileObject = ${ null}
4
4
cacheBuster = false
5
5
async = ${this.fileObject.async}
6
6
external = ${this.fileObject.external}
@@ -30,7 +30,7 @@ prototype(Carbon.IncludeAssets:Internal.Tag) < prototype(Neos.Fusion:Component)
30
30
31
31
prototype(Carbon.IncludeAssets:Internal.Tag.ResourceHint) < prototype(Carbon.IncludeAssets:Internal.Tag) {
32
32
async = false
33
- rel = null
33
+ rel = ${ null}
34
34
disableCacheBusterForPreloadAsset = true
35
35
cacheBuster.@process.disableForPreloadasset = ${this.disableCacheBusterForPreloadAsset && this.fileObject && this.fileObject.type == 'PRELOADASSET' ? false : value}
36
36
@if.hasRel = ${this.rel}
Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
prototype(Carbon.IncludeAssets:Internal.TypeCase) < prototype(Neos.Fusion:Component) {
10
- type = null
10
+ type = ${ null}
11
11
html = ''
12
12
js = ''
13
13
css = ''
Original file line number Diff line number Diff line change 1
1
prototype(Carbon.IncludeAssets:Internal.Wrapper) < prototype(Neos.Fusion:Value) {
2
2
content = ${value}
3
- wrapper = null
3
+ wrapper = ${ null}
4
4
wrapper.@if.hasContent = ${this.content}
5
5
wrapper.@process.split = ${value && Type.isString(value) ? String.split(value, '{content}') : null}
6
6
nl = ${String.chr(10)}
You can’t perform that action at this time.
0 commit comments