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

Not working after a collect() #72

Closed
balupton opened this issue May 3, 2014 · 1 comment
Closed

Not working after a collect() #72

balupton opened this issue May 3, 2014 · 1 comment

Comments

@balupton
Copy link

balupton commented May 3, 2014

So I've got this gist, which works fine, all up until: https://gist.github.com/balupton/9187991c53d801f654e3#file-index-js-L120

The .map(log) before that writes a series of JSON objects to the console as expected:

{ type: 'Feature',
  properties: { githubUsername: 'timaschew' },
  geometry: { type: 'Point', coordinates: [ 13.395648, 52.506902 ] } }
{ type: 'Feature',
  properties: { githubUsername: 'vjpr' },
  geometry: { type: 'Point', coordinates: [ 151.059617, -33.838197 ] } }
{ type: 'Feature',
  properties: { githubUsername: 'yrassoulli' },
  geometry: { type: 'Point', coordinates: [ -79.456961, 43.677633 ] } }

I then expect the .collect() to merge these JSON objects into an array, which I can then wrap with the map here: https://gist.github.com/balupton/9187991c53d801f654e3#file-index-js-L123

However nothing after the .collect() is reached.

@balupton
Copy link
Author

balupton commented May 3, 2014

Going to close, as I no longer need this functionality. Ended up rolling my own.

@balupton balupton closed this as completed May 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant