Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
jan
/
mustache.js
peilaus alkaen
https://github.com/janl/mustache.js
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Julkaisut
46
Wiki
Activity
Selaa lähdekoodia
add a (failing for now) example of loop inside a partial
tags/0.2.3
Damien Mathieu
16 vuotta sitten
vanhempi
5c3a177662
commit
2d574f70dc
4 muutettua tiedostoa
jossa
18 lisäystä
ja
0 poistoa
Jaettu näkymä
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
Näytä tiedosto
@@ -0,0 +1,6 @@
Here's a non-sense array of values
{{%IMPLICIT-ITERATOR}}
{{#array}}
{{.}}
{{/array}}
+ 1
- 0
examples/array_partial.html
Näytä tiedosto
@@ -0,0 +1 @@
{{>partial}}
+ 5
- 0
examples/array_partial.js
Näytä tiedosto
@@ -0,0 +1,5 @@
var partial_context = {
partial: {
array: ['1', '2', '3', '4']
}
};
+ 6
- 0
examples/array_partial.txt
Näytä tiedosto
@@ -0,0 +1,6 @@
Here's a non-sense array of values
1
2
3
4
Write
Preview
Loading…
Peruuta
Tallenna