Skip to content

Commit 4035d38

Browse files
committed
General: Minor JSDoc fixes after r63516.
Part of the effort to improve JS inline documentation for 7.2. Amends [63516] Developed in WordPress#13426 Props westonruter, afercia. See #66033. git-svn-id: https://develop.svn.wordpress.org/trunk@63521 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1771669 commit 4035d38

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/js/media/models/attachment.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Attachment = Backbone.Model.extend(/** @lends wp.media.model.Attachment.prototyp
113113
return resp;
114114
},
115115
/**
116-
* Save attachment details using the `save-attachment-compat` action.
116+
* Saves attachment details using the `save-attachment-compat` action.
117117
*
118118
* @param {Object} data The properties to be saved.
119119
* @param {Object} options Sync options. e.g. patch, wait, success, error.

‎src/js/media/models/attachments.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ var Attachments = Backbone.Collection.extend(/** @lends wp.media.model.Attachmen
465465
}
466466
},
467467
/**
468-
* If this collection is sorted by `menuOrder`, recalculates and saves the menu order to the database.
468+
* Recalculates and saves the menu order to the database if this collection is sorted by `menuOrder`.
469469
*
470470
* @return {undefined|Promise} Returns a promise if the menu order is saved, otherwise undefined.
471471
*/

‎src/js/media/views/media-details.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ MediaDetails = AttachmentDisplay.extend(/** @lends wp.media.view.MediaDetails.pr
3232
},
3333

3434
/**
35-
* Handle events for the media details view.
35+
* Handles events for the media details view.
3636
*
3737
* @return {Object} The events object.
3838
*/

‎src/js/media/views/view.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
var View = wp.Backbone.View.extend(/** @lends wp.media.View.prototype */{
2020
/**
21-
* Constructor for the media view.
21+
* Constructs the media view.
2222
*
2323
* @param {Object} [options] Options for the view.
2424
*/

0 commit comments

Comments
 (0)