From: Feross Aboukhadijeh Date: Fri, 20 Mar 2015 23:29:42 +0000 (-0700) Subject: remove dead code X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=40746ff12121df0e96b171e4915f762085f2565f;p=buffer.git remove dead code --- diff --git a/index.js b/index.js index fbc0f8a..46f5a98 100644 --- a/index.js +++ b/index.js @@ -1115,8 +1115,7 @@ Buffer._augment = function _augment (arr) { arr.constructor = Buffer arr._isBuffer = true - // save reference to original Uint8Array get/set methods before overwriting - arr._get = arr.get + // save reference to original Uint8Array set method before overwriting arr._set = arr.set // deprecated, will be removed in node 0.13+