From: Dan Vanderkam Date: Sat, 26 Oct 2013 23:53:58 +0000 (-0500) Subject: cleanup X-Git-Tag: v1.1.0~74 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=cfe786a59ff187d87069ec4f9254a53539a7b5ad;p=dygraphs.git cleanup --- diff --git a/plugins/range-selector.js b/plugins/range-selector.js index 09c98bb..5e1a65f 100644 --- a/plugins/range-selector.js +++ b/plugins/range-selector.js @@ -645,14 +645,10 @@ rangeSelector.prototype.drawMiniPlot_ = function() { */ rangeSelector.prototype.computeCombinedSeriesAndLimits_ = function() { var g = this.dygraph_; - var data = g.rawData_; var logscale = this.getOption_('logscale'); // Create a combined series (average of all series values). - var sum; - var count; - var mutipleValues; - var i, j, k; + var i, j; var xVal, yVal; // TODO(danvk): short-circuit if there's only one series.