File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 99
1010'use strict' ;
1111
12- var Lib = require ( '../../../lib' ) ;
1312var convertHTMLToUnicode = require ( '../../../lib/html2unicode' ) ;
1413var str2RgbaArray = require ( '../../../lib/str2rgbarray' ) ;
1514
@@ -62,9 +61,9 @@ function AxesOptions() {
6261 [ 0.8 , 0.8 , 0.8 , 0.5 ] ] ;
6362
6463 // some default values are stored for applying model transforms
65- this . _defaultTickPad = Lib . extendFlat ( [ ] , this . tickPad ) ;
66- this . _defaultLabelPad = Lib . extendFlat ( [ ] , this . labelPad ) ;
67- this . _defaultLineTickLength = Lib . extendFlat ( [ ] , this . lineTickLength ) ;
64+ this . _defaultTickPad = this . tickPad . slice ( ) ;
65+ this . _defaultLabelPad = this . labelPad . slice ( ) ;
66+ this . _defaultLineTickLength = this . lineTickLength . slice ( ) ;
6867}
6968
7069var proto = AxesOptions . prototype ;
You can’t perform that action at this time.
0 commit comments