From 33a103074b1be9c7cf90a77953c8b926ebdac8ea Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Sun, 25 Nov 2012 21:26:24 -0500 Subject: [PATCH] Added additional comment to the deprecated options warning per Dan's advice. --- dygraph.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dygraph.js b/dygraph.js index 195f915..d42bb9f 100644 --- a/dygraph.js +++ b/dygraph.js @@ -3399,7 +3399,8 @@ Dygraph.mapLegacyOptions_ = function(attrs) { if (typeof(attrs[opt]) != 'undefined') { Dygraph.warn("Option " + opt + " is deprecated. Use the " + new_opt + " option for the " + axis + " axis instead. " + - "(e.g. { axes : { " + axis + " : { " + new_opt + " : ... } } }"); + "(e.g. { axes : { " + axis + " : { " + new_opt + " : ... } } } " + + "(see http://dygraphs.com/per-axis.html for more information."); set(axis, new_opt, attrs[opt]); delete my_attrs[opt]; } -- 2.7.4