-
Notifications
You must be signed in to change notification settings - Fork 161
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 stream #9
Geo stream #9
Conversation
Well done! Two trivial things I noticed immediately:
|
No problem! I'll change my editor's settings to reflect the 2-space indentation. |
More trivial style nits:
Other things:
I’ll make these changes locally and then merge to save you the trouble. |
Actually, I’m just going to delete that test, since there’s already a test for null input geometries. That’s the bogus test you uncovered, anyway. 😁 |
Thanks for the contribution! |
I just got legal approval for the Contributor Agreement, so here's my first contribution!
In reference to Issue #7, this PR contains the implementation of
d3.geoStream
, ported over from the v3.5.17 release ofd3/d3
.Tests have been ported totape
and relevant documentation has been brought over as well.One thing to note: The first test in the
stream
suite was passing in v3.5.17 because theassert.fail()
was throwing an error which was then caught by thetry
block. I rewrote that test in a way that I think preserves the intent, but it could probably use a second look.