aboutsummaryrefslogtreecommitdiff
path: root/js/tests/integration/bundle-modularity.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2021-02-17 08:22:44 +0100
committerJohann-S <[email protected]>2021-09-15 16:42:04 +0200
commitd73d835380f793ab7ca40b82a6ce09ba8f5946c5 (patch)
tree7c98a87a596ae937983498980afb6e2fa239ab53 /js/tests/integration/bundle-modularity.js
parentbdfb4cc54d29c0c7bcd7944d3c8de2e1cd41bb6c (diff)
downloadbootstrap-jo-ssr-friendly.tar.xz
bootstrap-jo-ssr-friendly.zip
being ssr friendly when accessing dom objectsjo-ssr-friendly
Diffstat (limited to 'js/tests/integration/bundle-modularity.js')
-rw-r--r--js/tests/integration/bundle-modularity.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tests/integration/bundle-modularity.js b/js/tests/integration/bundle-modularity.js
index 8546141b1..ecfd2335f 100644
--- a/js/tests/integration/bundle-modularity.js
+++ b/js/tests/integration/bundle-modularity.js
@@ -1,6 +1,7 @@
import Tooltip from '../../dist/tooltip'
import '../../dist/carousel'
+// eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
window.addEventListener('load', () => {
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
.map(tooltipNode => new Tooltip(tooltipNode))