Tone.js/utils/doc_config/vendors/tmpl/examples.tmpl
Yotam Mann d9b347bdfd moved doc_config into vendors
so github won’t think my repo is 65% css
2014-09-12 10:00:06 -04:00

11 lines
274 B
Cheetah

<?js
var data = obj;
data.forEach(function(example) {
if (example.caption) {
?>
<p class="code-caption"><?js= example.caption ?></p>
<?js } ?>
<pre class="sunlight-highlight-javascript"><?js= example.code ?></pre>
<?js
});
?>