Skip to content

Commit 6cfc094

Browse files
authored
fix: var instead of let
1 parent 74dc83d commit 6cfc094

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/jasmine/tests/hover_label_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@ describe('hover info', function() {
18051805
var scatterName = "scatter_";
18061806
var barName = "bar_";
18071807
var data = [];
1808-
for(let i = 0; i<3; i++) {
1808+
for(var i = 0; i<3; i++) {
18091809
data.push(trace(barName + i, "bar", 0.0));
18101810
data.push(trace(scatterName + i, "scatter", 0.1));
18111811
}
@@ -1825,13 +1825,13 @@ describe('hover info', function() {
18251825
.then(function () {
18261826

18271827
var nodes = [];
1828-
for(let i = 0; i<3; i++) {
1828+
for(var i = 0; i<3; i++) {
18291829
nodes.push(hoverInfoNodes(barName + i).secondaryBox.getBoundingClientRect());
18301830
nodes.push(hoverInfoNodes(scatterName + i).secondaryBox.getBoundingClientRect());
18311831
}
18321832
nodes.sort(function(a,b) { return a.top - b.top; } );
18331833

1834-
for(let i = 0; i<5; i++) {
1834+
for(var i = 0; i<5; i++) {
18351835
expect(
18361836
calcLineOverlap(
18371837
nodes[i].top,

0 commit comments

Comments
 (0)