mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Moved over pending test
This commit is contained in:
parent
020457aa88
commit
c1dc3de3de
@ -1,5 +0,0 @@
|
||||
<with vars="x=1; y=7; z=x+10; a">$x $y $z</with>
|
||||
|
||||
<div for="i in [1, 2, 3]" with="message=i+ ') hello'">
|
||||
$message
|
||||
</div>
|
||||
10
test/fixtures/render/autotest/var-scoped2/template.marko
vendored
Normal file
10
test/fixtures/render/autotest/var-scoped2/template.marko
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
<var x=1 y=7 z=x+10 a>
|
||||
${x} ${y} ${z}
|
||||
</var>
|
||||
|
||||
<div for(i in [1, 2, 3])>
|
||||
<var message=(i+ ') hello')>
|
||||
${message}
|
||||
</var>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user