aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/platforms/extension.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/platforms/extension.js')
-rw-r--r--app/scripts/platforms/extension.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js
index 60bcce324..f5cc255d1 100644
--- a/app/scripts/platforms/extension.js
+++ b/app/scripts/platforms/extension.js
@@ -22,22 +22,6 @@ class ExtensionPlatform {
this.openWindow({ url: extensionURL })
}
- isInBrowser () {
- return new Promise((resolve, reject) => {
- try {
- extension.tabs.getCurrent(currentTab => {
- if (currentTab) {
- resolve(true)
- } else {
- resolve(false)
- }
- })
- } catch (e) {
- reject(e)
- }
- })
- }
-
getPlatformInfo (cb) {
try {
extension.runtime.getPlatformInfo((platform) => {