app/assets/javascripts/write/comments.js.coffee in write-0.0.1 vs app/assets/javascripts/write/comments.js.coffee in write-0.2.0

- old
+ new

@@ -1,10 +1,10 @@ jQuery ($)-> commentNode = (comment) -> container = $("<div>").addClass("comment-container") container.append $("<div>").addClass("comment-author").text(comment.user.login) - container.append $("<div>").addClass("comment-time").text(comment.updated_at) - container.append $("<div>").addClass("comment-content").text(comment.body) + container.append $("<abbr>").addClass("comment-time").prop("title", comment.updated_at).timeago() + container.append $("<div>").addClass("comment-content").html(markdown.toHTML(comment.body)) $.ajax dataType: 'jsonp', url: $('#post-view').data('comments-url') success: (response) -> $("#comments").text("")