projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63e32d
)
Added additional comment to the deprecated options warning per Dan's advice.
author
Robert Konigsberg
<konigsberg@gmail.com>
Mon, 26 Nov 2012 02:26:24 +0000
(21:26 -0500)
committer
Robert Konigsberg
<konigsberg@gmail.com>
Mon, 26 Nov 2012 02:26:24 +0000
(21:26 -0500)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
195f915
..
d42bb9f
100644
(file)
--- 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];
}