From 426cb5830922cfd1985dc5ffc36a36dedb1f6c5a Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 9 Apr 2014 20:58:10 -0700 Subject: [PATCH] fix weird whitespace bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit if anyone knows an easy way to prevent this from happening (it’s option+space on OS X) please let me know! --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 15e8ad5..01a9594 100644 --- a/index.js +++ b/index.js @@ -90,7 +90,7 @@ function Buffer (subject, encoding, noZero) { } var i - if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') { + if (Buffer._useTypedArrays && typeof subject.byteLength === 'number') { // Speed optimization -- use set if we're copying from a typed array buf._set(subject) } else if (isArrayish(subject)) { -- 2.34.1