doc: make MDN links to global classes more consistent · nodejs/node@9e29416

@@ -1139,8 +1139,8 @@ Creates and returns a new [`Unzip`][] object.

1139113911401140

<!--type=misc-->

114111411142-

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