mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
Merge pull request #318 from DasRed/master
fixing ES6 Module import for BROWSER_ALIAS_MAP
This commit is contained in:
@@ -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,
|
|
||||||
};
|
|
||||||
|
|||||||
Reference in New Issue
Block a user