iflrandevu/rsc/scripts/jsdoc/templates/default/tmpl/examples.tmpl
2013-07-02 17:20:39 +00:00

11 lines
No EOL
257 B
Cheetah

<?js
var data = obj;
data.forEach(function(example) {
if (example.caption) {
?>
<p class="code-caption"><?js= example.caption ?></p>
<?js } ?>
<pre class="prettyprint"><code><?js= example.code ?></code></pre>
<?js
});
?>