app/assets/javascripts/modules/image-rotator.js
Function ImageRotator
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ImageRotator() {
var $container = $('.photo-container'),
currentIndex = 0,
$currentCircle = $(".circle.active"),
$nextCircle = $currentCircle.parent().next().children(),