public/javascripts/yui/calendar/calendar.js
function(type, args, obj) {
        var cfgSelected = DEF_CFG.SELECTED.key;
        this.delegateConfig(type, args, obj);
        var selected = (this.pages.length > 0) ? this.pages[0].cfg.getProperty(cfgSelected) : []; 
        this.cfg.setProperty(cfgSelected, selected, true);
    }
function(type, args, obj) {
        var cfgSelected = DEF_CFG.SELECTED.key;
        this.delegateConfig(type, args, obj);
        var selected = (this.pages.length > 0) ? this.pages[0].cfg.getProperty(cfgSelected) : []; 
        this.cfg.setProperty(cfgSelected, selected, true);
    }
function ( type , args , obj ) { var cfgSelected = DEF_CFG . SELECTED . key ; this . delegateConfig ( type , args , obj ) ; var selected = ( this . pages . length > 0 ) ? this . pages [ 0 ] . cfg . getProperty ( cfgSelected ) : [ ] ; this . cfg . setProperty ( cfgSelected , selected , true ) ; }
The default Config handler for the CalendarGroup "selected" property
@method configSelected
@param {String} type The CustomEvent type (usually the property name)
@param {Object[]} args The CustomEvent arguments. For configuration handlers, args[0] will equal the newly applied value for the property.
@param {Object} obj The scope object. For configuration handlers, this will usually equal the owner.
The default Config handler for the CalendarGroup selected property