add show list methods

This commit is contained in:
Aleksey Chichenkov 2018-09-18 17:41:21 +03:00
parent 058104b10f
commit 3478e04a63
7 changed files with 1064 additions and 121 deletions

View file

@ -151,6 +151,14 @@
var methods = self.find({kind: 'function', memberof: isGlobalPage ? {isUndefined: true} : doc.longname});
if (methods && methods.length && methods.forEach) {
?>
<div class="min-methods">
<div class="title">Methods list:</div>
<div class="list">
<?js methods.forEach(function(m) { ?>
<?js= self.partial('method_list.tmpl', m) ?>
<?js }); ?>
</div>
</div>
<h3 class="subsection-title methods">Methods</h3>
<?js methods.forEach(function(m) { ?>
<?js= self.partial('method.tmpl', m) ?>