From: Alan Knowles Date: Thu, 13 May 2010 07:19:55 +0000 (+0800) Subject: JSDOC/Introspect.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=232c2efe95164e23c601089a936d8d268d7e02ae JSDOC/Introspect.js --- diff --git a/JSDOC/Introspect.js b/JSDOC/Introspect.js index 4bbda6c..b54455f 100644 --- a/JSDOC/Introspect.js +++ b/JSDOC/Introspect.js @@ -236,6 +236,10 @@ Object.extend(Introspect, { var n = getAttribute(element, 'name') ; //console.log("WALK" + n); + if (element.name == 'signal') { + path += '.signal'; + } + if (n) { path += path.length ? '.' : ''; path += n; @@ -243,9 +247,6 @@ Object.extend(Introspect, { if (element.name == 'return-value') { path += '.return-value'; } - if (element.name == 'signal') { - path += '.signal'; - } var d = getAttribute(element,'doc'); if (d) {