JAVASCRIPT 7
Ckeditor_basic_source.js Guest on 8th April 2021 04:14:47 AM
  1. /*
  2. Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
  3. For licensing, see LICENSE.html or http://ckeditor.com/license
  4. */
  5.  
  6. // Compressed version of core/ckeditor_base.js. See original for instructions.
  7. /*jsl:ignore*/
  8. if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.0',revision:'4148',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf('://')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf('://')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=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;})();
  9. /*jsl:end*/
  10.  
  11. // Uncomment the following line to have a new timestamp generated for each
  12. // request, having clear cache load of the editor code.
  13. // CKEDITOR.timestamp = ( new Date() ).valueOf();
  14.  
  15. // Set the script name to be loaded by the loader.
  16. CKEDITOR._autoLoad = 'core/ckeditor_basic';
  17.  
  18. // Include the loader script.
  19. document.write(
  20.       '<script type="text/javascript" src="' + CKEDITOR.getUrl( '_source/core/loader.js' ) + '"></script>' );

Paste-bin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.