From 71b0c758941968267eef4cc6fb439f0e859ce172 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 2 Dec 2016 14:50:24 -0600 Subject: [PATCH] docs --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () { -- 2.34.1