From 1a5dc2af0b98d6937cd49d48a863f83f38f0ec1f Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Thu, 29 Dec 2011 14:03:21 -0500 Subject: [PATCH] Warning throwing error because of bad method name when setting customBars. --- dygraph.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); } } } -- 2.7.4