mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-31 01:59:47 +02:00
See #28510. Built from https://develop.svn.wordpress.org/trunk@31493 git-svn-id: http://core.svn.wordpress.org/trunk@31474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
34 lines
649 B
JavaScript
34 lines
649 B
JavaScript
/*globals wp */
|
|
|
|
/**
|
|
* wp.media.controller.AudioDetails
|
|
*
|
|
* The controller for the Audio Details state
|
|
*
|
|
* @class
|
|
* @augments wp.media.controller.State
|
|
* @augments Backbone.Model
|
|
*/
|
|
var State = wp.media.controller.State,
|
|
l10n = wp.media.view.l10n,
|
|
AudioDetails;
|
|
|
|
AudioDetails = State.extend({
|
|
defaults: {
|
|
id: 'audio-details',
|
|
toolbar: 'audio-details',
|
|
title: l10n.audioDetailsTitle,
|
|
content: 'audio-details',
|
|
menu: 'audio-details',
|
|
router: false,
|
|
priority: 60
|
|
},
|
|
|
|
initialize: function( options ) {
|
|
this.media = options.media;
|
|
State.prototype.initialize.apply( this, arguments );
|
|
}
|
|
});
|
|
|
|
module.exports = AudioDetails;
|