From 895e8edadaa3533ad71748a445ff7aaa835af546 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 15 Nov 2013 04:30:26 +0000 Subject: [PATCH] Fix JSHint errors for customize-loader. props mdbitz. fixes #26040. git-svn-id: https://develop.svn.wordpress.org/trunk@26194 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/customize-loader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/js/customize-loader.js b/src/wp-includes/js/customize-loader.js index 2ecbbe0fbf..cccf71acc8 100644 --- a/src/wp-includes/js/customize-loader.js +++ b/src/wp-includes/js/customize-loader.js @@ -1,3 +1,4 @@ +/* global _wpCustomizeLoaderSettings */ window.wp = window.wp || {}; (function( exports, $ ){ @@ -52,7 +53,7 @@ window.wp = window.wp || {}; Loader.close(); }, - hashchange: function( e ) { + hashchange: function() { var hash = window.location.toString().split('#')[1]; if ( hash && 0 === hash.indexOf( 'wp_customize=on' ) )