From: Robert Konigsberg Date: Mon, 3 Jun 2013 19:15:24 +0000 (-0400) Subject: Fix lint errors for i382. Also, ugh, clearly broken bit with mouseUpHandler. X-Git-Tag: v1.0.0~27^2~2^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=f914bed11fae7543d6019f4d6b86040c5a6fb7db;p=dygraphs.git Fix lint errors for i382. Also, ugh, clearly broken bit with mouseUpHandler. --- diff --git a/dygraph-utils.js b/dygraph-utils.js index 7282c9c..1ec1795 100644 --- a/dygraph-utils.js +++ b/dygraph-utils.js @@ -229,7 +229,7 @@ Dygraph.prototype.removeTrackedEvents_ = function() { } this.registeredEvents_ = []; -} +}; /** * Cancels further processing of an event. This is useful to prevent default diff --git a/dygraph.js b/dygraph.js index 4ab7539..466ce92 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1051,7 +1051,7 @@ Dygraph.prototype.resizeElements_ = function() { this.canvas_.height = this.height_; this.canvas_.style.width = this.width_ + "px"; // for IE this.canvas_.style.height = this.height_ + "px"; // for IE -} +}; /** * Detach DOM elements in the dygraph and null out all data references. @@ -1371,7 +1371,7 @@ Dygraph.prototype.createDragInterface_ = function() { context.tarp.uncover(); }; - this.addAndTrackEvent(document, 'mouseup', this.mouseUpHandler); + this.addAndTrackEvent(document, 'mouseup', mouseUpHandler); }; /**