mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-11 14:14:36 +08:00
Bug: 1006759 Change-Id: I99743fcf3d33bc1e5a3b729c2c544826e1d8e923 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2013156 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
21 lines
723 B
JavaScript
21 lines
723 B
JavaScript
// Copyright 2019 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import {registerCommands} from '../InspectorBackendCommands.js';
|
|
import * as InspectorBackend from './InspectorBackend.js';
|
|
import * as NodeURL from './NodeURL.js';
|
|
|
|
export {
|
|
InspectorBackend,
|
|
NodeURL,
|
|
};
|
|
|
|
// Create the global here because registering commands will involve putting
|
|
// items onto the global.
|
|
self.Protocol = self.Protocol || {};
|
|
|
|
// FIXME: This instance of InspectorBackend should not be a side effect of importing this module.
|
|
export const inspectorBackend = new InspectorBackend.InspectorBackend();
|
|
registerCommands(inspectorBackend);
|