mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Added missing argument to the buildMemberNav()
Four arguments are passed to the buildMemberNav(), but only three ones were defined.
This commit is contained in:
parent
3e972e8648
commit
1945e6322e
@ -288,7 +288,7 @@ function attachModuleSymbols(doclets, modules) {
|
||||
});
|
||||
}
|
||||
|
||||
function buildMemberNav(items, itemHeading, itemsSeen) {
|
||||
function buildMemberNav(items, itemHeading, itemsSeen, linktoFn) {
|
||||
var nav = '';
|
||||
|
||||
if (items.length) {
|
||||
@ -296,7 +296,7 @@ function buildMemberNav(items, itemHeading, itemsSeen) {
|
||||
|
||||
items.forEach(function(item) {
|
||||
if ( !hasOwnProp.call(itemsSeen, item.longname) ) {
|
||||
itemsNav += '<li>' + linkto(item.longname, item.name.replace(/^module:/, '')) + '</li>';
|
||||
itemsNav += '<li>' + linktoFn(item.longname, item.name.replace(/^module:/, '')) + '</li>';
|
||||
itemsSeen[item.longname] = true;
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user