aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/traffictable.jsx
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-09-17 17:30:19 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-09-17 17:30:19 +0200
commit102bd075689892b06765fb857c89604fe9cf33e5 (patch)
tree6782d4ee795337204d29a873e7854d6e426574df /web/src/js/components/traffictable.jsx
parent8245dd19f4f2f4cdd74a6fdf9b5e051c2cd2fac6 (diff)
downloadmitmproxy-102bd075689892b06765fb857c89604fe9cf33e5.tar.gz
mitmproxy-102bd075689892b06765fb857c89604fe9cf33e5.tar.bz2
mitmproxy-102bd075689892b06765fb857c89604fe9cf33e5.zip
implement FlowStore basics
Diffstat (limited to 'web/src/js/components/traffictable.jsx')
-rw-r--r--web/src/js/components/traffictable.jsx34
1 files changed, 0 insertions, 34 deletions
diff --git a/web/src/js/components/traffictable.jsx b/web/src/js/components/traffictable.jsx
deleted file mode 100644
index 8071b97e..00000000
--- a/web/src/js/components/traffictable.jsx
+++ /dev/null
@@ -1,34 +0,0 @@
-/** @jsx React.DOM */
-
-var TrafficTable = React.createClass({
- getInitialState: function () {
- return {
- flows: []
- };
- },
- componentDidMount: function () {
- //this.flowStore = FlowStore.getView();
- //this.flowStore.addListener("change",this.onFlowChange);
- },
- componentWillUnmount: function () {
- //this.flowStore.removeListener("change",this.onFlowChange);
- //this.flowStore.close();
- },
- onFlowChange: function () {
- this.setState({
- //flows: this.flowStore.getAll()
- });
- },
- render: function () {
- /*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>Flow</div>
- );
- }
-});