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 nesting the same name (issue
#148
)
tags/0.5.1
Michael Jackson
14 years ago
parent
eb01be0470
commit
4835dd6a2c
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/nesting_same_name.js
+1
-0
spec/_files/nesting_same_name.mustache
+1
-0
spec/_files/nesting_same_name.txt
+ 8
- 0
spec/_files/nesting_same_name.js
View File
@@ -0,0 +1,8 @@
var nesting_same_name = {
items: [
{
name: 'name',
items: [1, 2, 3, 4]
}
]
};
+ 1
- 0
spec/_files/nesting_same_name.mustache
View File
@@ -0,0 +1 @@
{{#items}}{{name}}{{#items}}{{.}}{{/items}}{{/items}}
+ 1
- 0
spec/_files/nesting_same_name.txt
View File
@@ -0,0 +1 @@
name1234
Write
Preview
Loading…
Cancel
Save