66* LICENSE file in the root directory of this source tree.
77*/
88
9-
109'use strict' ;
1110
1211var Plotly = require ( '../../plotly' ) ;
1312
14- var boxes = {
15- attributes : require ( './attributes' ) ,
16- layoutAttributes : require ( './layout_attributes' ) ,
17- supplyDefaults : require ( './defaults' ) ,
18- supplyLayoutDefaults : require ( './layout_defaults' ) ,
19- calc : require ( './calc' ) ,
20- setPositions : require ( './set_positions' ) ,
21- plot : require ( './plot' ) ,
22- style : require ( './style' ) ,
23- hoverPoints : require ( './hover' )
24- } ;
25-
26- Plotly . Plots . register ( boxes , 'box' ,
13+ Plotly . Plots . register ( exports , 'box' ,
2714 [ 'cartesian' , 'symbols' , 'oriented' , 'box' , 'showLegend' ] , {
2815 description : [
2916 'In vertical (horizontal) box plots,' ,
@@ -41,4 +28,12 @@ Plotly.Plots.register(boxes, 'box',
4128 ] . join ( ' ' )
4229} ) ;
4330
44- module . exports = boxes ;
31+ exports . attributes = require ( './attributes' ) ;
32+ exports . layoutAttributes = require ( './layout_attributes' ) ;
33+ exports . supplyDefaults = require ( './defaults' ) ;
34+ exports . supplyLayoutDefaults = require ( './layout_defaults' ) ;
35+ exports . calc = require ( './calc' ) ;
36+ exports . setPositions = require ( './set_positions' ) ;
37+ exports . plot = require ( './plot' ) ;
38+ exports . style = require ( './style' ) ;
39+ exports . hoverPoints = require ( './hover' ) ;
0 commit comments