CoreFiles by mySites.guru
audio-details.js33 lines, 649 bytes, from wordpress-4.2-beta1.zip
Raw History Compare with 4.1-beta2
md5
188eb3979aa92be1c8568c53c9b2e0fc
sha1
ac8571853406682cd7c580b7247a17acdff1b93a
sha256
38fd3d67f4e75f553386978c49adb6356ccafa1b7b3a784788d09ef84d559d60
/*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;

The same content is in 4 releases, WordPress 4.2-beta1 to 4.2-beta4. See them all, or every version of this file.