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.
Alexander Lang 2d5b7e2c81 Merge branch 'master' of git://shakti.local/mustache.js hace 16 años
examples Merge branch 'master' of git://shakti.local/mustache.js hace 16 años
test fixed bug where recursion overwrote data in the parent context 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