Front-end templating with Handlebars.
<script type="text/x-handlebars-template"
data-tag="div" data-model-type="json"
data-model="{'message':'Hello World!'}">
Message: {{message}}
</script>Replaces the script tag with this tag. Default is div.
The type of the model, for knowing how to retrieve it. See below for more details.
The model is the Handlebars' context.
Reload the model at an interval.
var context = JSON.parse($el.attr('data-model'));Coming soon.