瀏覽代碼

Fixed linter.

Piotr Jasiun 7 年之前
父節點
當前提交
f69f4e0c2f
共有 1 個文件被更改,包括 0 次插入2 次删除
  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' ) {