Skip to content

Commit 8e8699b

Browse files
committed
Fix speling.
1 parent 1a7810b commit 8e8699b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/geo/cut.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function d3_geo_cutLine(listener) {
2828
listener.point(sλ1, φ0);
2929
listener.point( λ1, φ0);
3030
clean = 0;
31-
} else if (sλ0 !== sλ1 && >= π) { // line crosses antemeridian
31+
} else if (sλ0 !== sλ1 && >= π) { // line crosses antimeridian
3232
// handle degeneracies
3333
if (Math.abs(λ0 - sλ0) < ε) λ0 -= sλ0 * ε;
3434
if (Math.abs(λ1 - sλ1) < ε) λ1 -= sλ1 * ε;

test/geo/path-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ suite.addBatch({
535535
}
536536
},
537537

538-
"antemeridian cutting": {
538+
"antimeridian cutting": {
539539
"rotate([98, 0])": {
540540
topic: function() {
541541
return d3.geo.path()
@@ -612,7 +612,7 @@ suite.addBatch({
612612
.projection(d3.geo.stereographic()
613613
.precision(1));
614614
},
615-
"correctly resamples points on antemeridian": function(path) {
615+
"correctly resamples points on antimeridian": function(path) {
616616
path({type: "LineString", coordinates: [[0, 90], [90, 0]]});
617617
assert.deepEqual(testContext.buffer(), [
618618
{type: "moveTo", x: 480, y: 100},

0 commit comments

Comments
 (0)