X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fplugins%2Fchart-labels.js;fp=src%2Fplugins%2Fchart-labels.js;h=5fbbdc5c830435c132872588de759cee7f415e54;hb=ce31caf22475e3e1fd6d9fea192d61ff4fcd7fac;hp=504ed3a24274fd937e5e78bcf8300da7533edbca;hpb=a4c3ece0a11e4e5c4f1f51a8bc8b7878d34ee052;p=dygraphs.git diff --git a/src/plugins/chart-labels.js b/src/plugins/chart-labels.js index 504ed3a..5fbbdc5 100644 --- a/src/plugins/chart-labels.js +++ b/src/plugins/chart-labels.js @@ -5,8 +5,6 @@ */ /*global Dygraph:false */ -Dygraph.Plugins.ChartLabels = (function() { - "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_(); }; - -return chart_labels; -})(); +export default chart_labels;