projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db77585
)
Closure tweak: variable 'd' declared twice within the same method.
author
Robert Konigsberg
<konigsberg@google.com>
Fri, 29 Mar 2013 22:44:07 +0000
(18:44 -0400)
committer
Robert Konigsberg
<konigsberg@google.com>
Fri, 29 Mar 2013 22:44:07 +0000
(18:44 -0400)
dygraph-tickers.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-tickers.js
b/dygraph-tickers.js
index
4909909
..
155afb0
100644
(file)
--- a/
dygraph-tickers.js
+++ b/
dygraph-tickers.js
@@
-386,7
+386,7
@@
Dygraph.getDateAxis = function(start_time, end_time, granularity, opts, dg) {
var check_dst = (spacing >= Dygraph.SHORT_SPACINGS[Dygraph.TWO_HOURLY]);
for (t = start_time; t <= end_time; t += spacing) {
-
var
d = new Date(t);
+ d = new Date(t);
// This ensures that we stay on the same hourly "rhythm" across
// daylight savings transitions. Without this, the ticks could get off