Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
jan
/
mustache.js
réplica de
https://github.com/janl/mustache.js
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
46
Wiki
Actividad
Explorar el Código
add a (failing for now) example of loop inside a partial
tags/0.2.3
Damien Mathieu
hace 16 años
padre
5c3a177662
commit
2d574f70dc
Se han
modificado 4 ficheros
con
18 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+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
Ver fichero
@@ -0,0 +1,6 @@
Here's a non-sense array of values
{{%IMPLICIT-ITERATOR}}
{{#array}}
{{.}}
{{/array}}
+ 1
- 0
examples/array_partial.html
Ver fichero
@@ -0,0 +1 @@
{{>partial}}
+ 5
- 0
examples/array_partial.js
Ver fichero
@@ -0,0 +1,5 @@
var partial_context = {
partial: {
array: ['1', '2', '3', '4']
}
};
+ 6
- 0
examples/array_partial.txt
Ver fichero
@@ -0,0 +1,6 @@
Here's a non-sense array of values
1
2
3
4
Escribir
Vista previa
Cargando…
Cancelar
Guardar