mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Remove missing space at the end
This commit is contained in:
parent
3bfb24c8cb
commit
cfe2b493bb
@ -590,7 +590,7 @@ const browsersList = [
|
|||||||
{
|
{
|
||||||
test: [/.*/i],
|
test: [/.*/i],
|
||||||
describe(ua) {
|
describe(ua) {
|
||||||
const regexp = ua.search("\\(") == -1 ? /^(.*)\/(.*) / : /^(.*)\/(.*)\((.*) /
|
const regexp = ua.search('\\(') === -1 ? /^(.*)\/(.*) / : /^(.*)\/(.*)[ \t]\((.*)/;
|
||||||
return {
|
return {
|
||||||
name: Utils.getFirstMatch(regexp, ua),
|
name: Utils.getFirstMatch(regexp, ua),
|
||||||
version: Utils.getSecondMatch(regexp, ua),
|
version: Utils.getSecondMatch(regexp, ua),
|
||||||
|
Loading…
Reference in New Issue
Block a user