добавил примеры по работе с деревьями

This commit is contained in:
Aleksey Chichenkov 2018-09-25 19:04:11 +03:00
parent 73f3735bb6
commit 59d791e97f
12 changed files with 446 additions and 22 deletions

View file

@ -3,11 +3,12 @@
var self = this;
data.forEach(function(example) {
var result = self.htmlsafe(example.code);
if (example.caption) {
?>
<p class="code-caption"><?js= example.caption ?></p>
<?js } ?>
<pre class="prettyprint"><code><?js= self.htmlsafe(example.code) ?></code></pre>
<pre class="prettyprint"><code><?js= result ?></code></pre>
<?js
});
?>