From 4b3c806c7ead1e8bccd8c70d4c43d5517d47f47c Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 15 Feb 2018 21:28:09 -0800 Subject: [PATCH] convert to ES5 for IE11 support --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 3ad1093..3b4513a 100644 --- a/index.js +++ b/index.js @@ -55,7 +55,7 @@ function typedArraySupport () { Object.defineProperty(Buffer.prototype, 'parent', { enumerable: true, - get () { + get: function () { if (!(this instanceof Buffer)) { return undefined } @@ -65,7 +65,7 @@ Object.defineProperty(Buffer.prototype, 'parent', { Object.defineProperty(Buffer.prototype, 'offset', { enumerable: true, - get () { + get: function () { if (!(this instanceof Buffer)) { return undefined } -- 2.34.1