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

Fixed a regression that caused SyntaxErrors on IE 11 #1380

Closed
wants to merge 9 commits into from
Closed

Fixed a regression that caused SyntaxErrors on IE 11 #1380

wants to merge 9 commits into from

Conversation

lnewson
Copy link
Contributor

@lnewson lnewson commented Mar 3, 2021

The changes made in #1334 used an arrow function and as this isn't supported on IE 11 it causes a SyntaxError to be thrown when loading chai. This just corrects that to use the older function syntax instead so it'll still be able to run on IE 11.

Fixes #1379

keithamus and others added 9 commits March 2, 2021 18:26
@lnewson lnewson requested a review from a team as a code owner March 3, 2021 07:49
@keithamus keithamus changed the base branch from main to 4.x.x March 3, 2021 18:14
@keithamus
Copy link
Member

Merged in 4.x.x branch

@keithamus keithamus closed this Mar 3, 2021
@lnewson lnewson deleted the gh-1379 branch March 3, 2021 22:38
@lnewson
Copy link
Contributor Author

lnewson commented Mar 3, 2021

Ahh, sorry I missed that 4.x had moved off to a side branch. Thanks for getting that fixed 👍

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.

Chai 4.3.x or higher doesn't run on IE 11
2 participants