JS linting for [27497].

see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@27498 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-03-11 04:19:25 +00:00
parent 6f2544944f
commit a9b6b9339f
3 changed files with 3 additions and 4 deletions

View File

@ -420,7 +420,7 @@
* @param {event} event
*/
openMedia: function(event) {
var title, suggestedWidth, suggestedHeight,
var suggestedWidth, suggestedHeight,
l10n = _wpMediaViewsL10n;
event.preventDefault();

View File

@ -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
} );
},

View File

@ -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();
});