X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fdygraph-options.js;h=c77e4986f9d5713036f6780b2cd9deb0b77b4cbe;hb=660bb307f01c14f7d7d1b839812840fb179481ec;hp=d7ec5fb41261375f6f778b236c6b39b5c59240b4;hpb=ce31caf22475e3e1fd6d9fea192d61ff4fcd7fac;p=dygraphs.git diff --git a/src/dygraph-options.js b/src/dygraph-options.js index d7ec5fb..c77e498 100644 --- 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; } };