File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1133
1133
* Interpolates 0-100 input in the scale and returns 0-100 result
1134
1134
* @param {number } percentage the input percentage
1135
1135
* @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
1137
1137
* @return {number } the linear-interpolated percentage
1138
1138
*/
1139
1139
piecewiseConvert : function ( percentage , scaleObj , reverse ) {
Original file line number Diff line number Diff line change 1137
1137
* Interpolates 0-100 input in the scale and returns 0-100 result
1138
1138
* @param {number } percentage the input percentage
1139
1139
* @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
1141
1141
* @return {number } the linear-interpolated percentage
1142
1142
*/
1143
1143
piecewiseConvert : function ( percentage , scaleObj , reverse ) {
You can’t perform that action at this time.
0 commit comments