Make WordPress Core

Ticket #26014: 26014.diff

File 26014.diff, 755 bytes (added by mdbitz, 11 years ago)

jshint cleanup of mark_loaded_src (missing semicolon and global variables)

  • src/wp-includes/js/tinymce/mark_loaded_src.js

     
     1/* global tinyMCEPreInit:false, tinymce:false */
    12(function(){
    23        if ( typeof tinyMCEPreInit === 'undefined' )
    34                return;
     
    1415                if ( plugin && plugin.charAt(0) != '-' ) {
    1516                        markDone( baseurl+'/plugins/'+plugin+'/editor_plugin'+suffix+'.js' );
    1617                        markDone( baseurl+'/plugins/'+plugin+'/langs/'+lang+'.js' );
    17                         markDone( baseurl+'/plugins/'+plugin+'/langs/'+lang+'_dlg.js' )
     18                        markDone( baseurl+'/plugins/'+plugin+'/langs/'+lang+'_dlg.js' );
    1819                }
    1920        });
    2021})();