This project has moved. For the latest updates, please go here.
4

Resolved

Can't use JScript Syntax Box

description

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 reflection.org file that is generated, which is required by the JScriptDeclarationSyntaxGenerator.

file attachments

comments

EWoodruff wrote Oct 19, 2007 at 7: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 1:51 AM

** NOTE: Ignore the script attachment on this work item. Use the attached script on the work item at [url:http://www.codeplex.com/ajaxdoc/WorkItem/View.aspx?WorkItemId=7889] as it contains a fix for the namespaces bug as well as this one.

Eric

wrote Feb 13, 2009 at 4:58 AM

Patch applied. Many thanks for the patch.