Handlebars code



snippets/9/client/handlebars.html
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/3.0.3/handlebars.min.js"></script>

snippets/9/client/handlebars.js
    var source   = document.getElementById('show-items-template').innerHTML;
    var template = Handlebars.compile(source);
    var html    = template({ data: data });