Don't use the undocumented property before it is set

This actually avoids addition of params of symbols that are not
part of the API.
This commit is contained in:
ahocevar
2013-04-10 13:59:32 +02:00
parent 7a50295c49
commit 71c32d3554

View File

@@ -42,7 +42,7 @@ exports.handlers = {
},
newDoclet: function(e) {
if (!e.doclet.undocumented) {
if (api.indexOf(e.doclet.longname) > -1) {
// Add params of API symbols to the API
var names, name;
var params = e.doclet.params;