X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fckeditor_basic.js;h=93ce5cf99e434b880f0b21afc7ce5a6f438e8b67;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=239aca022b768f0692fd7c4bce3d63b937e2ed89;hpb=8665a7c6c60586526e32e8941fe2896739b6ebfb;p=ckeditor.git diff --git a/_source/core/ckeditor_basic.js b/_source/core/ckeditor_basic.js index 239aca0..93ce5cf 100644 --- a/_source/core/ckeditor_basic.js +++ b/_source/core/ckeditor_basic.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, 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 */ @@ -29,7 +29,7 @@ if ( CKEDITOR.status == 'unloaded' ) // If not the basic code is not ready it, just mark it to be loaded. if ( CKEDITOR.status != 'basic_ready' ) { - CKEDITOR.loadFullCore._load = true; + CKEDITOR.loadFullCore._load = 1; return; } @@ -77,7 +77,7 @@ if ( CKEDITOR.status == 'unloaded' ) * // Disable the auto-replace feature. * CKEDITOR.replaceByClassEnabled = false; */ - CKEDITOR.replaceByClassEnabled = true; + CKEDITOR.replaceByClassEnabled = 1; var createInstance = function( elementOrIdOrName, config, creationFunction, data ) { @@ -137,10 +137,7 @@ if ( CKEDITOR.status == 'unloaded' ) return createInstance( elementOrId, config, CKEDITOR.editor.appendTo, data ); }; - /** - * @ignore - * Documented at ckeditor.js. - */ + // Documented at ckeditor.js. CKEDITOR.add = function( editor ) { // For now, just put the editor in the pending list. It will be @@ -174,9 +171,8 @@ if ( CKEDITOR.status == 'unloaded' ) for ( var i = 0 ; i < textareas.length ; i++ ) { - var config = null; - var textarea = textareas[i]; - var name = textarea.name; + var config = null, + textarea = textareas[i]; // The "name" and/or "id" attribute must exist. if ( !textarea.name && !textarea.id )