From: Feross Aboukhadijeh Date: Fri, 2 Dec 2016 20:50:24 +0000 (-0600) Subject: docs X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=71b0c758941968267eef4cc6fb439f0e859ce172;p=buffer.git docs --- diff --git a/index.js b/index.js index 439f860..13a3824 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ var K_MAX_LENGTH = 0x7fffffff exports.kMaxLength = K_MAX_LENGTH /** - * If `TYPED_ARRAY_SUPPORT`: + * If `Buffer.TYPED_ARRAY_SUPPORT`: * === true Use Uint8Array implementation (fastest) * === false Print warning and recommend using `buffer` v4.x which has an Object * implementation (most compatible, even IE6) @@ -37,7 +37,7 @@ Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport() if (!Buffer.TYPED_ARRAY_SUPPORT) { console.error( 'This browser lacks typed array (Uint8Array) support which is required by ' + - '`buffer` v5.x. Use v4.x if you require old browser support.') + '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.') } function typedArraySupport () {