public/javascripts/yui/container/container.js
function ( key, propertyObject ) {
            key = key.toLowerCase();
        
            this.config[key] = propertyObject;
        
            propertyObject.event = this.createEvent(key, { scope: this.owner });
            propertyObject.event.signature = CustomEvent.LIST;
            
            
            propertyObject.key = key;
        
            if (propertyObject.handler) {
                propertyObject.event.subscribe(propertyObject.handler, 
                    this.owner);
            }
        
            this.setProperty(key, propertyObject.value, true);
            
            if (! propertyObject.suppressEvent) {
                this.queueProperty(key, propertyObject.value);
            }
            
        }
function ( key, propertyObject ) {
            key = key.toLowerCase();
        
            this.config[key] = propertyObject;
        
            propertyObject.event = this.createEvent(key, { scope: this.owner });
            propertyObject.event.signature = CustomEvent.LIST;
            
            
            propertyObject.key = key;
        
            if (propertyObject.handler) {
                propertyObject.event.subscribe(propertyObject.handler, 
                    this.owner);
            }
        
            this.setProperty(key, propertyObject.value, true);
            
            if (! propertyObject.suppressEvent) {
                this.queueProperty(key, propertyObject.value);
            }
            
        }
function ( key , propertyObject ) { key = key . toLowerCase ( ) ; this . config [ key ] = propertyObject ; propertyObject . event = this . createEvent ( key , { scope : this . owner } ) ; propertyObject . event . signature = CustomEvent . LIST ; propertyObject . key = key ; if ( propertyObject . handler ) { propertyObject . event . subscribe ( propertyObject . handler , this . owner ) ; } this . setProperty ( key , propertyObject . value , true ) ; if ( ! propertyObject . suppressEvent ) { this . queueProperty ( key , propertyObject . value ) ; } }
Adds a property to the Config Object's private config hash.
@method addProperty
@param {String} key The configuration property's name
@param {Object} propertyObject The Object containing all of this
property's arguments
Adds a property to the Config Object s private config hash .