Skip to content

docs: fix 14 typos in comments and documentation - #511

Open
Avicennasis wants to merge 2 commits into
dailymotion:masterfrom
TypoScan3000:docs/fix-typos
Open

Avicennasis wants to merge 2 commits into
dailymotion:masterfrom
TypoScan3000:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fix 14 typos, grammar errors, and one incorrect error message across 6 files:

  • src/util/util.js: stray space before period, missing article, wrong pronoun
  • src/vast_client.js: "fecth" -> "fetch"; "freelunch" -> "FreeLunch" (matches cappingFreeLunch used elsewhere); error message said "minimum interval reached" when the code path is actually the NOT-reached case -- corrected to "minimum interval not reached"
  • src/parser/parser_verification.js: class name typo (VastParser -> VASTParser), gendered pronoun, subject-verb agreement, missing article
  • src/parser/extensions_parser.js: "extentions" -> "extensions"
  • src/util/storage.js: article errors
  • src/fetcher/url_handler.js: "occured" -> "occurred", subject-verb agreement

No functional changes except the one corrected error message, which now accurately describes the condition it fires on.

Comment thread src/vast_client.js Outdated
return reject(
new Error(
`VAST call canceled – (${this.cappingMinimumTimeInterval})ms minimum interval reached`
`VAST call canceled – (${this.cappingMinimumTimeInterval})ms minimum interval not reached`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`VAST call canceled – (${this.cappingMinimumTimeInterval})ms minimum interval not reached`
`VAST call canceled – (${this.cappingMinimumTimeInterval})ms minimum interval reached`

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done — reverted to the original wording in 8f339e1, the 14 typo fixes are untouched. Ready for re-review.

@ZacharieTFR ZacharieTFR left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution ! I would suggest to keep the error message like before though 👍

Revert the VAST call canceled message to its original text per review
feedback; the typo fixes themselves are unchanged.
@Avicennasis Avicennasis changed the title docs: fix 14 typos and one factually-wrong error message docs: fix 14 typos in comments and documentation Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants