File tree 4 files changed +388
-485
lines changed
4 files changed +388
-485
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ require('../build/plotcss');
26
26
// inject default MathJax config
27
27
require ( './fonts/mathjax_config' ) ;
28
28
29
+ // include registry module and expose register method
30
+ var Registry = require ( './registry' ) ;
31
+ var register = exports . register = Registry . register ;
32
+
29
33
// plot api
30
34
exports . plot = Plotly . plot ;
31
35
exports . newPlot = Plotly . newPlot ;
@@ -41,7 +45,6 @@ exports.deleteTraces = Plotly.deleteTraces;
41
45
exports . moveTraces = Plotly . moveTraces ;
42
46
exports . purge = Plotly . purge ;
43
47
exports . setPlotConfig = require ( './plot_api/set_plot_config' ) ;
44
- exports . register = require ( './plot_api/register' ) ;
45
48
exports . toImage = require ( './plot_api/to_image' ) ;
46
49
exports . downloadImage = require ( './snapshot/download' ) ;
47
50
exports . validate = require ( './plot_api/validate' ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments