-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix partial quoted surrounded attribute token
- Loading branch information
Christopher Quadflieg
committed
Nov 23, 2019
1 parent
bfb90c6
commit 20be986
Showing
3 changed files
with
126 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
- var items = [1, 2, 3]; | ||
|
||
ul | ||
- items.forEach(function(item){ | ||
li= item | ||
- }) | ||
|
||
- var items = [1, 2, 3]; | ||
|
||
ul | ||
each item, i in items | ||
li(class='item-' + i)= item | ||
|
||
ul | ||
each item, i in items | ||
li= item | ||
|
||
ul | ||
each $item in items | ||
li= $item | ||
|
||
- var nums = [1, 2, 3]; | ||
- var letters = ['a', 'b', 'c']; | ||
|
||
ul | ||
each l in letters | ||
each n in nums | ||
li #{n}: #{l} | ||
|
||
- var count = 1; | ||
- var counter = function() { return [count++, count++, count++] } | ||
ul | ||
each n in counter() | ||
li #{n} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
- var items = [1,2,3] | ||
|
||
ul | ||
- items.forEach(function(item){ | ||
li= item | ||
- }) | ||
|
||
- var items = [1,2,3] | ||
|
||
ul | ||
for item, i in items | ||
li(class='item-' + i)= item | ||
|
||
ul | ||
each item, i in items | ||
li= item | ||
|
||
ul | ||
each $item in items | ||
li= $item | ||
|
||
- var nums = [1, 2, 3] | ||
- var letters = ['a', 'b', 'c'] | ||
|
||
ul | ||
for l in letters | ||
for n in nums | ||
li #{n}: #{l} | ||
|
||
- var count = 1 | ||
- var counter = function() { return [count++, count++, count++] } | ||
ul | ||
for n in counter() | ||
li #{n} |