projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate most of core dygraphs to ES6 modules.
[dygraphs.git]
/
src
/
plugins
/
annotations.js
diff --git
a/src/plugins/annotations.js
b/src/plugins/annotations.js
index
8576104
..
46d0891
100644
(file)
--- a/
src/plugins/annotations.js
+++ b/
src/plugins/annotations.js
@@
-6,8
+6,6
@@
/*global Dygraph:false */
/*global Dygraph:false */
-Dygraph.Plugins.Annotations = (function() {
-
"use strict";
/**
"use strict";
/**
@@
-20,7
+18,6
@@
the core dygraphs classes, but annotations involve quite a bit of parsing and
layout.
TODO(danvk): cache DOM elements.
layout.
TODO(danvk): cache DOM elements.
-
*/
var annotations = function() {
*/
var annotations = function() {
@@
-177,6
+174,4
@@
annotations.prototype.destroy = function() {
this.detachLabels();
};
this.detachLabels();
};
-return annotations;
-
-})();
+export default annotations;