Showing 3 of 28 total issues
File awesomplete.js
has 417 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Simple, lightweight, usable local autocomplete library for modern browsers
* Because there weren’t enough autocomplete scripts in the world? Because I’m completely insane and have NIH syndrome? Probably both. :P
* @author Lea Verou http://leaverou.github.io/awesomplete
* MIT license
Function _
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _ = function (input, o) {
var me = this;
// Keep track of number of instances for unique IDs
_.count = (_.count || 0) + 1;
Function evaluate
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
evaluate: function() {
var me = this;
var value = this.input.value;
if (value.length >= this.minChars && this._list && this._list.length > 0) {