This project has moved and is read-only. For the latest updates, please go here.


Can't use JScript Syntax Box


I was trying to use the JScriptDeclarationSyntaxGenerator built into SandCastle and ran into issues. I sent an email to Anand, and he said it was being caused because AjaxDoc doesn't specify <returns> data in the file that is generated, which is required by the JScriptDeclarationSyntaxGenerator.

file attachments


EWoodruff wrote Oct 19, 2007 at 8:26 PM

I found a fix for this and have attached the modified ScriptDoc.js file from the 1.1 release. It adds an "else" statement to the code in the _appendMembersReflectionDoc member at about line 566 that writes out a returns element if no member documentation is found.

EWoodruff wrote Oct 20, 2007 at 2:51 AM

** NOTE: Ignore the script attachment on this work item. Use the attached script on the work item at [url:] as it contains a fix for the namespaces bug as well as this one.


wrote Feb 13, 2009 at 5:58 AM

Patch applied. Many thanks for the patch.