Skip to content
This repository has been archived by the owner on Dec 31, 2017. It is now read-only.

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

Open
ttrenka opened this issue Jun 10, 2012 · 2 comments
Milestone

Comments

@ttrenka
Copy link

ttrenka commented Jun 10, 2012

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.

@csnover
Copy link
Owner

csnover commented Jun 14, 2012

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.

@ttrenka
Copy link
Author

ttrenka commented Jun 14, 2012

Sounds like a plan.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants