Upgraded jquery to 4.0.0

This commit is contained in:
Jan Böhmer 2026-06-21 15:51:22 +02:00
parent b4cf5b57fa
commit 22f23d9c82
4 changed files with 19 additions and 12 deletions

View file

@ -30,21 +30,21 @@ import '../css/app/images.css';
// start the Stimulus application
import '../stimulus_bootstrap';
// Need jQuery? Install it with "yarn add jquery", then uncomment to require it.
const $ = require('jquery');
import $ from 'jquery';
//Only include javascript
import '@fortawesome/fontawesome-free/css/all.css'
require('bootstrap');
import 'bootstrap';
import "./error_handler";
import "./tab_remember";
import "./register_events";
import "./tristate_checkboxes";
//Define jquery globally
global.$ = global.jQuery = require("jquery");
// Expose jQuery globally so legacy plugins and Bootstrap's jQuery integration
// can find it on window at runtime.
global.$ = global.jQuery = $;
//Use the local WASM file for the ZXing library
import {