Skip to content

Commit

Permalink
Fix JSDoc issues in theme JS code
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamwhite committed May 7, 2024
1 parent de99f25 commit 1230311
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions js/customizer.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/* global wp, jQuery */
/* global jQuery:false */
/**
* File customizer.js.
*
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*
* @param {jQuery} $ jQuery instance.
*/

( function( $ ) {
// Site title and description.
wp.customize( 'blogname', function( value ) {
Expand Down
3 changes: 2 additions & 1 deletion js/header.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global Headroom:false */
/**
* File header.js.
*
Expand All @@ -8,4 +9,4 @@
const header = document.querySelector("header");
const headroom = new Headroom(header);
headroom.init();
}() );
}() );

0 comments on commit 1230311

Please sign in to comment.