mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 03:23:42 +00:00
12 lines
263 B
Cheetah
12 lines
263 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
|
||
|
});
|
||
|
?>
|