diff --git a/src/js/comment.js b/src/js/comment.js index 064e768..0de6430 100644 --- a/src/js/comment.js +++ b/src/js/comment.js @@ -1,3 +1,4 @@ +/*About Comment Box*/ var CommentBox = React.createClass({ loadCommentsFromServer: function () { $.ajax({ @@ -46,7 +47,7 @@ var CommentBox = React.createClass({ ); } }); - +/*About CommentList*/ var CommentList = React.createClass({ render: function() { var commentNodes = this.props.data.map(function (comment) { @@ -63,7 +64,7 @@ var CommentList = React.createClass({ ); } }); - +/*About CommentForm*/ var CommentForm = React.createClass({ handleSubmit: function(e) { e.preventDefault();