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 test case for recursive partial. If it weren't for complex.html
it could be neat and there'd be s/kids/children/ — Oh well.
tags/0.3.0
Jan Lehnardt
hace 16 años
padre
1e7fce2e7a
commit
1f0ca2fe50
Se han
modificado 3 ficheros
con
4 adiciones
y
4 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-2
examples/partial_recursion.html
+1
-1
examples/partial_recursion.js
+1
-1
examples/partial_recursion.txt
+ 2
- 2
examples/partial_recursion.html
Ver fichero
@@ -1,4 +1,4 @@
{{name}}
{{#
children
}}
{{#
kids
}}
{{>partial}}
{{/
children
}}
{{/
kids
}}
+ 1
- 1
examples/partial_recursion.js
Ver fichero
@@ -1,6 +1,6 @@
var partial_context = {
name: '1',
children
: [
kids
: [
{
name: '1.1',
children: [
+ 1
- 1
examples/partial_recursion.txt
Ver fichero
@@ -1,3 +1,3 @@
1
1.1
1.1.1
1.1.1
Escribir
Vista previa
Cargando…
Cancelar
Guardar