diff --git a/files/en-us/learn/server-side/express_nodejs/routes/index.md b/files/en-us/learn/server-side/express_nodejs/routes/index.md index ae26f9069772161..a50892637820726 100644 --- a/files/en-us/learn/server-side/express_nodejs/routes/index.md +++ b/files/en-us/learn/server-side/express_nodejs/routes/index.md @@ -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 ``` diff --git a/files/en-us/web/api/blob/bytes/index.md b/files/en-us/web/api/blob/bytes/index.md index 5769fb640830227..a5e88babec60964 100644 --- a/files/en-us/web/api/blob/bytes/index.md +++ b/files/en-us/web/api/blob/bytes/index.md @@ -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. diff --git a/files/en-us/web/api/blob/index.md b/files/en-us/web/api/blob/index.md index 06e3b681fe24ba3..96fab3aba343f21 100644 --- a/files/en-us/web/api/blob/index.md +++ b/files/en-us/web/api/blob/index.md @@ -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. diff --git a/files/en-us/web/api/console/assert_static/index.md b/files/en-us/web/api/console/assert_static/index.md index 41d7fec00509b2d..a741af507eb2476 100644 --- a/files/en-us/web/api/console/assert_static/index.md +++ b/files/en-us/web/api/console/assert_static/index.md @@ -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. diff --git a/files/en-us/web/api/console/debug_static/index.md b/files/en-us/web/api/console/debug_static/index.md index 52479faa5deb878..fd682b00c8a5455 100644 --- a/files/en-us/web/api/console/debug_static/index.md +++ b/files/en-us/web/api/console/debug_static/index.md @@ -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. diff --git a/files/en-us/web/api/console/error_static/index.md b/files/en-us/web/api/console/error_static/index.md index 5e18524428e5945..6b518aecb6f874c 100644 --- a/files/en-us/web/api/console/error_static/index.md +++ b/files/en-us/web/api/console/error_static/index.md @@ -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. diff --git a/files/en-us/web/api/console/info_static/index.md b/files/en-us/web/api/console/info_static/index.md index f880dcda84bafcd..f0c8d4d24856ab8 100644 --- a/files/en-us/web/api/console/info_static/index.md +++ b/files/en-us/web/api/console/info_static/index.md @@ -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. diff --git a/files/en-us/web/api/console/log_static/index.md b/files/en-us/web/api/console/log_static/index.md index 04ed414b96e4e8d..b3f5aa2d237015d 100644 --- a/files/en-us/web/api/console/log_static/index.md +++ b/files/en-us/web/api/console/log_static/index.md @@ -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. diff --git a/files/en-us/web/api/console/warn_static/index.md b/files/en-us/web/api/console/warn_static/index.md index e2cc93e98662fc0..8524f7aaa3985ad 100644 --- a/files/en-us/web/api/console/warn_static/index.md +++ b/files/en-us/web/api/console/warn_static/index.md @@ -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. diff --git a/files/en-us/web/api/gamepadhapticactuator/index.md b/files/en-us/web/api/gamepadhapticactuator/index.md index a3b40c8b616ee17..9a031d93e4a2698 100644 --- a/files/en-us/web/api/gamepadhapticactuator/index.md +++ b/files/en-us/web/api/gamepadhapticactuator/index.md @@ -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 diff --git a/files/en-us/web/api/gamepadhapticactuator/type/index.md b/files/en-us/web/api/gamepadhapticactuator/type/index.md index 2ee3e8226daefda..236706190acbf9d 100644 --- a/files/en-us/web/api/gamepadhapticactuator/type/index.md +++ b/files/en-us/web/api/gamepadhapticactuator/type/index.md @@ -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. diff --git a/files/en-us/web/api/pushmessagedata/bytes/index.md b/files/en-us/web/api/pushmessagedata/bytes/index.md index 022da5bfb29ba33..776a79e4121ebf3 100644 --- a/files/en-us/web/api/pushmessagedata/bytes/index.md +++ b/files/en-us/web/api/pushmessagedata/bytes/index.md @@ -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. diff --git a/files/en-us/web/api/pushmessagedata/index.md b/files/en-us/web/api/pushmessagedata/index.md index da603d990ba9bf6..4b475203375b4b4 100644 --- a/files/en-us/web/api/pushmessagedata/index.md +++ b/files/en-us/web/api/pushmessagedata/index.md @@ -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. diff --git a/files/en-us/web/manifest/background_color/index.md b/files/en-us/web/manifest/background_color/index.md index 1757e34000cd7f0..b733177af4ae764 100644 --- a/files/en-us/web/manifest/background_color/index.md +++ b/files/en-us/web/manifest/background_color/index.md @@ -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")}}