X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fplugins%2Fannotations.js;h=46d08918ef99128420dc59d34ade8cda2af1a406;hb=93ec1094eb75477b455efaa7adeb10190b87992b;hp=8576104036d9e27fcce093358fc8649e48040ed4;hpb=07cae5dd0adbcee97689ffa6099a6b0e8665011b;p=dygraphs.git diff --git a/src/plugins/annotations.js b/src/plugins/annotations.js index 8576104..46d0891 100644 --- a/src/plugins/annotations.js +++ b/src/plugins/annotations.js @@ -6,8 +6,6 @@ /*global Dygraph:false */ -Dygraph.Plugins.Annotations = (function() { - "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. - */ var annotations = function() { @@ -177,6 +174,4 @@ annotations.prototype.destroy = function() { this.detachLabels(); }; -return annotations; - -})(); +export default annotations;