mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Add loop variable and dump directive; reorganize template v2 unit tests
This commit is contained in:
parent
fe804163bf
commit
a6afa3a61d
7 changed files with 394 additions and 41 deletions
61
tests/_data/template/v2example.executed.html
Normal file
61
tests/_data/template/v2example.executed.html
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
|
||||
|
||||
<div><script>
|
||||
top.location.reload();
|
||||
</script>
|
||||
</div>
|
||||
<div></div>
|
||||
|
||||
|
||||
{{ $foo }}
|
||||
|
||||
|
||||
<form action="/rhymix/" method="post">
|
||||
<input type="hidden" name="_rx_csrf_token" value="" />
|
||||
<input type="text" required="required">
|
||||
<input type="text" value="Rhy" required="required" />
|
||||
</form>
|
||||
|
||||
<div class="foobar">
|
||||
<p>Hello FOOFOOFOO</p>
|
||||
<p>RHY|MIX|IS|DA|BEST!</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<img src="/rhymix/tests/_data/template/bar/rhymix.svg" alt="unit tests are cool" />
|
||||
<span ></span>
|
||||
</div>
|
||||
<div>
|
||||
<img src="/rhymix/tests/_data/template/bar/rhymix.svg" alt="unit tests are cool" />
|
||||
<span ></span>
|
||||
</div>
|
||||
<div>
|
||||
<img src="/rhymix/tests/_data/template/bar/rhymix.svg" alt="unit tests are cool" />
|
||||
<span class="is"></span>
|
||||
</div>
|
||||
<div>
|
||||
<img src="/rhymix/tests/_data/template/bar/rhymix.svg" alt="unit tests are cool" />
|
||||
<span class="da"></span>
|
||||
</div>
|
||||
<div>
|
||||
<img src="/rhymix/tests/_data/template/bar/rhymix.svg" alt="unit tests are cool" />
|
||||
<span class="BEST!"></span>
|
||||
</div>
|
||||
|
||||
<div>Rhy</div>
|
||||
<div>miX</div>
|
||||
<div>is</div>
|
||||
<div>da</div>
|
||||
<div>BEST!</div>
|
||||
<div>Empty</div>
|
||||
|
||||
<p>The full class name is Rhymix\Framework\Push, Rhymix\Framework\Push really.</p>
|
||||
|
||||
<div class="barContainer" data-bar="["Rhy","miX","is","da","BEST!"]">
|
||||
<span class="a-1 font-normal bg-white"></span>
|
||||
<span style="border-radius: 0.25rem; margin: 1rem"></span>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
const bar = ["Rhy","miX","is","da","BEST!"];
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue