summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/wp/customize/base.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/_enqueues/wp/customize/base.js')
-rw-r--r--src/js/_enqueues/wp/customize/base.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/js/_enqueues/wp/customize/base.js b/src/js/_enqueues/wp/customize/base.js
index 20117d4c25..8fd247052c 100644
--- a/src/js/_enqueues/wp/customize/base.js
+++ b/src/js/_enqueues/wp/customize/base.js
@@ -188,7 +188,7 @@ window.wp = window.wp || {};
api.Value = api.Class.extend(/** @lends wp.customize.Value.prototype */{
/**
* @param {mixed} initial The initial value.
- * @param {object} options
+ * @param {Object} options
*/
initialize: function( initial, options ) {
this._value = initial; // @todo Potentially change this to a this.set() call.
@@ -220,7 +220,7 @@ window.wp = window.wp || {};
/**
* Set the value and trigger all bound callbacks.
*
- * @param {object} to New value.
+ * @param {Object} to New value.
*/
set: function( to ) {
var from = this._value;
@@ -382,7 +382,7 @@ window.wp = window.wp || {};
* Whether the collection has an item with the given ID.
*
* @param {string} id The ID of the item to look for.
- * @return {Boolean}
+ * @return {boolean}
*/
has: function( id ) {
return typeof this._value[ id ] !== 'undefined';
@@ -447,7 +447,7 @@ window.wp = window.wp || {};
* Iterate over all items in the collection invoking the provided callback.
*
* @param {Function} callback Function to invoke.
- * @param {object} context Object context to invoke the function with. Optional.
+ * @param {Object} context Object context to invoke the function with. Optional.
*/
each: function( callback, context ) {
context = typeof context === 'undefined' ? this : context;
@@ -682,11 +682,11 @@ window.wp = window.wp || {};
/**
* Initialize Messenger.
*
- * @param {object} params - Parameters to configure the messenger.
+ * @param {Object} params - Parameters to configure the messenger.
* {string} params.url - The URL to communicate with.
* {window} params.targetWindow - The window instance to communicate with. Default window.parent.
* {string} params.channel - If provided, will send the channel with each message and only accept messages a matching channel.
- * @param {object} options - Extend any instance parameter or method with this object.
+ * @param {Object} options - Extend any instance parameter or method with this object.
*/
initialize: function( params, options ) {
// Target the parent frame by default, but only if a parent frame exists.
@@ -787,7 +787,7 @@ window.wp = window.wp || {};
* Send data to the other window.
*
* @param {string} id The event name.
- * @param {object} data Data.
+ * @param {Object} data Data.
*/
send: function( id, data ) {
var message;
@@ -862,7 +862,7 @@ window.wp = window.wp || {};
* @since 4.9.0
*
* @param {string} code - Notification code.
- * @param {object} params - Notification parameters.
+ * @param {Object} params - Notification parameters.
* @param {string} params.message - Message.
* @param {string} [params.type=error] - Type.
* @param {string} [params.setting] - Related setting ID.
@@ -934,7 +934,7 @@ window.wp = window.wp || {};
*
* @alias wp.customize.get
*
- * @return {object}
+ * @return {Object}
*/
api.get = function() {
var result = {};
@@ -962,7 +962,7 @@ window.wp = window.wp || {};
* @alias wp.customize.utils.parseQueryString
*
* @param {string} queryString Query string.
- * @return {object} Parsed query string.
+ * @return {Object} Parsed query string.
*/
api.utils.parseQueryString = function parseQueryString( queryString ) {
var queryParams = {};