mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
display required modules for methods (#563)
This commit is contained in:
parent
d82928342c
commit
7b297d063a
@ -38,6 +38,13 @@ var self = this;
|
|||||||
|
|
||||||
<?js= this.partial('details.tmpl', data) ?>
|
<?js= this.partial('details.tmpl', data) ?>
|
||||||
|
|
||||||
|
<?js if (data.requires && data.requires.length) { ?>
|
||||||
|
<h5>Requires:</h5>
|
||||||
|
<ul><?js data.requires.forEach(function(r) { ?>
|
||||||
|
<li><?js= self.linkto(r) ?></li>
|
||||||
|
<?js }); ?></ul>
|
||||||
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (data.fires && fires.length) { ?>
|
<?js if (data.fires && fires.length) { ?>
|
||||||
<h5>Fires:</h5>
|
<h5>Fires:</h5>
|
||||||
<ul><?js fires.forEach(function(f) { ?>
|
<ul><?js fires.forEach(function(f) { ?>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user