добавил парсинг сложных типов, теперь на них появляется линк

This commit is contained in:
alexey 2018-09-22 20:41:12 +03:00
parent e5798a7576
commit 9ef7ac0df9
3 changed files with 1015 additions and 4 deletions

View file

@ -23,7 +23,7 @@ var self = this;
<span class="param">
<span class="type">
<span class="left-quad-bracket">[</span>
<span class="name"><?js= this.linkto(type, type) ?></span>
<span class="name"><?js= this.linkto(type) ?></span>
<span class="right-quad-bracket">]</span>
</span>
<span class="name"><?js= param.name ?></span><?js if(a < data.params.length - 1) { ?>,<?js } ?>
@ -43,7 +43,7 @@ var self = this;
<span class="returns">
<span class="arrow"> → </span>
<span class="left-figure-bracket">{</span>
<span class="name"><?js= this.linkto(rets, rets) ?></span>
<span class="name"><?js= this.linkto(rets) ?></span>
<span class="right-figure-bracket">}</span>
</span>
<?js } ?>