diff --git a/modules/core/validator.js b/modules/core/validator.js index 0fec44f08..88940f0ba 100644 --- a/modules/core/validator.js +++ b/modules/core/validator.js @@ -844,7 +844,7 @@ function validationCache(which) { const issue = cache.issuesByIssueID[issueID]; if (issue) { cache.uncacheIssue(issue); - } else { // shouldnt happen, clean up + } else { // shouldn't happen, clean up delete cache.issuesByIssueID[issueID]; } }); diff --git a/test/spec/spec_helpers.js b/test/spec/spec_helpers.js index 5258ab753..f140d0a70 100644 --- a/test/spec/spec_helpers.js +++ b/test/spec/spec_helpers.js @@ -110,7 +110,7 @@ mocha.setup({ expect = chai.expect; window.d3 = iD.d3; // Remove this if we can avoid exporting all of d3.js -delete window.PointerEvent; // force the brower to use mouse events +delete window.PointerEvent; // force the browser to use mouse events // Workaround for `Array.from` polyfill in PhantomJS // https://github.com/openstreetmap/iD/issues/6087#issuecomment-476219308