JS linting for [27497].
see #21785. Built from https://develop.svn.wordpress.org/trunk@27498 git-svn-id: http://core.svn.wordpress.org/trunk@27340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a589d9d757
commit
69ccc8b53d
|
@ -420,7 +420,7 @@
|
|||
* @param {event} event
|
||||
*/
|
||||
openMedia: function(event) {
|
||||
var title, suggestedWidth, suggestedHeight,
|
||||
var suggestedWidth, suggestedHeight,
|
||||
l10n = _wpMediaViewsL10n;
|
||||
|
||||
event.preventDefault();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* globals _wpCustomizeHeader, _wpCustomizeSettings */
|
||||
/* globals _wpCustomizeHeader */
|
||||
(function( $, wp ) {
|
||||
var api = wp.customize;
|
||||
api.HeaderTool = {};
|
||||
|
@ -88,7 +88,7 @@
|
|||
nonce: _wpCustomizeHeader.nonces.add,
|
||||
wp_customize: 'on',
|
||||
theme: api.settings.theme.stylesheet,
|
||||
attachment_id: data.attachment_id,
|
||||
attachment_id: data.attachment_id
|
||||
} );
|
||||
},
|
||||
|
||||
|
|
|
@ -1381,7 +1381,6 @@
|
|||
this.$el.text(l10n.cropping);
|
||||
this.$el.attr('disabled', true);
|
||||
this.controller.state().doCrop( selection ).done( function( croppedImage ) {
|
||||
console.log( croppedImage );
|
||||
self.controller.trigger('cropped', croppedImage );
|
||||
self.controller.close();
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue