mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-27 14:46:01 +03:00
Enable unicorn/no-array-for-each rule
This commit is contained in:
@@ -36,9 +36,9 @@ class BaseComponent {
|
||||
Data.remove(this._element, this.constructor.DATA_KEY)
|
||||
EventHandler.off(this._element, this.constructor.EVENT_KEY)
|
||||
|
||||
Object.getOwnPropertyNames(this).forEach(propertyName => {
|
||||
for (const propertyName of Object.getOwnPropertyNames(this)) {
|
||||
this[propertyName] = null
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
_queueCallback(callback, element, isAnimated = true) {
|
||||
|
||||
Reference in New Issue
Block a user