From b26dcbc69d56b6ac5780520dad47f10460127d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 17 Jan 2021 00:32:59 +0100 Subject: chore: Enforce ban-untagged-todo lint rule (#9135) --- op_crates/web/01_event.js | 2 +- op_crates/web/21_filereader.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'op_crates/web') diff --git a/op_crates/web/01_event.js b/op_crates/web/01_event.js index f4932179e..578f771f6 100644 --- a/op_crates/web/01_event.js +++ b/op_crates/web/01_event.js @@ -668,7 +668,7 @@ setRelatedTarget(eventImpl, null); } - // TODO: invoke activation targets if HTML nodes will be implemented + // TODO(bartlomieju): invoke activation targets if HTML nodes will be implemented // if (activationTarget !== null) { // if (!eventImpl.defaultPrevented) { // activationTarget._activationBehavior(); diff --git a/op_crates/web/21_filereader.js b/op_crates/web/21_filereader.js index c82c52864..eee96e9d8 100644 --- a/op_crates/web/21_filereader.js +++ b/op_crates/web/21_filereader.js @@ -61,7 +61,7 @@ if (!chunk.done && chunk.value instanceof Uint8Array) { chunks.push(chunk.value); - // TODO: (only) If roughly 50ms have passed since last progress + // TODO(bartlomieju): (only) If roughly 50ms have passed since last progress { const size = chunks.reduce((p, i) => p + i.byteLength, 0); const ev = new ProgressEvent("progress", { -- cgit v1.2.3