diff options
author | Benjamin Gruenbaum <benjamingr@gmail.com> | 2020-12-07 22:22:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 21:22:58 +0100 |
commit | b566d184fedcd0fae3de19a54adfa5ce09466cc1 (patch) | |
tree | 958e668e88e7ce0382042d6a61b590884374bf34 /docs/runtime | |
parent | 43a35b005f9f4631dd97a9db0f41ad76eaed941e (diff) |
refactor(cli/rt): deduplicate code (#8649)
Diffstat (limited to 'docs/runtime')
-rw-r--r-- | docs/runtime/program_lifecycle.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/runtime/program_lifecycle.md b/docs/runtime/program_lifecycle.md index f0ebbd448..72e21c4f4 100644 --- a/docs/runtime/program_lifecycle.md +++ b/docs/runtime/program_lifecycle.md @@ -75,4 +75,5 @@ defined in `imported.ts`. In other words, you can register multiple `window.addEventListener` `"load"` or `"unload"` events, but only the last loaded `window.onload` or `window.onunload` -events will be executed. +event handlers will be executed. It is preferable to use `addEventListener` when +possible for this reason. |