public/javascripts/yui/carousel/carousel-debug.js
function () {
            var attr,
                carousel = this,
                numItems = carousel.get("numItems"),
                i,
                itemsTable = carousel._itemsTable,
                items = itemsTable.items,
                loading = itemsTable.loading,
                item,
                styles;

            for (i = 0; i < numItems; i++) {
                item = items[i] || loading[i];

                if (item && item.id) {
                    styles = getCarouselItemPosition.call(carousel, i);
                    item.styles = item.styles || {};
                    for (attr in styles) {
                        if (styles.hasOwnProperty(attr)) {
                            item.styles[attr] = styles[attr];
                        }
                    }
                    setStyles(Dom.get(item.id), styles);
                }
            }
        }
function () {
            var attr,
                carousel = this,
                numItems = carousel.get("numItems"),
                i,
                itemsTable = carousel._itemsTable,
                items = itemsTable.items,
                loading = itemsTable.loading,
                item,
                styles;

            for (i = 0; i < numItems; i++) {
                item = items[i] || loading[i];

                if (item && item.id) {
                    styles = getCarouselItemPosition.call(carousel, i);
                    item.styles = item.styles || {};
                    for (attr in styles) {
                        if (styles.hasOwnProperty(attr)) {
                            item.styles[attr] = styles[attr];
                        }
                    }
                    setStyles(Dom.get(item.id), styles);
                }
            }
        }
function ( ) { var attr , carousel = this , numItems = carousel . get ( "numItems" ) , i , itemsTable = carousel . _itemsTable , items = itemsTable . items , loading = itemsTable . loading , item , styles ; for ( i = 0 ; i < numItems ; i ++ ) { item = items [ i ] || loading [ i ] ; if ( item && item . id ) { styles = getCarouselItemPosition . call ( carousel , i ) ; item . styles = item . styles || { } ; for ( attr in styles ) { if ( styles . hasOwnProperty ( attr ) ) { item . styles [ attr ] = styles [ attr ] ; } } setStyles ( Dom . get ( item . id ) , styles ) ; } } }
Redraw the UI for item positioning.

@method _syncUiItems
@protected
Redraw the UI for item positioning .