projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code review
[dygraphs.git]
/
plugins
/
range-selector.js
diff --git
a/plugins/range-selector.js
b/plugins/range-selector.js
index
8e74ad9
..
717f850
100644
(file)
--- 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')) {
// 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);
}
this.dygraph_.updateOptions({animatedZooms: false}, true);
}
@@
-544,7
+544,7
@@
rangeSelector.prototype.drawStaticLayer_ = function() {
try {
this.drawMiniPlot_();
} catch(ex) {
try {
this.drawMiniPlot_();
} catch(ex) {
-
Dygraph
.warn(ex);
+
console
.warn(ex);
}
var margin = 0.5;
}
var margin = 0.5;