From f11cd291c29ca0c56fad15ef13bece5217c45cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Tue, 17 Mar 2015 20:40:22 +0100 Subject: [PATCH] formatting --- public/js/components/log/LogEntryList.jsx | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/public/js/components/log/LogEntryList.jsx b/public/js/components/log/LogEntryList.jsx index 697f71f7d9..372f8f9aef 100644 --- a/public/js/components/log/LogEntryList.jsx +++ b/public/js/components/log/LogEntryList.jsx @@ -1,5 +1,5 @@ var React = require('react'), - LogEntry = require('./LogEntry'); +LogEntry = require('./LogEntry'); var LogEntryList = React.createClass({ propTypes: { @@ -9,7 +9,7 @@ var LogEntryList = React.createClass({ getInitialState: function() { return { showFullEvents: false - } + }; }, render: function() { @@ -19,9 +19,14 @@ var LogEntryList = React.createClass({ return (
-
- ); + ); }, - toggleFullEvents: function(e) { + toggleFullEvents: function() { this.setState({showFullEvents: !this.state.showFullEvents}); } }); -module.exports = LogEntryList; \ No newline at end of file +module.exports = LogEntryList;