Fix bugs with Utils

pull/305/head
Denis Demchenko 5 years ago
parent 5873e24c76
commit 134ef3c186

@ -559,7 +559,7 @@ const browsersList = [
const browser = {
name: 'PlayStation 4',
};
const version = getFirstMatch(commonVersionIdentifier, ua);
const version = Utils.getFirstMatch(commonVersionIdentifier, ua);
if (version) {
browser.version = version;

@ -155,7 +155,7 @@ export default [
{
test: [/PlayStation 4/],
describe(ua) {
const version = getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, ua);
const version = Utils.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i, ua);
return {
name: 'PlayStation 4',
version,

Loading…
Cancel
Save