plugins/bootstrap/typeahead.js
function(items) {

			var itemMarkup = '', i;
			for (i=0; i< items.length; i++) {
				itemMarkup += '<li><a href="#" data-value="' + items[i] + '">' + this.highlighter(items[i]) + '</a></li>';
			}

			var inputRegion = this.node.region();

			this.menu.setHtml(itemMarkup)
			this.menu.one('li').addClass('active')

			this.menu.setStyles({
				left: inputRegion.left,
				top: inputRegion.bottom,
				display:'block'
			});

			this.node.fire('typeahead:show')

			return this;
		}
function(items) {

			var itemMarkup = '', i;
			for (i=0; i< items.length; i++) {
				itemMarkup += '<li><a href="#" data-value="' + items[i] + '">' + this.highlighter(items[i]) + '</a></li>';
			}

			var inputRegion = this.node.region();

			this.menu.setHtml(itemMarkup)
			this.menu.one('li').addClass('active')

			this.menu.setStyles({
				left: inputRegion.left,
				top: inputRegion.bottom,
				display:'block'
			});

			this.node.fire('typeahead:show')

			return this;
		}
function ( items ) { var itemMarkup = '' , i ; for ( i = 0 ; i < items . length ; i ++ ) { itemMarkup += '<li><a href="#" data-value="' + items [ i ] + '">' + this . highlighter ( items [ i ] ) + '</a></li>' ; } var inputRegion = this . node . region ( ) ; this . menu . setHtml ( itemMarkup ) this . menu . one ( 'li' ) . addClass ( 'active' ) this . menu . setStyles ( { left : inputRegion . left , top : inputRegion . bottom , display : 'block' } ) ; this . node . fire ( 'typeahead:show' ) return this ; }
Renders the typeahead items
@param array Matched items to render
Renders the typeahead items