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 9
9
10
10
'use strict' ;
11
11
12
- var Lib = require ( '../../../lib' ) ;
13
12
var convertHTMLToUnicode = require ( '../../../lib/html2unicode' ) ;
14
13
var str2RgbaArray = require ( '../../../lib/str2rgbarray' ) ;
15
14
@@ -62,9 +61,9 @@ function AxesOptions() {
62
61
[ 0.8 , 0.8 , 0.8 , 0.5 ] ] ;
63
62
64
63
// 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 ( ) ;
68
67
}
69
68
70
69
var proto = AxesOptions . prototype ;
You can’t perform that action at this time.
0 commit comments