diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
commit | 1794320dcfdfcd19572fb1676294f9853a6bbc20 (patch) | |
tree | a4c9e978947d6930d50391747382d7f95a5863e3 /sources/core/loader.js | |
parent | 7183f6a6a21ad9124e70c997e0168459f377a9f2 (diff) | |
download | ludivine-ckeditor-component-4.7.3.tar.gz ludivine-ckeditor-component-4.7.3.tar.zst ludivine-ckeditor-component-4.7.3.zip |
Diffstat (limited to 'sources/core/loader.js')
-rw-r--r-- | sources/core/loader.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { | |||
142 | } | 142 | } |
143 | 143 | ||
144 | // We must guarantee the execution order of the scripts, so we | 144 | // We must guarantee the execution order of the scripts, so we |
145 | // need to load them one by one. (#4145) | 145 | // need to load them one by one. (http://dev.ckeditor.com/ticket/4145) |
146 | // The following if/else block has been taken from the scriptloader core code. | 146 | // The following if/else block has been taken from the scriptloader core code. |
147 | if ( typeof script.onreadystatechange !== 'undefined' ) { | 147 | if ( typeof script.onreadystatechange !== 'undefined' ) { |
148 | /** @ignore */ | 148 | /** @ignore */ |
@@ -156,7 +156,7 @@ if ( !CKEDITOR.loader ) { | |||
156 | /** @ignore */ | 156 | /** @ignore */ |
157 | script.onload = function() { | 157 | script.onload = function() { |
158 | // Some browsers, such as Safari, may call the onLoad function | 158 | // Some browsers, such as Safari, may call the onLoad function |
159 | // immediately. Which will break the loading sequence. (#3661) | 159 | // immediately. Which will break the loading sequence. (http://dev.ckeditor.com/ticket/3661) |
160 | setTimeout( function() { | 160 | setTimeout( function() { |
161 | onScriptLoaded( scriptName ); | 161 | onScriptLoaded( scriptName ); |
162 | }, 0 ); | 162 | }, 0 ); |