Dogfalo/materialize

View on GitHub
js/scrollspy.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function scrollSpy has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.scrollSpy = function(selector, options) {
      var defaults = {
            throttle: 100,
            scrollOffset: 200, // offset - 200 allows elements near bottom of page to scroll
            activeClass: 'active',
Severity: Major
Found in js/scrollspy.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status