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

Update vendor polyfills to match upstream #1745

Merged
merged 3 commits into from
Feb 25, 2020

Conversation

NickColley
Copy link
Contributor

@NickColley NickColley commented Feb 25, 2020

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.

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.
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1745 February 25, 2020 09:28 Inactive
@NickColley
Copy link
Contributor Author

NickColley commented Feb 25, 2020

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.

@NickColley NickColley added this to the [NEXT] milestone Feb 25, 2020
Copy link
Contributor

@36degrees 36degrees left a 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).
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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.

@NickColley NickColley merged commit 59218a0 into master Feb 25, 2020
@NickColley NickColley deleted the update-vendor-polyfills-to-match-upstream branch February 25, 2020 13:53
@hannalaakso hannalaakso modified the milestones: Next, v3.6.0 Mar 3, 2020
@36degrees 36degrees mentioned this pull request Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants