From: Robert Konigsberg Date: Mon, 26 Nov 2012 02:26:24 +0000 (-0500) Subject: Added additional comment to the deprecated options warning per Dan's advice. X-Git-Tag: v1.0.0~158^2~1 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=33a103074b1be9c7cf90a77953c8b926ebdac8ea;p=dygraphs.git Added additional comment to the deprecated options warning per Dan's advice. --- 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]; }