app/assets/javascripts/indextank/jquery.indextank.autocomplete.js
Function Autocomplete
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
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;