mirror of
https://github.com/photonstorm/phaser
synced 2024-12-22 19:13:37 +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
|
|
});
|
|
?>
|