projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe786a
)
cleanup
author
Dan Vanderkam
<danvdk@gmail.com>
Sat, 26 Oct 2013 23:54:41 +0000
(18:54 -0500)
committer
Dan Vanderkam
<danvdk@gmail.com>
Sat, 26 Oct 2013 23:54:41 +0000
(18:54 -0500)
plugins/range-selector.js
patch
|
blob
|
blame
|
history
diff --git
a/plugins/range-selector.js
b/plugins/range-selector.js
index
5e1a65f
..
d226eba
100644
(file)
--- a/
plugins/range-selector.js
+++ b/
plugins/range-selector.js
@@
-541,11
+541,11
@@
rangeSelector.prototype.initInteraction_ = function() {
rangeSelector.prototype.drawStaticLayer_ = function() {
var ctx = this.bgcanvas_ctx_;
ctx.clearRect(0, 0, this.canvasRect_.w, this.canvasRect_.h);
-
//
try {
+ try {
this.drawMiniPlot_();
-
//
} catch(ex) {
-
//
Dygraph.warn(ex);
-
//
}
+ } catch(ex) {
+ Dygraph.warn(ex);
+ }
var margin = 0.5;
this.bgcanvas_ctx_.lineWidth = 1;