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

fix: .instanceof to allow DOM interfaces in IE11 #1008

Merged
merged 1 commit into from Jul 26, 2017

Conversation

meeber
Copy link
Contributor

@meeber meeber commented Jul 22, 2017

Fixes #1000

@meeber meeber requested a review from a team as a code owner July 22, 2017 13:53
keithamus
keithamus previously approved these changes Jul 24, 2017
Copy link
Member

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

👍

@keithamus
Copy link
Member

@shvaikalesh @lucasfcosta @vieiralucas want to put a second 👍 on this?

} catch (err) {
if (err instanceof TypeError) {
flagMsg = flagMsg ? flagMsg + ': ' : '';
var type = constructor === null ? 'null' : typeof constructor;
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we can do _.type(constructor) here?

@meeber
Copy link
Contributor Author

meeber commented Jul 24, 2017

@shvaikalesh Updated!

@lucasfcosta
Copy link
Member

LGTM too! Good job on that commenting explaining this change.

@keithamus keithamus merged commit 1847ef8 into chaijs:master Jul 26, 2017
@meeber meeber mentioned this pull request Aug 4, 2017
@meeber meeber deleted the fix-ie11-instanceof branch August 6, 2017 13:47
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.

None yet

4 participants