WordPress.org

Make WordPress Core

Changeset 27843


Ignore:
Timestamp:
03/29/2014 08:52:30 AM (5 years ago)
Author:
nacin
Message:

Theme Installer: Remove unused variables and undesired commas.

see #27055.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/theme.js

    r27830 r27843  
    11011101
    11021102    doSearch: _.debounce( function( value ) {
    1103         var request = {},
    1104             self = this;
     1103        var request = {};
    11051104
    11061105        request.search = value;
     
    11271126        // or searching the local cache
    11281127        this.collection.query( request );
    1129     }, 300 ),
     1128    }, 300 )
    11301129});
    11311130
     
    12271226        var request,
    12281227            $el = $( event.target ),
    1229             filter = $el.data( 'filter' ),
    1230             self = this;
     1228            filter = $el.data( 'filter' );
    12311229
    12321230        // Bail if this is already active
     
    12541252    // Clicking on a checkbox triggers a tag request
    12551253    addFilter: function() {
    1256         var self = this,
    1257             tags = this.filtersChecked(),
     1254        var tags = this.filtersChecked(),
    12581255            request = { tag: tags };
    12591256
Note: See TracChangeset for help on using the changeset viewer.