Make WordPress Core

Ticket #26040: 26040.patch

File 26040.patch, 584 bytes (added by mdbitz, 8 years ago)

jshint cleanup of customize-loader (global and unused named function param)

  • src/wp-includes/js/customize-loader.js

     
     1/* global _wpCustomizeLoaderSettings:false */
    12window.wp = window.wp || {};
    23
    34(function( exports, $ ){
     
    5253                                Loader.close();
    5354                },
    5455
    55                 hashchange: function( e ) {
     56                hashchange: function( ) {
    5657                        var hash = window.location.toString().split('#')[1];
    5758
    5859                        if ( hash && 0 === hash.indexOf( 'wp_customize=on' ) )