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