File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
33var Lib = require ( '../../lib' ) ;
4- var isTypedArraySpec = require ( '../../lib/array' ) . isTypedArraySpec ;
54var hasColorscale = require ( '../../components/colorscale/helpers' ) . hasColorscale ;
65var colorscaleDefaults = require ( '../../components/colorscale/defaults' ) ;
76var handleDomainDefaults = require ( '../../plots/domain' ) . defaults ;
@@ -45,7 +44,7 @@ function dimensionDefaults(dimensionIn, dimensionOut) {
4544
4645 // Category level
4746 var arrayIn = dimensionIn . categoryarray ;
48- var isValidArray = ( Lib . isArrayOrTypedArray ( arrayIn ) && arrayIn . length > 0 ) || isTypedArraySpec ( arrayIn ) ;
47+ var isValidArray = ( Array . isArray ( arrayIn ) && arrayIn . length > 0 ) ;
4948
5049 var orderDefault ;
5150 if ( isValidArray ) orderDefault = 'array' ;
You can’t perform that action at this time.
0 commit comments