jorgecasar/bootstrap — comment on commit fd56710a7664cdfea6cd8e5ba39581cb1cbc9328
File: js/bootstrap-carousel.js line 44
By codexico:

, activePos = $children.index($active) + 1