mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Remove empty class and style attributes when compiling template v2
This commit is contained in:
parent
cd3af499e8
commit
50dd010e2d
4 changed files with 14 additions and 1 deletions
|
|
@ -58,6 +58,8 @@
|
|||
'margin: 1rem' => Context::get('bar'),
|
||||
'padding: 2rem' => false,
|
||||
]); ?>></span>
|
||||
<span<?php echo $this->_v2_buildAttribute('class', ['a' => false, 'b' => false]); ?>></span>
|
||||
<span<?php echo $this->_v2_buildAttribute('style', ['a' => false, 'b' => false]); ?>></span>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript"<?php $this->config->context = 'JS'; ?>>
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@
|
|||
<div class="barContainer" data-bar="["Rhy","miX","is","da","BEST!"]">
|
||||
<span class="a-1 font-normal bg-gray-200"></span>
|
||||
<span style="border-radius: 0.25rem; margin: 1rem"></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
|
|
@ -58,6 +58,8 @@
|
|||
'margin: 1rem' => Context::get('bar'),
|
||||
'padding: 2rem' => false,
|
||||
])></span>
|
||||
<span @class(['a' => false, 'b' => false])></span>
|
||||
<span @style(['a' => false, 'b' => false])></span>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue