Changeset 32125
- Timestamp:
- 04/14/2015 03:30:16 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r32066 r32125 5 5 BUILD_DIR = 'build/', 6 6 mediaConfig = {}, 7 mediaBuilds = ['audio -video', 'grid', 'models', 'views'];7 mediaBuilds = ['audiovideo', 'grid', 'models', 'views']; 8 8 9 9 // Load tasks. … … 13 13 14 14 mediaBuilds.forEach( function ( build ) { 15 var path = SOURCE_DIR + 'wp-includes/js/media /';15 var path = SOURCE_DIR + 'wp-includes/js/media'; 16 16 mediaConfig[ build ] = { files : {} }; 17 mediaConfig[ build ].files[ path + build + '.js' ] = [ path+ build + '.manifest.js' ];17 mediaConfig[ build ].files[ path + '-' + build + '.js' ] = [ path + '/' + build + '.manifest.js' ]; 18 18 } ); 19 19 … … 63 63 src: [ 64 64 '**', 65 '!wp-includes/js/media/**', 65 66 '!**/.{svn,git}/**', // Ignore version control directories. 66 67 // Ignore unminified versions of external libs we don't ship: … … 273 274 browserify: true 274 275 }, 275 expand: true, 276 cwd: SOURCE_DIR, 277 src: [ 278 'wp-includes/js/media/**/*.js', 279 '!wp-includes/js/media/*.js', 280 'wp-includes/js/media/*.manifest.js' 276 src: [ 277 SOURCE_DIR + 'wp-includes/js/media/**/*.js' 281 278 ] 282 279 }, … … 287 284 'wp-admin/js/*.js', 288 285 'wp-includes/js/*.js', 286 // Built scripts. 287 '!wp-includes/js/media-*', 289 288 // WordPress scripts inside directories 290 289 'wp-includes/js/jquery/jquery.table-hotkeys.js', … … 629 628 'cssmin:rtl', 630 629 'cssmin:colors', 631 'browserify',632 630 'uglify:core', 633 'uglify:media',634 631 'uglify:jqueryui', 635 632 'concat:tinymce', -
trunk/src/wp-admin/includes/update-core.php
r31405 r32125 695 695 'wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js', 696 696 'wp-includes/js/jquery/ui/jquery.ui.widget.min.js', 697 'wp-includes/js/tinymce/skins/wordpress/images/dashicon-no-alt.png', 698 // 4.2 699 'wp-includes/js/media-audiovideo.js', 700 'wp-includes/js/media-audiovideo.min.js', 701 'wp-includes/js/media-grid.js', 702 'wp-includes/js/media-grid.min.js', 703 'wp-includes/js/media-models.js', 704 'wp-includes/js/media-models.min.js', 705 'wp-includes/js/media-views.js', 706 'wp-includes/js/media-views.min.js', 697 'wp-includes/js/tinymce/skins/wordpress/images/dashicon-no-alt.png' 707 698 ); 708 699 -
trunk/src/wp-includes/css/media-views.css
r32121 r32125 740 740 margin-right: 2%; 741 741 max-width: 42%; 742 max-width: -webkit-calc(48% - 12px); 742 743 max-width: calc(48% - 12px); 743 744 } -
trunk/src/wp-includes/script-loader.php
r31994 r32125 411 411 412 412 $scripts->add( 'shortcode', "/wp-includes/js/shortcode$suffix.js", array( 'underscore' ), false, 1 ); 413 $scripts->add( 'media-models', "/wp-includes/js/media /models$suffix.js", array( 'wp-backbone' ), false, 1 );413 $scripts->add( 'media-models', "/wp-includes/js/media-models$suffix.js", array( 'wp-backbone' ), false, 1 ); 414 414 did_action( 'init' ) && $scripts->localize( 'media-models', '_wpMediaModelsL10n', array( 415 415 'settings' => array( … … 421 421 // To enqueue media-views or media-editor, call wp_enqueue_media(). 422 422 // Both rely on numerous settings, styles, and templates to operate correctly. 423 $scripts->add( 'media-views', "/wp-includes/js/media /views$suffix.js", array( 'utils', 'media-models', 'wp-plupload', 'jquery-ui-sortable', 'wp-mediaelement' ), false, 1 );423 $scripts->add( 'media-views', "/wp-includes/js/media-views$suffix.js", array( 'utils', 'media-models', 'wp-plupload', 'jquery-ui-sortable', 'wp-mediaelement' ), false, 1 ); 424 424 $scripts->add( 'media-editor', "/wp-includes/js/media-editor$suffix.js", array( 'shortcode', 'media-views' ), false, 1 ); 425 $scripts->add( 'media-audiovideo', "/wp-includes/js/media /audio-video$suffix.js", array( 'media-editor' ), false, 1 );425 $scripts->add( 'media-audiovideo', "/wp-includes/js/media-audiovideo$suffix.js", array( 'media-editor' ), false, 1 ); 426 426 $scripts->add( 'mce-view', "/wp-includes/js/mce-view$suffix.js", array( 'shortcode', 'media-models', 'media-audiovideo', 'wp-playlist' ), false, 1 ); 427 427 … … 557 557 $scripts->add( 'list-revisions', "/wp-includes/js/wp-list-revisions$suffix.js" ); 558 558 559 $scripts->add( 'media-grid', "/wp-includes/js/media /grid$suffix.js", array( 'media-editor' ), false, 1 );559 $scripts->add( 'media-grid', "/wp-includes/js/media-grid$suffix.js", array( 'media-editor' ), false, 1 ); 560 560 $scripts->add( 'media', "/wp-admin/js/media$suffix.js", array( 'jquery' ), false, 1 ); 561 561 did_action( 'init' ) && $scripts->localize( 'media', 'attachMediaBoxL10n', array(
Note: See TracChangeset
for help on using the changeset viewer.