From: Dan Vanderkam Date: Sat, 20 Feb 2010 01:57:54 +0000 (-0800) Subject: JS is not C++ X-Git-Tag: v1.0.0~720 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=be96a1f587e1867c3e96a883defb32683405e476;p=dygraphs.git JS is not C++ --- diff --git a/dygraph.js b/dygraph.js index 6b1a99c..639f863 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1809,7 +1809,7 @@ Dygraph.prototype.parseArray_ = function(data) { if (parsedData[i][0] == null || typeof(parsedData[i][0].getTime) != 'function' || isNaN(parsedData[i][0].getTime())) { - this.error("x value in row " << (1 + i) << " is not a Date"); + this.error("x value in row " + (1 + i) + " is not a Date"); return null; } parsedData[i][0] = parsedData[i][0].getTime();