src/js/select2/data/tags.js
Function query
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tags.prototype.query = function (decorated, params, callback) {
var self = this;
this._removeOldTags();
Function wrapper
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wrapper (obj, child) {
var data = obj.results;
for (var i = 0; i < data.length; i++) {
var option = data[i];