Skip to content

Commit

Permalink
Update carousel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brichbash authored Sep 18, 2024
1 parent 8b1b29f commit 03062d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/src/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Manipulator from './dom/manipulator'
import SelectorEngine from './dom/selector-engine'
import Swipe from './util/swipe'
import BaseComponent from './base-component'

// TODO: FOO

Check warning on line 22 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Unexpected 'todo' comment: 'TODO: FOO'. (no-warning-comments)
/**
* Constants
*/
Expand All @@ -37,6 +37,7 @@ const ORDER_NEXT = 'next'
const ORDER_PREV = 'prev'
const DIRECTION_LEFT = 'left'
const DIRECTION_RIGHT = 'right'
// TODO: FOO

Check warning on line 40 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Unexpected 'todo' comment: 'TODO: FOO'. (no-warning-comments)

const EVENT_SLIDE = `slide${EVENT_KEY}`
const EVENT_SLID = `slid${EVENT_KEY}`
Expand All @@ -54,6 +55,7 @@ const CLASS_NAME_END = 'carousel-item-end'
const CLASS_NAME_START = 'carousel-item-start'
const CLASS_NAME_NEXT = 'carousel-item-next'
const CLASS_NAME_PREV = 'carousel-item-prev'
// TODO: FOO

Check warning on line 58 in js/src/carousel.js

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Unexpected 'todo' comment: 'TODO: FOO'. (no-warning-comments)

const SELECTOR_ACTIVE = '.active'
const SELECTOR_ACTIVE_ITEM = '.active.carousel-item'
Expand Down

0 comments on commit 03062d0

Please sign in to comment.