ivaynberg/select2

View on GitHub
src/js/select2/data/tags.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function query has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tags.prototype.query = function (decorated, params, callback) {
    var self = this;

    this._removeOldTags();

Severity: Minor
Found in src/js/select2/data/tags.js - About 1 hr to fix

    Function wrapper has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function wrapper (obj, child) {
          var data = obj.results;
    
          for (var i = 0; i < data.length; i++) {
            var option = data[i];
    Severity: Minor
    Found in src/js/select2/data/tags.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status