Browse Source

API docs... Ekhm.

Piotrek Koszuliński 10 years ago
parent
commit
cec91884b5
1 changed files with 2 additions and 3 deletions
  1. 2 3
      packages/ckeditor5-utils/src/document/node.js

+ 2 - 3
packages/ckeditor5-utils/src/document/node.js

@@ -58,12 +58,11 @@ CKEDITOR.define( [ 'document/attribute', 'utils', 'ckeditorerror' ], function( A
 			// No parent or child doesn't exist in parent's children.
 			if ( ( pos = this.parent.getChildIndex( this ) ) == -1 ) {
 				/**
-				 * The nodes parent does not contain that node. It means that document tree is corrupted.
+				 * The node's parent does not contain this node. It means that the document tree is corrupted.
 				 *
 				 * @error node-not-found-in-parent
-				 * @param {document.Node} node
 				 */
-				throw new CKEditorError( 'node-not-found-in-parent: The node\'s parent does not contain that node.' );
+				throw new CKEditorError( 'node-not-found-in-parent: The node\'s parent does not contain this node.' );
 			}
 
 			return pos;