Przeglądaj źródła

Comments cleanup.

Piotrek Koszuliński 10 lat temu
rodzic
commit
6f1b4e57c2
1 zmienionych plików z 1 dodań i 7 usunięć
  1. 1 7
      packages/ckeditor5-engine/src/editorconfig.js

+ 1 - 7
packages/ckeditor5-engine/src/editorconfig.js

@@ -20,7 +20,7 @@ import Config from './config.js';
 
 export default class EditorConfig extends Config {
 	/**
-	 * @inheritdoc Config#get
+	 * @inheritdoc core.Config#get
 	 */
 	get() {
 		// Try to take it from this editor instance.
@@ -28,12 +28,6 @@ export default class EditorConfig extends Config {
 
 		// If the configuration is not defined in the instance, try to take it from CKEDITOR.config.
 		if ( typeof value == 'undefined' ) {
-			// There is a circular dependency issue here: CKEDITOR -> Editor -> EditorConfig -> CKEDITOR.
-			// Therefore we need to require() it again here. That's why the parameter was named CKE.
-			//
-			// Note additionally that we still keep 'ckeditor' in the dependency list for correctness, to ensure
-			// that the module is loaded.
-
 			value = super.get.apply( CKEDITOR.config, arguments );
 		}