From 102bd075689892b06765fb857c89604fe9cf33e5 Mon Sep 17 00:00:00 2001
From: Maximilian Hils <git@maximilianhils.com>
Date: Wed, 17 Sep 2014 17:30:19 +0200
Subject: implement FlowStore basics

---
 web/src/js/components/traffictable.jsx | 34 ----------------------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 web/src/js/components/traffictable.jsx

(limited to 'web/src/js/components/traffictable.jsx')

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> 
-            );
-    }
-});
-- 
cgit v1.2.3

