angelakuo/citydogshare

View on GitHub
public/assets/materialize/scrollspy-5da2f9f196dc8f650ace037d487312180c62dc268dd19f45728c116284134207.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function scrollSpy has 65 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
    };

    Function throttle has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function throttle(func, wait, options) {
            var context, args, result;
            var timeout = null;
            var previous = 0;
            options || (options = {});

      There are no issues that match your filters.

      Category
      Status