Fixes for `jshint`

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


git-svn-id: http://core.svn.wordpress.org/trunk@27486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-03-20 22:27:15 +00:00
parent 00924f6275
commit 4ad3972f74
4 changed files with 3 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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