mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Make sure the audio-video
build does not load files from the views
build.
See #28510. Built from https://develop.svn.wordpress.org/trunk@31493 git-svn-id: http://core.svn.wordpress.org/trunk@31474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d9a2e85bfe
commit
7b8cdd61fd
File diff suppressed because it is too large
Load Diff
4
wp-includes/js/media/audio-video.min.js
vendored
4
wp-includes/js/media/audio-video.min.js
vendored
File diff suppressed because one or more lines are too long
@ -9,7 +9,7 @@
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
var State = require( './state.js' ),
|
||||
var State = wp.media.controller.State,
|
||||
l10n = wp.media.view.l10n,
|
||||
AudioDetails;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
* @augments wp.media.controller.State
|
||||
* @augments Backbone.Model
|
||||
*/
|
||||
var State = require( './state.js' ),
|
||||
var State = wp.media.controller.State,
|
||||
l10n = wp.media.view.l10n,
|
||||
VideoDetails;
|
||||
|
||||
|
@ -13,8 +13,9 @@
|
||||
* @augments Backbone.View
|
||||
* @mixes wp.media.controller.StateMachine
|
||||
*/
|
||||
var MediaDetails = require( './media-details' ),
|
||||
MediaLibrary = require( '../../controllers/media-library.js' ),
|
||||
var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
|
||||
MediaLibrary = wp.media.controller.MediaLibrary,
|
||||
|
||||
AudioDetailsView = require( '../audio-details.js' ),
|
||||
AudioDetailsController = require( '../../controllers/audio-details.js' ),
|
||||
l10n = wp.media.view.l10n,
|
||||
|
@ -12,9 +12,9 @@
|
||||
* @augments Backbone.View
|
||||
* @mixes wp.media.controller.StateMachine
|
||||
*/
|
||||
var View = require( '../view.js' ),
|
||||
Toolbar = require( '../toolbar.js' ),
|
||||
Select = require( './select.js' ),
|
||||
var View = wp.media.View,
|
||||
Toolbar = wp.media.view.Toolbar,
|
||||
Select = wp.media.view.MediaFrame.Select,
|
||||
l10n = wp.media.view.l10n,
|
||||
MediaDetails;
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
* @augments Backbone.View
|
||||
* @mixes wp.media.controller.StateMachine
|
||||
*/
|
||||
var MediaDetails = require( './media-details' ),
|
||||
MediaLibrary = require( '../../controllers/media-library.js' ),
|
||||
var MediaDetails = wp.media.view.MediaFrame.MediaDetails,
|
||||
MediaLibrary = wp.media.controller.MediaLibrary,
|
||||
VideoDetailsView = require( '../video-details.js' ),
|
||||
VideoDetailsController = require( '../../controllers/video-details.js' ),
|
||||
l10n = wp.media.view.l10n,
|
||||
|
@ -10,7 +10,7 @@
|
||||
* @augments wp.Backbone.View
|
||||
* @augments Backbone.View
|
||||
*/
|
||||
var AttachmentDisplay = require( './settings/attachment-display.js' ),
|
||||
var AttachmentDisplay = wp.media.view.Settings.AttachmentDisplay,
|
||||
$ = jQuery,
|
||||
MediaDetails;
|
||||
|
||||
@ -93,7 +93,7 @@ MediaDetails = AttachmentDisplay.extend({
|
||||
return;
|
||||
}
|
||||
|
||||
if ( this.media.src.indexOf( 'vimeo' ) && ! ( 'Froogaloop' in window ) ) {
|
||||
if ( this.media.src.indexOf( 'vimeo' ) > -1 && ! ( 'Froogaloop' in window ) ) {
|
||||
baseSettings = wp.media.mixin.mejsSettings;
|
||||
this.scriptXhr = $.getScript( baseSettings.pluginPath + 'froogaloop.min.js', _.bind( this.loadPlayer, this ) );
|
||||
} else {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31492';
|
||||
$wp_version = '4.2-alpha-31493';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user