function(yearText) {
        var innerItems = this.getInnerItems,
            ln = innerItems.length,
            item, i;

        //loop through each of the current items and set the title on the correct slice
        if (this.initialized) {
            for (i = 0; i < ln; i++) {
                item = innerItems[i];

                if (item.title == this.yearText) {
                    item.setTitle(yearText);
                }
            }
        }
    }
function(yearText) {
        var innerItems = this.getInnerItems,
            ln = innerItems.length,
            item, i;

        
        if (this.initialized) {
            for (i = 0; i < ln; i++) {
                item = innerItems[i];

                if (item.title == this.yearText) {
                    item.setTitle(yearText);
                }
            }
        }
    }
function ( yearText ) { var innerItems = this . getInnerItems , ln = innerItems . length , item , i ; //loop through each of the current items and set the title on the correct slice if ( this . initialized ) { for ( i = 0 ; i < ln ; i ++ ) { item = innerItems [ i ] ; if ( item . title == this . yearText ) { item . setTitle ( yearText ) ; } } } }
Updates the yearText configuration
Updates the yearText configuration