X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fckeditor_base.js;h=85f77514980356fe3f6a743cc59702b93f12e7f5;hb=1056598c95187351dc58f4991d331e2258d038b5;hp=c1db640fa61ddcfc893dc683d2536cc319144e7d;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/core/ckeditor_base.js b/_source/core/ckeditor_base.js index c1db640..85f7751 100644 --- a/_source/core/ckeditor_base.js +++ b/_source/core/ckeditor_base.js @@ -9,14 +9,23 @@ For licensing, see LICENSE.html or http://ckeditor.com/license */ // #### Compressed Code -// Must be updated on changes in the script, as well as updated in the +// Must be updated on changes in the script as well as updated in the // ckeditor_source.js and ckeditor_basic_source.js files. -// if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.5.1',rev:'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.5.4',rev:'6899',_:{},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;})(); // #### Raw code // ATTENTION: read the above "Compressed Code" notes when changing this code. +/* @Packager.RemoveLine +// Avoid having the editor code initialized twice. (#7588) +// Use CKEDITOR.dom to check whether the full ckeditor.js code has been loaded +// or just ckeditor_basic.js. +// Remove these lines when compressing manually. +if ( window.CKEDITOR && window.CKEDITOR.dom ) + return; +@Packager.RemoveLine */ + if ( !window.CKEDITOR ) { /** @@ -33,16 +42,16 @@ if ( !window.CKEDITOR ) /** * A constant string unique for each release of CKEditor. Its value * is used, by default, to build the URL for all resources loaded - * by the editor code, guaranteing clean cache results when + * by the editor code, guaranteeing clean cache results when * upgrading. * @type String * @example * alert( CKEDITOR.timestamp ); // e.g. '87dm' */ // The production implementation contains a fixed timestamp, unique - // for each release, generated by the releaser. + // for each release and generated by the releaser. // (Base 36 value of each component of YYMMDDHH - 4 chars total - e.g. 87bm == 08071122) - timestamp : 'B1CB4XQ', + timestamp : 'B49D5BN', /** * Contains the CKEditor version number. @@ -50,7 +59,7 @@ if ( !window.CKEDITOR ) * @example * alert( CKEDITOR.version ); // e.g. 'CKEditor 3.4.1' */ - version : '3.5.1', + version : '3.5.4', /** * Contains the CKEditor revision number. @@ -60,10 +69,10 @@ if ( !window.CKEDITOR ) * @example * alert( CKEDITOR.revision ); // e.g. '3975' */ - revision : '6398', + revision : '6899', /** - * Private object used to hold core stuff. It should not be used out of + * Private object used to hold core stuff. It should not be used outside of * the API code as properties defined here may change at any time * without notice. * @private @@ -71,7 +80,7 @@ if ( !window.CKEDITOR ) _ : {}, /** - * Indicates the API loading status. The following status are available: + * Indicates the API loading status. The following statuses are available: *