Procházet zdrojové kódy

Removed obsolete and invalid code.

Kamil Piechaczek před 5 roky
rodič
revize
ca348313f6
1 změnil soubory, kde provedl 0 přidání a 16 odebrání
  1. 0 16
      packages/ckeditor5-engine/src/view/node.js

+ 0 - 16
packages/ckeditor5-engine/src/view/node.js

@@ -117,22 +117,6 @@ export default class Node {
 		return root;
 	}
 
-	/**
-	 * {@link module:engine/view/document~Document View document} that owns this node, or `null` if the node is inside
-	 * {@link module:engine/view/documentfragment~DocumentFragment document fragment}.
-	 *
-	 * @readonly
-	 * @type {module:engine/view/document~Document|null}
-	 */
-	// get document() {
-	// 	// Parent might be Node, null or DocumentFragment.
-	// 	if ( this.parent instanceof Node ) {
-	// 		return this.parent.document;
-	// 	} else {
-	// 		return null;
-	// 	}
-	// }
-
 	/**
 	 * Gets a path to the node. The path is an array containing indices of consecutive ancestors of this node,
 	 * beginning from {@link module:engine/view/node~Node#root root}, down to this node's index.