codeforamerica/oakland_answers

View on GitHub
app/assets/javascripts/indextank/jquery.indextank.autocomplete.js

Summary

Maintainability
A
1 hr
Test Coverage

Function Autocomplete has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.Indextank.Autocomplete = function(el, options){
        // To avoid scope issues, use 'base' instead of 'this'
        // to reference this class from internal events and functions.
        var base = this;
        
Severity: Minor
Found in app/assets/javascripts/indextank/jquery.indextank.autocomplete.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status