mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Update the regex for custom browsers
This commit is contained in:
parent
28bff841b3
commit
ba4783868d
@ -591,8 +591,8 @@ const browsersList = [
|
|||||||
test: [/.*/i],
|
test: [/.*/i],
|
||||||
describe(ua) {
|
describe(ua) {
|
||||||
return {
|
return {
|
||||||
name: Utils.getFirstMatch(/^(.*)\/(.*) /, ua),
|
name: Utils.getFirstMatch(/^(.*)\/(.*)\((.*) /, ua),
|
||||||
version: Utils.getSecondMatch(/^(.*)\/(.*) /, ua),
|
version: Utils.getSecondMatch(/^(.*)\/(.*)\((.*) /, ua),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user