2

Resolved

Incorrect namespace handling

description

AjaxDoc is outputing nested namespaces in the <elements> list for namespace API members. It shouldn't as this causes the nested namespace content to appear below the parent namespace as well as at the root level. It should also write out the full name rather than the short name in the <apidata> element. The fix for both problems is to modify the code between lines 307 and 335 in ScriptDoc.js. I've attached a fixed copy of the AjaxDoc 1.1 script file.

Note that this also contains the fix for the bug that causes the JScript syntax generator to fail (see the other related work item).

file attachments

comments

wrote Feb 13, 2009 at 4:59 AM

Patch applied. Many thanks for the patch.