From: Robert Konigsberg Date: Thu, 29 Dec 2011 19:03:21 +0000 (-0500) Subject: Warning throwing error because of bad method name when setting customBars. X-Git-Tag: v1.0.0~383^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=1a5dc2af0b98d6937cd49d48a863f83f38f0ec1f;p=dygraphs.git Warning throwing error because of bad method name when setting customBars. --- diff --git a/dygraph.js b/dygraph.js index ff9fbfa..79bc7ca 100644 --- a/dygraph.js +++ b/dygraph.js @@ -2654,9 +2654,9 @@ Dygraph.prototype.parseCSV_ = function(data) { this.parseFloat_(vals[1], i, line), this.parseFloat_(vals[2], i, line) ]; } else { - this.warning('When using customBars, values must be either blank ' + - 'or "low;center;high" tuples (got "' + val + - '" on line ' + (1+i)); + this.warn('When using customBars, values must be either blank ' + + 'or "low;center;high" tuples (got "' + val + + '" on line ' + (1+i)); } } }