mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 07:16:36 +01:00
6d1170f06c
Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: ricky <ricky.miller@gmail.com> Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com> Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> Co-authored-by: legobt <6wbvkn0j@anonaddy.me> Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
14 lines
563 B
Diff
14 lines
563 B
Diff
diff --git a/lib/helpers.js b/lib/helpers.js
|
|
index 0ac28b4d6a715e913da246f1b4b2576c7e5537f4..d048c0a9b498d08fb70337558fa541c1ecc2ed32 100644
|
|
--- a/lib/helpers.js
|
|
+++ b/lib/helpers.js
|
|
@@ -21,7 +21,7 @@ var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
function hasOwnProperty(obj, key) {
|
|
return _hasOwnProperty.call(obj, key);
|
|
}
|
|
-exports.hasOwnProperty = hasOwnProperty;
|
|
+Object.defineProperty(exports, "hasOwnProperty", { value: hasOwnProperty });
|
|
function _objectKeys(obj) {
|
|
if (Array.isArray(obj)) {
|
|
var keys = new Array(obj.length);
|