From: Dan Vanderkam Date: Sat, 26 Oct 2013 23:54:41 +0000 (-0500) Subject: cleanup X-Git-Tag: v1.1.0~73 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=db6a9f5a2c20a8ca30656b8c6dfc929d137edef4;p=dygraphs.git cleanup --- diff --git a/plugins/range-selector.js b/plugins/range-selector.js index 5e1a65f..d226eba 100644 --- a/plugins/range-selector.js +++ b/plugins/range-selector.js @@ -541,11 +541,11 @@ rangeSelector.prototype.initInteraction_ = function() { rangeSelector.prototype.drawStaticLayer_ = function() { var ctx = this.bgcanvas_ctx_; ctx.clearRect(0, 0, this.canvasRect_.w, this.canvasRect_.h); - // try { + try { this.drawMiniPlot_(); - // } catch(ex) { - // Dygraph.warn(ex); - // } + } catch(ex) { + Dygraph.warn(ex); + } var margin = 0.5; this.bgcanvas_ctx_.lineWidth = 1;