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

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

props johnjamesjacoby.
fixes #33021.

Built from https://develop.svn.wordpress.org/trunk@33324


git-svn-id: http://core.svn.wordpress.org/trunk@33296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2015-07-19 17:09:26 +00:00
parent 910092531b
commit 2166b4a6c1
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-beta3-33323'; $wp_version = '4.3-beta3-33324';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.