diff --git a/src/patterns/04-components/search/search.js b/src/patterns/04-components/search/search.js index 7c74c22e74a9619c04179dfbf411a09740618384..c447c3b3d66262a4ad15b899287c4f48181a9a5a 100644 --- a/src/patterns/04-components/search/search.js +++ b/src/patterns/04-components/search/search.js @@ -16,11 +16,10 @@ $('.uw-header__masthead').toggleClass('open'); } ); + /** * Javascript for debounce - * @var {string} - * @var {Object} - * @param {func} + * @param {func} func The function to perform * @returns {function} debounce. */ function debouncer(func) { @@ -37,7 +36,11 @@ ); }; } - // Check the width of the screen and. + + /** + * Function to check the width. + * @returns {null} Null return. + */ function checkWidth() { // Set screenWidth var. var screenWidth = $(window).width();