phaser/2.7.0/resources/docstrap-master/template/tmpl/examples.tmpl
2016-11-22 01:36:56 +00:00

11 lines
263 B
Cheetah
Executable file

<?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
});
?>