1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Merge pull request #318 from DasRed/master

fixing ES6 Module import for BROWSER_ALIAS_MAP
This commit is contained in:
Denis Demchenko 2019-04-24 21:27:57 +03:00 committed by GitHub
commit b9078b8862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
// NOTE: this list must be up-to-date with browsers listed in // NOTE: this list must be up-to-date with browsers listed in
// test/acceptance/useragentstrings.yml // test/acceptance/useragentstrings.yml
const BROWSER_ALIASES_MAP = { export const BROWSER_ALIASES_MAP = {
'Amazon Silk': 'amazon_silk', 'Amazon Silk': 'amazon_silk',
'Android Browser': 'android', 'Android Browser': 'android',
Bada: 'bada', Bada: 'bada',
@ -36,7 +36,3 @@ const BROWSER_ALIASES_MAP = {
WeChat: 'wechat', WeChat: 'wechat',
'Yandex Browser': 'yandex', 'Yandex Browser': 'yandex',
}; };
module.exports = {
BROWSER_ALIASES_MAP,
};