Commit fc459f7e by Ibrahim Awwal

Displays deeply nested comments inline.

This just puts them in three traversal order rather than chronological order.
Not sure which makes the most sense, but I'll implement both ways.
parent 7e96f668
......@@ -34,6 +34,9 @@ if Backbone?
view = new ResponseCommentView(model: comment)
view.render()
@$el.find(".comments li:last").before(view.el)
children = new Comments(comment.get('children'))
children.each @renderComment
toggleVote: (event) ->
event.preventDefault()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment