Kaynağa Gözat

Fixed linter.

Piotr Jasiun 7 yıl önce
ebeveyn
işleme
f69f4e0c2f
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      packages/ckeditor5-utils/src/collection.js

+ 0 - 2
packages/ckeditor5-utils/src/collection.js

@@ -216,8 +216,6 @@ export default class Collection {
 	 * @returns {Boolean} `true` if the collection contains the item, `false` otherwise.
 	 */
 	has( idOrIndex ) {
-		let item;
-
 		if ( typeof idOrIndex == 'string' ) {
 			return this._itemMap.has( idOrIndex );
 		} else if ( typeof idOrIndex == 'number' ) {