Changeset 19952
- Timestamp:
- 02/19/2012 01:46:48 AM (13 years ago)
- 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 ) 3 3 return; 4 4 5 var baseurl = tinyMCEPreInit.base, sl = tinymce.ScriptLoader, lang = tinyMCEPreInit.ref.language,6 theme = t inyMCEPreInit.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; 7 7 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' ); 12 12 13 13 tinymce.each( plugins.split(','), function(plugin){ 14 14 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' ) 18 18 } 19 19 });
Note: See TracChangeset
for help on using the changeset viewer.