WordPress.org

Make WordPress Core

Changeset 42392


Ignore:
Timestamp:
12/13/2017 02:09:45 PM (2 years ago)
Author:
atimmer
Message:

Docs: Improve JS Docs for js/media/controllers/edit-image.js.

Props jjcomack, nicollle, andizer.
Fixes #42680.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media/controllers/edit-image.js

    r41351 r42392  
    3333
    3434    /**
     35     * Activates a frame for editing a featured image.
     36     *
    3537     * @since 3.9.0
     38     *
     39     * @returns {void}
    3640     */
    3741    activate: function() {
     
    4044
    4145    /**
     46     * Deactivates a frame for editing a featured image.
     47     *
    4248     * @since 3.9.0
     49     *
     50     * @returns {void}
    4351     */
    4452    deactivate: function() {
     
    4755
    4856    /**
     57     * Adds a toolbar with a back button.
     58     *
     59     * When the back button is pressed it checks whether there is a previous state.
     60     * In case there is a previous state it sets that previous state otherwise it
     61     * closes the frame.
     62     *
    4963     * @since 3.9.0
     64     *
     65     * @returns {void}
    5066     */
    5167    toolbar: function() {
Note: See TracChangeset for help on using the changeset viewer.