Skip to content

Commit 5922ea3

Browse files
committed
TASK: Make fusion includes local to the prototypes that use them
1 parent 35c9b20 commit 5922ea3

File tree

8 files changed

+39
-4
lines changed

8 files changed

+39
-4
lines changed

Resources/Private/Fusion/Backend/Application.fusion

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
* source code.
99
*/
1010

11+
include: resource://Neos.Fusion/Private/Fusion/Root.fusion
12+
13+
include: ./Component/**/*.fusion
14+
1115
#
1216
# The Base component for Neos UI Applications
1317
#

Resources/Private/Fusion/Backend/Component/HeadIcons.fusion

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* source code.
99
*/
1010

11+
include: resource://Neos.Fusion/Private/Fusion/Root.fusion
12+
1113
/** @internal */
1214
prototype(Neos.Neos.Ui:Component.HeadIcons) < prototype(Neos.Fusion:Join) {
1315
appleTouchIcon = Neos.Fusion:Tag {

Resources/Private/Fusion/Backend/Component/HeadStylesheets.fusion

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* source code.
99
*/
1010

11+
include: resource://Neos.Fusion/Private/Fusion/Root.fusion
12+
1113
/** @internal */
1214
prototype(Neos.Neos.Ui:Component.HeadStylesheets) < prototype(Neos.Fusion:Value) {
1315
value = ${headStylesheets}

Resources/Private/Fusion/Backend/Component/InitialData.fusion

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* source code.
99
*/
1010

11+
include: ../../Prototypes/RenderConfiguration.fusion
12+
1113
/** @internal */
1214
prototype(Neos.Neos.Ui:Component.InitialData) < prototype(Neos.Fusion:DataStructure) {
1315
configuration = Neos.Fusion:DataStructure {

Resources/Private/Fusion/Backend/Component/ModuleMenu.fusion

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/*
2+
* This file is part of the Neos.Neos.Ui package.
3+
*
4+
* (c) Contributors of the Neos Project - www.neos.io
5+
*
6+
* This package is Open Source Software. For the full copyright and license
7+
* information, please view the LICENSE file which was distributed with this
8+
* source code.
9+
*/
10+
11+
include: resource://Neos.Fusion/Private/Fusion/Root.fusion
12+
13+
/** @internal */
114
prototype(Neos.Neos.Ui:Component.ModuleMenu) < prototype(Neos.Fusion:Map) {
215
items = ${modulesForMenu}
316
itemName = 'module'

Resources/Private/Fusion/Backend/Component/Scripts.fusion

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* source code.
99
*/
1010

11+
include: resource://Neos.Fusion/Private/Fusion/Root.fusion
12+
1113
/** @internal */
1214
prototype(Neos.Neos.Ui:Component.Scripts) < prototype(Neos.Fusion:Value) {
1315
value = ${scripts}

Resources/Private/Fusion/Backend/Component/SplashScreen/SplashScreen.fusion

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* source code.
99
*/
1010

11+
include: resource://Neos.Fusion/Private/Fusion/Root.fusion
12+
1113
#
1214
# The SplashScreen is shown during initialization of the Neos UI
1315
#
Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
include: resource://Neos.Fusion/Private/Fusion/Root.fusion
2-
include: resource://Neos.Neos/Private/Fusion/Prototypes/NodeUri.fusion
3-
include: resource://Neos.Neos.Ui/Private/Fusion/Prototypes/RenderConfiguration.fusion
4-
include: resource://Neos.Neos.Ui/Private/Fusion/Backend/Component/**/*.fusion
1+
/*
2+
* This file is part of the Neos.Neos.Ui package.
3+
*
4+
* (c) Contributors of the Neos Project - www.neos.io
5+
*
6+
* This package is Open Source Software. For the full copyright and license
7+
* information, please view the LICENSE file which was distributed with this
8+
* source code.
9+
*/
510

611
include: ./Application.fusion
712

13+
#
14+
# Neos UI (Content Module) entry point
15+
#
816
backend = Neos.Neos.Ui:Application {
917
title = 'Neos CMS'
1018
}

0 commit comments

Comments
 (0)