Use short name for exported functions

This commit is contained in:
Tim Schaub
2022-08-11 15:39:41 -06:00
committed by Tim Schaub
parent 9c0e2f35d1
commit 73baef60e3
3 changed files with 3 additions and 2 deletions

View File

@@ -162,7 +162,7 @@
var methods = self.find({kind: 'function', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
if (methods && methods.length && methods.forEach) {
?>
<h3 class="subsection-title">Methods</h3>
<h3 class="subsection-title"><?js= doc.kind === 'module' ? 'Functions' : 'Methods' ?></h3>
<dl><?js methods.forEach(function(m) { ?>
<?js m.parent = doc ?>