lib/Ext/slider/Slider.js
function(newValue, oldValue) {
        var thumbs = this.getThumbs(),
            ln = newValue.length,
            minValue = this.getMinValue(),
            offset = this.offsetValueRatio,
            i;

        this.setThumbsCount(ln);

        for (i = 0; i < ln; i++) {
            thumbs[i].getDraggable().setExtraConstraint(null).setOffset((newValue[i] - minValue) * offset);
        }

        for (i = 0; i < ln; i++) {
            this.refreshThumbConstraints(thumbs[i]);
        }
    }
function(newValue, oldValue) {
        var thumbs = this.getThumbs(),
            ln = newValue.length,
            minValue = this.getMinValue(),
            offset = this.offsetValueRatio,
            i;

        this.setThumbsCount(ln);

        for (i = 0; i < ln; i++) {
            thumbs[i].getDraggable().setExtraConstraint(null).setOffset((newValue[i] - minValue) * offset);
        }

        for (i = 0; i < ln; i++) {
            this.refreshThumbConstraints(thumbs[i]);
        }
    }
function ( newValue , oldValue ) { var thumbs = this . getThumbs ( ) , ln = newValue . length , minValue = this . getMinValue ( ) , offset = this . offsetValueRatio , i ; this . setThumbsCount ( ln ) ; for ( i = 0 ; i < ln ; i ++ ) { thumbs [ i ] . getDraggable ( ) . setExtraConstraint ( null ) . setOffset ( ( newValue [ i ] - minValue ) * offset ) ; } for ( i = 0 ; i < ln ; i ++ ) { this . refreshThumbConstraints ( thumbs [ i ] ) ; } }
Updates the sliders thumbs with their new value(s)
Updates the sliders thumbs with their new value ( s )