Fix a couple of typos.
This commit is contained in:
Родитель
232f05024a
Коммит
d476dffdef
|
@ -22,7 +22,7 @@ console.log(JSON.stringify({
|
||||||
"url": "https://github.com/mbostock/d3.git"
|
"url": "https://github.com/mbostock/d3.git"
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"browserify" : "index-browserify.js",
|
"browserify": "index-browserify.js",
|
||||||
"jam": {
|
"jam": {
|
||||||
"main": "d3.js",
|
"main": "d3.js",
|
||||||
"shim": {
|
"shim": {
|
||||||
|
|
|
@ -749,7 +749,7 @@ suite.addBatch({
|
||||||
.rotate([0, 0])
|
.rotate([0, 0])
|
||||||
.precision(1));
|
.precision(1));
|
||||||
},
|
},
|
||||||
"correctly resamples near the polesa": function(p) {
|
"correctly resamples near the poles": function(p) {
|
||||||
p({type: "LineString", coordinates: [[0, 88], [180, 89]]});
|
p({type: "LineString", coordinates: [[0, 88], [180, 89]]});
|
||||||
assert.isTrue(testContext.buffer().filter(function(d) { return d.type === "lineTo"; }).length > 1);
|
assert.isTrue(testContext.buffer().filter(function(d) { return d.type === "lineTo"; }).length > 1);
|
||||||
p({type: "LineString", coordinates: [[180, 90], [1, 89.5]]});
|
p({type: "LineString", coordinates: [[180, 90], [1, 89.5]]});
|
||||||
|
@ -766,7 +766,7 @@ suite.addBatch({
|
||||||
.rotate([11.5, 285])
|
.rotate([11.5, 285])
|
||||||
.precision(1));
|
.precision(1));
|
||||||
},
|
},
|
||||||
"correctly resamples near the polesa": function(p) {
|
"correctly resamples near the poles": function(p) {
|
||||||
p({type: "LineString", coordinates: [[170, 20], [170, 0]]});
|
p({type: "LineString", coordinates: [[170, 20], [170, 0]]});
|
||||||
assert.isTrue(testContext.buffer().filter(function(d) { return d.type === "lineTo"; }).length > 1);
|
assert.isTrue(testContext.buffer().filter(function(d) { return d.type === "lineTo"; }).length > 1);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче