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 context lookup (issue
#122
)
tags/0.5.1
Michael Jackson
14 years ago
parent
09f1e88b92
commit
364ef54901
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/context_lookup.js
+1
-0
spec/_files/context_lookup.mustache
+1
-0
spec/_files/context_lookup.txt
+ 8
- 0
spec/_files/context_lookup.js
View File
@@ -0,0 +1,8 @@
var context_lookup = {
"outer": {
"id": 1,
"second": {
"nothing": 2
}
}
};
+ 1
- 0
spec/_files/context_lookup.mustache
View File
@@ -0,0 +1 @@
{{#outer}}{{#second}}{{id}}{{/second}}{{/outer}}
+ 1
- 0
spec/_files/context_lookup.txt
View File
@@ -0,0 +1 @@
1
Write
Preview
Loading…
Cancel
Save