Skip to content

Commit abae30b

Browse files
[fix]classic的jsdoc longname不对 review by xiongjj
1 parent 7763bd4 commit abae30b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/jsdocs/template/publish.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ exports.publish = function (taffyData, opts, tutorials) {
796796
return pages.filter(item => types.some(type => item.endsWith(type)));
797797
}
798798

799-
const allFiles = getFileNames();
800-
console.error('not linked by others: ', getMorePages(allFiles, getHtmlLinks(allFiles)));
801-
console.error('don\'t have link: ', getWrongLink(allFiles));
799+
// const allFiles = getFileNames();
800+
// console.error('not linked by others: ', getMorePages(allFiles, getHtmlLinks(allFiles)));
801+
// console.error('don\'t have link: ', getWrongLink(allFiles));
802802
};

build/jsdocs/template/tmpl/method.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var self = this;
1111
<?js if (data.attribs) { ?>
1212
<span class="attribs"><?js= data.attribs ?></span>
1313
<?js } ?>
14-
<?js= (kind === 'class'&&!data.isFactoryFunction ? 'new ' : '') + name + (kind !== 'event' ? data.signature : '') ?>
14+
<?js= (kind === 'class' && !data.isFactoryFunction ? 'new ' : '') + (kind === 'class' && data.scope === 'static' ? longname : name) + (kind !== 'event' ? data.signature : '') ?>
1515
</h4>
1616
<?js if (data.usage) { ?>
1717
<h5>Usage</h5>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy