reformatting and minor refactoring of post_*.jsx to match style guide

Этот коммит содержится в:
JoramWilander
2015-08-14 11:36:51 -04:00
родитель d3743550b7
Коммит 76d54190a0
3 изменённых файлов: 62 добавлений и 38 удалений

Просмотреть файл

@@ -74,9 +74,9 @@ module.exports = React.createClass({
var parentPost = this.props.parentPost;
var posts = this.props.posts;
var type = "Post";
var type = 'Post';
if (post.root_id && post.root_id.length > 0) {
type = "Comment";
type = 'Comment';
}
var commentCount = 0;