public/javascripts/yui/calendar/calendar.js
function(html) {
        var NAV = YAHOO.widget.CalendarNavigator,
            C = NAV.CLASSES,
            h = html; // just to use a shorter name

        h[h.length] = '<div class="' + C.MONTH + '">';
        this.renderMonth(h);
        h[h.length] = '</div>';
        h[h.length] = '<div class="' + C.YEAR + '">';
        this.renderYear(h);
        h[h.length] = '</div>';
        h[h.length] = '<div class="' + C.BUTTONS + '">';
        this.renderButtons(h);
        h[h.length] = '</div>';
        h[h.length] = '<div class="' + C.ERROR + '" id="' + this.id + NAV.ERROR_SUFFIX + '"></div>';

        return h;
    }
function(html) {
        var NAV = YAHOO.widget.CalendarNavigator,
            C = NAV.CLASSES,
            h = html; // just to use a shorter name

        h[h.length] = '<div class="' + C.MONTH + '">';
        this.renderMonth(h);
        h[h.length] = '</div>';
        h[h.length] = '<div class="' + C.YEAR + '">';
        this.renderYear(h);
        h[h.length] = '</div>';
        h[h.length] = '<div class="' + C.BUTTONS + '">';
        this.renderButtons(h);
        h[h.length] = '</div>';
        h[h.length] = '<div class="' + C.ERROR + '" id="' + this.id + NAV.ERROR_SUFFIX + '"></div>';

        return h;
    }
function ( html ) { var NAV = YAHOO . widget . CalendarNavigator , C = NAV . CLASSES , h = html ; // just to use a shorter name h [ h . length ] = '<div class="' + C . MONTH + '">' ; this . renderMonth ( h ) ; h [ h . length ] = '</div>' ; h [ h . length ] = '<div class="' + C . YEAR + '">' ; this . renderYear ( h ) ; h [ h . length ] = '</div>' ; h [ h . length ] = '<div class="' + C . BUTTONS + '">' ; this . renderButtons ( h ) ; h [ h . length ] = '</div>' ; h [ h . length ] = '<div class="' + C . ERROR + '" id="' + this . id + NAV . ERROR_SUFFIX + '"></div>' ; return h ; }
Renders the contents of the navigator

@method renderNavContents

@param {Array} html The HTML buffer to append the HTML to.
@return {Array} A reference to the buffer passed in.
Renders the contents of the navigator