X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fludivine-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fcore%2Floader.js;fp=sources%2Fcore%2Floader.js;h=dc02511217c43e4d016df21f1bffff4c2d494797;hp=249a8cf4ba2ed07171add76cc3bee92faec88b1a;hb=1794320dcfdfcd19572fb1676294f9853a6bbc20;hpb=7183f6a6a21ad9124e70c997e0168459f377a9f2 diff --git a/sources/core/loader.js b/sources/core/loader.js index 249a8cf..dc02511 100644 --- a/sources/core/loader.js +++ b/sources/core/loader.js @@ -142,7 +142,7 @@ if ( !CKEDITOR.loader ) { } // We must guarantee the execution order of the scripts, so we - // need to load them one by one. (#4145) + // need to load them one by one. (http://dev.ckeditor.com/ticket/4145) // The following if/else block has been taken from the scriptloader core code. if ( typeof script.onreadystatechange !== 'undefined' ) { /** @ignore */ @@ -156,7 +156,7 @@ if ( !CKEDITOR.loader ) { /** @ignore */ script.onload = function() { // Some browsers, such as Safari, may call the onLoad function - // immediately. Which will break the loading sequence. (#3661) + // immediately. Which will break the loading sequence. (http://dev.ckeditor.com/ticket/3661) setTimeout( function() { onScriptLoaded( scriptName ); }, 0 );