X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=plugins%2Frange-selector.js;h=717f85059442578e9e37a9aafc8cb351bc688938;hb=c715be428d83d80c0a26fd60dc5bc36fb4c908d9;hp=8e74ad90b5789d72599043db6a2bd975a50aa45d;hpb=e146f6144b47eab0b66f8fd9cb8d84c4615098e6;p=dygraphs.git diff --git a/plugins/range-selector.js b/plugins/range-selector.js index 8e74ad9..717f850 100644 --- a/plugins/range-selector.js +++ b/plugins/range-selector.js @@ -74,7 +74,7 @@ rangeSelector.prototype.createInterface_ = function() { // Range selector and animatedZooms have a bad interaction. See issue 359. if (this.getOption_('animatedZooms')) { - Dygraph.warn('Animated zooms and range selector are not compatible; disabling animatedZooms.'); + console.warn('Animated zooms and range selector are not compatible; disabling animatedZooms.'); this.dygraph_.updateOptions({animatedZooms: false}, true); } @@ -544,7 +544,7 @@ rangeSelector.prototype.drawStaticLayer_ = function() { try { this.drawMiniPlot_(); } catch(ex) { - Dygraph.warn(ex); + console.warn(ex); } var margin = 0.5;