Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Commit 3510d99

Browse files
committed
Remove unused code
1 parent 9b51ded commit 3510d99

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

front_end/ndb/module.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,7 @@
5252
"className": "Ndb.ContextMenuProvider"
5353
}
5454
],
55-
"dependencies": [
56-
"common",
57-
"sdk",
58-
"ndb_sdk",
59-
"bindings",
60-
"persistence",
61-
"components"
62-
],
55+
"dependencies": ["common", "sdk", "ndb_sdk", "bindings", "persistence", "components"],
6356
"scripts": [
6457
"InspectorFrontendHostOverrides.js",
6558
"Connection.js",

services/ndd_service.js

-13
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,6 @@ class NddService {
143143
};
144144
}
145145

146-
// sendMessage(rawMessage) {
147-
// const message = JSON.parse(rawMessage);
148-
// // send message to frontend directly
149-
// // (eg: getResponseBody)
150-
// const { base64Encoded, data } = catchedRequests[message.params.requestId];
151-
// this._frontend.responseToFrontEnd(message.id, { base64Encoded, body: data });
152-
// }
153-
154146
async debug(execPath, args, options) {
155147
const env = this.env();
156148
if (options.data)
@@ -163,11 +155,6 @@ class NddService {
163155
windowsHide: true
164156
});
165157
if (!options.ignoreOutput) {
166-
// p.on('message', ({ type, payload }) => {
167-
// if (!(type && payload)) return;
168-
// catchedRequests[payload.id] = payload;
169-
// this._frontend.sendNetworkData({ type, payload });
170-
// });
171158
p.stderr.on('data', data => {
172159
if (process.connected)
173160
this._frontend.terminalData('stderr', data.toString('base64'));

0 commit comments

Comments
 (0)