Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geo graticule #17

Merged
merged 5 commits into from Jun 3, 2016
Merged

Geo graticule #17

merged 5 commits into from Jun 3, 2016

Conversation

chrisuehlinger
Copy link
Contributor

(Note: Now that some of the common structure has been laid out, I've published 4 orthogonal branches. These can be reviewed and merged in any order, whenever you see fit. There might be slight merge conflicts around index.js, but that should be all.)

This branch addresses Issue #5, d3.geoGraticule. I made sure to perform the renames that were mentioned in the README.

One question about syntax: Many of the functions in this component have an argument named _. Is this part of a naming convention you're using inside D3?

@mbostock mbostock merged commit 30e245f into d3:master Jun 3, 2016
@mbostock
Copy link
Member

mbostock commented Jun 3, 2016

Many of the functions in this component have an argument named _. Is this part of a naming convention you're using inside D3?

Yeah, I just use that inside the getter/setter accessor functions so as to avoid coming up with two names for the property. So, inside component.foo, the private internal var is foo, and the new value passed to the setter is simply _.

@mbostock mbostock mentioned this pull request Jun 3, 2016
@chrisuehlinger chrisuehlinger deleted the geo-graticule branch June 7, 2016 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants