X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=ckeditor_source.js;h=2e36a7edcacf5cc894d120ec804b0c5f2f75015e;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=5cb64c8df7b6169f5c40eb221ccf8348a76aa7eb;hpb=9873d66421922c7aef8be0f5d2ab51e547b19e66;p=ckeditor.git diff --git a/ckeditor_source.js b/ckeditor_source.js index 5cb64c8..2e36a7e 100644 --- a/ckeditor_source.js +++ b/ckeditor_source.js @@ -1,11 +1,11 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ // Compressed version of core/ckeditor_base.js. See original for instructions. /*jsl:ignore*/ -if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.4',revision:'5825',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})(); +if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.6.3',revision:'7474',rnd:Math.floor(Math.random()*900)+100,_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f=0?'&':'?')+'t='+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})(); /*jsl:end*/ // Uncomment the following line to have a new timestamp generated for each @@ -20,6 +20,16 @@ else CKEDITOR._autoLoad = 'core/ckeditor'; // Include the loader script. - document.write( - '' ); + if ( document.body && (!document.readyState || document.readyState == 'complete') ) + { + var script = document.createElement( 'script' ); + script.type = 'text/javascript'; + script.src = CKEDITOR.getUrl( '_source/core/loader.js' ); + document.body.appendChild( script ); + } + else + { + document.write( + '' ); + } }