minor code cleanup

This commit is contained in:
Jeff Williams 2013-08-04 11:52:37 -07:00
parent 24a5b6b34f
commit 6c4f59b107

View File

@ -464,11 +464,7 @@ exports.getMembers = function(data) {
// functions that are also modules (as in "module.exports = function() {};") are not globals
members.globals = members.globals.filter(function(doclet) {
if ( isModuleFunction(doclet) ) {
return false;
}
return true;
return !isModuleFunction(doclet);
});
return members;