mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Added test @for and @if on same el
This commit is contained in:
parent
de673d362e
commit
9dabb89baa
1
test/fixtures/templates/for-if-attr/expected.html
vendored
Normal file
1
test/fixtures/templates/for-if-attr/expected.html
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
A , B , C , <div>C</div>
|
||||||
3
test/fixtures/templates/for-if-attr/template.marko
vendored
Normal file
3
test/fixtures/templates/for-if-attr/template.marko
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div for="item in ['red', null, 'blue']" if="item">
|
||||||
|
${item}
|
||||||
|
</div>
|
||||||
1
test/fixtures/templates/for-if-attr/test.js
vendored
Normal file
1
test/fixtures/templates/for-if-attr/test.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
exports.templateData = {};
|
||||||
Loading…
x
Reference in New Issue
Block a user