/** @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 = ( );