This website works better with JavaScript.
Home
Explore
Help
Sign In
jan
/
mustache.js
mirror of
https://github.com/janl/mustache.js
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
46
Wiki
Activity
Browse Source
Add spec for nested iteration (issue
#79
)
tags/0.5.1
Michael Jackson
14 years ago
parent
d5049a5552
commit
905ccbbac8
3 changed files
with
10 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
spec/_files/nested_iterating.js
+1
-0
spec/_files/nested_iterating.mustache
+1
-0
spec/_files/nested_iterating.txt
+ 8
- 0
spec/_files/nested_iterating.js
View File
@@ -0,0 +1,8 @@
var nested_iterating = {
inner: [{
foo: 'foo',
inner: [{
bar: 'bar'
}]
}]
};
+ 1
- 0
spec/_files/nested_iterating.mustache
View File
@@ -0,0 +1 @@
{{#inner}}{{foo}}{{#inner}}{{bar}}{{/inner}}{{/inner}}
+ 1
- 0
spec/_files/nested_iterating.txt
View File
@@ -0,0 +1 @@
foobar
Write
Preview
Loading…
Cancel
Save