No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
Sebastian Cohnen 5f31d4cbc2 Re-enabled test for clean context in case of recursion hace 16 años
examples Merge branch 'master' of git://shakti.local/mustache.js hace 16 años
test Re-enabled test for clean context in case of recursion hace 16 años
.gitignore add gitignore hace 16 años
LICENSE add MIT license hace 16 años
README.md add readme hace 16 años
Rakefile add test suite, implement escaping hace 16 años
mustache.js Merge branch 'master' of git://shakti.local/mustache.js hace 16 años

README.md

mustache.js

What could be more logical awesome than no logic at all?

Shamless port of http://github.com/defunkt/mustache by Jan Lehnardt jan@apache.org.

Thanks @defunkt for the awesome code.

Usage

// load mustache.js

var view = { title: “foo”, calc: function() { return 2 + 4; } }

var template = “{{title}} spends {{calc}}";

var html = Mustache.to_html(template, view);

// whatever you want to do with html

See examples/ for more goodies and read the original mustache docs