Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Dec 2, 2016
1 parent 0be2059 commit 71b0c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -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)
Expand All @@ -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 () {
Expand Down

0 comments on commit 71b0c75

Please sign in to comment.