From e4ee3e0236069873332fff13baefe4f676e289ee Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 16 Sep 2014 21:06:30 +1200 Subject: Convert to ES5 inheritance pattern --- web/src/js/app.js | 2 -- web/src/js/components/proxyapp.jsx | 2 +- web/src/js/components/traffictable.jsx | 2 +- web/src/js/connection.js | 48 +++++++++++++++--------------- web/src/js/dispatcher.js | 34 ++++++++++----------- web/src/js/stores/base.js | 48 +++++++++++++++--------------- web/src/js/stores/eventlogstore.js | 54 +++++++++++++++++++--------------- web/src/js/stores/settingstore.js | 31 ++++++++++--------- 8 files changed, 115 insertions(+), 106 deletions(-) (limited to 'web/src') diff --git a/web/src/js/app.js b/web/src/js/app.js index 3af4c79c..ddf7a69a 100644 --- a/web/src/js/app.js +++ b/web/src/js/app.js @@ -1,6 +1,4 @@ $(function() { - Connection.init(); app = React.renderComponent(ProxyApp, document.body); - }); \ No newline at end of file diff --git a/web/src/js/components/proxyapp.jsx b/web/src/js/components/proxyapp.jsx index c0196461..14c338e3 100644 --- a/web/src/js/components/proxyapp.jsx +++ b/web/src/js/components/proxyapp.jsx @@ -30,7 +30,7 @@ var ProxyAppMain = React.createClass({ {this.state.settings.showEventLog ? : null}