Skip to content

Commit

Permalink
fix(QrcodeStream.md): Fixed typo
Browse files Browse the repository at this point in the history
In "did you requested the front camera although there is none?" the past tense is already inflected in the auxiliary verb "did", so the infinitive (base) form of the verb should be used here. 
  • Loading branch information
777Vasya77 authored and gruhn committed Sep 1, 2023
1 parent 500e0e4 commit 8745e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/QrcodeStream.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ This can happen [a couple of reasons](https://developer.mozilla.org/en-US/docs/W
methods: {
onError(error) {
if (error.name === 'NotAllowedError') {
// user denied camera access permisson
// user denied camera access permission
} else if (error.name === 'NotFoundError') {
// no suitable camera device installed
} else if (error.name === 'NotSupportedError') {
// page is not served over HTTPS (or localhost)
} else if (error.name === 'NotReadableError') {
// maybe camera is already in use
} else if (error.name === 'OverconstrainedError') {
// did you requested the front camera although there is none?
// did you request the front camera although there is none?
} else if (error.name === 'StreamApiNotSupportedError') {
// browser seems to be lacking features
}
Expand Down

0 comments on commit 8745e1b

Please sign in to comment.