js-doc-parse icon indicating copy to clipboard operation
js-doc-parse copied to clipboard

If a field comes from something in an inherited object, don't include the full definition

Open ttrenka opened this issue 13 years ago • 2 comments

Sorry for the long issue titles...

If a field (such as the postCreate method defined in dijit/_WidgetBase) has not been overridden, don't include the full definition of that field in the output; instead, let that definition be available by reference using a self-closing node. In other words, if you were looking at the XML data for dijit/Calendar and postCreate has not been overridden, let the method definition in dijit/Calendar look like so:

<method name="postCreate" from="dijit/_WidgetBase" />

This will also help cut down on the size of the resulting output.

ttrenka avatar Jun 10 '12 15:06 ttrenka

At this point I think this needs to go to future because I’m not sure I will be able to tackle deduplication and keep everything in the output before the due date for 1.8, but it will be one of the first things that I look at then. If I run out of bugs I will loop back and try to fix this before then.

csnover avatar Jun 14 '12 01:06 csnover

Sounds like a plan.

ttrenka avatar Jun 14 '12 12:06 ttrenka