dist/toolkit.js
function(e) {
        if ($.inArray(e.keyCode, [38, 40, 27, 9, 13]) >= 0) {
            return; // Handle with onCycle()
        }

        clearTimeout(this.timer);

        var term = this.input.val().trim();

        if (term.length < this.options.minLength) {
            this.fireEvent('reset');
            this.hide();

        } else {
            this._shadow();
            this.lookup(term);
        }
    }
function(e) {
        if ($.inArray(e.keyCode, [38, 40, 27, 9, 13]) >= 0) {
            return; // Handle with onCycle()
        }

        clearTimeout(this.timer);

        var term = this.input.val().trim();

        if (term.length < this.options.minLength) {
            this.fireEvent('reset');
            this.hide();

        } else {
            this._shadow();
            this.lookup(term);
        }
    }
function ( e ) { if ( $ . inArray ( e . keyCode , [ 38 , 40 , 27 , 9 , 13 ] ) >= 0 ) { return ; // Handle with onCycle() } clearTimeout ( this . timer ) ; var term = this . input . val ( ) . trim ( ) ; if ( term . length < this . options . minLength ) { this . fireEvent ( 'reset' ) ; this . hide ( ) ; } else { this . _shadow ( ) ; this . lookup ( term ) ; } }
Lookup items based on the current input value.

@private
@param {jQuery.Event} e
Lookup items based on the current input value .