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:
parent
9ba638910c
commit
a22368a225
@ -1,4 +1,4 @@
|
||||
/* globals _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer */
|
||||
/* global _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer */
|
||||
(function( exports, $ ){
|
||||
var Container, focus, api = wp.customize;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* globals _wpCustomizeHeader, _ */
|
||||
/* global _wpCustomizeHeader */
|
||||
(function( $, wp ) {
|
||||
var api = wp.customize;
|
||||
api.HeaderTool = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user