-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Match simple-shared-worker/multiply.js
to use same event-handler loop as simple-web-worker/main.js
#284
Conversation
…op logic as `simple-web-worker/main.js`
Thanks a lot for opening this one. Related PR landed similar fixes in: |
@Marcial1234 Would you like to open a pull request in mdn/content that makes this consistent there, too? |
Sure!
…On Thu, Dec 12, 2024, 10:39 AM Brian Smith ***@***.***> wrote:
@Marcial1234 <https://github.com/Marcial1234> Would you like to open a
pull request in mdn/content that makes this consistent there, too?
—
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABACYZA4QR3IZGYPRZ4QVQ32FG34RAVCNFSM6AAAAABSFKE5JCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZZGQ2TSMJXGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great, I'm going to merge this one and the content improvements shortly! Well done and thank you!
Caught this small inconsistency - on one SW each event handler is attached separately, in the other they're done inside a loop.
Less code seems better.
See local reference
Perhaps the external reference could be reduced/simplified as well?