Fix JSHint errors introduced in [30120].

see #30193.
Built from https://develop.svn.wordpress.org/trunk@30123


git-svn-id: http://core.svn.wordpress.org/trunk@30123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2014-10-31 20:28:24 +00:00
parent 66c47f29bb
commit 2e76a697f6
3 changed files with 6 additions and 7 deletions

View File

@ -1315,7 +1315,7 @@
SettingsView = this.get('SettingsView'),
obj = {};
if ( ! library || ! browser ) {
if ( ! library || ! attachmentsBrowserView ) {
return;
}
@ -1327,17 +1327,17 @@
priority: 40
});
browser.sidebar.set( obj );
attachmentsBrowserView.sidebar.set( obj );
if ( dragInfoText ) {
browser.toolbar.set( 'dragInfo', new media.View({
attachmentsBrowserView.toolbar.set( 'dragInfo', new media.View({
el: $( '<div class="instructions">' + dragInfoText + '</div>' )[0],
priority: -40
}) );
}
// Add the 'Reverse order' button to the toolbar.
browser.toolbar.set( 'reverse', {
attachmentsBrowserView.toolbar.set( 'reverse', {
text: l10n.reverseOrder,
priority: 80,
@ -3383,7 +3383,6 @@
},
initialize: function( options ) {
debugger;
this.image = new media.model.PostImage( options.metadata );
this.options.selection = new media.model.Selection( this.image.attachment, { multiple: false } );
media.view.MediaFrame.Select.prototype.initialize.apply( this, arguments );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-alpha-30122';
$wp_version = '4.1-alpha-30123';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.