summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/wp/customize/widgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/_enqueues/wp/customize/widgets.js')
-rw-r--r--src/js/_enqueues/wp/customize/widgets.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/js/_enqueues/wp/customize/widgets.js b/src/js/_enqueues/wp/customize/widgets.js
index 1506a31b8a..5a0fbf2c3c 100644
--- a/src/js/_enqueues/wp/customize/widgets.js
+++ b/src/js/_enqueues/wp/customize/widgets.js
@@ -1340,7 +1340,7 @@
*
* @param {Boolean} expanded
* @param {Object} [params]
- * @returns {Boolean} false if state already applied
+ * @returns {Boolean} False if state already applied.
*/
_toggleExpanded: api.Section.prototype._toggleExpanded,
@@ -1348,7 +1348,7 @@
* @since 4.1.0
*
* @param {Object} [params]
- * @returns {Boolean} false if already expanded
+ * @returns {Boolean} False if already expanded.
*/
expand: api.Section.prototype.expand,
@@ -1365,7 +1365,7 @@
* @since 4.1.0
*
* @param {Object} [params]
- * @returns {Boolean} false if already collapsed
+ * @returns {Boolean} False if already collapsed.
*/
collapse: api.Section.prototype.collapse,
@@ -2060,8 +2060,8 @@
},
/**
- * @param {string} widgetId or an id_base for adding a previously non-existing widget
- * @returns {object|false} widget_form control instance, or false on error
+ * @param {string} widgetId or an id_base for adding a previously non-existing widget.
+ * @returns {object|false} widget_form control instance, or false on error.
*/
addWidget: function( widgetId ) {
var self = this, controlHtml, $widget, controlType = 'widget_form', controlContainer, controlConstructor,