check = function(r){
            return r.test(ua);
        }
Copies all the properties of config to obj.
@param {Object} obj The receiver of the properties
@param {Object} config The source of the properties
@param {Object} defaults A different object that will also be applied for default values
@return {Object} returns obj
@member Ext apply