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

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghoang committed Jul 15, 2019
1 parent 9b51ded commit 3510d99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
9 changes: 1 addition & 8 deletions front_end/ndb/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,7 @@
"className": "Ndb.ContextMenuProvider"
}
],
"dependencies": [
"common",
"sdk",
"ndb_sdk",
"bindings",
"persistence",
"components"
],
"dependencies": ["common", "sdk", "ndb_sdk", "bindings", "persistence", "components"],
"scripts": [
"InspectorFrontendHostOverrides.js",
"Connection.js",
Expand Down
13 changes: 0 additions & 13 deletions services/ndd_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,6 @@ class NddService {
};
}

// sendMessage(rawMessage) {
// const message = JSON.parse(rawMessage);
// // send message to frontend directly
// // (eg: getResponseBody)
// const { base64Encoded, data } = catchedRequests[message.params.requestId];
// this._frontend.responseToFrontEnd(message.id, { base64Encoded, body: data });
// }

async debug(execPath, args, options) {
const env = this.env();
if (options.data)
Expand All @@ -163,11 +155,6 @@ class NddService {
windowsHide: true
});
if (!options.ignoreOutput) {
// p.on('message', ({ type, payload }) => {
// if (!(type && payload)) return;
// catchedRequests[payload.id] = payload;
// this._frontend.sendNetworkData({ type, payload });
// });
p.stderr.on('data', data => {
if (process.connected)
this._frontend.terminalData('stderr', data.toString('base64'));
Expand Down

0 comments on commit 3510d99

Please sign in to comment.