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
/
chart-labels.js
diff --git
a/src/plugins/chart-labels.js
b/src/plugins/chart-labels.js
index
504ed3a
..
5fbbdc5
100644
(file)
--- a/
src/plugins/chart-labels.js
+++ b/
src/plugins/chart-labels.js
@@
-5,8
+5,6
@@
*/
/*global Dygraph:false */
*/
/*global Dygraph:false */
-Dygraph.Plugins.ChartLabels = (function() {
-
"use strict";
// TODO(danvk): move chart label options out of dygraphs and into the plugin.
"use strict";
// TODO(danvk): move chart label options out of dygraphs and into the plugin.
@@
-185,6
+183,4
@@
chart_labels.prototype.destroy = function() {
this.detachLabels_();
};
this.detachLabels_();
};
-
-return chart_labels;
-})();
+export default chart_labels;