Skip to content

Commit

Permalink
Remove IE9 vendored polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed May 4, 2023
1 parent 996a51d commit e15f9c2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
3 changes: 0 additions & 3 deletions src/govuk/common/normalise-dataset.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/* eslint-disable es-x/no-string-prototype-trim -- Polyfill imported */

import '../vendor/polyfills/Element/prototype/dataset.mjs'
import '../vendor/polyfills/String/prototype/trim.mjs'

/**
* Normalise string
Expand Down
3 changes: 0 additions & 3 deletions src/govuk/components/accordion/accordion.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* eslint-disable es-x/no-string-prototype-trim -- Polyfill imported */

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'
import '../../vendor/polyfills/String/prototype/trim.mjs'

/**
* Accordion translation defaults
Expand Down
13 changes: 0 additions & 13 deletions src/govuk/vendor/polyfills/String/prototype/trim.mjs

This file was deleted.

0 comments on commit e15f9c2

Please sign in to comment.