src/searchbar.js
function () {
        var html = template();

        var div = document.createElement('div');
            div.innerHTML = html.trim();

        var searchBar = this.applySearcbarEvents(div.firstChild);
            searchBar = this.setDefaultSearchTerm(searchBar);

        return searchBar;
    }
function () {
        var html = template();

        var div = document.createElement('div');
            div.innerHTML = html.trim();

        var searchBar = this.applySearcbarEvents(div.firstChild);
            searchBar = this.setDefaultSearchTerm(searchBar);

        return searchBar;
    }
function ( ) { var html = template ( ) ; var div = document . createElement ( 'div' ) ; div . innerHTML = html . trim ( ) ; var searchBar = this . applySearcbarEvents ( div . firstChild ) ; searchBar = this . setDefaultSearchTerm ( searchBar ) ; return searchBar ; }
Parses the searchbar template into an HTML string.

@returns {*}
Parses the searchbar template into an HTML string .