WordPress.org

Make WordPress Core

Changeset 31490


Ignore:
Timestamp:
02/22/2015 06:27:45 AM (5 years ago)
Author:
wonderboymusic
Message:

After [30120], in media JS files, move from @constructor to @class annotations as per JSDoc preferred nomenclature: http://usejsdoc.org/tags-class.html

See #28510, #30193.

Location:
trunk/src/wp-includes/js/media
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media/audio-video.js

    r31488 r31490  
    220220 * The controller for the Audio Details state
    221221 *
    222  * @constructor
     222 * @class
    223223 * @augments wp.media.controller.State
    224224 * @augments Backbone.Model
     
    11191119 * The controller for the Video Details state
    11201120 *
    1121  * @constructor
     1121 * @class
    11221122 * @augments wp.media.controller.State
    11231123 * @augments Backbone.Model
     
    11511151 *   "Add Audio|Video Source" and "Replace Audio|Video" states return
    11521152 *
    1153  * @constructor
     1153 * @class
    11541154 * @augments Backbone.Model
    11551155 */
     
    30863086 * wp.media.view.AudioDetails
    30873087 *
    3088  * @constructor
     3088 * @class
    30893089 * @augments wp.media.view.MediaDetails
    30903090 * @augments wp.media.view.Settings.AttachmentDisplay
     
    34343434 * wp.media.view.MediaFrame.AudioDetails
    34353435 *
    3436  * @constructor
     3436 * @class
    34373437 * @augments wp.media.view.MediaFrame.MediaDetails
    34383438 * @augments wp.media.view.MediaFrame.Select
     
    35113511 * wp.media.view.MediaFrame.MediaDetails
    35123512 *
    3513  * @constructor
     3513 * @class
    35143514 * @augments wp.media.view.MediaFrame.Select
    35153515 * @augments wp.media.view.MediaFrame
     
    38173817 * wp.media.view.MediaFrame.VideoDetails
    38183818 *
    3819  * @constructor
     3819 * @class
    38203820 * @augments wp.media.view.MediaFrame.MediaDetails
    38213821 * @augments wp.media.view.MediaFrame.Select
     
    40104010 * wp.media.view.MediaDetails
    40114011 *
    4012  * @constructor
     4012 * @class
    40134013 * @augments wp.media.view.Settings.AttachmentDisplay
    40144014 * @augments wp.media.view.Settings
     
    59555955 * wp.media.view.VideoDetails
    59565956 *
    5957  * @constructor
     5957 * @class
    59585958 * @augments wp.media.view.MediaDetails
    59595959 * @augments wp.media.view.Settings.AttachmentDisplay
  • trunk/src/wp-includes/js/media/controllers/audio-details.js

    r31399 r31490  
    22 * The controller for the Audio Details state
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.controller.State
    66 * @augments Backbone.Model
  • trunk/src/wp-includes/js/media/controllers/edit-attachment-metadata.js

    r31399 r31490  
    44 * A state for editing an attachment's metadata.
    55 *
    6  * @constructor
     6 * @class
    77 * @augments wp.media.controller.State
    88 * @augments Backbone.Model
  • trunk/src/wp-includes/js/media/controllers/video-details.js

    r31399 r31490  
    22 * The controller for the Video Details state
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.controller.State
    66 * @augments Backbone.Model
  • trunk/src/wp-includes/js/media/grid.js

    r31489 r31490  
    55 * A state for editing an attachment's metadata.
    66 *
    7  * @constructor
     7 * @class
    88 * @augments wp.media.controller.State
    99 * @augments Backbone.Model
     
    941941 * A router for handling the browser history and application state.
    942942 *
    943  * @constructor
     943 * @class
    944944 * @augments Backbone.Router
    945945 */
     
    19661966 * for use in the Edit Attachment modal.
    19671967 *
    1968  * @constructor
     1968 * @class
    19691969 * @augments wp.media.view.Attachment.Details
    19701970 * @augments wp.media.view.Attachment
     
    30153015 * When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic
    30163016 *
    3017  * @constructor
     3017 * @class
    30183018 * @augments wp.media.view.DeleteSelectedButton
    30193019 * @augments wp.media.view.Button
     
    30603060 * A button that handles bulk Delete/Trash logic
    30613061 *
    3062  * @constructor
     3062 * @class
    30633063 * @augments wp.media.view.Button
    30643064 * @augments wp.media.View
     
    34193419 * Requires an attachment model to be passed in the options hash under `model`.
    34203420 *
    3421  * @constructor
     3421 * @class
    34223422 * @augments wp.media.view.Frame
    34233423 * @augments wp.media.View
     
    36653665 * Used in the media grid view.
    36663666 *
    3667  * @constructor
     3667 * @class
    36683668 * @augments wp.media.view.MediaFrame
    36693669 * @augments wp.media.view.Frame
  • trunk/src/wp-includes/js/media/models/post-media.js

    r31399 r31490  
    33 *   "Add Audio|Video Source" and "Replace Audio|Video" states return
    44 *
    5  * @constructor
     5 * @class
    66 * @augments Backbone.Model
    77 */
  • trunk/src/wp-includes/js/media/routers/manage.js

    r31399 r31490  
    22 * A router for handling the browser history and application state.
    33 *
    4  * @constructor
     4 * @class
    55 * @augments Backbone.Router
    66 */
  • trunk/src/wp-includes/js/media/views/attachment/details-two-column.js

    r31487 r31490  
    55 * for use in the Edit Attachment modal.
    66 *
    7  * @constructor
     7 * @class
    88 * @augments wp.media.view.Attachment.Details
    99 * @augments wp.media.view.Attachment
  • trunk/src/wp-includes/js/media/views/audio-details.js

    r31399 r31490  
    22 * wp.media.view.AudioDetails
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.view.MediaDetails
    66 * @augments wp.media.view.Settings.AttachmentDisplay
  • trunk/src/wp-includes/js/media/views/button/delete-selected-permanently.js

    r31399 r31490  
    22 * When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.view.DeleteSelectedButton
    66 * @augments wp.media.view.Button
  • trunk/src/wp-includes/js/media/views/button/delete-selected.js

    r31399 r31490  
    22 * A button that handles bulk Delete/Trash logic
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.view.Button
    66 * @augments wp.media.View
  • trunk/src/wp-includes/js/media/views/frame/audio-details.js

    r31399 r31490  
    22 * wp.media.view.MediaFrame.AudioDetails
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.view.MediaFrame.MediaDetails
    66 * @augments wp.media.view.MediaFrame.Select
  • trunk/src/wp-includes/js/media/views/frame/edit-attachments.js

    r31399 r31490  
    66 * Requires an attachment model to be passed in the options hash under `model`.
    77 *
    8  * @constructor
     8 * @class
    99 * @augments wp.media.view.Frame
    1010 * @augments wp.media.View
  • trunk/src/wp-includes/js/media/views/frame/manage.js

    r31399 r31490  
    66 * Used in the media grid view.
    77 *
    8  * @constructor
     8 * @class
    99 * @augments wp.media.view.MediaFrame
    1010 * @augments wp.media.view.Frame
  • trunk/src/wp-includes/js/media/views/frame/media-details.js

    r31399 r31490  
    22 * wp.media.view.MediaFrame.MediaDetails
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.view.MediaFrame.Select
    66 * @augments wp.media.view.MediaFrame
  • trunk/src/wp-includes/js/media/views/frame/video-details.js

    r31399 r31490  
    22 * wp.media.view.MediaFrame.VideoDetails
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.view.MediaFrame.MediaDetails
    66 * @augments wp.media.view.MediaFrame.Select
  • trunk/src/wp-includes/js/media/views/media-details.js

    r31488 r31490  
    44 * wp.media.view.MediaDetails
    55 *
    6  * @constructor
     6 * @class
    77 * @augments wp.media.view.Settings.AttachmentDisplay
    88 * @augments wp.media.view.Settings
  • trunk/src/wp-includes/js/media/views/video-details.js

    r31487 r31490  
    22 * wp.media.view.VideoDetails
    33 *
    4  * @constructor
     4 * @class
    55 * @augments wp.media.view.MediaDetails
    66 * @augments wp.media.view.Settings.AttachmentDisplay
Note: See TracChangeset for help on using the changeset viewer.