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
112require ( 'es6-promise' ) . polyfill ( ) ;
213
314exports . Lib = require ( './lib/lib' ) ;
415exports . util = require ( './lib/svg_text_utils' ) ;
516
6- // plot icons svg and css
17+ // plot icons svg and plot css
718exports . Icons = require ( '../build/ploticon' ) ;
819require ( '../build/plotcss' ) ;
920
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ describe('Test axes', function () {
2727 }
2828 }
2929 } ;
30- var expectedYaxis = Plotly . Lib . extendDeep ( { } , gd . layout . xaxis ) ,
30+ var expectedYaxis = Plotly . Lib . extendDeep ( { } , gd . layout . xaxis ) ,
3131 expectedXaxis = {
3232 title : 'Click to enter X axis title' ,
3333 type : 'date'
You can’t perform that action at this time.
0 commit comments