projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ec7be
)
Make old-style per-series options throw (#783)
author
Dan Vanderkam
<danvdk@gmail.com>
Sat, 1 Oct 2016 19:55:24 +0000
(15:55 -0400)
committer
GitHub
<noreply@github.com>
Sat, 1 Oct 2016 19:55:24 +0000
(15:55 -0400)
src/dygraph-options.js
patch
|
blob
|
blame
|
history
diff --git
a/src/dygraph-options.js
b/src/dygraph-options.js
index
d7ec5fb
..
c77e498
100644
(file)
--- a/
src/dygraph-options.js
+++ b/
src/dygraph-options.js
@@
-384,8
+384,8
@@
DygraphOptions.prototype.warnInvalidOption_ = function(optionName) {
console.warn('Use new-style per-series options (saw ' + optionName + ' as top-level options key). See http://bit.ly/1tceaJs');
} else {
console.warn('Unknown option ' + optionName + ' (full list of options at dygraphs.com/options.html');
- throw "invalid option " + optionName;
}
+ throw "invalid option " + optionName;
}
};