Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoSot <geo.sotis@gmail.com>2021-05-11 09:04:42 +0300
committerGitHub <noreply@github.com>2021-05-11 09:04:42 +0300
commit03842b5f259d6007db02c465e6c55929e551e9cd (patch)
treeb5ec0345127f40dd0918ef6828c3057ca57a4c3a /js/src/collapse.js
parent052def456845c2147e4e6c99d17bba12fcbee34c (diff)
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 .
Diffstat (limited to 'js/src/collapse.js')
-rw-r--r--js/src/collapse.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/js/src/collapse.js b/js/src/collapse.js
index bd3846e053..0d1b91be55 100644
--- a/js/src/collapse.js
+++ b/js/src/collapse.js
@@ -253,14 +253,6 @@ class Collapse extends BaseComponent {
this._isTransitioning = isTransitioning
}
- dispose() {
- super.dispose()
- this._config = null
- this._parent = null
- this._triggerArray = null
- this._isTransitioning = null
- }
-
// Private
_getConfig(config) {