mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
feat: add Smart TV platform detection (#582)
This commit is contained in:
@@ -483,6 +483,26 @@ export default [
|
||||
},
|
||||
},
|
||||
|
||||
/* Smart TV */
|
||||
{
|
||||
test: [/smart-?tv|smarttv/i],
|
||||
describe() {
|
||||
return {
|
||||
type: PLATFORMS_MAP.tv,
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
/* NetCast (LG Smart TV) */
|
||||
{
|
||||
test: [/netcast/i],
|
||||
describe() {
|
||||
return {
|
||||
type: PLATFORMS_MAP.tv,
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
/* desktop */
|
||||
{
|
||||
test(parser) {
|
||||
|
||||
Reference in New Issue
Block a user