Make WordPress Core

Changeset 27415


Ignore:
Timestamp:
03/05/2014 06:36:30 PM (10 years ago)
Author:
wonderboymusic
Message:

Add some missing JSDoc blocks to media-related code.

See #27016.

Location:
trunk/src/wp-includes/js
Files:
2 edited

Legend:

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

    r27411 r27415  
    274274        }
    275275    };
    276 
     276   
     277    /**
     278     * @mixin
     279     */
    277280    wp.media.mixin = {
    278281        /**
     
    553556    });
    554557
     558    /**
     559     * @namespace
     560     */
    555561    wp.media.audio = _.extend({
    556562        defaults : {
     
    594600    }, wp.media.mixin);
    595601
     602    /**
     603     * @namespace
     604     */
    596605    wp.media.video = _.extend({
    597606        defaults : {
  • trunk/src/wp-includes/js/media-views.js

    r27414 r27415  
    25032503    });
    25042504
     2505    /**
     2506     * wp.media.view.MediaFrame.ImageDetails
     2507     *
     2508     * @constructor
     2509     * @augments wp.media.view.MediaFrame.Select
     2510     * @augments wp.media.view.MediaFrame
     2511     * @augments wp.media.view.Frame
     2512     * @augments wp.media.View
     2513     * @augments wp.Backbone.View
     2514     * @augments Backbone.View
     2515     * @mixes wp.media.controller.StateMachine
     2516     */
    25052517    media.view.MediaFrame.ImageDetails = media.view.MediaFrame.Select.extend({
    25062518        defaults: {
     
    26502662    });
    26512663
     2664    /**
     2665     * wp.media.view.MediaFrame.AudioDetails
     2666     *
     2667     * @constructor
     2668     * @augments wp.media.view.MediaFrame.Select
     2669     * @augments wp.media.view.MediaFrame
     2670     * @augments wp.media.view.Frame
     2671     * @augments wp.media.View
     2672     * @augments wp.Backbone.View
     2673     * @augments Backbone.View
     2674     * @mixes wp.media.controller.StateMachine
     2675     */
    26522676    media.view.MediaFrame.AudioDetails = media.view.MediaFrame.Select.extend({
    26532677        defaults: {
     
    27932817    });
    27942818
     2819    /**
     2820     * wp.media.view.MediaFrame.VideoDetails
     2821     *
     2822     * @constructor
     2823     * @augments wp.media.view.MediaFrame.Select
     2824     * @augments wp.media.view.MediaFrame
     2825     * @augments wp.media.view.Frame
     2826     * @augments wp.media.View
     2827     * @augments wp.Backbone.View
     2828     * @augments Backbone.View
     2829     * @mixes wp.media.controller.StateMachine
     2830     */
    27952831    media.view.MediaFrame.VideoDetails = media.view.MediaFrame.Select.extend({
    27962832        defaults: {
     
    60936129    });
    60946130
     6131    /**
     6132     * wp.media.view.ImageDetails
     6133     *
     6134     * @contructor
     6135     * @augments wp.media.view.Settings.AttachmentDisplay
     6136     * @augments wp.media.view.Settings
     6137     * @augments wp.media.View
     6138     * @augments wp.Backbone.View
     6139     * @augments Backbone.View
     6140     */
    60956141    media.view.ImageDetails = media.view.Settings.AttachmentDisplay.extend({
    60966142        className: 'image-details',
     
    61396185    });
    61406186
     6187    /**
     6188     * wp.media.view.AudioDetails
     6189     *
     6190     * @contructor
     6191     * @augments wp.media.view.Settings.AttachmentDisplay
     6192     * @augments wp.media.view.Settings
     6193     * @augments wp.media.View
     6194     * @augments wp.Backbone.View
     6195     * @augments Backbone.View
     6196     */
    61416197    media.view.AudioDetails = media.view.Settings.AttachmentDisplay.extend({
    61426198        className: 'audio-details',
     
    61946250    });
    61956251
     6252    /**
     6253     * wp.media.view.VideoDetails
     6254     *
     6255     * @contructor
     6256     * @augments wp.media.view.Settings.AttachmentDisplay
     6257     * @augments wp.media.view.Settings
     6258     * @augments wp.media.View
     6259     * @augments wp.Backbone.View
     6260     * @augments Backbone.View
     6261     */
    61966262    media.view.VideoDetails = media.view.Settings.AttachmentDisplay.extend({
    61976263        className: 'video-details',
Note: See TracChangeset for help on using the changeset viewer.