Repository navigation
Fix misleading code comment in Vibration API example - #46869
Merged
wbamberg merged 1 commit into
mdn:main from
jafersathikbwin:main
Dec 5, 2026
Merged
Conversation
Copy link
Copy Markdown
Contributor
Description
Updated the code comment above startVibrate() in the "Continued vibrations" example.
Motivation
The comment says vibration starts at a passed in "level", but the parameter is a duration in milliseconds. navigator.vibrate() has no intensity level, so the old wording could confuse readers.
Additional details
Comment-only change; no code behavior is affected.
Related issues and pull requests
None.
Fix misleading code comment in Vibration API example
06fb78d
jafersathikbwin
requested a review
from a team
as a
code owner
December 5, 2026 19:56
jafersathikbwin
requested review from
wbamberg
and removed request for
a team
December 5, 2026 19:56
github-actions
Bot
added
Content:WebAPI
Web API docs
size/xs
[PR only] 0-5 LoC changed
labels
Dec 5, 2026
wbamberg
approved these changes
Dec 5, 2026
View reviewed changes
Copy link
Copy Markdown
Collaborator
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more .
👍 thank you!
wbamberg
merged commit
1529219
into
mdn : main
Dec 5, 2026
9 checks passed
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment
Labels
Content:WebAPI
Web API docs
size/xs
[PR only] 0-5 LoC changed
2 participants