diff options
author | Anton Timmermans <atimmer@git.wordpress.org> | 2018-07-05 14:06:01 +0000 |
---|---|---|
committer | Anton Timmermans <atimmer@git.wordpress.org> | 2018-07-05 14:06:01 +0000 |
commit | ec9d77b1039fc51f7ba5c6612ca9438bf921f730 (patch) | |
tree | 768662f25e065d6f5d0e02d176e6404646abb577 /src/js/_enqueues/wp/customize/controls.js | |
parent | b4d8e87464c9a4d7869584a4ade9db77925e998d (diff) | |
download | wordpress-ec9d77b1039fc51f7ba5c6612ca9438bf921f730.tar.gz wordpress-ec9d77b1039fc51f7ba5c6612ca9438bf921f730.zip |
Docs: Fix default values for `customize/controls.js`.
The old values cannot be parsed by JSDoc.
Props herregroen.
Fixes #44520.
git-svn-id: https://develop.svn.wordpress.org/trunk@43391 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/wp/customize/controls.js')
-rw-r--r-- | src/js/_enqueues/wp/customize/controls.js | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/js/_enqueues/wp/customize/controls.js b/src/js/_enqueues/wp/customize/controls.js index bfd21c627b..357964fcf9 100644 --- a/src/js/_enqueues/wp/customize/controls.js +++ b/src/js/_enqueues/wp/customize/controls.js @@ -938,16 +938,16 @@ * * @borrows wp.customize~focus as focus * - * @param {string} id - The ID for the container. - * @param {object} options - Object containing one property: params. - * @param {string} options.title - Title shown when panel is collapsed and expanded. - * @param {string=} [options.description] - Description shown at the top of the panel. - * @param {number=100} [options.priority] - The sort priority for the panel. - * @param {string} [options.templateId] - Template selector for container. - * @param {string=default} [options.type] - The type of the panel. See wp.customize.panelConstructor. - * @param {string=} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. - * @param {boolean=true} [options.active] - Whether the panel is active or not. - * @param {object} [options.params] - Deprecated wrapper for the above properties. + * @param {string} id - The ID for the container. + * @param {object} options - Object containing one property: params. + * @param {string} options.title - Title shown when panel is collapsed and expanded. + * @param {string} [options.description] - Description shown at the top of the panel. + * @param {number} [options.priority=100] - The sort priority for the panel. + * @param {string} [options.templateId] - Template selector for container. + * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor. + * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. + * @param {boolean} [options.active=true] - Whether the panel is active or not. + * @param {object} [options.params] - Deprecated wrapper for the above properties. */ initialize: function ( id, options ) { var container = this; @@ -1406,17 +1406,17 @@ * * @since 4.1.0 * - * @param {string} id - The ID for the section. - * @param {object} options - Options. - * @param {string} options.title - Title shown when section is collapsed and expanded. - * @param {string=} [options.description] - Description shown at the top of the section. - * @param {number=100} [options.priority] - The sort priority for the section. - * @param {string=default} [options.type] - The type of the section. See wp.customize.sectionConstructor. - * @param {string=} [options.content] - The markup to be used for the section container. If empty, a JS template is used. - * @param {boolean=true} [options.active] - Whether the section is active or not. - * @param {string} options.panel - The ID for the panel this section is associated with. - * @param {string=} [options.customizeAction] - Additional context information shown before the section title when expanded. - * @param {object} [options.params] - Deprecated wrapper for the above properties. + * @param {string} id - The ID for the section. + * @param {object} options - Options. + * @param {string} options.title - Title shown when section is collapsed and expanded. + * @param {string} [options.description] - Description shown at the top of the section. + * @param {number} [options.priority=100] - The sort priority for the section. + * @param {string} [options.type=default] - The type of the section. See wp.customize.sectionConstructor. + * @param {string} [options.content] - The markup to be used for the section container. If empty, a JS template is used. + * @param {boolean} [options.active=true] - Whether the section is active or not. + * @param {string} options.panel - The ID for the panel this section is associated with. + * @param {string} [options.customizeAction] - Additional context information shown before the section title when expanded. + * @param {object} [options.params] - Deprecated wrapper for the above properties. */ initialize: function ( id, options ) { var section = this, params; @@ -2756,15 +2756,15 @@ * * @since 4.1.0 * - * @param {string} id - The ID for the panel. - * @param {object} options - Object containing one property: params. - * @param {string} options.title - Title shown when panel is collapsed and expanded. - * @param {string=} [options.description] - Description shown at the top of the panel. - * @param {number=100} [options.priority] - The sort priority for the panel. - * @param {string=default} [options.type] - The type of the panel. See wp.customize.panelConstructor. - * @param {string=} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. - * @param {boolean=true} [options.active] - Whether the panel is active or not. - * @param {object} [options.params] - Deprecated wrapper for the above properties. + * @param {string} id - The ID for the panel. + * @param {object} options - Object containing one property: params. + * @param {string} options.title - Title shown when panel is collapsed and expanded. + * @param {string} [options.description] - Description shown at the top of the panel. + * @param {number} [options.priority=100] - The sort priority for the panel. + * @param {string} [options.type=default] - The type of the panel. See wp.customize.panelConstructor. + * @param {string} [options.content] - The markup to be used for the panel container. If empty, a JS template is used. + * @param {boolean} [options.active=true] - Whether the panel is active or not. + * @param {object} [options.params] - Deprecated wrapper for the above properties. */ initialize: function ( id, options ) { var panel = this, params; |