mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@31490 git-svn-id: http://core.svn.wordpress.org/trunk@31471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
117a0518fd
commit
8b54658f0c
@ -219,7 +219,7 @@ media.view.VideoDetails = require( './views/video-details.js' );
|
||||
/**
|
||||
* The controller for the Audio Details state
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
@ -1118,7 +1118,7 @@ module.exports = State;
|
||||
/**
|
||||
* The controller for the Video Details state
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
@ -1150,7 +1150,7 @@ module.exports = VideoDetails;
|
||||
* Shared model class for audio and video. Updates the model after
|
||||
* "Add Audio|Video Source" and "Replace Audio|Video" states return
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
var PostMedia = Backbone.Model.extend({
|
||||
@ -3085,7 +3085,7 @@ module.exports = AttachmentsBrowser;
|
||||
/**
|
||||
* wp.media.view.AudioDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaDetails
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
@ -3433,7 +3433,7 @@ module.exports = Frame;
|
||||
/**
|
||||
* wp.media.view.MediaFrame.AudioDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame.MediaDetails
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
@ -3510,7 +3510,7 @@ module.exports = AudioDetails;
|
||||
/**
|
||||
* wp.media.view.MediaFrame.MediaDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
* @augments wp.media.view.Frame
|
||||
@ -3816,7 +3816,7 @@ module.exports = Select;
|
||||
/**
|
||||
* wp.media.view.MediaFrame.VideoDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame.MediaDetails
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
@ -4009,7 +4009,7 @@ module.exports = Label;
|
||||
/**
|
||||
* wp.media.view.MediaDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
* @augments wp.media.View
|
||||
@ -5954,7 +5954,7 @@ module.exports = UploaderWindow;
|
||||
/**
|
||||
* wp.media.view.VideoDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaDetails
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* The controller for the Audio Details state
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* A state for editing an attachment's metadata.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* The controller for the Video Details state
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* A state for editing an attachment's metadata.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
@ -940,7 +940,7 @@ media.view.DeleteSelectedPermanentlyButton = require( './views/button/delete-sel
|
||||
/**
|
||||
* A router for handling the browser history and application state.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments Backbone.Router
|
||||
*/
|
||||
var Router = Backbone.Router.extend({
|
||||
@ -1965,7 +1965,7 @@ module.exports = Attachment;
|
||||
* A similar view to media.view.Attachment.Details
|
||||
* for use in the Edit Attachment modal.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Attachment.Details
|
||||
* @augments wp.media.view.Attachment
|
||||
* @augments wp.media.View
|
||||
@ -3014,7 +3014,7 @@ module.exports = Button;
|
||||
/**
|
||||
* When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.DeleteSelectedButton
|
||||
* @augments wp.media.view.Button
|
||||
* @augments wp.media.View
|
||||
@ -3059,7 +3059,7 @@ module.exports = DeleteSelectedPermanently;
|
||||
/**
|
||||
* A button that handles bulk Delete/Trash logic
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Button
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
@ -3418,7 +3418,7 @@ module.exports = Frame;
|
||||
*
|
||||
* Requires an attachment model to be passed in the options hash under `model`.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Frame
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
@ -3664,7 +3664,7 @@ module.exports = EditAttachments;
|
||||
*
|
||||
* Used in the media grid view.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame
|
||||
* @augments wp.media.view.Frame
|
||||
* @augments wp.media.View
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Shared model class for audio and video. Updates the model after
|
||||
* "Add Audio|Video Source" and "Replace Audio|Video" states return
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
var PostMedia = Backbone.Model.extend({
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* A router for handling the browser history and application state.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments Backbone.Router
|
||||
*/
|
||||
var Router = Backbone.Router.extend({
|
||||
|
@ -4,7 +4,7 @@
|
||||
* A similar view to media.view.Attachment.Details
|
||||
* for use in the Edit Attachment modal.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Attachment.Details
|
||||
* @augments wp.media.view.Attachment
|
||||
* @augments wp.media.View
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* wp.media.view.AudioDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaDetails
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* When MEDIA_TRASH is true, a button that handles bulk Delete Permanently logic
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.DeleteSelectedButton
|
||||
* @augments wp.media.view.Button
|
||||
* @augments wp.media.View
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* A button that handles bulk Delete/Trash logic
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Button
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* wp.media.view.MediaFrame.AudioDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame.MediaDetails
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* Requires an attachment model to be passed in the options hash under `model`.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Frame
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* Used in the media grid view.
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame
|
||||
* @augments wp.media.view.Frame
|
||||
* @augments wp.media.View
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* wp.media.view.MediaFrame.MediaDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
* @augments wp.media.view.Frame
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* wp.media.view.MediaFrame.VideoDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaFrame.MediaDetails
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* wp.media.view.MediaDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
* @augments wp.media.View
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* wp.media.view.VideoDetails
|
||||
*
|
||||
* @constructor
|
||||
* @class
|
||||
* @augments wp.media.view.MediaDetails
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31489';
|
||||
$wp_version = '4.2-alpha-31490';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user