mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-13 01:08:58 +01:00
ae43f0c48b
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
10 lines
305 B
JavaScript
10 lines
305 B
JavaScript
/* eslint-disable import/extensions, import/no-unassigned-import */
|
|
|
|
import Tooltip from '../../dist/tooltip'
|
|
import '../../dist/carousel'
|
|
|
|
window.addEventListener('load', () => {
|
|
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
|
|
.map(tooltipNode => new Tooltip(tooltipNode))
|
|
})
|