Skip to content

Commit

Permalink
Fix bugs with Utils
Browse files Browse the repository at this point in the history
  • Loading branch information
lancedikson committed Mar 6, 2019
1 parent 5873e24 commit 134ef3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/parser-browsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/parser-os.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 134ef3c

Please sign in to comment.