mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-27 07:41:07 +00:00
18 lines
446 B
JavaScript
18 lines
446 B
JavaScript
// const config = require( './config.json' );
|
|
// const htmlHelper = require( './htmlHelper.js' )();
|
|
const searchAction = require( './searchAction.js' )();
|
|
|
|
function searchResults() {
|
|
return {
|
|
render: function ( typeaheadEl, searchQuery ) {
|
|
searchAction.render( typeaheadEl, searchQuery );
|
|
},
|
|
clear: function ( typeaheadEl ) {
|
|
searchAction.clear( typeaheadEl );
|
|
}
|
|
};
|
|
}
|
|
|
|
/** @module searchResults */
|
|
module.exports = searchResults;
|