Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updater script: 1. Upstream uses relative paths for import. Support that. 2. Upstream no longer inlines any sources in js/dist/. Integration JS: 1. Popper is now referenced via `globalThis["@popperjs/core"]` (previously: `globalThis["Popper"]`). Dependencies: 1. Minimum Popper version bumped to 2.11.5
- Loading branch information
Showing
3 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Set a `globalThis` so that bootstrap components are defined on window.bootstrap instead of window. | ||
window['bootstrap'] = { | ||
Popper: window.Popper, | ||
"@popperjs/core": window.Popper, | ||
_originalGlobalThis: window['globalThis'] | ||
}; | ||
window['globalThis'] = window['bootstrap']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters