Fix jshint errors introduced in [29284] and [29299].

Built from https://develop.svn.wordpress.org/trunk@29306


git-svn-id: http://core.svn.wordpress.org/trunk@29088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-07-27 11:49:15 +00:00
parent ab151eca85
commit 9c77f419f6
2 changed files with 2 additions and 2 deletions

View File

@ -440,7 +440,7 @@
shortcode: function( attachments ) { shortcode: function( attachments ) {
var props = attachments.props.toJSON(), var props = attachments.props.toJSON(),
attrs = _.pick( props, 'orderby', 'order' ), attrs = _.pick( props, 'orderby', 'order' ),
shortcode, clone, self = this; shortcode, clone;
if ( attachments.type ) { if ( attachments.type ) {
attrs.type = attachments.type; attrs.type = attachments.type;

View File

@ -170,7 +170,7 @@
/** /**
* Open the Edit Attachment modal. * Open the Edit Attachment modal.
*/ */
openEditAttachmentModal: function( model, currentTarget ) { openEditAttachmentModal: function( model ) {
// Create a new EditAttachment frame, passing along the library and the attachment model. // Create a new EditAttachment frame, passing along the library and the attachment model.
wp.media( { wp.media( {
frame: 'edit-attachments', frame: 'edit-attachments',