aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/ValueEditor.jsx
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-07-21 01:14:55 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-07-21 01:14:55 -0700
commit8a3a21bba1e6706295cc22e1b3a876a7a86cb705 (patch)
tree9408324d45850fd4def75c60cf3537a12f632217 /web/src/js/components/ValueEditor.jsx
parent427fffbcb82ba16dd65a4fee4000a05215e859b8 (diff)
downloadmitmproxy-8a3a21bba1e6706295cc22e1b3a876a7a86cb705.tar.gz
mitmproxy-8a3a21bba1e6706295cc22e1b3a876a7a86cb705.tar.bz2
mitmproxy-8a3a21bba1e6706295cc22e1b3a876a7a86cb705.zip
web: fix ValueEditor, clean up code
Diffstat (limited to 'web/src/js/components/ValueEditor.jsx')
-rwxr-xr-xweb/src/js/components/ValueEditor.jsx26
1 files changed, 0 insertions, 26 deletions
diff --git a/web/src/js/components/ValueEditor.jsx b/web/src/js/components/ValueEditor.jsx
deleted file mode 100755
index 5f1bf2dc..00000000
--- a/web/src/js/components/ValueEditor.jsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import React, { Component, PropTypes } from 'react'
-import ReactDOM from 'react-dom'
-import ValidateEditor from './ValueEditor/ValidateEditor'
-
-export default class ValueEditor extends Component {
-
- static propTypes = {
- content: PropTypes.string.isRequired,
- onDone: PropTypes.func.isRequired,
- inline: PropTypes.bool,
- }
-
- render() {
- var tag = this.props.inline ? 'span' : 'div'
- return (
- <ValidateEditor
- {...this.props}
- tag={tag}
- />
- )
- }
-
- focus() {
- ReactDOM.findDOMNode(this).focus();
- }
-}