WordPress.org

Make WordPress Core

Changeset 28045


Ignore:
Timestamp:
04/08/2014 08:28:57 AM (6 years ago)
Author:
azaozz
Message:

Precommit cleanup for theme.js, editor.css amd wpdialogs/plugin.js, See #27055, #26907, #16284

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/theme.js

    r28038 r28045  
    2323    // Map `id` to `slug` for shared code
    2424    initialize: function() {
    25         var install, installed;
     25        var install;
    2626
    2727        // Install url for the theme
     
    12051205
    12061206        // Handles search route event
    1207         themes.router.on( 'route:search', function( query ) {
     1207        themes.router.on( 'route:search', function() {
    12081208            $( '.theme-search' ).trigger( 'keyup' );
    12091209        });
     
    15491549    search: function( query ) {
    15501550        $( '.theme-search' ).val( query );
    1551     },
     1551    }
    15521552});
    15531553
     
    16051605
    16061606        // Handles search route event
    1607         themes.router.on( 'route:search', function( query ) {
     1607        themes.router.on( 'route:search', function() {
    16081608            $( '.theme-search' ).focus().trigger( 'keyup' );
    16091609        });
  • trunk/src/wp-includes/css/editor.css

    r28043 r28045  
    15201520    z-index: 100020;
    15211521    background: #fff;
    1522     transition-property: height;
    1523     transition-duration: 0.2s;
     1522    -webkit-transition: height 0.2s;
     1523    transition: height 0.2s;
    15241524}
    15251525
  • trunk/src/wp-includes/js/tinymce/plugins/wpdialogs/plugin.js

    r28024 r28045  
    3333            // wpdialog.js is not loaded
    3434            if ( window.console && window.console.error ) {
    35                 window.console.error("wpdialog.js is not loaded. Please set 'wpdialogs' as dependency for your script when calling wp_enqueue_script(). You may also want to enqueue the 'wp-jquery-ui-dialog' stylesheet.");
     35                window.console.error('wpdialog.js is not loaded. Please set "wpdialogs" as dependency for your script when calling wp_enqueue_script(). You may also want to enqueue the "wp-jquery-ui-dialog" stylesheet.');
    3636            }
    3737
Note: See TracChangeset for help on using the changeset viewer.