bower_components/ion.rangeSlider/js/ion.rangeSlider.js
function (value, no_min) {
            var diapason = this.options.max - this.options.min,
                one_percent = diapason / 100,
                val, percent;

            if (!diapason) {
                this.no_diapason = true;
                return 0;
            }

            if (no_min) {
                val = value;
            } else {
                val = value - this.options.min;
            }

            percent = val / one_percent;

            return this.toFixed(percent);
        }
function (value, no_min) {
            var diapason = this.options.max - this.options.min,
                one_percent = diapason / 100,
                val, percent;

            if (!diapason) {
                this.no_diapason = true;
                return 0;
            }

            if (no_min) {
                val = value;
            } else {
                val = value - this.options.min;
            }

            percent = val / one_percent;

            return this.toFixed(percent);
        }
function ( value , no_min ) { var diapason = this . options . max - this . options . min , one_percent = diapason / 100 , val , percent ; if ( ! diapason ) { this . no_diapason = true ; return 0 ; } if ( no_min ) { val = value ; } else { val = value - this . options . min ; } percent = val / one_percent ; return this . toFixed ( percent ) ; }
Convert real value to percent

@param value {Number} X in real
@param no_min {boolean=} don't use min value
@returns {Number} X in percent
Convert real value to percent