Skip to content

Commit b2b3829

Browse files
committed
annotations: do not export useless things
1 parent b56bf0c commit b2b3829

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/annotations/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,19 @@
99

1010
'use strict';
1111

12-
var Plotly = require('../../plotly');
13-
1412
exports.moduleType = 'component';
1513

1614
exports.name = 'annotations';
1715

18-
exports.ARROWPATHS = require('./arrow_paths');
19-
2016
exports.layoutAttributes = require('./attributes');
2117

2218
exports.supplyLayoutDefaults = require('./defaults');
2319

2420
exports.calcAutorange = require('./calc_autorange');
2521

26-
exports.arrowhead = require('./draw_arrow_head');
27-
2822
var drawModule = require('./draw');
2923
exports.draw = drawModule.draw;
3024
exports.drawOne = drawModule.drawOne;
3125

32-
exports.add = function(gd) {
33-
var nextAnn = gd._fullLayout.annotations.length;
3426

35-
Plotly.relayout(gd, 'annotations[' + nextAnn + ']', 'add');
3627
};

0 commit comments

Comments
 (0)