blob: 04d975e96dc52016b0a0b7edb5139c14597b96ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?js
var data = obj;
var self = this;
data.forEach(function(example) {
if (example.caption) {
?>
<p class="code-caption"><?js= example.caption ?></p>
<?js } ?>
<pre class="prettyprint"><code><?js= self.htmlsafe(example.code) ?></code></pre>
<?js
});
?>
|