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

Remove selection-buttons.js #233

Merged
merged 1 commit into from
Aug 10, 2016
Merged

Conversation

tvararu
Copy link
Contributor

@tvararu tvararu commented Aug 9, 2016

A copy of this file already gets imported and served through https://github.com/alphagov/govuk_prototype_kit/blob/master/server.js#L58. As such, we don't need this file.

Relevant discusson: #223 (comment)

How to test

Run the prototype kit locally, and navigate to http://localhost:3000/examples/elements/radio-buttons-checkboxes.

Everything will still work, because <script src="/public/javascripts/govuk/selection-buttons.js"></script> will map to the file at ./govuk_modules/govuk_frontend_toolkit/javascripts/govuk/selection-buttons.js. This can be verified by changing something in the file.

A copy of this file already gets imported and served through
https://github.com/alphagov/govuk_prototype_kit/blob/master/server.js#L58.
As such, we don't need this file.

Relevant discusson:
#223 (comment)
@NickColley NickColley merged commit 6fbef65 into master Aug 10, 2016
@NickColley NickColley deleted the remove-selection-buttons-js branch August 10, 2016 10:16
@NickColley
Copy link
Contributor

Thanks @tvararu 👍

gemmaleigh added a commit to alphagov/govuk_accessibility_sandbox that referenced this pull request Aug 18, 2016
This is already copied from the node_modules/govuk_frontend_toolkit, so
there is no need to duplicate it here.

A copy of this file already gets imported and served through
https://github.com/alphagov/govuk_prototype_kit/blob/master/server.js#L3
8.

Related PR for the govuk_prototype kit:
alphagov/govuk-prototype-kit#233
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