From eee9f8699033d962fb6d7dccbe778517841e52f6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 2 Feb 2021 21:01:37 +0200 Subject: Add eslint-plugin-compat --- js/src/carousel.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js') diff --git a/js/src/carousel.js b/js/src/carousel.js index b0aed3872..e0612badd 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -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() } -- cgit v1.2.3