mirror of
https://github.com/lancedikson/bowser
synced 2026-09-23 04:24:54 +00:00
Dual packaging, without breaking existing consumers (#628)
Co-authored-by: Yasumasa Ashida <ys.ashida@gmail.com>
This commit is contained in:
@@ -91,3 +91,4 @@ class Bowser {
|
||||
}
|
||||
|
||||
export default Bowser;
|
||||
export const { parse, getParser } = Bowser;
|
||||
|
||||
@@ -210,7 +210,6 @@ class Parser {
|
||||
return this.getBrowser().name || '';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get browser's version
|
||||
* @return {String} version of browser
|
||||
|
||||
Reference in New Issue
Block a user