mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Fixing a class doc error
This commit is contained in:
parent
51c8046fcc
commit
a0f1c8cc1a
@ -237,7 +237,7 @@
|
||||
nav = nav + '<h3>Classes</h3><ul>';
|
||||
classNames.forEach(function(c) {
|
||||
var moduleSameName = data.get( data.find({kind: 'module', longname: c.longname}) );
|
||||
if (moduleSameName) {
|
||||
if (moduleSameName.length) {
|
||||
c.name = c.name.replace('module:', 'require(')+')';
|
||||
moduleSameName[0].module = c;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user