File tree Expand file tree Collapse file tree 4 files changed +388
-485
lines changed Expand file tree Collapse file tree 4 files changed +388
-485
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ require('../build/plotcss');
2626// inject default MathJax config
2727require ( './fonts/mathjax_config' ) ;
2828
29+ // include registry module and expose register method
30+ var Registry = require ( './registry' ) ;
31+ var register = exports . register = Registry . register ;
32+
2933// plot api
3034exports . plot = Plotly . plot ;
3135exports . newPlot = Plotly . newPlot ;
@@ -41,7 +45,6 @@ exports.deleteTraces = Plotly.deleteTraces;
4145exports . moveTraces = Plotly . moveTraces ;
4246exports . purge = Plotly . purge ;
4347exports . setPlotConfig = require ( './plot_api/set_plot_config' ) ;
44- exports . register = require ( './plot_api/register' ) ;
4548exports . toImage = require ( './plot_api/to_image' ) ;
4649exports . downloadImage = require ( './snapshot/download' ) ;
4750exports . validate = require ( './plot_api/validate' ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments