From: Robert Konigsberg Date: Tue, 11 Jun 2013 20:29:42 +0000 (-0400) Subject: Add comment to resize test case as a follow on to pull request 260. X-Git-Tag: v1.0.0~19 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=18117d891a79ebdd470cf4e09c829b01008ba515;p=dygraphs.git Add comment to resize test case as a follow on to pull request 260. --- diff --git a/auto_tests/tests/resize.js b/auto_tests/tests/resize.js index 4762892..3ce99ad 100644 --- a/auto_tests/tests/resize.js +++ b/auto_tests/tests/resize.js @@ -83,6 +83,8 @@ ResizeTestCase.prototype.testHiddenDivWithResize = function() { div.style.width = '400px'; div.style.height = '300px'; + // Setting strokeWidth 3 removes any ambiguitiy from the pixel sampling + // request, below. var g = new Dygraph(div, ResizeTestCase.data, {strokeWidth: 3}); div.style.display = '';