Sha256: c97f3e041f356d519d2890d4123c6d3d89b71c3a780f31e7403c66905cf4742a
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
/* eslint-env */ // This adds in javascript that initialises components and dependencies // that are provided by Slimmer in public frontend applications. // = require ./modules.js document.addEventListener('DOMContentLoaded', function () { window.GOVUK.modules.start() // if statements ensure these functions don't execute during testing if (typeof window.GOVUK.analyticsGa4.vars === 'undefined') { window.GOVUK.loadAnalytics.loadGa4() } if (typeof window.GOVUK.analyticsInit === 'undefined') { window.GOVUK.loadAnalytics.loadUa() } })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
govuk_publishing_components-34.4.0 | app/assets/javascripts/govuk_publishing_components/dependencies.js |