Skip to content

Commit 9e29416

Browse files
aduh95targos
authored andcommitted
doc: make MDN links to global classes more consistent
PR-URL: #56924 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 6bc2707 commit 9e29416

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

doc/api/single-executable-applications.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ added:
322322
- v20.12.0
323323
-->
324324
325-
Similar to [`sea.getAsset()`][], but returns the result in a [`Blob`][].
325+
Similar to [`sea.getAsset()`][], but returns the result in a {Blob}.
326326
An error is thrown when no matching asset can be found.
327327
328328
* `key` {string} the key for the asset in the dictionary specified by the
@@ -423,7 +423,6 @@ to help us document them.
423423
[Mach-O]: https://en.wikipedia.org/wiki/Mach-O
424424
[PE]: https://en.wikipedia.org/wiki/Portable_Executable
425425
[Windows SDK]: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
426-
[`Blob`]: https://developer.mozilla.org/en-US/docs/Web/API/Blob
427426
[`process.execPath`]: process.md#processexecpath
428427
[`require()`]: modules.md#requireid
429428
[`require.main`]: modules.md#accessing-the-main-module

doc/api/url.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ added:
956956
* `iterable` {Iterable} An iterable object whose elements are key-value pairs
957957

958958
Instantiate a new `URLSearchParams` object with an iterable map in a way that
959-
is similar to [`Map`][]'s constructor. `iterable` can be an `Array` or any
959+
is similar to {Map}'s constructor. `iterable` can be an `Array` or any
960960
iterable object. That means `iterable` can be another `URLSearchParams`, in
961961
which case the constructor will simply create a clone of the provided
962962
`URLSearchParams`. Elements of `iterable` are key-value pairs, and can
@@ -1951,7 +1951,6 @@ console.log(myURL.origin);
19511951
[WHATWG URL Standard]: https://url.spec.whatwg.org/
19521952
[`Error`]: errors.md#class-error
19531953
[`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
1954-
[`Map`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
19551954
[`TypeError`]: errors.md#class-typeerror
19561955
[`URLSearchParams`]: #class-urlsearchparams
19571956
[`array.toString()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString

doc/api/zlib.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -1139,8 +1139,8 @@ Creates and returns a new [`Unzip`][] object.
11391139

11401140
<!--type=misc-->
11411141

1142-
All of these take a [`Buffer`][], [`TypedArray`][], [`DataView`][],
1143-
[`ArrayBuffer`][] or string as the first argument, an optional second argument
1142+
All of these take a {Buffer}, {TypedArray}, {DataView}, {ArrayBuffer}, or string
1143+
as the first argument, an optional second argument
11441144
to supply options to the `zlib` classes and will call the supplied callback
11451145
with `callback(error, result)`.
11461146

@@ -1488,19 +1488,15 @@ Decompress a chunk of data with [`Unzip`][].
14881488
[Streams API]: stream.md
14891489
[`.flush()`]: #zlibflushkind-callback
14901490
[`Accept-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3
1491-
[`ArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
14921491
[`BrotliCompress`]: #class-zlibbrotlicompress
14931492
[`BrotliDecompress`]: #class-zlibbrotlidecompress
1494-
[`Buffer`]: buffer.md#class-buffer
14951493
[`Content-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11
1496-
[`DataView`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView
14971494
[`DeflateRaw`]: #class-zlibdeflateraw
14981495
[`Deflate`]: #class-zlibdeflate
14991496
[`Gunzip`]: #class-zlibgunzip
15001497
[`Gzip`]: #class-zlibgzip
15011498
[`InflateRaw`]: #class-zlibinflateraw
15021499
[`Inflate`]: #class-zlibinflate
1503-
[`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
15041500
[`Unzip`]: #class-zlibunzip
15051501
[`buffer.kMaxLength`]: buffer.md#bufferkmaxlength
15061502
[`deflateInit2` and `inflateInit2`]: https://zlib.net/manual.html#Advanced

0 commit comments

Comments
 (0)