X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-options-reference.js;h=5aa7f05fab3a430a7017bc371520779d7ccad3b8;hb=471facdda65e14beca895402eb46ffca53c89b6d;hp=abdb0156d997d7dae4775a60d2f9afc9b372e10d;hpb=cf8c87d4c4d46946071c30453bdcedcb1dd8f9d7;p=dygraphs.git diff --git a/dygraph-options-reference.js b/dygraph-options-reference.js index abdb015..5aa7f05 100644 --- a/dygraph-options-reference.js +++ b/dygraph-options-reference.js @@ -770,7 +770,7 @@ Dygraph.OPTIONS_REFERENCE = // // Do a quick sanity check on the options reference. (function() { "use strict"; - var warn = function(msg) { if (console) console.warn(msg); }; + var warn = function(msg) { if (window.console) window.console.warn(msg); }; var flds = ['type', 'default', 'description']; var valid_cats = [ 'Annotations',