Return nil if no children are found with childrenNamed #11

Merged
merged 1 commit into from Jan 5, 2013

Conversation

Projects
None yet
2 participants
@Thomazr
Contributor

Thomazr commented Jan 5, 2013

Hi,

I use your class in one of my projects and made a change, so childrenNamed will behave like childNamed if no child is found.

Thanks!

  • Thomas

nfarina added a commit that referenced this pull request Jan 5, 2013

Merge pull request #11 from Thomazr/master
Return nil if no children are found with childrenNamed

@nfarina nfarina merged commit cd97da6 into nfarina:master Jan 5, 2013

@nfarina

This comment has been minimized.

Show comment Hide comment
@nfarina

nfarina Jan 5, 2013

Owner

Good call, this behavior is indeed better. Thanks for the patch!

Owner

nfarina commented Jan 5, 2013

Good call, this behavior is indeed better. Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment