1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

inpage-provider - add isMetaMask

adds `metamaskInpageProvider.isMetaMask === true`
Fixes #727
This commit is contained in:
kumavis 2017-01-02 12:20:09 -08:00 committed by GitHub
parent fc723e7f7c
commit 616721f47d

View File

@ -111,6 +111,8 @@ MetamaskInpageProvider.prototype.isConnected = function () {
return true return true
} }
MetamaskInpageProvider.prototype.isMetaMask = true
// util // util
function remoteStoreWithLocalStorageCache (storageKey) { function remoteStoreWithLocalStorageCache (storageKey) {