From 584c0d035dda82ab9294b2d89d2a86eaec01867d Mon Sep 17 00:00:00 2001 From: brichbash <74328414+brichbash@users.noreply.github.com> Date: Fri, 28 Jun 2024 15:03:22 +0200 Subject: [PATCH] Update carousel.js get rid of todo's --- js/src/carousel.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/src/carousel.js b/js/src/carousel.js index aa105bf52..9ea51b8bd 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -86,7 +86,6 @@ const DefaultType = { wrap: 'boolean', touch: 'boolean' } -// TODO: Todo /** * Class definition */ @@ -111,7 +110,6 @@ class Carousel extends BaseComponent { static get Default() { return Default } -// TODO: Todo somg static get DefaultType() { return DefaultType } @@ -419,7 +417,6 @@ class Carousel extends BaseComponent { if (![DIRECTION_RIGHT, DIRECTION_LEFT].includes(direction)) { return direction } - // TODO: Add another todo if (isRTL()) { return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT } @@ -431,7 +428,6 @@ class Carousel extends BaseComponent { if (![ORDER_NEXT, ORDER_PREV].includes(order)) { return order } -// TODO: Add another todo if (isRTL()) { return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT }