From d37f7857179298c40dcd171cd2d90202f2067c3e Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 22 Jul 2013 19:32:11 -0400 Subject: [PATCH] 114 warnings --- dygraph.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dygraph.js b/dygraph.js index c25423c..f614a5b 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2945,7 +2945,7 @@ Dygraph.prototype.extractSeries_ = function(rawData, i, logScale) { Dygraph.prototype.rollingAverage = function(originalData, rollPeriod) { rollPeriod = Math.min(rollPeriod, originalData.length); var rollingData = []; - var sigma = this.attr_("sigma"); + var sigma = /** @type {number} */(this.attr_("sigma")); var low, high, i, j, y, sum, num_ok, stddev; if (this.fractions_) { @@ -3261,8 +3261,8 @@ Dygraph.prototype.parseCSV_ = function(data) { * The user has provided their data as a pre-packaged JS array. If the x values * are numeric, this is the same as dygraphs' internal format. If the x values * are dates, we need to convert them from Date objects to ms since epoch. - * @param {[Object]} data - * @return {[Object]} data with numeric x values. + * @param {Object} data + * @return {Object} data with numeric x values. */ Dygraph.prototype.parseArray_ = function(data) { // Peek at the first x value to see if it's numeric. -- 2.7.4