Index: /CKEditor/branches/prototype/_source/core/editor.js
===================================================================
--- /CKEditor/branches/prototype/_source/core/editor.js	(revision 2353)
+++ /CKEditor/branches/prototype/_source/core/editor.js	(revision 2354)
@@ -57,5 +57,5 @@
 			// Call the cached CKEDITOR.editorConfig defined in the custom
 			// config file for the editor instance depending on it.
-			loadedConfig.fn.call( editor, editor );
+			loadedConfig.fn.call( editor, editor.config );
 
 			// If there is no other customConfig in the chain, fire the
Index: /CKEditor/branches/prototype/_source/core/htmlparser/fragment.js
===================================================================
--- /CKEditor/branches/prototype/_source/core/htmlparser/fragment.js	(revision 2353)
+++ /CKEditor/branches/prototype/_source/core/htmlparser/fragment.js	(revision 2354)
@@ -137,5 +137,5 @@
 					// If it is optional to close the current element, then
 					// close it at this point and simply add the new
-					// alement after it.
+					// element after it.
 					if ( !optionalClose[ currentName ] )
 					{
@@ -149,5 +149,5 @@
 				}
 
-				// In any of the following cases, we'll be adding, or trying to
+				// In any of the above cases, we'll be adding, or trying to
 				// add it to the parent.
 				currentNode = currentNode.parent;
Index: /CKEditor/branches/prototype/config.js
===================================================================
--- /CKEditor/branches/prototype/config.js	(revision 2353)
+++ /CKEditor/branches/prototype/config.js	(revision 2354)
@@ -20,8 +20,6 @@
  */
 
-CKEDITOR.editorConfig = function( editor )
+CKEDITOR.editorConfig = function( config )
 {
-	var config = editor.config;
-
 	// Define changes to default configuration here. For example:
 	// config.theme = 'mytheme';
