0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/js/tests/unit
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
..
dom Fix regression for handling mouseenter/mouseleave events introduced by #33310 (#33679) 2021-04-19 08:30:33 +03:00
util Register only one DOMContentLoaded event listener in onDOMContentLoaded (#34158) 2021-06-22 20:19:55 +03:00
.eslintrc.json Minor ESLint rules cleanup (#32904) 2021-01-28 11:34:20 +02:00
alert.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
base-component.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
button.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
carousel.spec.js fix(carousel): arrow keys break animation if carousel sliding (#34307) 2021-06-22 13:11:03 +03:00
collapse.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
dropdown.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
jquery.spec.js tests: replace deprecated jQuery method (#32309) 2020-12-16 17:21:43 +02:00
modal.spec.js Refactor scrollbar.js to be used as a Class (#33947) 2021-06-06 09:26:36 +03:00
offcanvas.spec.js Refactor scrollbar.js to be used as a Class (#33947) 2021-06-06 09:26:36 +03:00
popover.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
scrollspy.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
tab.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
toast.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00
tooltip.spec.js Add getOrCreateInstance method in base-component (#33276) 2021-06-03 18:53:27 +03:00