diff --git a/app/assets/javascripts/govuk_publishing_components/components/accordion.js b/app/assets/javascripts/govuk_publishing_components/components/accordion.js index e56818c510..2d6b719961 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/accordion.js +++ b/app/assets/javascripts/govuk_publishing_components/components/accordion.js @@ -1,7 +1,7 @@ /* global nodeListForEach */ // = require ../vendor/polyfills/common.js // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/accordion/accordion.js +// = require govuk/components/accordion/accordion.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukAccordion = window.GOVUKFrontend.Accordion; diff --git a/app/assets/javascripts/govuk_publishing_components/components/button.js b/app/assets/javascripts/govuk_publishing_components/components/button.js index 7f95df0a54..74008eb64c 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/button.js +++ b/app/assets/javascripts/govuk_publishing_components/components/button.js @@ -1,5 +1,5 @@ // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/button/button.js +// = require govuk/components/button/button.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukButton = window.GOVUKFrontend.Button diff --git a/app/assets/javascripts/govuk_publishing_components/components/character-count.js b/app/assets/javascripts/govuk_publishing_components/components/character-count.js index 3fac518369..78c9a1e7a0 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/character-count.js +++ b/app/assets/javascripts/govuk_publishing_components/components/character-count.js @@ -1,5 +1,5 @@ // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/character-count/character-count.js +// = require govuk/components/character-count/character-count.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukCharacterCount = window.GOVUKFrontend.CharacterCount diff --git a/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js b/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js index 2670693873..18b49feb6f 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js +++ b/app/assets/javascripts/govuk_publishing_components/components/checkboxes.js @@ -1,5 +1,5 @@ // = require govuk/vendor/polyfills/Element/prototype/closest.js -// = require govuk/components/checkboxes/checkboxes.js +// = require govuk/components/checkboxes/checkboxes.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukCheckboxes = window.GOVUKFrontend.Checkboxes; diff --git a/app/assets/javascripts/govuk_publishing_components/components/details.js b/app/assets/javascripts/govuk_publishing_components/components/details.js index 36665e5758..67345e0020 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/details.js +++ b/app/assets/javascripts/govuk_publishing_components/components/details.js @@ -1,4 +1,4 @@ -// = require govuk/components/details/details.js +// = require govuk/components/details/details.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukDetails = window.GOVUKFrontend.Details; diff --git a/app/assets/javascripts/govuk_publishing_components/components/error-summary.js b/app/assets/javascripts/govuk_publishing_components/components/error-summary.js index 8378ed13e5..60fe3008f8 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/error-summary.js +++ b/app/assets/javascripts/govuk_publishing_components/components/error-summary.js @@ -1,5 +1,5 @@ // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/error-summary/error-summary.js +// = require govuk/components/error-summary/error-summary.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukErrorSummary = window.GOVUKFrontend.ErrorSummary diff --git a/app/assets/javascripts/govuk_publishing_components/components/layout-header.js b/app/assets/javascripts/govuk_publishing_components/components/layout-header.js index b4c526acb0..a3ac49d8cf 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/layout-header.js +++ b/app/assets/javascripts/govuk_publishing_components/components/layout-header.js @@ -1,5 +1,5 @@ // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/header/header.js +// = require govuk/components/header/header.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukHeader = window.GOVUKFrontend.Header diff --git a/app/assets/javascripts/govuk_publishing_components/components/radio.js b/app/assets/javascripts/govuk_publishing_components/components/radio.js index 0ede1d0f19..76597f39d0 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/radio.js +++ b/app/assets/javascripts/govuk_publishing_components/components/radio.js @@ -1,5 +1,5 @@ // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/radios/radios.js +// = require govuk/components/radios/radios.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukRadios = window.GOVUKFrontend.Radios diff --git a/app/assets/javascripts/govuk_publishing_components/components/skip-link.js b/app/assets/javascripts/govuk_publishing_components/components/skip-link.js index bb2da95709..ea922326a7 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/skip-link.js +++ b/app/assets/javascripts/govuk_publishing_components/components/skip-link.js @@ -1,5 +1,5 @@ // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/skip-link/skip-link.js +// = require govuk/components/skip-link/skip-link.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukSkipLink = window.GOVUKFrontend.SkipLink diff --git a/app/assets/javascripts/govuk_publishing_components/components/tabs.js b/app/assets/javascripts/govuk_publishing_components/components/tabs.js index 512e0fa063..12030312d2 100644 --- a/app/assets/javascripts/govuk_publishing_components/components/tabs.js +++ b/app/assets/javascripts/govuk_publishing_components/components/tabs.js @@ -1,5 +1,5 @@ // This component relies on JavaScript from GOV.UK Frontend -// = require govuk/components/tabs/tabs.js +// = require govuk/components/tabs/tabs.bundle.js window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {} window.GOVUK.Modules.GovukTabs = window.GOVUKFrontend.Tabs