bootstrap/js/tests/unit/util
alpadev 4927388197
Register only one `DOMContentLoaded` event listener in `onDOMContentLoaded` (#34158)
* refactor: reuse one DOMContentLoaded event listener in onDOMContentLoaded function

Instead of adding an event listener everytime the utility function is called, cache the callbacks and execute them all at once.

* refactor: drop iife for onDOMContentLoaded

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-22 20:19:55 +03:00
..
backdrop.spec.js Changing Backdrop rootElement to default to a string (#34092) 2021-05-31 12:35:59 +03:00
index.spec.js Register only one `DOMContentLoaded` event listener in `onDOMContentLoaded` (#34158) 2021-06-22 20:19:55 +03:00
sanitizer.spec.js Adjust regex `SAFE_URL_PATTERN` for use with test method of regexes. (#33136) 2021-02-19 10:24:53 +02:00
scrollbar.spec.js Refactor scrollbar.js to be used as a Class (#33947) 2021-06-06 09:26:36 +03:00