POC: jsrender array bug [fixed]
Showing the former jsrender bug fixed with the new syntax.
https://github.com/BorisMoore/jsrender/issues/31
https://github.com/BorisMoore/jsrender/issues/7
HTML
<ul id="results"></ul>
<script id="x" type="text/x-jquery-tmpl">
<li>{{:#data}}</li>
</script>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/BorisMoore/jsrender/master/jsrender.js"></script>
JavaScript
/*global $ */
$(function () {
"use strict";
$("#results").html($("#x").render([0, 1, 0, 2, 0]));
});