Skip to content

Commit e577e49

Browse files
committed
removed isTypedArray function and reused the Lib version
1 parent 30e2c25 commit e577e49

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/traces/parcoords/calc.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ function constHalf(len) {
4646
return out;
4747
}
4848

49-
function isTypedArray(a) {
50-
return !Array.isArray(a) && Lib.isArrayOrTypedArray(a);
51-
}
52-
5349
function convertTypedArray(a) {
54-
return (isTypedArray(a)) ? Array.prototype.slice.call(a) : a;
50+
return (Lib.isTypedArray(a)) ? Array.prototype.slice.call(a) : a;
5551
}

0 commit comments

Comments
 (0)