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

Remove IE11 vendor polyfills #3720

Merged
merged 5 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/govuk-frontend/.browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ last 2 Firefox versions
last 2 Edge versions
last 2 Samsung versions
Safari >= 9
ie 11
iOS >= 9

[node]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '../vendor/polyfills/Element/prototype/closest.mjs'

/**
* Returns the value of the given attribute closest to the given element (including itself)
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { mergeConfigs, extractConfigByNamespace } from '../../common/index.mjs'
import { normaliseDataset } from '../../common/normalise-dataset.mjs'
import { I18n } from '../../i18n.mjs'
import '../../vendor/polyfills/Element/prototype/classList.mjs'
import '../../vendor/polyfills/Element/prototype/closest.mjs'

/**
* Accordion translation defaults
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { closestAttributeValue } from '../../common/closest-attribute-value.mjs'
import { extractConfigByNamespace, mergeConfigs } from '../../common/index.mjs'
import { normaliseDataset } from '../../common/normalise-dataset.mjs'
import { I18n } from '../../i18n.mjs'
import '../../vendor/polyfills/Element/prototype/classList.mjs'

/**
* Character count translation defaults
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '../../vendor/polyfills/Element/prototype/classList.mjs'

/**
* Checkboxes component
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { mergeConfigs } from '../../common/index.mjs'
import { normaliseDataset } from '../../common/normalise-dataset.mjs'
import '../../vendor/polyfills/Element/prototype/closest.mjs'

/**
* JavaScript enhancements for the ErrorSummary
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '../../vendor/polyfills/Element/prototype/classList.mjs'

/**
* Radios component
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '../../vendor/polyfills/Element/prototype/classList.mjs'

/**
* Skip link component
*
Expand Down
2 changes: 0 additions & 2 deletions packages/govuk-frontend/src/govuk/components/tabs/tabs.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import '../../vendor/polyfills/Element/prototype/classList.mjs'

/**
* Tabs component
*
Expand Down
267 changes: 0 additions & 267 deletions packages/govuk-frontend/src/govuk/vendor/polyfills/DOMTokenList.mjs

This file was deleted.

Loading