mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
Add constant output so that users can quickly get all types
This commit is contained in:
@@ -5,6 +5,12 @@
|
||||
* MIT License | (c) Denis Demchenko 2015-2017
|
||||
*/
|
||||
import Parser from './parser.js';
|
||||
import {
|
||||
BROWSER_MAP,
|
||||
ENGINE_MAP,
|
||||
OS_MAP,
|
||||
PLATFORMS_MAP,
|
||||
} from './constants.js';
|
||||
|
||||
/**
|
||||
* Bowser class.
|
||||
@@ -47,4 +53,9 @@ class Bowser {
|
||||
}
|
||||
}
|
||||
|
||||
Bowser.BROWSER_MAP = BROWSER_MAP;
|
||||
Bowser.ENGINE_MAP = ENGINE_MAP;
|
||||
Bowser.OS_MAP = OS_MAP;
|
||||
Bowser.PLATFORMS_MAP = PLATFORMS_MAP;
|
||||
|
||||
export default Bowser;
|
||||
|
||||
Reference in New Issue
Block a user