-
Notifications
You must be signed in to change notification settings - Fork 83
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
QueryResults.forEach callback parameters not as expected #39
Comments
markaedwards
changed the title
QueryResult.forEach callback parameters not as expected
QueryResults.forEach callback parameters not as expected
Jul 18, 2014
Yes, I agree, will try to get that fixed soon. |
Sorry about the comment in the wrong ticket (will still try to get this fixed soon). |
Looks like this was fixed with 8d5146a |
The commit in the previous comment fixes only |
kriszyp
added a commit
that referenced
this issue
Jan 20, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
Just a little thing, just started using the latest release which has introduced QueryResults. The forEach function calls the provided callback with the parameters -
data[i], data
whereas the normally expected signature for a forEach callback would have the index as the second parameter i.e. -
data[i], i, data
Loving the whole dstore thing, nice work!
Regards
Mark
The text was updated successfully, but these errors were encountered: