Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Always use var and undefined for new-based constructors #657

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

Merged
merged 1 commit into from
Dec 31, 2021
Merged

Conversation

armanbilge
Copy link
Member

Fixes #624. I went through all of the -Init classes and checked that they are using var and js.undefined as their default value. Are there non-Init classes that we should check too?

@armanbilge armanbilge requested review from japgolly and sjrd December 26, 2021 18:36
@armanbilge
Copy link
Member Author

Oh btw, would everyone be okay with releasing v2.1.0 shortly after we merge this PR? I may fix another open issue or two but not really a priority. Feel free to point out any that are important.

@armanbilge armanbilge merged commit 37da9a6 into main Dec 31, 2021
@armanbilge armanbilge deleted the issue/624 branch December 31, 2021 05:25
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.

Consistently set defaults for new-based constructors
2 participants