PDA

View Full Version : [CLOSED] Redundant requires



LesJ
28 Mar 2011, 6:12 AM
I see that many classes require classes that have already been required.

For example:

Ext.panel.Panel requires Ext.XTemplate which has already been required by Ext.AbstractComponent.
Ext.AbstractPanel requires Ext.util.MixedCollection which has already been required by Ext.AbstractContainer
Ext.AbstractContainer requires Ext.ComponentMgr which has already been required by Ext.AbstractComponent
....

Do you consider this an issue?

I realize that the additional requires are harmless since each class will be loaded once even if required multiple times.

Jamie Avins
28 Mar 2011, 8:38 AM
This is the expected behavior.