Create Object

rewrite of the CompareObject routine using Ext.define() according to the guidelines for compiler friendly code. This is useful if you use autoloading.

In a demo file

Ext.Loader.setConfig({
    enabled: true,
    disableCaching: false,
    paths: {
        'Ext.ux.util': 'util'
    }
});

Ext.require('Ext.ux.util.Object');

Ext.onReady(function() {
    var a = {t: 'test'},
        b = {t: 'test'};
    console.log(a, ' - ', b);

    var c = Ext.ux.util.Object.compareObject(a, b);
    console.log('isEqual: ', c);

});