JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / core / ckeditor_basic.js
index 239aca0..a2ef2cb 100644 (file)
@@ -29,7 +29,7 @@ if ( CKEDITOR.status == 'unloaded' )
                        // 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
@@ -77,7 +77,7 @@ if ( CKEDITOR.status == 'unloaded' )
                 * // 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
@@ -137,10 +137,7 @@ if ( CKEDITOR.status == 'unloaded' )
                        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
@@ -174,9 +171,9 @@ if ( CKEDITOR.status == 'unloaded' )
 \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
+                                       name = textarea.name;\r
 \r
                                // The "name" and/or "id" attribute must exist.\r
                                if ( !textarea.name && !textarea.id )\r