From 99245534a5fd133c044e9d69f37d44b7c79e2acd Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 15 Nov 2013 04:31:10 +0000 Subject: [PATCH] Fix JSHint errors for customize-loader. props mdbitz. fixes #26040. Built from https://develop.svn.wordpress.org/trunk@26194 git-svn-id: http://core.svn.wordpress.org/trunk@26102 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/customize-loader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/js/customize-loader.js b/wp-includes/js/customize-loader.js index 2ecbbe0fbf..cccf71acc8 100644 --- a/wp-includes/js/customize-loader.js +++ b/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' ) )