mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
minor code cleanup
This commit is contained in:
parent
24a5b6b34f
commit
6c4f59b107
@ -464,11 +464,7 @@ exports.getMembers = function(data) {
|
|||||||
|
|
||||||
// functions that are also modules (as in "module.exports = function() {};") are not globals
|
// functions that are also modules (as in "module.exports = function() {};") are not globals
|
||||||
members.globals = members.globals.filter(function(doclet) {
|
members.globals = members.globals.filter(function(doclet) {
|
||||||
if ( isModuleFunction(doclet) ) {
|
return !isModuleFunction(doclet);
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return members;
|
return members;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user