public/javascripts/yui/element/element.js
function(key) {
            this._configs = this._configs || {};
            var config = this._configs[key] || {};
            var map = {}; // returning a copy to prevent overrides
            
            for (key in config) {
                if ( Lang.hasOwnProperty(config, key) ) {
                    map[key] = config[key];
                }
            }
    
            return map;
        }
function(key) {
            this._configs = this._configs || {};
            var config = this._configs[key] || {};
            var map = {}; // returning a copy to prevent overrides
            
            for (key in config) {
                if ( Lang.hasOwnProperty(config, key) ) {
                    map[key] = config[key];
                }
            }
    
            return map;
        }
function ( key ) { this . _configs = this . _configs || { } ; var config = this . _configs [ key ] || { } ; var map = { } ; // returning a copy to prevent overrides for ( key in config ) { if ( Lang . hasOwnProperty ( config , key ) ) { map [ key ] = config [ key ] ; } } return map ; }
Returns the attribute's properties.
@method getAttributeConfig
@param {String} key The attribute's name
@private
@return {object} A key-value map containing all of the
attribute's properties.
Returns the attribute s properties .