File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 5555 "dependencies" : {
5656 "3d-view" : " ^2.0.0" ,
5757 "alpha-shape" : " ^1.0.0" ,
58- "arraytools" : " ^1.0.0" ,
5958 "color-rgba" : " ^1.0.4" ,
6059 "convex-hull" : " ^1.0.3" ,
6160 "country-regex" : " ^1.1.0" ,
Original file line number Diff line number Diff line change 99
1010'use strict' ;
1111
12- var arrtools = require ( 'arraytools ' ) ;
12+ var Lib = require ( '../../../lib ' ) ;
1313var convertHTMLToUnicode = require ( '../../../lib/html2unicode' ) ;
1414var str2RgbaArray = require ( '../../../lib/str2rgbarray' ) ;
1515
16- var arrayCopy1D = arrtools . copy1D ;
17-
1816var AXES_NAMES = [ 'xaxis' , 'yaxis' , 'zaxis' ] ;
1917
2018function AxesOptions ( ) {
@@ -64,9 +62,9 @@ function AxesOptions() {
6462 [ 0.8 , 0.8 , 0.8 , 0.5 ] ] ;
6563
6664 // some default values are stored for applying model transforms
67- this . _defaultTickPad = arrayCopy1D ( this . tickPad ) ;
68- this . _defaultLabelPad = arrayCopy1D ( this . labelPad ) ;
69- this . _defaultLineTickLength = arrayCopy1D ( this . lineTickLength ) ;
65+ this . _defaultTickPad = Lib . extendFlat ( [ ] , this . tickPad ) ;
66+ this . _defaultLabelPad = Lib . extendFlat ( [ ] , this . labelPad ) ;
67+ this . _defaultLineTickLength = Lib . extendFlat ( [ ] , this . lineTickLength ) ;
7068}
7169
7270var proto = AxesOptions . prototype ;
You can’t perform that action at this time.
0 commit comments