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

            if (val >= 0 && val <= 100) {
                val = parseInt(val, 10);
                val = JS.isNumber(val) ? val : 0;
                carousel._setClipContainerSize();
            } else {
                val = carousel.get("revealAmount");
            }
            return val;
        }
function (val) {
            var carousel = this;

            if (val >= 0 && val <= 100) {
                val = parseInt(val, 10);
                val = JS.isNumber(val) ? val : 0;
                carousel._setClipContainerSize();
            } else {
                val = carousel.get("revealAmount");
            }
            return val;
        }
function ( val ) { var carousel = this ; if ( val >= 0 && val <= 100 ) { val = parseInt ( val , 10 ) ; val = JS . isNumber ( val ) ? val : 0 ; carousel . _setClipContainerSize ( ) ; } else { val = carousel . get ( "revealAmount" ) ; } return val ; }
Set the value for the reveal amount percentage in the Carousel.

@method _setRevealAmount
@param val {Number} The new value for revealAmount
@return {Number} The new value that would be set
@protected
Set the value for the reveal amount percentage in the Carousel .