Skip to content

Commit

Permalink
Update carousel.js
Browse files Browse the repository at this point in the history
get rid of todo's
  • Loading branch information
brichbash authored Jun 28, 2024
1 parent 014c14b commit 584c0d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js/src/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ const DefaultType = {
wrap: 'boolean',
touch: 'boolean'
}
// TODO: Todo
/**
* Class definition
*/
Expand All @@ -111,7 +110,6 @@ class Carousel extends BaseComponent {
static get Default() {

Check failure on line 110 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line between class members. (lines-between-class-members)

Check failure on line 110 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line between class members. (lines-between-class-members)
return Default
}
// TODO: Todo somg
static get DefaultType() {

Check failure on line 113 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line between class members. (lines-between-class-members)

Check failure on line 113 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line between class members. (lines-between-class-members)
return DefaultType
}
Expand Down Expand Up @@ -419,7 +417,6 @@ class Carousel extends BaseComponent {
if (![DIRECTION_RIGHT, DIRECTION_LEFT].includes(direction)) {
return direction
}
// TODO: Add another todo
if (isRTL()) {

Check failure on line 420 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line before this statement. (padding-line-between-statements)

Check failure on line 420 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line before this statement. (padding-line-between-statements)
return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT
}
Expand All @@ -431,7 +428,6 @@ class Carousel extends BaseComponent {
if (![ORDER_NEXT, ORDER_PREV].includes(order)) {
return order
}
// TODO: Add another todo
if (isRTL()) {

Check failure on line 431 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line before this statement. (padding-line-between-statements)

Check failure on line 431 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Expected blank line before this statement. (padding-line-between-statements)
return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT
}
Expand Down

0 comments on commit 584c0d0

Please sign in to comment.