Skip to content

Commit

Permalink
Updated bootstrap version
Browse files Browse the repository at this point in the history
  • Loading branch information
mcantelon committed Jan 12, 2025
1 parent 94309a3 commit e607c94
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 23 deletions.
8 changes: 6 additions & 2 deletions build_config/entry/chart_formats_count.entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ import $ from "jquery";
window.$ = $;
window.jQuery = $;

import bootstrap from "bootstrap";
window.bootstrap = bootstrap;
import { Tooltip, Toast, Popover } from 'bootstrap';
window.bootstrap = {
Tooltip: Tooltip,
Toast: Toast,
Popover: Popover
}

import Chart from "chart.js/auto";
window.Chart = Chart;
8 changes: 6 additions & 2 deletions build_config/entry/shared/base_shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ import "jquery-ui-dist/jquery-ui.min.js";

window.$ = window.jQuery = $;

import bootstrap from "bootstrap";
window.bootstrap = bootstrap;
import { Tooltip, Toast, Popover } from 'bootstrap';
window.bootstrap = {
Tooltip: Tooltip,
Toast: Toast,
Popover: Popover
}

import "/AIPscan/static/css/custom.css";
34 changes: 16 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@rollup/plugin-inject": "^5.0.5",
"bootstrap": "^4.6.2",
"bootstrap": "^5.3.3",
"chart.js": "^4.4.1",
"jquery": "^3.7.1",
"jquery-ui-dist": "^1.13.2",
Expand Down

0 comments on commit e607c94

Please sign in to comment.