Fix global leak
A bit curious that the linter didn't catch this. My test runner fails with it.
This commit is contained in:
@@ -530,7 +530,7 @@ describe('ol.Sphere', function() {
|
||||
describe('midpoint', function() {
|
||||
|
||||
it('results match Chris Veness\'s reference implementation', function() {
|
||||
var e, i;
|
||||
var e, i, midpoint;
|
||||
for (i = 0; i < expected.length; ++i) {
|
||||
e = expected[i];
|
||||
midpoint = sphere.midpoint(e.c1, e.c2);
|
||||
|
||||
Reference in New Issue
Block a user