Add some missing JSDoc blocks to media-related code.
See #27016. Built from https://develop.svn.wordpress.org/trunk@27415 git-svn-id: http://core.svn.wordpress.org/trunk@27262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0ccc1d52ac
commit
09d8606428
@ -273,7 +273,10 @@
|
||||
return html;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @mixin
|
||||
*/
|
||||
wp.media.mixin = {
|
||||
/**
|
||||
* A helper function to avoid truthy and falsey values being
|
||||
@ -552,6 +555,9 @@
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @namespace
|
||||
*/
|
||||
wp.media.audio = _.extend({
|
||||
defaults : {
|
||||
id : wp.media.view.settings.post.id,
|
||||
@ -593,6 +599,9 @@
|
||||
}
|
||||
}, wp.media.mixin);
|
||||
|
||||
/**
|
||||
* @namespace
|
||||
*/
|
||||
wp.media.video = _.extend({
|
||||
defaults : {
|
||||
id : wp.media.view.settings.post.id,
|
||||
|
@ -2502,6 +2502,18 @@
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* wp.media.view.MediaFrame.ImageDetails
|
||||
*
|
||||
* @constructor
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
* @augments wp.media.view.Frame
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
* @augments Backbone.View
|
||||
* @mixes wp.media.controller.StateMachine
|
||||
*/
|
||||
media.view.MediaFrame.ImageDetails = media.view.MediaFrame.Select.extend({
|
||||
defaults: {
|
||||
id: 'image',
|
||||
@ -2649,6 +2661,18 @@
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* wp.media.view.MediaFrame.AudioDetails
|
||||
*
|
||||
* @constructor
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
* @augments wp.media.view.Frame
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
* @augments Backbone.View
|
||||
* @mixes wp.media.controller.StateMachine
|
||||
*/
|
||||
media.view.MediaFrame.AudioDetails = media.view.MediaFrame.Select.extend({
|
||||
defaults: {
|
||||
id: 'audio',
|
||||
@ -2792,6 +2816,18 @@
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* wp.media.view.MediaFrame.VideoDetails
|
||||
*
|
||||
* @constructor
|
||||
* @augments wp.media.view.MediaFrame.Select
|
||||
* @augments wp.media.view.MediaFrame
|
||||
* @augments wp.media.view.Frame
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
* @augments Backbone.View
|
||||
* @mixes wp.media.controller.StateMachine
|
||||
*/
|
||||
media.view.MediaFrame.VideoDetails = media.view.MediaFrame.Select.extend({
|
||||
defaults: {
|
||||
id: 'video',
|
||||
@ -6092,6 +6128,16 @@
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* wp.media.view.ImageDetails
|
||||
*
|
||||
* @contructor
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
* @augments Backbone.View
|
||||
*/
|
||||
media.view.ImageDetails = media.view.Settings.AttachmentDisplay.extend({
|
||||
className: 'image-details',
|
||||
template: media.template('image-details'),
|
||||
@ -6138,6 +6184,16 @@
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* wp.media.view.AudioDetails
|
||||
*
|
||||
* @contructor
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
* @augments Backbone.View
|
||||
*/
|
||||
media.view.AudioDetails = media.view.Settings.AttachmentDisplay.extend({
|
||||
className: 'audio-details',
|
||||
template: media.template('audio-details'),
|
||||
@ -6193,6 +6249,16 @@
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* wp.media.view.VideoDetails
|
||||
*
|
||||
* @contructor
|
||||
* @augments wp.media.view.Settings.AttachmentDisplay
|
||||
* @augments wp.media.view.Settings
|
||||
* @augments wp.media.View
|
||||
* @augments wp.Backbone.View
|
||||
* @augments Backbone.View
|
||||
*/
|
||||
media.view.VideoDetails = media.view.Settings.AttachmentDisplay.extend({
|
||||
className: 'video-details',
|
||||
template: media.template('video-details'),
|
||||
|
Loading…
Reference in New Issue
Block a user