Fix lint errors for i382. Also, ugh, clearly broken bit with mouseUpHandler.
authorRobert Konigsberg <konigsberg@google.com>
Mon, 3 Jun 2013 19:15:24 +0000 (15:15 -0400)
committerRobert Konigsberg <konigsberg@google.com>
Mon, 3 Jun 2013 19:15:24 +0000 (15:15 -0400)
dygraph-utils.js
dygraph.js

index 7282c9c..1ec1795 100644 (file)
@@ -229,7 +229,7 @@ Dygraph.prototype.removeTrackedEvents_ = function() {
   }
 
   this.registeredEvents_ = [];
-}
+};
 
 /**
  * Cancels further processing of an event. This is useful to prevent default
index 4ab7539..466ce92 100644 (file)
@@ -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);
 };
 
 /**