Sha256: c33c84c56faa6ba9b0e522b53831e730a1620c468749c9a1a33e556e4561a15c
Contents?: true
Size: 606 Bytes
Versions: 7
Compression:
Stored size: 606 Bytes
Contents
/** * Override how getXTypes works so that it doesn't require that every single class has * an xtype registered for it. */ Ext.override(Ext.Component, { getXTypes : function(){ var tc = this.constructor; if(!tc.xtypes){ var c = [], sc = this; while(sc){ //was: while(sc && sc.constructor.xtype) { var xtype = sc.constructor.xtype; if (xtype != undefined) c.unshift(xtype); sc = sc.constructor.superclass; } tc.xtypeChain = c; tc.xtypes = c.join('/'); } return tc.xtypes; } });
Version data entries
7 entries across 6 versions & 1 rubygems