Fixes for jshint
git-svn-id: https://develop.svn.wordpress.org/trunk@27643 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f9dda7bea7
commit
39197965e4
@ -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' );
|
||||
});
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* globals _wpCustomizeHeader */
|
||||
(function( $, wp, _ ) {
|
||||
|
||||
if ( ! wp || ! wp.customize ) { return; }
|
||||
|
@ -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;
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* global _wpMediaViewsL10n, _wpmejsSettings, MediaElementPlayer,
|
||||
confirm, getUserSetting, setUserSetting */
|
||||
/* global _wpMediaViewsL10n, confirm, getUserSetting, setUserSetting */
|
||||
(function($, _){
|
||||
var media = wp.media, l10n;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user