CoreFiles by mySites.guru
video-details.js33 lines, 649 bytes, from wordpress-4.2-beta2.zip
Raw History Compare with 4.2-beta1
md5
b0edcd386dddb291f9301226c5c7d667
sha1
a58b81c17ce8cdd4743e199a25ad7c918a3de485
sha256
898d1ec4b3c38441894fe06bdcc8a1ae82b79a00e00c7915a4c3c4db99f91bae
/*globals wp */

/**
 * wp.media.controller.VideoDetails
 *
 * The controller for the Video Details state
 *
 * @class
 * @augments wp.media.controller.State
 * @augments Backbone.Model
 */
var State = wp.media.controller.State,
	l10n = wp.media.view.l10n,
	VideoDetails;

VideoDetails = State.extend({
	defaults: {
		id: 'video-details',
		toolbar: 'video-details',
		title: l10n.videoDetailsTitle,
		content: 'video-details',
		menu: 'video-details',
		router: false,
		priority: 60
	},

	initialize: function( options ) {
		this.media = options.media;
		State.prototype.initialize.apply( this, arguments );
	}
});

module.exports = VideoDetails;

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