From d26fe11c5db89df022e741417568475524706c63 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 8 Aug 2011 13:17:21 -0400 Subject: [PATCH] back to sanity --- auto_tests/tests/axis_labels.js | 2 +- dygraph.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/auto_tests/tests/axis_labels.js b/auto_tests/tests/axis_labels.js index d785792..bc8bf72 100644 --- a/auto_tests/tests/axis_labels.js +++ b/auto_tests/tests/axis_labels.js @@ -97,7 +97,7 @@ AxisLabelsTestCase.prototype.testSmallRangeNearZero = function() { opts.valueRange = [-0.01, 0.01]; g.updateOptions(opts); - assertEquals(["-1.00e-2","-8.00e-3","-6.00e-3","-4.00e-3","-2.00e-3","0","2.00e-3","4.00e-3","6.00e-3","8.00e-3"], getYLabels()); + assertEquals(["-0.01","-8.00e-3","-6.00e-3","-4.00e-3","-2.00e-3","0","2.00e-3","4.00e-3","6.00e-3","8.00e-3"], getYLabels()); g.setSelection(1); assertEquals('1: Y:0', getLegend()); diff --git a/dygraph.js b/dygraph.js index 82e6518..fdd1483 100644 --- a/dygraph.js +++ b/dygraph.js @@ -1538,10 +1538,6 @@ Dygraph.prototype.loadedEvent_ = function(data) { this.predraw_(); }; -Dygraph.prototype.months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", - "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; -Dygraph.prototype.quarters = ["Jan", "Apr", "Jul", "Oct"]; - /** * Add ticks on the x-axis representing years, months, quarters, weeks, or days * @private -- 2.7.4