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

Use shim to detect constructor function name. #659

Merged
merged 1 commit into from
Nov 7, 2016
Merged

Use shim to detect constructor function name. #659

merged 1 commit into from
Nov 7, 2016

Conversation

dompuiu
Copy link
Contributor

@dompuiu dompuiu commented Nov 5, 2016

This will make enzyme detect stateless components correctly also in
Internet Explorer.

This will make enzyme detect stateless components correctly also in Internet Explorer.
@dompuiu
Copy link
Contributor Author

dompuiu commented Nov 5, 2016

This is a tentative to fix #658.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, but could you also update every other instance in the codebase of calling .name on a function? That way, the examples will be clear, and all of the IE 9 - 11 bugs will be fixed at once.

@dompuiu
Copy link
Contributor Author

dompuiu commented Nov 7, 2016

I have updated all the places where .name was used.

@ljharb ljharb merged commit 33b5680 into enzymejs:master Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants