/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
// If not the basic code is not ready it, just mark it to be loaded.\r
if ( CKEDITOR.status != 'basic_ready' )\r
{\r
- CKEDITOR.loadFullCore._load = true;\r
+ CKEDITOR.loadFullCore._load = 1;\r
return;\r
}\r
\r
* // Disable the auto-replace feature.\r
* <b>CKEDITOR.replaceByClassEnabled</b> = false;\r
*/\r
- CKEDITOR.replaceByClassEnabled = true;\r
+ CKEDITOR.replaceByClassEnabled = 1;\r
\r
var createInstance = function( elementOrIdOrName, config, creationFunction, data )\r
{\r
return createInstance( elementOrId, config, CKEDITOR.editor.appendTo, data );\r
};\r
\r
- /**\r
- * @ignore\r
- * Documented at ckeditor.js.\r
- */\r
+ // Documented at ckeditor.js.\r
CKEDITOR.add = function( editor )\r
{\r
// For now, just put the editor in the pending list. It will be\r
\r
for ( var i = 0 ; i < textareas.length ; i++ )\r
{\r
- var config = null;\r
- var textarea = textareas[i];\r
- var name = textarea.name;\r
+ var config = null,\r
+ textarea = textareas[i];\r
\r
// The "name" and/or "id" attribute must exist.\r
if ( !textarea.name && !textarea.id )\r