diff options
Diffstat (limited to 'app/scripts/lib/environment-type.js')
-rw-r--r-- | app/scripts/lib/environment-type.js | 10 |
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' - } -} |