]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Refactor: move disposing properties into the base class (#33740)
authorGeoSot <geo.sotis@gmail.com>
Tue, 11 May 2021 06:04:42 +0000 (09:04 +0300)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 06:04:42 +0000 (09:04 +0300)
commit03842b5f259d6007db02c465e6c55929e551e9cd
treeb5ec0345127f40dd0918ef6828c3057ca57a4c3a
parent052def456845c2147e4e6c99d17bba12fcbee34c
Refactor: move disposing properties into the base class (#33740)

Moves more functionality to `base-component`, transferring the responsibility of disposal to parent class.
Each component, dusting disposal, sets its protected properties to `null`. So the same can be done in one place for all children components .
js/src/base-component.js
js/src/carousel.js
js/src/collapse.js
js/src/dropdown.js
js/src/modal.js
js/src/offcanvas.js
js/src/scrollspy.js
js/src/toast.js
js/src/tooltip.js