source: trunk/admin/inc/ckeditor/ckeditor_source.js@ 404

Last change on this file since 404 was 239, checked in by luc, 9 years ago

Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.

  • Property svn:executable set to *
File size: 1.9 KB
RevLine 
[239]1/*
2Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3For 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*/
8if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.6.2',revision:'7275',_:{},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
15if ( CKEDITOR.loader )
16 CKEDITOR.loader.load( 'core/ckeditor' );
17else
18{
19 // Set the script name to be loaded by the loader.
20 CKEDITOR._autoLoad = 'core/ckeditor';
21
22 // Include the loader script.
23 if ( document.body && (!document.readyState || document.readyState == 'complete') )
24 {
25 var script = document.createElement( 'script' );
26 script.type = 'text/javascript';
27 script.src = CKEDITOR.getUrl( '_source/core/loader.js' );
28 document.body.appendChild( script );
29 }
30 else
31 {
32 document.write(
33 '<script type="text/javascript" src="' + CKEDITOR.getUrl( '_source/core/loader.js' ) + '"></script>' );
34 }
35}
Note: See TracBrowser for help on using the repository browser.