mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-28 23:06:37 +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
430 B
Diff
14 lines
430 B
Diff
diff --git a/index.js b/index.js
|
|
index c331176c5488e12b3e812658cc3f51347d4ff973..127765d9c85217398ef9a0f24ac9d43c7cdb54b9 100644
|
|
--- a/index.js
|
|
+++ b/index.js
|
|
@@ -50,7 +50,7 @@ var bindingVisitor = {
|
|
}
|
|
}
|
|
|
|
- state.undeclared[node.name] = true
|
|
+ Reflect.defineProperty(state.undeclared, node.name, { value: true, writable: true, enumerable: true, configurable: true })
|
|
}
|
|
|
|
if (state.wildcard &&
|