lib/Ext/Container.js
function() {
        var me = this,
            modal = me.getModal();

        if (modal) {
            modal.destroy();
        }

        me.removeAll(true, true);
        me.unlink('_scrollable');
        Ext.destroy(me.items);

        me.callSuper();
    }
function() {
        var me = this,
            modal = me.getModal();

        if (modal) {
            modal.destroy();
        }

        me.removeAll(true, true);
        me.unlink('_scrollable');
        Ext.destroy(me.items);

        me.callSuper();
    }
function ( ) { var me = this , modal = me . getModal ( ) ; if ( modal ) { modal . destroy ( ) ; } me . removeAll ( true , true ) ; me . unlink ( '_scrollable' ) ; Ext . destroy ( me . items ) ; me . callSuper ( ) ; }
</deprecated>
< / deprecated >