slick/slick.js
This function's cyclomatic complexity is too high. (8)
Slick.prototype.addSlide = Slick.prototype.slickAdd = function(markup, index, addBefore) {
Expected an assignment or function call and instead saw an expression.
_.$nextArrow && _.$nextArrow.off('click.slick', _.changeSlide);
This function's cyclomatic complexity is too high. (8)
Slick.prototype.destroy = function(refresh) {
This function's cyclomatic complexity is too high. (20)
Slick.prototype.getLeft = function(slideIndex) {
This function's cyclomatic complexity is too high. (10)
Slick.prototype.lazyLoad = function() {
Expected '{' and instead saw 'rangeEnd'.
if (rangeEnd <= _.slideCount) rangeEnd++;
This function's cyclomatic complexity is too high. (8)
Slick.prototype.registerBreakpoints = function() {
This function's cyclomatic complexity is too high. (8)
Slick.prototype.removeSlide = Slick.prototype.slickRemove = function(index, removeBefore, removeAll) {
Expected '===' and instead saw '=='.
x = _.positionProp == 'left' ? Math.ceil(position) + 'px' : '0px';
This function's cyclomatic complexity is too high. (13)
Slick.prototype.slickSetOption = function() {
Expected '{' and instead saw '_'.
if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
Expected '{' and instead saw '_'.
if (bodyStyle.perspectiveProperty === undefined && bodyStyle.MozPerspective === undefined) _.animType = false;
Expected '{' and instead saw '_'.
if (bodyStyle.msTransform === undefined) _.animType = false;
Expected '===' and instead saw '=='.
if (_.options.slidesToShow == _.options.slidesToScroll && (_.slideCount - index) < _.options.slidesToShow) {
Expected '{' and instead saw 'index'.
if (!index) index = 0;
This function's cyclomatic complexity is too high. (10)
Slick.prototype.swipeDirection = function() {
This function's cyclomatic complexity is too high. (10)
Slick.prototype.swipeEnd = function(event) {
This function's cyclomatic complexity is too high. (21)
Slick.prototype.swipeMove = function(event) {
Expected '{' and instead saw '_'.
_[i].slick = new Slick(_[i], opt);
Expected '{' and instead saw 'ret'.
ret = _[i].slick[opt].apply(_[i].slick, args);
More
Previous Next