diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-10-19 06:09:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-19 06:09:32 +0800 |
commit | 8da0d0b28a52d476da3623774159e8d6a595da2d (patch) | |
tree | d35cd3391ca2dda9626f6076cbff1e3da0e02c97 /app/scripts/lib/obj-proxy.js | |
parent | 5eeb1440468cb77111fd09d01b85b4b9a5264766 (diff) | |
download | tangerine-wallet-browser-8da0d0b28a52d476da3623774159e8d6a595da2d.tar tangerine-wallet-browser-8da0d0b28a52d476da3623774159e8d6a595da2d.tar.gz tangerine-wallet-browser-8da0d0b28a52d476da3623774159e8d6a595da2d.tar.bz2 tangerine-wallet-browser-8da0d0b28a52d476da3623774159e8d6a595da2d.tar.lz tangerine-wallet-browser-8da0d0b28a52d476da3623774159e8d6a595da2d.tar.xz tangerine-wallet-browser-8da0d0b28a52d476da3623774159e8d6a595da2d.tar.zst tangerine-wallet-browser-8da0d0b28a52d476da3623774159e8d6a595da2d.zip |
Revert "NetworkController refactor for new EthClient interface"
Diffstat (limited to 'app/scripts/lib/obj-proxy.js')
-rw-r--r-- | app/scripts/lib/obj-proxy.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/scripts/lib/obj-proxy.js b/app/scripts/lib/obj-proxy.js deleted file mode 100644 index 29ca1269f..000000000 --- a/app/scripts/lib/obj-proxy.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = function createObjectProxy(obj) { - let target = obj - const proxy = new Proxy({}, { - get: (obj, name) => { - // intercept setTarget - if (name === 'setTarget') return setTarget - return target[name] - }, - set: (obj, name, value) => { - target[name] = value - return true - }, - }) - return proxy - - function setTarget (obj) { - target = obj - } -}
\ No newline at end of file |