diff options
author | kumavis <aaron@kumavis.me> | 2017-04-01 09:04:13 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-04-01 09:04:13 +0800 |
commit | aa06183c64b79316a4622e25791c29e785c7bce0 (patch) | |
tree | 4711fb76510b379cd6b7bc3fb2e07e87a0ef8b8b /app/scripts/platforms | |
parent | 810f5881f6ad9fea9bcb25ea1ccaf9cdeb2c744f (diff) | |
download | tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar.gz tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.tar.zst tangerine-wallet-browser-aa06183c64b79316a4622e25791c29e785c7bce0.zip |
ui - use global.platform for extension interaction
Diffstat (limited to 'app/scripts/platforms')
-rw-r--r-- | app/scripts/platforms/extension.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index cbb35768e..00c2aa275 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -14,6 +14,10 @@ class ExtensionPlatform { extension.tabs.create({ url }) } + getVersion () { + return extension.runtime.getManifest().version + } + } module.exports = ExtensionPlatform |