Skip to content

Move 'createChildren' out of private methods to helper functions#22938

Closed
ghost wants to merge 2 commits into
masterfrom
createChildren2
Closed

Move 'createChildren' out of private methods to helper functions#22938
ghost wants to merge 2 commits into
masterfrom
createChildren2

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Mar 28, 2018

Instead of setting the internal _children array inside createChildren, we return an array and set the property in only one place.

@ghost ghost mentioned this pull request Mar 28, 2018
@ghost
Copy link
Copy Markdown
Author

ghost commented Mar 28, 2018

Closing in favor of #22270

@ghost ghost closed this Mar 28, 2018
@ghost ghost deleted the createChildren2 branch March 28, 2018 15:35
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants