Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
jan
/
mustache.js
espelhamento de
https://github.com/janl/mustache.js
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
46
Wiki
Atividade
Ver código fonte
add a (failing for now) example of loop inside a partial
tags/0.2.3
Damien Mathieu
16 anos atrás
pai
5c3a177662
commit
2d574f70dc
4 arquivos alterados
com
18 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+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 arquivo
@@ -0,0 +1,6 @@
Here's a non-sense array of values
{{%IMPLICIT-ITERATOR}}
{{#array}}
{{.}}
{{/array}}
+ 1
- 0
examples/array_partial.html
Ver arquivo
@@ -0,0 +1 @@
{{>partial}}
+ 5
- 0
examples/array_partial.js
Ver arquivo
@@ -0,0 +1,5 @@
var partial_context = {
partial: {
array: ['1', '2', '3', '4']
}
};
+ 6
- 0
examples/array_partial.txt
Ver arquivo
@@ -0,0 +1,6 @@
Here's a non-sense array of values
1
2
3
4
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar