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 a (failing for now) example of loop inside a partial
tags/0.2.3
Damien Mathieu
16 anni fa
parent
5c3a177662
commit
2d574f70dc
4 ha cambiato i file
con
18 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
examples/array_partial.2.html
+1
-0
examples/array_partial.html
+5
-0
examples/array_partial.js
+6
-0
examples/array_partial.txt
+ 6
- 0
examples/array_partial.2.html
Vedi File
@@ -0,0 +1,6 @@
Here's a non-sense array of values
{{%IMPLICIT-ITERATOR}}
{{#array}}
{{.}}
{{/array}}
+ 1
- 0
examples/array_partial.html
Vedi File
@@ -0,0 +1 @@
{{>partial}}
+ 5
- 0
examples/array_partial.js
Vedi File
@@ -0,0 +1,5 @@
var partial_context = {
partial: {
array: ['1', '2', '3', '4']
}
};
+ 6
- 0
examples/array_partial.txt
Vedi File
@@ -0,0 +1,6 @@
Here's a non-sense array of values
1
2
3
4
Write
Preview
Loading…
Annulla
Salva