aboutsummaryrefslogtreecommitdiff
path: root/js/tests/integration/bundle.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-02-26 13:20:34 +0200
committerXhmikosR <[email protected]>2019-03-11 17:01:28 +0200
commit46c037410b8c7eaab3cf50a5cf44093aa2fd41f4 (patch)
treecb8c857562c4d3f819a5a8fcc563bc8f2c126e4e /js/tests/integration/bundle.js
parent44e6abcba50309df4fae56a9c7ef79145b64a356 (diff)
downloadbootstrap-46c037410b8c7eaab3cf50a5cf44093aa2fd41f4.tar.xz
bootstrap-46c037410b8c7eaab3cf50a5cf44093aa2fd41f4.zip
Comply to the new rules.
Diffstat (limited to 'js/tests/integration/bundle.js')
-rw-r--r--js/tests/integration/bundle.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/integration/bundle.js b/js/tests/integration/bundle.js
index f2d3b0d7b..5597cd063 100644
--- a/js/tests/integration/bundle.js
+++ b/js/tests/integration/bundle.js
@@ -2,6 +2,6 @@ import 'popper.js'
import bootstrap from '../../../dist/js/bootstrap'
window.addEventListener('load', () => {
- Array.from(document.querySelectorAll('[data-toggle="tooltip"]'))
- .map((tooltipNode) => new bootstrap.Tooltip(tooltipNode))
+ [...document.querySelectorAll('[data-toggle="tooltip"]')]
+ .map(tooltipNode => new bootstrap.Tooltip(tooltipNode))
})