1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/app/scripts
Mark Stacey 89ef78674d
Replace uses of hasOwnProperty.call with simpler alternatives (#11009)
Three uses of `hasOwnProperty.call` have been replaced with simpler
alternatives. I did this because I found this convention confusing.

The `ComposableObservableStore` changes required adding a check for
whether the `config` is defined, because the old syntax would allow
iterating over `undefined` as if it was an empty object. Functionally
it should be identical. A new test was added to highlight this
functionality.
2021-05-11 14:09:17 -02:30
..
account-import-strategies Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
constants
controllers Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
lib Replace uses of hasOwnProperty.call with simpler alternatives (#11009) 2021-05-11 14:09:17 -02:30
migrations Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
platforms
background.js
contentscript.js
disable-console.js
first-time-state.js
initSentry.js
inpage.js
metamask-controller.js
metamask-controller.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
phishing-detect.js
runLockdown.js
ui.js