// WordPress, TinyMCE, and Media
// -----------------------------
(function($){
// WordPress, TinyMCE, and Media
// -----------------------------
(function($){
var display = state.display( attachment ).toJSON();
return this.send.attachment( display, attachment.toJSON() );
}, this ) ).done( function() {
var display = state.display( attachment ).toJSON();
return this.send.attachment( display, attachment.toJSON() );
}, this ) ).done( function() {