From: Dan Vanderkam Date: Mon, 8 Aug 2011 02:03:27 +0000 (-0400) Subject: all tests pass!!!! X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=79e5f5f073b0550de7cac10c0a3c31c2054832f2;p=dygraphs.git all tests pass!!!! --- diff --git a/dygraph-tickers.js b/dygraph-tickers.js index b76d0d1..81d7ce8 100644 --- a/dygraph-tickers.js +++ b/dygraph-tickers.js @@ -200,7 +200,8 @@ Dygraph.newDateTicker = function(a, b, pixels, opts, dygraph, vals) { if (chosen >= 0) { return Dygraph.newGetDateAxis(a, b, chosen, opts); } else { - // TODO(danvk): signal error. + // this can happen if self.width_ is zero. + return []; } };