Procházet zdrojové kódy

Fixes iterator occurrences.

Maciej Bukowski před 8 roky
rodič
revize
802364b551

+ 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>}
 	 */