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
making it more dojo'y, and live in the 'proper' namespace
tags/0.5.0-vsc
Peter Higgins
Jan Lehnardt
<jan@apache.org>
16 anos atrás
pai
e4ab54d524
commit
faaeaf22af
2 arquivos alterados
com
5 adições
e
6 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+3
-4
mustache-dojo/mustache.js.tpl.post
+2
-2
mustache-dojo/mustache.js.tpl.pre
+ 3
- 4
mustache-dojo/mustache.js.tpl.post
Ver arquivo
@@ -1,5 +1,4 @@
d.mustache = function(template, view, partials) {
return Mustache.to_html(template, view, partials);
};
})(dojo);
dojox.mustache = dojo.hitch(Mustache, "to_html");
})();
+ 2
- 2
mustache-dojo/mustache.js.tpl.pre
Ver arquivo
@@ -5,5 +5,5 @@ Shameless port of a shameless port
See http://github.com/defunkt/mustache for more info.
*/
dojo.provide("dojox.
string.
mustache");
;
(function(
d
)
{
dojo.provide("dojox.mustach
e._bas
e");
(function(){
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar