From 6a161be6b4c526fcc5f6581c7faff00a2c976f37 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 18 Sep 2014 00:01:45 +0200 Subject: .jsx -> .jsx.js Rename jsx files to be compatible with Chrome Dev Tools and Workspace Mapping. --- web/src/js/components/proxyapp.jsx | 46 -------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 web/src/js/components/proxyapp.jsx (limited to 'web/src/js/components/proxyapp.jsx') diff --git a/web/src/js/components/proxyapp.jsx b/web/src/js/components/proxyapp.jsx deleted file mode 100644 index 63998ffe..00000000 --- a/web/src/js/components/proxyapp.jsx +++ /dev/null @@ -1,46 +0,0 @@ -/** @jsx React.DOM */ - -//TODO: Move out of here, just a stub. -var Reports = React.createClass({ - render: function () { - return
ReportEditor
; - } -}); - - -var ProxyAppMain = React.createClass({ - getInitialState: function () { - return { settings: SettingsStore.getAll() }; - }, - componentDidMount: function () { - SettingsStore.addListener("change", this.onSettingsChange); - }, - componentWillUnmount: function () { - SettingsStore.removeListener("change", this.onSettingsChange); - }, - onSettingsChange: function () { - console.log("onSettingsChange"); - this.setState({settings: SettingsStore.getAll()}); - }, - render: function () { - return ( -
-
-
- {this.state.settings.showEventLog ? : null} -
-
- ); - } -}); - - -var ProxyApp = ( - - - - - - - - ); -- cgit v1.2.3