JSHint: Use 'global' rather than 'globals' for inline configuration.

Don't declare a global already listed in .jshintrc.

props johnjamesjacoby.
fixes #33021.


git-svn-id: https://develop.svn.wordpress.org/trunk@33324 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2015-07-19 17:08:47 +00:00
parent 9ba638910c
commit a22368a225
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* globals _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer */
/* global _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer */
(function( exports, $ ){
var Container, focus, api = wp.customize;

View File

@ -1,4 +1,4 @@
/* globals _wpCustomizeHeader, _ */
/* global _wpCustomizeHeader */
(function( $, wp ) {
var api = wp.customize;
api.HeaderTool = {};