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:
Andrew Nacin 2014-03-11 04:20:14 +00:00
parent a589d9d757
commit 69ccc8b53d
4 changed files with 4 additions and 5 deletions

View File

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

View File

@ -1,4 +1,4 @@
/* globals _wpCustomizeHeader, _wpCustomizeSettings */ /* globals _wpCustomizeHeader */
(function( $, wp ) { (function( $, wp ) {
var api = wp.customize; var api = wp.customize;
api.HeaderTool = {}; api.HeaderTool = {};
@ -88,7 +88,7 @@
nonce: _wpCustomizeHeader.nonces.add, nonce: _wpCustomizeHeader.nonces.add,
wp_customize: 'on', wp_customize: 'on',
theme: api.settings.theme.stylesheet, 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.text(l10n.cropping);
this.$el.attr('disabled', true); this.$el.attr('disabled', true);
this.controller.state().doCrop( selection ).done( function( croppedImage ) { this.controller.state().doCrop( selection ).done( function( croppedImage ) {
console.log( croppedImage );
self.controller.trigger('cropped', croppedImage ); self.controller.trigger('cropped', croppedImage );
self.controller.close(); self.controller.close();
}); });

File diff suppressed because one or more lines are too long