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

Update JavaScript global namespace from 'all' to 'GOVUKFrontend' #747

Merged
merged 2 commits into from
Jun 1, 2018

Conversation

NickColley
Copy link
Contributor

@NickColley NickColley commented Jun 1, 2018

This allows JavaScript to be accessed when not using a bundler.

The pre-existing convention for JavaScript on GOV.UK uses
window.GOVUK, to avoid conflicting with this we are using a different namespace.

Fixes #659

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-747 June 1, 2018 12:19 Inactive
This allows JavaScript to be accessed when not using a bundler.

The pre-existing convention for JavaScript on GOV.UK uses
`window.GOVUK`, to avoid conflicting with this we are using a different namespace.
@NickColley NickColley force-pushed the assign-govuk-frontend-javascript-global branch from 5d48db7 to 4789ed8 Compare June 1, 2018 13:45
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-747 June 1, 2018 13:46 Inactive
Copy link
Contributor

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 for adding the test. Good to go!

@NickColley NickColley merged commit b8018cf into master Jun 1, 2018
@NickColley NickColley deleted the assign-govuk-frontend-javascript-global branch June 1, 2018 14:13
@hannalaakso hannalaakso mentioned this pull request Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants