File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
4+ <body >
5+ <referenceBlock name =" loki.script" >
6+ <block name =" loki.alpinejs" template =" Loki_Base::script/alpine-csp.phtml" />
7+ </referenceBlock >
8+ </body >
9+ </page >
Original file line number Diff line number Diff line change 22<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
44 <body >
5- <!--
6- <referenceContainer name="page.messages">
7- <block
8- name="loki.messages"
9- template="Loki_Base::component/messages.phtml"
10- before="-">
11- </block>
12- </referenceContainer>
13- -->
14-
155 <referenceContainer name =" before.body.end" >
166 <container name =" loki.dynamic-script" >
177 <block name =" loki.dynamic-script.variables" template =" Loki_Base::script/variables.phtml" >
2717 class =" Loki\Base\Block\LokiScript"
2818 template =" Loki_Base::script/script-container.phtml" >
2919
30- <!--
31- <block name="loki.alpinejs" template="Loki_Base::script/alpine-csp.phtml"/>
32- -->
33-
3420 <block name =" loki.script.cookies" template =" Loki_Base::script/cookies.phtml" >
3521 <arguments >
3622 <argument name =" cookie_config" xsi : type =" object" >Loki\Base\ViewModel\CookieConfig</argument >
4228 name =" loki.script.store"
4329 class =" Loki\Base\Block\LokiScript"
4430 template =" Loki_Base::script/script-container.phtml" >
45-
46- <!--
47- <block name="loki.script.store.local-storage" template="Loki_Base::script/store/localstorage-store.phtml">
48- <arguments>
49- <argument name="section_config" xsi:type="object">Loki\Base\ViewModel\SectionConfig</argument>
50- </arguments>
51- </block>
52-
53- <block name="loki.script.store.messages" template="Loki_Base::script/store/message-store.phtml"/>
54- -->
5531 </block >
5632
5733 <block
7854 name =" loki.script.component"
7955 class =" Loki\Base\Block\LokiScript"
8056 template =" Loki_Base::script/script-container.phtml" >
81-
82- <!--
83- <block name="loki.component.messages" template="Loki_Base::script/component/message-component.phtml">
84- <arguments>
85- <argument name="config" xsi:type="object">Loki\Base\Config\Config</argument>
86- </arguments>
87- </block>
88- -->
8957 </block >
9058 </referenceContainer >
9159 </body >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
4+ <body >
5+ <referenceBlock name =" loki.script.store" >
6+ <block name =" loki.script.store.local-storage" template =" Loki_Base::script/store/localstorage-store.phtml" >
7+ <arguments >
8+ <argument name =" section_config" xsi : type =" object" >Loki\Base\ViewModel\SectionConfig</argument >
9+ </arguments >
10+ </block >
11+ </referenceBlock >
12+ </body >
13+ </page >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
4+ <body >
5+ <referenceContainer name =" page.messages" >
6+ <block
7+ name =" loki.messages"
8+ template =" Loki_Base::component/messages.phtml"
9+ before =" -" >
10+ </block >
11+ </referenceContainer >
12+
13+ <referenceBlock name =" loki.script.store" >
14+ <block name =" loki.script.store.messages" template =" Loki_Base::script/store/message-store.phtml" />
15+ </referenceBlock >
16+
17+ <referenceBlock name =" loki.script.component" >
18+ <block name =" loki.component.messages" template =" Loki_Base::script/component/message-component.phtml" >
19+ <arguments >
20+ <argument name =" config" xsi : type =" object" >Loki\Base\Config\Config</argument >
21+ </arguments >
22+ </block >
23+ </referenceBlock >
24+ </body >
25+ </page >
You can’t perform that action at this time.
0 commit comments