소스 검색

Removed unused core.treeModel.TreeWalker#this._boundaryStartParent.

Szymon Cofalik 9 년 전
부모
커밋
19989a1bdf
1개의 변경된 파일1개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 8
      packages/ckeditor5-engine/src/treemodel/treewalker.js

+ 1 - 8
packages/ckeditor5-engine/src/treemodel/treewalker.js

@@ -56,14 +56,6 @@ export default class TreeWalker {
 		 */
 		this.boundaries = options.boundaries || null;
 
-		/**
-		 * Start boundary cached for optimization purposes.
-		 *
-		 * @private
-		 * @type {core.treeModel.Element}
-		 */
-		this._boundaryStartParent = this.boundaries ? this.boundaries.start.parent : null;
-
 		/**
 		 * End boundary cached for optimization purposes.
 		 *
@@ -156,6 +148,7 @@ export default class TreeWalker {
 			} else {
 				position.offset++;
 			}
+
 			this.position = position;
 
 			return formatReturnValue( 'ELEMENT_START', node, previousPosition, position, 1 );