I'm just starting to use this, so maybe I'm missing something. I tried a small example...
<script src="jquery-1.10.2.js" type="text/javascript"></script>
<script src="js-template.js" type="text/javascript"></script>
...
<div id='template1'>
<h1 data-jst-content='title'>Title</h1>
<div>Extra: <span data-jst-content='foo'>...</span>
</div>
</div>
var favorites = {
title: "Favorites",
favs: ["apple", "banana", "orange"]
};
var extra = {
foo: 'foo extra'
};
$(document).ready(function () {
$('#template1').refillTemplate(favorites, extra);
});
Nothing is showing up after Extra: