/** @jsx React.DOM */
//TODO: Move out of here, just a stub.
var Reports = React.createClass({
render(){
return
Report Editor
;
}
});
var ProxyAppMain = React.createClass({
getInitialState(){
return { settings: SettingsStore.getAll() };
},
componentDidMount(){
SettingsStore.addListener("change", this.onSettingsChange);
},
componentWillUnmount(){
SettingsStore.removeListener("change", this.onSettingsChange);
},
onSettingsChange(){
console.log("onSettingsChange");
this.setState({settings: SettingsStore.getAll()});
},
render() {
return (
{this.state.settings.showEventLog ? : null}
);
}
});
var ProxyApp = (
);