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

            if(JS.isArray(val)) {
                carousel._cols = val[0];
                carousel._rows = val[1];
                numVisible = val[0] *  val[1];
            }
            return numVisible;
        }
function (val) {
            var carousel = this,
                numVisible = val;

            if(JS.isArray(val)) {
                carousel._cols = val[0];
                carousel._rows = val[1];
                numVisible = val[0] *  val[1];
            }
            return numVisible;
        }
function ( val ) { var carousel = this , numVisible = val ; if ( JS . isArray ( val ) ) { carousel . _cols = val [ 0 ] ; carousel . _rows = val [ 1 ] ; numVisible = val [ 0 ] * val [ 1 ] ; } return numVisible ; }
Set the value for the number of visible items in the Carousel.

@method _numVisibleSetter
@param val {Number} The new value for numVisible
@return {Number} The new value that would be set
@protected
Set the value for the number of visible items in the Carousel .