X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=ckeditor_source.js;h=362c23bc1a04ca980f7eaf1e10a6e3c16f3507f1;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=381bdd4d0dcaa5c0f76db713b5c9bb7c03b175b2;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/ckeditor_source.js b/ckeditor_source.js index 381bdd4..362c23b 100644 --- a/ckeditor_source.js +++ b/ckeditor_source.js @@ -1,11 +1,11 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, 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.5.1',revision:'6398',_:{},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.6',revision:'7689',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( + '' ); + } }