-
Notifications
You must be signed in to change notification settings - Fork 332
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
Update vendor polyfills to match upstream #1745
Conversation
We have contributed these [polyfills back upstream to polyfill-library](https://github.com/Financial-Times/polyfill-library/pull/484/files). Removes Immediately Invoked Function Expression [IFFE](https://developer.mozilla.org/en-US/docs/Glossary/IIFE) as it's not required since there's no reference to 'global' and the overall file has an IFFE. Updates links to the upstream repository.
Going to do a sanity check of the removal of the 'global' IFFE in browser stack to double check. Edit: Tabs still work as expected in IE8 without any script errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff 👏
@@ -6,6 +6,7 @@ | |||
|
|||
### Fixes | |||
|
|||
- [Pull request #1745: Update vendor polyfills to match upstream](https://github.com/alphagov/govuk-frontend/pull/1745). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we think this is useful for users to have this in the release notes, as it's mostly an internal change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I err on the side of strict most of the time, we'd probably get away with not having an entry though. Up to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no particular preference, was just unsure about it myself. Maybe @m-green can look at this when we come to cut the next release.
We have contributed these polyfills back upstream to
polyfill-library.
Removes Immediately Invoked Function Expression IFFE
as it's not required since there's no reference to 'global' and the
overall file has an IFFE.
Updates links to the upstream repository.