Skip to content

Commit

Permalink
Merge branch 'mdn:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
amaralis authored Jul 13, 2024
2 parents 5169e50 + e39ad15 commit b87c904
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 24 deletions.
4 changes: 2 additions & 2 deletions files/en-us/learn/server-side/express_nodejs/routes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,10 +688,10 @@ To test the routes, first start the website using your usual approach
- The default method

```bash
// Windows
# Windows
SET DEBUG=express-locallibrary-tutorial:* & npm start

// macOS or Linux
# macOS or Linux
DEBUG=express-locallibrary-tutorial:* npm start
```

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/blob/bytes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "Blob: bytes() method"
short-title: bytes()
slug: Web/API/Blob/bytes
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.Blob.bytes
---

{{APIRef("File API")}}{{AvailableInWorkers}}{{SeeCompatTable}}
{{APIRef("File API")}}{{AvailableInWorkers}}

The **`bytes()`** method of the {{domxref("Blob")}} interface returns a {{jsxref("Promise")}} that resolves with a {{jsxref("Uint8Array")}} containing the contents of the blob as an array of bytes.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/blob/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The APIs accepting `Blob` objects are also listed in the {{DOMxRef("File")}} doc

- {{DOMxRef("Blob.arrayBuffer()")}}
- : Returns a promise that resolves with an {{jsxref("ArrayBuffer")}} containing the entire contents of the `Blob` as binary data.
- {{DOMxRef("Blob.bytes()")}} {{experimental_inline}}
- {{DOMxRef("Blob.bytes()")}}
- : Returns a promise that resolves with an {{jsxref("Uint8Array")}} containing the contents of the `Blob`.
- {{DOMxRef("Blob.slice()")}}
- : Returns a new `Blob` object containing the data in the specified range of bytes of the blob on which it's called.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/console/assert_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ assert(assertion, msg, subst1, /* …, */ substN)
- `msg`
- : A JavaScript string containing zero or more substitution strings, which are replaced with `subst1` through `substN` in consecutive order up to the number of substitution strings. A colon, a space, and then the substituted string are appended to the generic assertion message to form a detailed assertion message, and the result is output to the console. See [Using string substitutions](/en-US/docs/Web/API/console#using_string_substitutions) for a description of how substitutions work.
- `subst1``substN`
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substutition values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substitution values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.

See [Outputting text to the console](/en-US/docs/Web/API/console#outputting_text_to_the_console) in the documentation of {{domxref("console")}} for further details.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/console/debug_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ debug(msg, subst1, /* …, */ substN)
- `msg`
- : A JavaScript string containing zero or more substitution strings, which are replaced with `subst1` through `substN` in consecutive order up to the number of substitution strings. See [Using string substitutions](/en-US/docs/Web/API/console#using_string_substitutions) for a description of how substitutions work.
- `subst1``substN`
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substutition values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substitution values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.

See [Outputting text to the console](/en-US/docs/Web/API/console#outputting_text_to_the_console) in the documentation of {{domxref("console")}} for further details.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/console/error_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ error(msg, subst1, /* …, */ substN)
- `msg`
- : A JavaScript string containing zero or more substitution strings, which are replaced with `subst1` through `substN` in consecutive order up to the number of substitution strings. See [Using string substitutions](/en-US/docs/Web/API/console#using_string_substitutions) for a description of how substitutions work.
- `subst1``substN`
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substutition values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substitution values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.

See [Outputting text to the console](/en-US/docs/Web/API/console#outputting_text_to_the_console) in the documentation of {{domxref("console")}} for further details.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/console/info_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ info(msg, subst1, /* …, */ substN)
- `msg`
- : A JavaScript string containing zero or more substitution strings, which are replaced with `subst1` through `substN` in consecutive order up to the number of substitution strings. See [Using string substitutions](/en-US/docs/Web/API/console#using_string_substitutions) for a description of how substitutions work.
- `subst1``substN`
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substutition values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substitution values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.

See [Outputting text to the console](/en-US/docs/Web/API/console#outputting_text_to_the_console) in the documentation of {{domxref("console")}} for further details.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/console/log_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ log(msg, subst1, /* …, */ substN)
- `msg`
- : A JavaScript string containing zero or more substitution strings, which are replaced with `subst1` through `substN` in consecutive order up to the number of substitution strings. See [Using string substitutions](/en-US/docs/Web/API/console#using_string_substitutions) for a description of how substitutions work.
- `subst1``substN`
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substutition values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substitution values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.

See [Outputting text to the console](/en-US/docs/Web/API/console#outputting_text_to_the_console) in the documentation of {{domxref("console")}} for further details.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/console/warn_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ warn(msg, subst1, /* …, */ substN)
- `msg`
- : A JavaScript string containing zero or more substitution strings, which are replaced with `subst1` through `substN` in consecutive order up to the number of substitution strings. See [Using string substitutions](/en-US/docs/Web/API/console#using_string_substitutions) for a description of how substitutions work.
- `subst1``substN`
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substutition values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.
- : JavaScript values with which to replace substitution strings within `msg`. If there are more substitution values than there are substitution strings, the extra values are themselves written to the console after the detailed assertion message in the same manner as when there's no format string.

See [Outputting text to the console](/en-US/docs/Web/API/console#outputting_text_to_the_console) in the documentation of {{domxref("console")}} for further details.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/gamepadhapticactuator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This interface is accessible through the {{domxref("Gamepad.hapticActuators")}}

## Instance properties

- {{domxref("GamepadHapticActuator.type")}} {{ReadOnlyInline}}
- {{domxref("GamepadHapticActuator.type")}} {{ReadOnlyInline}} {{deprecated_inline}}
- : Returns an enum representing the type of the haptic hardware.

## Instance methods
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/gamepadhapticactuator/type/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ title: "GamepadHapticActuator: type property"
short-title: type
slug: Web/API/GamepadHapticActuator/type
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.GamepadHapticActuator.type
---

{{APIRef("Gamepad")}}
{{APIRef("Gamepad")}}{{deprecated_header}}

The **`type`** read-only property of the {{domxref("GamepadHapticActuator")}} interface returns an enum representing the type of the haptic hardware.

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/pushmessagedata/bytes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ title: "PushMessageData: bytes() method"
short-title: bytes()
slug: Web/API/PushMessageData/bytes
page-type: web-api-instance-method
status:
- experimental
browser-compat: api.PushMessageData.bytes
---

{{APIRef("Push API")}}{{SecureContext_Header}}{{AvailableInWorkers("service")}}{{SeeCompatTable}}
{{APIRef("Push API")}}{{SecureContext_Header}}{{AvailableInWorkers("service")}}

The **`bytes()`** method of the {{domxref("PushMessageData")}} interface extracts push message data as an {{jsxref("Uint8Array")}} object.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/pushmessagedata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ None.
- : Extracts the data as an {{jsxref("ArrayBuffer")}} object.
- {{domxref("PushMessageData.blob()")}}
- : Extracts the data as a {{domxref("Blob")}} object.
- {{domxref("PushMessageData.bytes()")}} {{experimental_inline}}
- {{domxref("PushMessageData.bytes()")}}
- : Extracts the data as a {{jsxref("Uint8Array")}} object.
- {{domxref("PushMessageData.json()")}}
- : Extracts the data as a [JSON](/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON) object.
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/manifest/background_color/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
title: background_color
slug: Web/Manifest/background_color
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.background_color
---

{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}{{SeeCompatTable}}
{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}

<table class="properties">
<tbody>
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/manifest/orientation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
title: orientation
slug: Web/Manifest/orientation
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.orientation
---

{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}{{SeeCompatTable}}
{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}

<table class="properties">
<tbody>
Expand Down

0 comments on commit b87c904

Please sign in to comment.