DomTemplate Example
The data passed to the template can contain nested data, which is then accessed using a familiar property path.
HTML
<script src="https://github.com/joewalker/domtemplate/raw/master/lib/domtemplate.js"></script>
<div id="ex2">${a.b.c}</div>
JavaScript
template('ex2', { a: { b: { c: 42 } } } );