From a22368a225ebb9acac3e16f4ae7b68b25db30722 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 19 Jul 2015 17:08:47 +0000 Subject: [PATCH] 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 --- src/wp-admin/js/customize-controls.js | 2 +- src/wp-includes/js/customize-models.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/js/customize-controls.js b/src/wp-admin/js/customize-controls.js index 070b96c6ff..f45e256b98 100644 --- a/src/wp-admin/js/customize-controls.js +++ b/src/wp-admin/js/customize-controls.js @@ -1,4 +1,4 @@ -/* globals _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer */ +/* global _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer */ (function( exports, $ ){ var Container, focus, api = wp.customize; diff --git a/src/wp-includes/js/customize-models.js b/src/wp-includes/js/customize-models.js index 5969be3963..9d6e088c51 100644 --- a/src/wp-includes/js/customize-models.js +++ b/src/wp-includes/js/customize-models.js @@ -1,4 +1,4 @@ -/* globals _wpCustomizeHeader, _ */ +/* global _wpCustomizeHeader */ (function( $, wp ) { var api = wp.customize; api.HeaderTool = {};