Make WordPress Core

Changeset 19952


Ignore:
Timestamp:
02/19/2012 01:46:48 AM (13 years ago)
Author:
nacin
Message:

Update TinyMCE mark loaded src. see #19592.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/mark_loaded_src.js

    r19945 r19952  
    1 (function(){
    2     if ( 'undefined' == tinyMCEPreInit )
     1(function(undefined){
     2    if ( undefined === tinyMCEPreInit )
    33        return;
    44
    5     var baseurl = tinyMCEPreInit.base, sl = tinymce.ScriptLoader, lang = tinyMCEPreInit.ref.language,
    6         theme = tinyMCEPreInit.ref.theme, plugins = tinyMCEPreInit.ref.plugins, suffix = tinyMCEPreInit.suffix;
     5    var t = tinyMCEPreInit, baseurl = t.base, markDone = tinymce.ScriptLoader.markDone, lang = t.ref.language,
     6        theme = t.ref.theme, plugins = t.ref.plugins, suffix = t.suffix;
    77
    8     sl.markDone( baseurl+'/langs/'+lang+'.js' );
    9     sl.markDone( baseurl+'/themes/'+theme+'/editor_template'+suffix+'.js' );
    10     sl.markDone( baseurl+'/themes/'+theme+'/langs/'+lang+'.js' );
    11     sl.markDone( baseurl+'/themes/'+theme+'/langs/'+lang+'_dlg.js' );
     8    markDone( baseurl+'/langs/'+lang+'.js' );
     9    markDone( baseurl+'/themes/'+theme+'/editor_template'+suffix+'.js' );
     10    markDone( baseurl+'/themes/'+theme+'/langs/'+lang+'.js' );
     11    markDone( baseurl+'/themes/'+theme+'/langs/'+lang+'_dlg.js' );
    1212
    1313    tinymce.each( plugins.split(','), function(plugin){
    1414        if ( plugin && plugin.charAt(0) != '-' ) {
    15             sl.markDone( baseurl+'/plugins/'+plugin+'/editor_plugin'+suffix+'.js' );
    16             sl.markDone( baseurl+'/plugins/'+plugin+'/langs/'+lang+'.js' );
    17             sl.markDone( baseurl+'/plugins/'+plugin+'/langs/'+lang+'_dlg.js' )
     15            markDone( baseurl+'/plugins/'+plugin+'/editor_plugin'+suffix+'.js' );
     16            markDone( baseurl+'/plugins/'+plugin+'/langs/'+lang+'.js' );
     17            markDone( baseurl+'/plugins/'+plugin+'/langs/'+lang+'_dlg.js' )
    1818        }
    1919    });
Note: See TracChangeset for help on using the changeset viewer.