codeforamerica/intake

View on GitHub
intake/static/intake/js/search_widget.js

Summary

Maintainability
A
1 hr
Test Coverage

Function initializeSearchWidget has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function initializeSearchWidget(inputSelector, postURL, resultsCallback, emptySearchCallback){
  var currentXHR = null;

  function handleResultsAndResetRequest(callback){
    return function(results){
Severity: Minor
Found in intake/static/intake/js/search_widget.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status