aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/TrafficTable.react.js
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-09-16 16:26:16 +1200
committerAldo Cortesi <aldo@nullcube.com>2014-09-16 16:27:09 +1200
commit6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe (patch)
treee654b27eeb7a44c61c0e1a43850966735aefb3cd /web/src/js/components/TrafficTable.react.js
parent6bac1540bd9383c4e6e0510d9b75db34346187ed (diff)
downloadmitmproxy-6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe.tar.gz
mitmproxy-6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe.tar.bz2
mitmproxy-6efe1aa6a92ce7f9f264903e9d27fb5cf6c32bfe.zip
We're not ready for ES6
Lets re-evaluate in June next year when it's actually released
Diffstat (limited to 'web/src/js/components/TrafficTable.react.js')
-rw-r--r--web/src/js/components/TrafficTable.react.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/web/src/js/components/TrafficTable.react.js b/web/src/js/components/TrafficTable.react.js
deleted file mode 100644
index 7e9e26e3..00000000
--- a/web/src/js/components/TrafficTable.react.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/** @jsx React.DOM */
-
-var TrafficTable = React.createClass({
- getInitialState() {
- return {
- flows: []
- };
- },
- componentDidMount() {
- //this.flowStore = FlowStore.getView();
- //this.flowStore.addListener("change",this.onFlowChange);
- },
- componentWillUnmount() {
- //this.flowStore.removeListener("change",this.onFlowChange);
- //this.flowStore.close();
- },
- onFlowChange() {
- this.setState({
- //flows: this.flowStore.getAll()
- });
- },
- render() {
- /*var flows = this.state.flows.map(function(flow){
- return <div>{flow.request.method} {flow.request.scheme}://{flow.request.host}{flow.request.path}</div>;
- }); */
- //Dummy Text for layout testing
- x = "Flow";
- i = 12;
- while (i--) x += x;
- return (
- <div><pre> { x } </pre></div>
- );
- }
-}); \ No newline at end of file