Skip to content

Commit

Permalink
Remove TODO, see #28 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter committed Mar 14, 2019
1 parent 715c044 commit 1d49c60
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib/FakeEventTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ abstract class FakeEventTarget {
event.target = this;
// NOT SURE WHEN THIS SHOULD BE SET event.eventPath = [];

// TODO: do we need to copy the listeners array to prevent
// cross-phase mutation?

event.eventPhase = event.CAPTURING_PHASE;
for (const obj of event.eventPath) {
if (!event.propagationStopped) {
Expand Down

0 comments on commit 1d49c60

Please sign in to comment.