From f914bed11fae7543d6019f4d6b86040c5a6fb7db Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Mon, 3 Jun 2013 15:15:24 -0400 Subject: [PATCH] Fix lint errors for i382. Also, ugh, clearly broken bit with mouseUpHandler. --- dygraph-utils.js | 2 +- dygraph.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); }; /** -- 2.7.4