Skip to content
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

little improvement over too many "def" #1145

Merged
merged 1 commit into from
Jul 24, 2018

Conversation

yeomann
Copy link
Contributor

@yeomann yeomann commented Jul 24, 2018

just added a function which acts like a ternary with fallback option. Hence, less cluttered "def" variables
great to see that lib is supporting already SDK 27

just added a function which acts like a ternary with fallback option. Hence, less cluttered "def" variables
great to see that lib is supporting already SDK 27
@cobarx
Copy link
Contributor

cobarx commented Jul 24, 2018

Hi @yeomann, that's a nice cleanup. Thanks for submitting! We were fortunate to get a PR to update the SDKs from a guy who submitted this to a bunch of the big React Native projects.

@cobarx cobarx merged commit 5e7b88c into TheWidlarzGroup:master Jul 24, 2018
@yeomann
Copy link
Contributor Author

yeomann commented Jul 24, 2018

my pleasure @cobarx There are lots of packages with cluttered def, agreed! I have already sent bunch of pull req along react native package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants