Make WordPress Core

Changeset 29306


Ignore:
Timestamp:
07/27/2014 11:48:26 AM (10 years ago)
Author:
ocean90
Message:

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

Location:
trunk/src/wp-includes/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media-editor.js

    r29284 r29306  
    441441                var props = attachments.props.toJSON(),
    442442                    attrs = _.pick( props, 'orderby', 'order' ),
    443                     shortcode, clone, self = this;
     443                    shortcode, clone;
    444444
    445445                if ( attachments.type ) {
  • trunk/src/wp-includes/js/media-grid.js

    r29305 r29306  
    171171         * Open the Edit Attachment modal.
    172172         */
    173         openEditAttachmentModal: function( model, currentTarget ) {
     173        openEditAttachmentModal: function( model ) {
    174174            // Create a new EditAttachment frame, passing along the library and the attachment model.
    175175            wp.media( {
Note: See TracChangeset for help on using the changeset viewer.