aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/environment-type.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/lib/environment-type.js')
-rw-r--r--app/scripts/lib/environment-type.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/scripts/lib/environment-type.js b/app/scripts/lib/environment-type.js
deleted file mode 100644
index 7966926eb..000000000
--- a/app/scripts/lib/environment-type.js
+++ /dev/null
@@ -1,10 +0,0 @@
-module.exports = function environmentType () {
- const url = window.location.href
- if (url.match(/popup.html$/)) {
- return 'popup'
- } else if (url.match(/home.html$/)) {
- return 'responsive'
- } else {
- return 'notification'
- }
-}