From 8c17ac6349db19a6835000d8ec7e2b537c69d7d1 Mon Sep 17 00:00:00 2001 From: Adam Cohen-Rose Date: Fri, 24 Jan 2020 10:53:09 +0000 Subject: [PATCH 1/2] Removing dead code for node --- src/encodings/base64.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/encodings/base64.js b/src/encodings/base64.js index 583ffe9..184ae43 100644 --- a/src/encodings/base64.js +++ b/src/encodings/base64.js @@ -59,8 +59,8 @@ ByteBuffer.fromBase64 = function(str, littleEndian) { bb.view[i++] = b; }); bb.limit = i; - //? } return bb; + //? } }; /** @@ -85,4 +85,4 @@ ByteBuffer.atob = function(b64) { return ByteBuffer.fromBase64(b64).toBinary(); }; -//? } \ No newline at end of file +//? } From 15e2044559068ddc8c32189ca22d6059e52262ab Mon Sep 17 00:00:00 2001 From: Adam Cohen-Rose Date: Fri, 24 Jan 2020 10:54:10 +0000 Subject: [PATCH 2/2] Removed dead code for node --- src/encodings/binary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/encodings/binary.js b/src/encodings/binary.js index ef9c531..cd22f11 100644 --- a/src/encodings/binary.js +++ b/src/encodings/binary.js @@ -67,8 +67,8 @@ ByteBuffer.fromBinary = function(str, littleEndian) { bb.view[i++] = charCode; } bb.limit = k; - //? } return bb; + //? } }; -//? } \ No newline at end of file +//? }