public/javascripts/yui/carousel/carousel-debug.js
function (cfg) {
            var carousel = this;

            if (cfg.prev) {
                Event.on(cfg.prev, "click", scrollPageBackward, carousel);
            }
            if (cfg.next) {
                Event.on(cfg.next, "click", scrollPageForward, carousel);
            }
        }
function (cfg) {
            var carousel = this;

            if (cfg.prev) {
                Event.on(cfg.prev, "click", scrollPageBackward, carousel);
            }
            if (cfg.next) {
                Event.on(cfg.next, "click", scrollPageForward, carousel);
            }
        }
function ( cfg ) { var carousel = this ; if ( cfg . prev ) { Event . on ( cfg . prev , "click" , scrollPageBackward , carousel ) ; } if ( cfg . next ) { Event . on ( cfg . next , "click" , scrollPageForward , carousel ) ; } }
Set the value for the Carousel's navigation.

@method _setNavigation
@param cfg {Object} The navigation configuration
@return {Object} The new value that would be set
@protected
Set the value for the Carousel s navigation .