1

Resolved

Field summary missing

description

It seems latest version is not able to generate the JS field summary in the XML comment files.

I've tried to correct this behavior in this way:

changing line 123 in ScriptDoc.js from:

fieldDesc = fieldNode.innerText;

to:

fieldDesc = fieldNode.text;


and changing the function Bleroy.AjaxDoc._appendMemberDoc like this:

if (memberType == "F")
    doc.push("\n\t\t<member name=\"" + memberType + ":J#" + memberPath + "\"" +
        (memberDescription ? ">\n<summary>" + memberDescription + "</summary>\t\t</member>" : "/>"));
else
    doc.push("\n\t\t<member name=\"" + memberType + ":J#" + memberPath + "\"" +
    (memberDescription ? ">\n" + memberDescription + "\t\t</member>" : "/>"));

It seems to work fine for my purpose but any feedback is appreciated.

comments

wrote Feb 13, 2009 at 5:19 AM

Fixed with the proposed patch. Thanks for submitting this.