소스 검색

Fixes iterator occurrences.

Maciej Bukowski 8 년 전
부모
커밋
802364b551
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-engine/src/model/liveselection.js
  2. 1 1
      packages/ckeditor5-engine/src/view/selection.js

+ 1 - 1
packages/ckeditor5-engine/src/model/liveselection.js

@@ -507,7 +507,7 @@ export default class LiveSelection extends Selection {
 	}
 
 	/**
-	 * Returns an iterator that iterates through all selection attributes stored in current selection's parent.
+	 * Returns an iterable that iterates through all selection attributes stored in current selection's parent.
 	 *
 	 * @private
 	 * @returns {Iterable.<*>}

+ 1 - 1
packages/ckeditor5-engine/src/view/selection.js

@@ -222,7 +222,7 @@ export default class Selection {
 	}
 
 	/**
-	 * Returns an iterator that contains copies of all ranges added to the selection.
+	 * Returns an iterable that contains copies of all ranges added to the selection.
 	 *
 	 * @returns {Iterable.<module:engine/view/range~Range>}
 	 */