From 6336af7a3880c350919e5b29f83b938fb1594362 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Fri, 26 Jul 2024 20:17:14 -0400 Subject: [PATCH] Fix self-links & HTTP links (#35171) --- files/en-us/games/publishing_games/game_distribution/index.md | 2 +- files/en-us/web/api/pagerevealevent/index.md | 2 +- files/en-us/web/api/pageswapevent/index.md | 2 +- .../web/api/readablestreamdefaultcontroller/close/index.md | 2 +- files/en-us/web/html/element/header/index.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/files/en-us/games/publishing_games/game_distribution/index.md b/files/en-us/games/publishing_games/game_distribution/index.md index 19a39a3ec48f48e..5f309312b04850f 100644 --- a/files/en-us/games/publishing_games/game_distribution/index.md +++ b/files/en-us/games/publishing_games/game_distribution/index.md @@ -93,7 +93,7 @@ After you've covered Steam, there's plenty of buzz around initiatives like [Humb ## Packaging games -The web is the first and the best choice for HTML games, but if you want to reach a broader audience and distribute your game in a closed ecosystem, you still can do that by packaging it. The good thing is that you don't need a few separate teams working on the same game for different platforms — you can build it once and use tools like [Phonegap](https://phonegap.com/) or [CocoonIO](http://cocoon.io/) to package the game for native stores. The resulting packages are usually pretty reliable, but you should still test them and be on the lookout for small issues or bugs to fix. +The web is the first and the best choice for HTML games, but if you want to reach a broader audience and distribute your game in a closed ecosystem, you still can do that by packaging it. The good thing is that you don't need a few separate teams working on the same game for different platforms — you can build it once and use tools like [Phonegap](https://phonegap.com/) to package the game for native stores. The resulting packages are usually pretty reliable, but you should still test them and be on the lookout for small issues or bugs to fix. ### Available tools diff --git a/files/en-us/web/api/pagerevealevent/index.md b/files/en-us/web/api/pagerevealevent/index.md index 5055f234f449a84..742eb6645988f08 100644 --- a/files/en-us/web/api/pagerevealevent/index.md +++ b/files/en-us/web/api/pagerevealevent/index.md @@ -29,7 +29,7 @@ window.onpagehide = () => requestAnimationFrame(() => reveal()); ## Constructor - {{domxref("PageRevealEvent.PageRevealEvent", "PageRevealEvent()")}} {{experimental_inline}} - - : Creates a new {{domxref("PageRevealEvent")}} object instance. + - : Creates a new `PageRevealEvent` object instance. ## Instance properties diff --git a/files/en-us/web/api/pageswapevent/index.md b/files/en-us/web/api/pageswapevent/index.md index 35705b65ba3ce38..3792f6e0f30ba6e 100644 --- a/files/en-us/web/api/pageswapevent/index.md +++ b/files/en-us/web/api/pageswapevent/index.md @@ -16,7 +16,7 @@ The `pageswap` event is fired when you navigate across documents, when the previ ## Constructor - {{domxref("PageSwapEvent.PageSwapEvent", "PageSwapEvent()")}} {{experimental_inline}} - - : Creates a new {{domxref("PageSwapEvent")}} object instance. + - : Creates a new `PageSwapEvent` object instance. ## Instance properties diff --git a/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md b/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md index 9484d725345ffc6..5fe5154cf4142e5 100644 --- a/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md +++ b/files/en-us/web/api/readablestreamdefaultcontroller/close/index.md @@ -37,7 +37,7 @@ None ({{jsxref("undefined")}}). In the following simple example, a custom `ReadableStream` is created using a constructor (see our [Simple random stream example](https://mdn.github.io/dom-examples/streams/simple-random-stream/) for the full code). The `start()` function generates a random string of text every second and enqueues it into the stream. A `cancel()` function is also provided to stop the generation if {{domxref("ReadableStream.cancel()")}} is called for any reason. -When a button is pressed, the generation is stopped, the stream is closed using {{domxref("ReadableStreamDefaultController.close()")}}, and another function is run, which reads the data back out of the stream. +When a button is pressed, the generation is stopped, the stream is closed using `close()`, and another function is run, which reads the data back out of the stream. ```js let interval; diff --git a/files/en-us/web/html/element/header/index.md b/files/en-us/web/html/element/header/index.md index 69d911b50d79890..2bbeff17959fdb2 100644 --- a/files/en-us/web/html/element/header/index.md +++ b/files/en-us/web/html/element/header/index.md @@ -21,7 +21,7 @@ Otherwise, it is a `section` in the accessibility tree, and usually contains the ### Historical Usage -The `
` element originally existed at the very beginning of HTML for headings. It is seen in [the very first website](http://info.cern.ch/). At some point, headings became [`

` through `

`](/en-US/docs/Web/HTML/Element/Heading_Elements), allowing `
` to be free to fill a different role. +The `
` element originally existed at the very beginning of HTML for headings. It is seen in [the very first website](https://info.cern.ch/). At some point, headings became [`

` through `

`](/en-US/docs/Web/HTML/Element/Heading_Elements), allowing `
` to be free to fill a different role. ## Attributes