mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
Add eslint-plugin-compat
This commit is contained in:
@@ -120,8 +120,10 @@ class Carousel extends BaseComponent {
|
||||
|
||||
this._config = this._getConfig(config)
|
||||
this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element)
|
||||
/* eslint-disable compat/compat */
|
||||
this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0
|
||||
this._pointerEvent = Boolean(window.PointerEvent)
|
||||
/* eslint-enable compat/compat */
|
||||
|
||||
this._addEventListeners()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user