X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fplugins%2Fannotations.js;fp=src%2Fplugins%2Fannotations.js;h=46d08918ef99128420dc59d34ade8cda2af1a406;hb=6ecc073934b76e5076f917112a24ff7094857730;hp=8576104036d9e27fcce093358fc8649e48040ed4;hpb=a4c3ece0a11e4e5c4f1f51a8bc8b7878d34ee052;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;