diff options
| author | XhmikosR <[email protected]> | 2019-02-26 13:20:34 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-03-11 17:01:28 +0200 |
| commit | 46c037410b8c7eaab3cf50a5cf44093aa2fd41f4 (patch) | |
| tree | cb8c857562c4d3f819a5a8fcc563bc8f2c126e4e /js/tests/integration/bundle.js | |
| parent | 44e6abcba50309df4fae56a9c7ef79145b64a356 (diff) | |
| download | bootstrap-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.js | 4 |
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)) }) |
