js/components/carousel.js
function() {
        this.animating = false;

        var container = this.container,
            resetTo = this._resetTo;

        // Reset the currently shown item to a specific index
        // This achieves the circular infinite scrolling effect
        if (resetTo !== null) {
            container
                .addClass('no-transition')
                .css(this._position, -this._getSizeSum(resetTo));

            this._updateItems(resetTo);
            this._resetTo = null;
        }

        // Set in a timeout or transition will still occur
        setTimeout(function() {
            container.removeClass('no-transition');
            this.fireEvent('cycled');
        }.bind(this), 15); // IE needs a minimum of 15
    }
function() {
        this.animating = false;

        var container = this.container,
            resetTo = this._resetTo;

        // Reset the currently shown item to a specific index
        // This achieves the circular infinite scrolling effect
        if (resetTo !== null) {
            container
                .addClass('no-transition')
                .css(this._position, -this._getSizeSum(resetTo));

            this._updateItems(resetTo);
            this._resetTo = null;
        }

        // Set in a timeout or transition will still occur
        setTimeout(function() {
            container.removeClass('no-transition');
            this.fireEvent('cycled');
        }.bind(this), 15); // IE needs a minimum of 15
    }
function ( ) { this . animating = false ; var container = this . container , resetTo = this . _resetTo ; // Reset the currently shown item to a specific index // This achieves the circular infinite scrolling effect if ( resetTo !== null ) { container . addClass ( 'no-transition' ) . css ( this . _position , - this . _getSizeSum ( resetTo ) ) ; this . _updateItems ( resetTo ) ; this . _resetTo = null ; } // Set in a timeout or transition will still occur setTimeout ( function ( ) { container . removeClass ( 'no-transition' ) ; this . fireEvent ( 'cycled' ) ; } . bind ( this ) , 15 ) ; // IE needs a minimum of 15 }
Functionality to trigger after a cycle transition has ended.
Will set animating to false and re-enable jumping.

If `resetTo` is set, then reset the internal DOM index for infinite scrolling.
Also clean-up the `no-transition` class from the container.

@private
Functionality to trigger after a cycle transition has ended . Will set animating to false and re - enable jumping .