Skip to content
Snippets Groups Projects
Commit 38502617 authored by Your Name's avatar Your Name
Browse files

remove double Comment from merge conflict

parent 0bcef4dd
No related merge requests found
......@@ -150,22 +150,6 @@ if Backbone?
else
@get("title")
class @Comments extends Backbone: ->
if @has("highlighted_title")
String(@get("highlighted_title")).replace(/<highlight>/g, '<mark>').replace(/<\/highlight>/g, '</mark>')
else
@get("title")
toJSON: ->
json_attributes = _.clone(@attributes)
_.extend(json_attributes, { title: @display_title(), body: @display_body() })
created_at_date: ->
new Date(@get("created_at"))
created_at_time: ->
new Date(@get("created_at")).getTime()
class @Comment extends @Content
urlMappers:
'reply': -> DiscussionUtil.urlFor('create_sub_comment', @id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment