nepttune/ajaxselect

View on GitHub
assets/ajaxSelect.js

Summary

Maintainability
A
1 hr
Test Coverage

Function ajaxSelectBox has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn.ajaxSelectBox = function (selectOptions) {
        return this.each(function() {
            var options = Object.assign({}, selectOptions);
            var select = $(this);
            if (select.data('ajaxselect')) {
Severity: Minor
Found in assets/ajaxSelect.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status