Summary: Original commit changeset: ff84080d43fa This re-adds JS client support. The original version had a small bug that inadvertantly wrapped support for Android emulators in the dropdown in a GK that was only meant to cover JS clients. This is addressed here. Reviewed By: timur-valiev Differential Revision: D18707485 fbshipit-source-id: ceea8e279a21111f96073f8b784e852f6313e2a4
21 lines
516 B
TypeScript
21 lines
516 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
import BaseDevice from './BaseDevice';
|
|
|
|
export default class JSDevice extends BaseDevice {
|
|
webContentsId: number;
|
|
|
|
constructor(serial: string, title: string, webContentsId: number) {
|
|
super(serial, 'emulator', title, 'JSWebApp');
|
|
this.devicePlugins = [];
|
|
this.webContentsId = webContentsId;
|
|
}
|
|
}
|