diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-01-03 04:20:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-03 04:20:09 +0800 |
commit | 616721f47d5ead283378abf63aedcc953506376a (patch) | |
tree | e2fb8fff2a4935327d5725ef350ee0e1103b5ed0 /app | |
parent | fc723e7f7c037dbeb9cf427c3bdcc9f39c26785c (diff) | |
download | tangerine-wallet-browser-616721f47d5ead283378abf63aedcc953506376a.tar tangerine-wallet-browser-616721f47d5ead283378abf63aedcc953506376a.tar.gz tangerine-wallet-browser-616721f47d5ead283378abf63aedcc953506376a.tar.bz2 tangerine-wallet-browser-616721f47d5ead283378abf63aedcc953506376a.tar.lz tangerine-wallet-browser-616721f47d5ead283378abf63aedcc953506376a.tar.xz tangerine-wallet-browser-616721f47d5ead283378abf63aedcc953506376a.tar.zst tangerine-wallet-browser-616721f47d5ead283378abf63aedcc953506376a.zip |
inpage-provider - add isMetaMask
adds `metamaskInpageProvider.isMetaMask === true`
Fixes #727
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/inpage-provider.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js index a64c745ce..11bd5cc3a 100644 --- a/app/scripts/lib/inpage-provider.js +++ b/app/scripts/lib/inpage-provider.js @@ -111,6 +111,8 @@ MetamaskInpageProvider.prototype.isConnected = function () { return true } +MetamaskInpageProvider.prototype.isMetaMask = true + // util function remoteStoreWithLocalStorageCache (storageKey) { |