Make WordPress Core

Changeset 63521


Ignore:
Timestamp:
09/07/2026 05:25:08 PM (2 months ago)
Author:
afercia
Message:

General: Minor JSDoc fixes after r63516.

Part of the effort to improve JS inline documentation for 7.2.
Amends [63516]

Developed in ​https://github.com/WordPress/wordpress-develop/pull/13426

Props westonruter, afercia.
See #66033.

Location:
trunk/src/js/media
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/media/models/attachment.js

    r63516 r63521  
    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.
  • trunk/src/js/media/models/attachments.js

    r63516 r63521  
    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.
  • trunk/src/js/media/views/media-details.js

    r63516 r63521  
    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.
  • trunk/src/js/media/views/view.js

    r63516 r63521  
    1919var 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.
Note: See TracChangeset for help on using the changeset viewer.