UNPKG

zombiebox-platform-lg

Version:

LG NetCast Smart TV support abstraction layer for ZombieBox framework.

24 lines (19 loc) 436 B
/* * This file is part of the ZombieBox package. * * Copyright © 2014-2020, Interfaced * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import Device from './device'; /** * @return {?Device} */ export default function create() { const isNetCastPlatform = Device.detect(); if (isNetCastPlatform) { return new Device(); } return null; }