Fixes for `jshint`

git-svn-id: https://develop.svn.wordpress.org/trunk@27643 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-03-20 22:26:53 +00:00
parent f9dda7bea7
commit 39197965e4
4 changed files with 3 additions and 5 deletions

View File

@ -1265,7 +1265,7 @@ themes.RunInstaller = {
self.view.trigger( 'theme:close' ); self.view.trigger( 'theme:close' );
}); });
themes.router.on( 'route:upload', function( slug ) { themes.router.on( 'route:upload', function() {
$( 'a.upload' ).trigger( 'click' ); $( 'a.upload' ).trigger( 'click' );
}); });

View File

@ -1,4 +1,3 @@
/* globals _wpCustomizeHeader */
(function( $, wp, _ ) { (function( $, wp, _ ) {
if ( ! wp || ! wp.customize ) { return; } if ( ! wp || ! wp.customize ) { return; }

View File

@ -1,4 +1,4 @@
/* global _wpMediaViewsL10n, _wpmejsSettings, MediaElementPlayer */ /* global _wpMediaViewsL10n, _wpmejsSettings, MediaElementPlayer, tinymce, WPPlaylistView */
(function ($, _, Backbone) { (function ($, _, Backbone) {
var media = wp.media, l10n = typeof _wpMediaViewsL10n === 'undefined' ? {} : _wpMediaViewsL10n; var media = wp.media, l10n = typeof _wpMediaViewsL10n === 'undefined' ? {} : _wpMediaViewsL10n;

View File

@ -1,5 +1,4 @@
/* global _wpMediaViewsL10n, _wpmejsSettings, MediaElementPlayer, /* global _wpMediaViewsL10n, confirm, getUserSetting, setUserSetting */
confirm, getUserSetting, setUserSetting */
(function($, _){ (function($, _){
var media = wp.media, l10n; var media = wp.media, l10n;