X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fpiedsjaloux-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fcore%2Floader.js;fp=sources%2Fcore%2Floader.js;h=dc02511217c43e4d016df21f1bffff4c2d494797;hp=5a108dffed000ba75248c140064b5a348ce6b72c;hb=317f8f8f0651488f226b5280a8f036c7c135c639;hpb=1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c diff --git a/sources/core/loader.js b/sources/core/loader.js index 5a108df..dc02511 100644 --- a/sources/core/loader.js +++ b/sources/core/loader.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -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 );