X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=plugins%2Faxes.js;h=1f9c256ca2d6c94ac5835644c78b2b69fe9df646;hb=5a4768e50756ac737c6ca8ff5726d768681f4922;hp=81068fe95e00733e7121490fb55e2738d60557a8;hpb=98eb4713efecf58b904def42d9030e61bcbb4181;p=dygraphs.git diff --git a/plugins/axes.js b/plugins/axes.js index 81068fe..1f9c256 100644 --- a/plugins/axes.js +++ b/plugins/axes.js @@ -6,6 +6,8 @@ Dygraph.Plugins.Axes = (function() { +"use strict"; + /* Bits of jankiness: @@ -82,7 +84,7 @@ axes.prototype.detachLabels = function() { axes.prototype.clearChart = function(e) { var g = e.dygraph; this.detachLabels(); -} +}; axes.prototype.willDrawChart = function(e) { var g = e.dygraph; @@ -268,7 +270,7 @@ axes.prototype.willDrawChart = function(e) { } context.restore(); -} +}; return axes; })();