Skip to content

Fix typos #39658

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

Merged
merged 3 commits into from
May 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix more
  • Loading branch information
Josh-Cena committed May 24, 2025
commit cffb5eed72559bbf4743ac51a149a792b13eca27
2 changes: 2 additions & 0 deletions .vscode/dictionaries/code-entities.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ dom.webnotifications.requireuserinteraction
dom.webshare
domxref
downdiagonalstrike
downloadprogress
DPAD
DRAGDDROP
dragdrop
Expand Down Expand Up @@ -559,6 +560,7 @@ oncurrententrychange
oncurrentscreenchange
ondequeue
ondispose
ondownloadprogress
onefive
ongesturestart
onnavigate
Expand Down
1 change: 1 addition & 0 deletions .vscode/dictionaries/proper-names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ carinaanand
Carle
Cassini
Caterina
caugner
Chadha
Chakra
Chamakh
Expand Down
1 change: 1 addition & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ gameworlds
Gbps
GCLI
generatable
geofencing
geolocate
geolocated
geolocating
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ The **`downloadprogress`** event of the {{domxref("CreateMonitor")}} interface i

Use the event name in methods like {{domxref("EventTarget.addEventListener", "addEventListener()")}}, or set an event handler property.

```js
addEventListener("downloadprogress", (event) => {});
```js-nolint
addEventListener("downloadprogress", (event) => { })

ondownloadprogress = (event) => {};
ondownloadprogress = (event) => { }
```

## Event type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ That brings us to the JavaScript code which makes everything work. Let's start w
let contentBox;

let nextArticleID = 1;
const visibleAds = new Set();
let visibleAds = new Set();
let previouslyVisibleAds = null;

let adObserver;
Expand Down Expand Up @@ -265,7 +265,7 @@ function handleVisibilityChange() {
if (document.hidden) {
if (!previouslyVisibleAds) {
previouslyVisibleAds = visibleAds;
visibleAds = [];
visibleAds = new Set();
previouslyVisibleAds.forEach((adBox) => {
updateAdTimer(adBox);
adBox.dataset.lastViewStarted = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Possible values include:
- `available`
- : The browser supports the given configuration and it can be used immediately.
- `downloadable`
- : The browser supports the given configuration, but it first needs to download an AI model, or some fune-tuning data for the model.
- : The browser supports the given configuration, but it first needs to download an AI model, or some fine-tuning data for the model.
- `downloading`
- : The browser supports the given configuration, but it has to finish an ongoing download before it can proceed.
- `unavailable`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Possible values include:
- `available`
- : The browser supports the given configuration and it can be used immediately.
- `downloadable`
- : The browser supports the given configuration, but it first needs to download an AI model, or some fune-tuning data for the model.
- : The browser supports the given configuration, but it first needs to download an AI model, or some fine-tuning data for the model.
- `downloading`
- : The browser supports the given configuration, but it has to finish an ongoing download before it can proceed.
- `unavailable`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const translatorAvailability = await Translator.availability({
});
```

These methods return an emumerated value indicating whether support is, or will be available for the specified set of options:
These methods return an enumerated value indicating whether support is, or will be available for the specified set of options:

- `downloadable` means that the implementation supports the requested options, but needs to download a model or some fine-tuning data.
- `downloading` means that the implementation supports the requested options, but needs to finish an ongoing download.
Expand Down