Issues (377)

modules/post-meta/customize-preview.js (2 issues)

arguments for multi-line function calls are on separate lines.

Coding Style Informational
1
/* global wp, _customizePostPreviewedQueriedObject */
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() {
0 ignored issues
show
For multi-line function calls, each argument should be on a separate line.

For a function calls that spawns multiple lines, the coding style suggests to split arguments to separate lines like this:

someFunctionCall(
    $firstArgument,
    $secondArgument,
    $thirdArgument
);
Loading history...
10
		wp.customize.preview.bind( 'active', function() {
0 ignored issues
show
For multi-line function calls, each argument should be on a separate line.

For a function calls that spawns multiple lines, the coding style suggests to split arguments to separate lines like this:

someFunctionCall(
    $firstArgument,
    $secondArgument,
    $thirdArgument
);
Loading history...
11
			wp.customize.preview.send( 'queried-post', self.queriedPost );
12
		} );
13
	} );
14
} );
15