diff options
| author | Maximilian Hils <git@maximilianhils.com> | 2017-10-25 15:25:41 +0200 |
|---|---|---|
| committer | Maximilian Hils <git@maximilianhils.com> | 2017-10-25 15:25:41 +0200 |
| commit | 42895f4fec0f914d2ca3696c6962830140610e6e (patch) | |
| tree | b9834abcf99feaf9ac113820814b4998ef9daba0 /web/src/js/components/FlowView | |
| parent | f870ccd949ca46e6a1ca48a6d5e40589fad41ce2 (diff) | |
| download | mitmproxy-42895f4fec0f914d2ca3696c6962830140610e6e.tar.gz mitmproxy-42895f4fec0f914d2ca3696c6962830140610e6e.tar.bz2 mitmproxy-42895f4fec0f914d2ca3696c6962830140610e6e.zip | |
[web] minor fixes and cleanup
Diffstat (limited to 'web/src/js/components/FlowView')
| -rw-r--r-- | web/src/js/components/FlowView/Messages.jsx | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/web/src/js/components/FlowView/Messages.jsx b/web/src/js/components/FlowView/Messages.jsx index b69dfb69..c1af36c5 100644 --- a/web/src/js/components/FlowView/Messages.jsx +++ b/web/src/js/components/FlowView/Messages.jsx @@ -120,30 +120,6 @@ export class Request extends Component { </section> ) } - - - edit(k) { - throw "unimplemented" - /* - switch (k) { - case 'm': - this.refs.requestLine.refs.method.focus() - break - case 'u': - this.refs.requestLine.refs.url.focus() - break - case 'v': - this.refs.requestLine.refs.httpVersion.focus() - break - case 'h': - this.refs.headers.edit() - break - default: - throw new Error(`Unimplemented: ${k}`) - } - */ - } - } Request = Message(Request) @@ -189,28 +165,6 @@ export class Response extends Component { </section> ) } - - edit(k) { - throw "unimplemented" - /* - switch (k) { - case 'c': - this.refs.responseLine.refs.status_code.focus() - break - case 'm': - this.refs.responseLine.refs.msg.focus() - break - case 'v': - this.refs.responseLine.refs.httpVersion.focus() - break - case 'h': - this.refs.headers.edit() - break - default: - throw new Error(`'Unimplemented: ${k}`) - } - */ - } } Response = Message(Response) |
