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

Add class .govuk-frontend-supported for ES modules support #3801

Merged
merged 3 commits into from
Jun 19, 2023

Commits on Jun 19, 2023

  1. Add class .govuk-frontend-supported for ES modules support

    Additionally detects `'noModule' in HTMLScriptElement.prototype` (Safari 11+) rather than just baseline `<script type="module">` support
    colinrotherham committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    8b6bf30 View commit details
    Browse the repository at this point in the history
  2. Move component .js-enabled styling to .govuk-frontend-supported

    This closes the support gap for browsers without ES module support still loading JavaScript-only styles
    colinrotherham committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    b9cbe16 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e1d0f4 View commit details
    Browse the repository at this point in the history