View Full Version : The "Proper" way to Extend classes

19 Jul 2010, 7:01 PM
I've seen several different variations on initComponent - using a config object, or not, calling *.superclass.initComponent.call, calling *.superclass.initComponent.apply, and others.

Can someone guide me on the "proper" way to do things? Are some of the variations hold-overs from prior Ext versions, or do they accomplish different tasks?