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:
parent
00924f6275
commit
4ad3972f74
|
@ -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