boltdesignsystem / bolt

The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
https://boltdesignsystem.com
MIT License
292 stars 45 forks source link

Move Brightcove JS out of Twig footer template #2489

Closed danielamorse closed 2 years ago

danielamorse commented 2 years ago

Jira

n/a

Summary

Move Brightcove JS out of Twig footer template.

Details

Move Brightcove JS into separate file to:

  1. Clean up footer template
  2. Make Brightcove JS easier to work with
  3. Allow eslint to run on this code

This PR also moves a function out of a loop to fix an eslint error.

How to test