From: Alan Knowles Date: Fri, 16 Jul 2010 04:08:06 +0000 (+0800) Subject: JSDOC/BuildDocs.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=8516e77d755f5efb70ec3520acb542266d69ad35 JSDOC/BuildDocs.js --- diff --git a/JSDOC/BuildDocs.js b/JSDOC/BuildDocs.js index 9d20691..7a7633e 100644 --- a/JSDOC/BuildDocs.js +++ b/JSDOC/BuildDocs.js @@ -320,7 +320,7 @@ BuildDocs = { // what we need to output to be usefull... // a) props.. var cfgProperties = []; - if (!data.comment.getTag('singleton').length) { + if (!data.comment || !data.comment.getTag('singleton').length) { cfgProperties = data.configToArray(); cfgProperties = cfgProperties.sort(makeSortby("name"));