Declare variables before assignment

This commit is contained in:
Tim Schaub
2016-01-03 10:59:19 -07:00
parent f0fc4d4e73
commit 179b241aec
5 changed files with 8 additions and 6 deletions

View File

@@ -160,7 +160,7 @@ describe('ol.interaction.Modify', function() {
});
map.addInteraction(modify);
events = trackEvents(first, modify);
var events = trackEvents(first, modify);
expect(first.getGeometry().getRevision()).to.equal(firstRevision);
expect(first.getGeometry().getCoordinates()[0]).to.have.length(5);