1
0
mirror of https://github.com/lancedikson/bowser synced 2026-09-23 20:44:24 +00:00

Add PlayStation 4 browser support

This commit is contained in:
rcohen-unext
2019-02-06 17:47:28 +09:00
committed by Denis Demchenko
parent a81b8c0ed7
commit 383c627fc0
4 changed files with 56 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ const TYPES_LABELS = {
tablet: 'tablet',
mobile: 'mobile',
desktop: 'desktop',
tv: 'tv',
};
/*
@@ -232,4 +233,16 @@ export default [
};
},
},
/* PlayStation 4 */
{
test(parser) {
return parser.getOSName(true) === 'playstation 4';
},
describe() {
return {
type: TYPES_LABELS.tv,
};
},
},
];