Mustache provides logic-less minimal templates in JavaScript.
Programmers can use mustache.js for rendering templates in his browser, rendering server-side templates alongside node.js or use it for rendering stuff in CouchDB’s views.
Mustache folllows the trend of separating logics code from HTML tags.
Mustache is also available in:
JavaScript - download mustache.js here
Ruby - download Mustache here.
Python - download pystache here.
Erlang - download mustache.erl here.
PHP - download mustache.php here.
Perl - download Mustache Template here.
Go - download mustache.go here.
Lua - download hige here.
ooc - download Mustang here.
C++ - download plustache here.
ActionScript 3 - download mustache.as here.
Java - download mustache.java here.
node.js - download Mu here.
What is new in this release:
- Fixed lookup not stopping upon finding undefined or null values.
- Refactored pre-commit hook.
What is new in version 2.1.0:
- Fixed lookup not stopping upon finding undefined or null values.
- Refactored pre-commit hook.
What is new in version 2.0.0:
- Fixed lookup not stopping upon finding undefined or null values.
- Refactored pre-commit hook.
What is new in version 1.1.0:
- Inline tag compilation.
- Fixed AMD registration, volo package.json entry.
- Added spm support.
- Only access properties of objects on Context.lookup.
What is new in version 0.8.2:
- Supporting Bower through a bower.json file.
What is new in version 0.7.1:
- Handle empty templates gracefully.
- Cache partials by template, not by name.
- Added Mustache.compileTokens to compile the output of Mustache.parse.
What is new in version 0.6.0:
- Use JavaScript's definition of falsy when determining whether to render an inverted section or not.
- Use Mustache.escape to escape values inside {{}}. This function may be reassigned to alter the default escaping behavior.
- Fixed a bug that clashed with QUnit.
- Added volo support.
What is new in version 0.3.0:
- Improved whitespace handling.
- Make IMPLICIT ITERATORS a first class feature.
- Fix Rhino compat.
- CommonJS packaging is no longer a special case.
- DRY Rakefile.
- Allow whitespace around tag names.
- Fix partial scope.
- Fix Comments.
- Added inverted sections.
- Avoid double encoding of entities.
- Use sections to dereference subcontexts.
- Added higher order sections.
Requirements:
- JavaScript enabled on client side
Comments not found