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 1
1
'use strict' ;
2
2
3
3
var Lib = require ( '../../lib' ) ;
4
- var isTypedArraySpec = require ( '../../lib/array' ) . isTypedArraySpec ;
5
4
var hasColorscale = require ( '../../components/colorscale/helpers' ) . hasColorscale ;
6
5
var colorscaleDefaults = require ( '../../components/colorscale/defaults' ) ;
7
6
var handleDomainDefaults = require ( '../../plots/domain' ) . defaults ;
@@ -45,7 +44,7 @@ function dimensionDefaults(dimensionIn, dimensionOut) {
45
44
46
45
// Category level
47
46
var arrayIn = dimensionIn . categoryarray ;
48
- var isValidArray = ( Lib . isArrayOrTypedArray ( arrayIn ) && arrayIn . length > 0 ) || isTypedArraySpec ( arrayIn ) ;
47
+ var isValidArray = ( Array . isArray ( arrayIn ) && arrayIn . length > 0 ) ;
49
48
50
49
var orderDefault ;
51
50
if ( isValidArray ) orderDefault = 'array' ;
You can’t perform that action at this time.
0 commit comments