From 71c32d3554adcf3d1700a30abffdf5238ef52f6a Mon Sep 17 00:00:00 2001 From: ahocevar Date: Wed, 10 Apr 2013 13:59:32 +0200 Subject: [PATCH] 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. --- doc/plugins/exports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/plugins/exports.js b/doc/plugins/exports.js index cc8e949b2a..2ab9b00b0d 100644 --- a/doc/plugins/exports.js +++ b/doc/plugins/exports.js @@ -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;