Skip to content

Commit cf2e854

Browse files
committed
Remove extraneous type coercion.
Not needed since we already do it in the public API.
1 parent ee2e784 commit cf2e854

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

d3.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6293,7 +6293,7 @@
62936293
stream.point = point;
62946294
},
62956295
pointRadius: function(_) {
6296-
pointCircle = d3_geo_pathCircle(+_);
6296+
pointCircle = d3_geo_pathCircle(_);
62976297
return stream;
62986298
},
62996299
result: function() {
@@ -6338,7 +6338,7 @@
63386338
stream.point = point;
63396339
},
63406340
pointRadius: function(_) {
6341-
pointRadius = +_;
6341+
pointRadius = _;
63426342
return stream;
63436343
},
63446344
result: d3_noop

d3.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/geo/path-buffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function d3_geo_pathBuffer() {
1414
polygonEnd: function() { stream.lineEnd = lineEnd; stream.point = point; },
1515

1616
pointRadius: function(_) {
17-
pointCircle = d3_geo_pathCircle(+_);
17+
pointCircle = d3_geo_pathCircle(_);
1818
return stream;
1919
},
2020

src/geo/path-context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function d3_geo_pathContext(context) {
1313
polygonEnd: function() { stream.lineEnd = lineEnd; stream.point = point; },
1414

1515
pointRadius: function(_) {
16-
pointRadius = +_;
16+
pointRadius = _;
1717
return stream;
1818
},
1919

0 commit comments

Comments
 (0)