ソースを参照

Internal (utils): Remove unused `_remove()` call parameter.

Marek Lewandowski 5 年 前
コミット
8e5b33cb5e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/ckeditor5-utils/src/collection.js

+ 1 - 1
packages/ckeditor5-utils/src/collection.js

@@ -364,7 +364,7 @@ export default class Collection {
 		const removedItems = Array.from( this._items );
 		const removedItems = Array.from( this._items );
 
 
 		while ( this.length ) {
 		while ( this.length ) {
-			this._remove( 0, true );
+			this._remove( 0 );
 		}
 		}
 
 
 		this.fire( 'change', {
 		this.fire( 'change', {