Opened 10 years ago

Closed 10 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:


See example of code that breaks the api doc tool, with workaround:

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 10 years ago by bill

Component: WebsiteDoc parser

comment:2 Changed 10 years ago by cjolif

Cc: cjolif added

comment:3 Changed 10 years ago by Evan

Cc: Evan added

comment:4 Changed 10 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 10 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.