From 51d61bf270d350b7e451306720f131e52f58e882 Mon Sep 17 00:00:00 2001 From: Kevin Dew Date: Wed, 11 Dec 2024 16:31:05 +0000 Subject: [PATCH] Remove require of search-with-autocomplete JS This javascript is now provided by static [1] and is thus removed from this repo to ensure that we don't send the same asset to users multiple times unnecessarily. It continues the convention of applications only adding the JS of components which are not provided by static [2]. [1]: https://github.com/alphagov/static/pull/3532 [2]: https://github.com/alphagov/finder-frontend/pull/2819 --- app/assets/javascripts/application.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 45f9c2e10..a90c0216f 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -17,7 +17,6 @@ //= require govuk_publishing_components/components/metadata //= require govuk_publishing_components/components/option-select //= require govuk_publishing_components/components/radio -//= require govuk_publishing_components/components/search-with-autocomplete // //= require govuk_web_banners/dependencies //