PDA

View Full Version : Ext.CompositeElement



xun
13 Mar 2012, 7:56 AM
I am curious as why Ext.CompositeElement is defined as such ...

Ext.CompositeElement = Ext.extend(Ext.CompositeElementLite, {});


since everywhere else, i am told not to use Ext.extend any more

mitchellsimoens
13 Mar 2012, 10:13 AM
What version are you looking at?

xun
13 Mar 2012, 10:29 AM
http://docs.sencha.com/ext-js/4-0/source/CompositeElement.html#Ext-CompositeElement

4 (http://docs.sencha.com/ext-js/4-0/source/CompositeElement.html#Ext-CompositeElement).x documentation

mitchellsimoens
13 Mar 2012, 10:32 AM
Gotcha, so looking at 4.1.0 source it has been corrected to use Ext.define.