// This file is used as the root JS file for the govuk_publishing_components/design
// system aspects of Collections Publisher

//= require govuk_publishing_components/dependencies
//= require govuk_publishing_components/all_components
//= require components/autocomplete

//= require jquery_ujs

// support ES5
//= require es5-polyfill/dist/polyfill.js

// support ES6 (promises, functions, etc. - see docs)
//= require core-js-bundle/index.js

// support ES6 custom elements
//= require @webcomponents/custom-elements/custom-elements.min.js

//= require components/markdown-editor.js

// This file is used as the root JS file for the govuk_publishing_components/design
// system aspects of Collections Publisher

//= require govuk_publishing_components/dependencies
//= require govuk_publishing_components/all_components
//= require components/autocomplete

//= require rails-ujs

// support ES5
//= require es5-polyfill/dist/polyfill.js

// support ES6 (promises, functions, etc. - see docs)
//= require core-js-bundle/index.js

// support ES6 custom elements
//= require @webcomponents/custom-elements/custom-elements.min.js

//= require components/markdown-editor.js

Switch from jquery_ujs to rails-ujs
Switch from jquery_ujs to rails-ujs

rails-ujs is a port of jquery_ujs without jQuery that is distributed as
part of the Rails ActionView gem.

It provides the same functionality but without the jQuery dependency.
