Skip to content

Commit

Permalink
chore: remove listener for deprecated DOMNodeInserted event (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenichols authored Feb 7, 2024
1 parent 727467d commit dc37aa5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/drivers/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ export let script : ComponentDriverType<*, Document> = {
}

scan();
document.addEventListener('DOMContentLoaded', scan);
window.addEventListener('load', scan);

document.addEventListener('DOMNodeInserted', event => {
// $FlowFixMe
render(event.target);
});
}
};

0 comments on commit dc37aa5

Please sign in to comment.