Delete unused code.
This commit is contained in:
Родитель
392ee52827
Коммит
9cc79b4aff
|
@ -1,5 +0,0 @@
|
||||||
function d3_geo_streamRadians(stream) {
|
|
||||||
return d3_geo_streamTransform(stream, function(x, y) {
|
|
||||||
stream.point(x * d3_radians, y * d3_radians);
|
|
||||||
});
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
function d3_geo_streamRotate(rotate, stream) {
|
|
||||||
return d3_geo_streamTransform(stream, function(x, y) {
|
|
||||||
x = rotate(x, y);
|
|
||||||
stream.point(x[0], x[1]);
|
|
||||||
});
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
function d3_geo_streamTransform(stream, point) {
|
|
||||||
return {
|
|
||||||
point: point,
|
|
||||||
sphere: stream.sphere,
|
|
||||||
lineStart: stream.lineStart,
|
|
||||||
lineEnd: stream.lineEnd,
|
|
||||||
polygonStart: stream.polygonStart,
|
|
||||||
polygonEnd: stream.polygonEnd
|
|
||||||
};
|
|
||||||
}
|
|
Загрузка…
Ссылка в новой задаче