Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Jan Lehnardt dadf072d40 add jquery package generation, run `rake jquery`, somebody please port this to ruby :) před 16 roky
examples allow for delimiter changes před 16 roky
mustache-commonjs add commonjs package generation, run `rake commonjs `, somebody please port this to ruby :) před 16 roky
mustache-jquery add jquery package generation, run `rake jquery`, somebody please port this to ruby :) před 16 roky
test add mustache tests, implement partials před 16 roky
.gitignore add jquery package generation, run `rake jquery`, somebody please port this to ruby :) před 16 roky
LICENSE add MIT license před 16 roky
README.md add readme před 16 roky
Rakefile add jquery package generation, run `rake jquery`, somebody please port this to ruby :) před 16 roky
mustache.js Added missing "var"s před 16 roky

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