X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fckeditor_base.js;h=c1db640fa61ddcfc893dc683d2536cc319144e7d;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hp=de403e9d9fdbee50d6dcf44f0130834fc21bf20b;hpb=614511639979907ceb0da3614122a4d8eb963ad4;p=ckeditor.git diff --git a/_source/core/ckeditor_base.js b/_source/core/ckeditor_base.js index de403e9..c1db640 100644 --- a/_source/core/ckeditor_base.js +++ b/_source/core/ckeditor_base.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -12,7 +12,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license // 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.4.3',rev:'6236',_:{},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.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;})(); // #### Raw code // ATTENTION: read the above "Compressed Code" notes when changing this code. @@ -42,7 +42,7 @@ if ( !window.CKEDITOR ) // The production implementation contains a fixed timestamp, unique // for each release, generated by the releaser. // (Base 36 value of each component of YYMMDDHH - 4 chars total - e.g. 87bm == 08071122) - timestamp : 'ABH04T8', + timestamp : 'B1CB4XQ', /** * Contains the CKEditor version number. @@ -50,7 +50,7 @@ if ( !window.CKEDITOR ) * @example * alert( CKEDITOR.version ); // e.g. 'CKEditor 3.4.1' */ - version : '3.4.3', + version : '3.5.1', /** * Contains the CKEditor revision number. @@ -60,7 +60,7 @@ if ( !window.CKEDITOR ) * @example * alert( CKEDITOR.revision ); // e.g. '3975' */ - revision : '6236', + revision : '6398', /** * Private object used to hold core stuff. It should not be used out of @@ -77,11 +77,11 @@ if ( !window.CKEDITOR ) *
  • basic_loaded: the basic API features are available.
  • *
  • basic_ready: the basic API is ready to load the full core code.
  • *
  • loading: the full API is being loaded.
  • - *
  • ready: the API can be fully used.
  • + *
  • loaded: the API can be fully used.
  • * * @type String * @example - * if ( CKEDITOR.status == 'ready' ) + * if ( CKEDITOR.status == 'loaded' ) * { * // The API can now be fully used. * } @@ -123,7 +123,7 @@ if ( !window.CKEDITOR ) // In IE (only) the script.src string is the raw valued entered in the // HTML. Other browsers return the full resolved URL instead. - if ( path.indexOf('://') == -1 ) + if ( path.indexOf(':/') == -1 ) { // Absolute path. if ( path.indexOf( '/' ) === 0 ) @@ -165,7 +165,7 @@ if ( !window.CKEDITOR ) getUrl : function( resource ) { // If this is not a full or absolute path. - if ( resource.indexOf('://') == -1 && resource.indexOf( '/' ) !== 0 ) + if ( resource.indexOf(':/') == -1 && resource.indexOf( '/' ) !== 0 ) resource = this.basePath + resource; // Add the timestamp, except for directories.