first commit
This commit is contained in:
commit
058104b10f
59 changed files with 14719 additions and 0 deletions
13
templates/initi/tmpl/examples.tmpl
Normal file
13
templates/initi/tmpl/examples.tmpl
Normal file
|
@ -0,0 +1,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
|
||||
});
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue