1
0
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:
Ricardo Rauber Pereira 2019-04-05 18:33:15 +01:00
parent 3bfb24c8cb
commit cfe2b493bb

View File

@ -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),