Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb768ea

Browse files
committed
explained further
1 parent e255316 commit bb768ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/rzslider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@
11331133
* Interpolates 0-100 input in the scale and returns 0-100 result
11341134
* @param {number} percentage the input percentage
11351135
* @param {Object} scaleObj an array with input percentage as keys and corresponding output percentages as values
1136-
* @param {boolean} reverse true to switch the keys and values of the scaleObj
1136+
* @param {boolean} reverse true to switch the keys and values of the scaleObj, to do the reverse conversion
11371137
* @return {number} the linear-interpolated percentage
11381138
*/
11391139
piecewiseConvert: function(percentage, scaleObj, reverse) {

src/rzslider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@
11371137
* Interpolates 0-100 input in the scale and returns 0-100 result
11381138
* @param {number} percentage the input percentage
11391139
* @param {Object} scaleObj an array with input percentage as keys and corresponding output percentages as values
1140-
* @param {boolean} reverse true to switch the keys and values of the scaleObj
1140+
* @param {boolean} reverse true to switch the keys and values of the scaleObj, to do the reverse conversion
11411141
* @return {number} the linear-interpolated percentage
11421142
*/
11431143
piecewiseConvert: function(percentage, scaleObj, reverse) {

0 commit comments

Comments
 (0)