Opened 8 years ago

Closed 7 years ago

#13890 closed defect (fixed)

api doc preview breaks with anonymous declared classes

Reported by: Chris Mitchell Owned by: dante
Priority: high Milestone: 1.8
Component: Doc parser Version: 1.7.0b1
Keywords: Cc: cjolif, Evan
Blocked By: Blocking:

Description

See example of code that breaks the api doc tool, with workaround: http://bugs.dojotoolkit.org/changeset/26280/dojo

When declare is used anonymously, this breaks the api doc parser/preview.

The doc tool should be fixed to not fail in this case.

Change History (5)

comment:1 Changed 8 years ago by bill

Component: WebsiteDoc parser

comment:2 Changed 8 years ago by cjolif

Cc: cjolif added

comment:3 Changed 8 years ago by Evan

Cc: Evan added

comment:4 Changed 8 years ago by Evan

And also another workaround as used in [27023] if we don't want to export the anonymous class

comment:5 Changed 7 years ago by cjolif

Resolution: fixed
Status: newclosed

as far as I can see, this is fixed with the new js-doc-parse.

Note: See TracTickets for help on using tickets.