phaser/Docs/docstrap-master/template/tmpl/examples.tmpl

12 lines
263 B
Cheetah
Raw Normal View History

2013-10-02 00:16:40 +00:00
<?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
});
?>