Skip to content

Commit

Permalink
Add local copy of magna-charta
Browse files Browse the repository at this point in the history
- magna-charta (https://github.com/alphagov/magna-charta) is an archived project and relies on jquery, which we are trying to remove
- this commit introduces a local, unminified copy of the code to the gem and adds a test for it, based on the original code's test: https://github.com/alphagov/magna-charta/blob/master/test/magna-charta_test.js
- the main js file has also been tidied up due to linting requirements
- this has all been done so that we can rewrite magna-charta to not use jquery at a later date
  • Loading branch information
andysellick committed Aug 27, 2020
1 parent 3827446 commit 71f4772
Show file tree
Hide file tree
Showing 4 changed files with 777 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// = require govuk_publishing_components/vendor/magna-charta.min
// = require govuk_publishing_components/lib/govspeak/magna-charta

window.GOVUK = window.GOVUK || {};

Expand Down
Loading

0 comments on commit 71f4772

Please sign in to comment.