Skip to content

Commit ba7bb1f

Browse files
committed
Coerce mode to string for d3.geo.azimuthal.
1 parent f97c261 commit ba7bb1f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

d3.geo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ d3.geo.azimuthal = function() {
4141

4242
azimuthal.mode = function(x) {
4343
if (!arguments.length) return mode;
44-
mode = x;
44+
mode = x + "";
4545
return azimuthal;
4646
};
4747

d3.geo.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/azimuthal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ d3.geo.azimuthal = function() {
4040

4141
azimuthal.mode = function(x) {
4242
if (!arguments.length) return mode;
43-
mode = x;
43+
mode = x + "";
4444
return azimuthal;
4545
};
4646

0 commit comments

Comments
 (0)