File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Pack internal modules unto an object.
3
+ *
4
+ * This object is require'ed in as 'Plotly' in numerous src and test files.
5
+ * Require'ing 'Plotly' bypasses circular dependencies.
6
+ *
7
+ * Future development should move away from this pattern.
8
+ *
9
+ */
10
+
11
+ // promise polyfill
1
12
require ( 'es6-promise' ) . polyfill ( ) ;
2
13
3
14
exports . Lib = require ( './lib/lib' ) ;
4
15
exports . util = require ( './lib/svg_text_utils' ) ;
5
16
6
- // plot icons svg and css
17
+ // plot icons svg and plot css
7
18
exports . Icons = require ( '../build/ploticon' ) ;
8
19
require ( '../build/plotcss' ) ;
9
20
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ describe('Test axes', function () {
27
27
}
28
28
}
29
29
} ;
30
- var expectedYaxis = Plotly . Lib . extendDeep ( { } , gd . layout . xaxis ) ,
30
+ var expectedYaxis = Plotly . Lib . extendDeep ( { } , gd . layout . xaxis ) ,
31
31
expectedXaxis = {
32
32
title : 'Click to enter X axis title' ,
33
33
type : 'date'
You can’t perform that action at this time.
0 commit comments