Issues (377)

modules/post-meta/customize-preview.js (1 issue)

Checks file comment wrong style

Coding Style Informational
1
/* global wp, _customizePostPreviewedQueriedObject */
0 ignored issues
show
You must use "/**" style comments for a file comment
Loading history...
2
jQuery( document ).ready( function() {
3
4
	var self = {
5
		queriedPost: ( ! _.isUndefined( _customizePostPreviewedQueriedObject ) ) ? _customizePostPreviewedQueriedObject : null
6
	};
7
8
	// Send the queried post object to the Customizer pane when ready.
9
	wp.customize.bind( 'preview-ready', function() {
10
		wp.customize.preview.bind( 'active', function() {
11
			wp.customize.preview.send( 'queried-post', self.queriedPost );
12
		} );
13
	} );
14
} );
15