0.7.2 • Published 13 years ago
ender-mustache v0.7.2
Mustache.js + Ender
Overview
This is a wrapper around mustache templates to make them play nice with ender.
Usage
You can add the plugin to your build with ender add ender-mustache. If a template is publically available at http://yourdomain.com/path/to/template.mustache then you can get the result of rendering the template with ...
var result = $.render('/template/path.mustache', {variable: 'value'})... or automatically insert it into a parent element with ...
$.render('/template/path.mustache', {variable: 'value'}, '#some .selector')Known Issues
0.7.2
13 years ago