X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fcore%2Floader.js;h=ccc9701bc28e0491d81016e04c91747d4f3df58c;hp=92648a027dca202499a587bdd4b2a81a804baa1b;hb=c6e377a02b54abc07129d72b632763c727476a15;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6 diff --git a/_source/core/loader.js b/_source/core/loader.js index 92648a0..ccc9701 100644 --- a/_source/core/loader.js +++ b/_source/core/loader.js @@ -107,7 +107,7 @@ if ( !CKEDITOR.loader ) return path; })(); - var timestamp = 'A06B'; + var timestamp = 'A1QD'; var getUrl = function( resource ) { @@ -156,8 +156,8 @@ if ( !CKEDITOR.loader ) // We must guarantee the execution order of the scripts, so we // need to load them one by one. (#4145) - // The followin if/else block has been taken from the scriptloader core code. - if ( CKEDITOR.env.ie ) + // The following if/else block has been taken from the scriptloader core code. + if ( typeof(script.onreadystatechange) !== "undefined" ) { /** @ignore */ script.onreadystatechange = function() @@ -185,7 +185,7 @@ if ( !CKEDITOR.loader ) /** * Loads a specific script, including its dependencies. This is not a - * synchronous loading, which means that the code the be loaded will + * synchronous loading, which means that the code to be loaded will * not necessarily be available after this call. * @example * CKEDITOR.loader.load( 'core/dom/element' ); @@ -212,7 +212,10 @@ if ( !CKEDITOR.loader ) var scriptSrc = getUrl( '_source/' + scriptName + '.js' ); // Append the