Removed unused method (#6849)

This commit is contained in:
Ben McCann 2019-12-19 05:27:32 -08:00 committed by Evert Timberg
parent 39f27f68b5
commit f34d349328

View File

@ -55,18 +55,6 @@ export function almostWhole(x, epsilon) {
return ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x); return ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x);
} }
export function _setMinAndMax(array, target) {
var i, ilen, value;
for (i = 0, ilen = array.length; i < ilen; i++) {
value = array[i];
if (!isNaN(value)) {
target.min = Math.min(target.min, value);
target.max = Math.max(target.max, value);
}
}
}
export function _setMinAndMaxByKey(array, target, property) { export function _setMinAndMaxByKey(array, target, property) {
var i, ilen, value; var i, ilen, value;