-
-
Notifications
You must be signed in to change notification settings - Fork 927
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
Fix #1921 #1922
Fix #1921 #1922
Conversation
…up in the instance)
…eturn from their view, fix MithrilJS#1921
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. An added bonus is that it's a little more readable, too. 😄 👍
Thanks @isiahmeadows I was about to add you as a reviewer (the others were added automatically) @tivac while I don't feel like I "own" any file in the project, I wouldn't mind being automatically added as a reviewer to PRs about the most of the code base... |
You'll need to look here, though. |
Yep! No reason to wait for me, just add yourself to whichever things you care about. |
Description
fix for #1921: Don't visit the
children
array of components, even when theinstance
is null.How Has This Been Tested?
npm run test
before and after the fix. Fails before (exception thrown because the_state
isnull
), succeeds after.Types of changes
Checklist:
docs/change-log.md