Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
jan
/
mustache.js
mirror da
https://github.com/janl/mustache.js
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
46
Wiki
Attività
Sfoglia il codice sorgente
Add spec for context lookup (issue
#122
)
tags/0.5.1
Michael Jackson
14 anni fa
parent
09f1e88b92
commit
364ef54901
3 ha cambiato i file
con
10 aggiunte
e
0 eliminazioni
Visualizzazione separata
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
Vedi File
@@ -0,0 +1,8 @@
var context_lookup = {
"outer": {
"id": 1,
"second": {
"nothing": 2
}
}
};
+ 1
- 0
spec/_files/context_lookup.mustache
Vedi File
@@ -0,0 +1 @@
{{#outer}}{{#second}}{{id}}{{/second}}{{/outer}}
+ 1
- 0
spec/_files/context_lookup.txt
Vedi File
@@ -0,0 +1 @@
1
Write
Preview
Loading…
Annulla
Salva