We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happens is that when makeCursor is called from subCursor, it will always have 4 arguments and https://github.com/facebook/immutable-js/blob/257b92c6887ae787da9c94fbabe34056014ffc93/contrib/cursor/index.js#L223 doesn't get run and thus size is undefined.
So either the check has to be if (typeof value === 'undefined') or the subCursor has to to do call magic.
if (typeof value === 'undefined')
The text was updated successfully, but these errors were encountered:
See #318
Sorry, something went wrong.
I think you meant #381 😁
No branches or pull requests
What happens is that when makeCursor is called from subCursor, it will always have 4 arguments and https://github.com/facebook/immutable-js/blob/257b92c6887ae787da9c94fbabe34056014ffc93/contrib/cursor/index.js#L223 doesn't get run and thus size is undefined.
So either the check has to be
if (typeof value === 'undefined')
or the subCursor has to to do call magic.The text was updated successfully, but these errors were encountered: