From bee25f3ba032e1d7793b097add874f7132137e6e Mon Sep 17 00:00:00 2001 From: Kevin Chugh Date: Sun, 21 Apr 2013 19:51:04 -0400 Subject: [PATCH] fix git mangle take 3 --- common/static/coffee/src/discussion/content.coffee | 9 --------- 1 file changed, 9 deletions(-) diff --git a/common/static/coffee/src/discussion/content.coffee b/common/static/coffee/src/discussion/content.coffee index 8aa0990e71..e040c16c45 100644 --- a/common/static/coffee/src/discussion/content.coffee +++ b/common/static/coffee/src/discussion/content.coffee @@ -150,12 +150,6 @@ if Backbone? else @get("title") - comment_count: -> - count = 0 - @get('comments').each (comment) -> - count += comment.getCommentsCount() + 1 - count - class @Comments extends Backbone: -> if @has("highlighted_title") String(@get("highlighted_title")).replace(//g, '').replace(/<\/highlight>/g, '') @@ -171,7 +165,6 @@ if Backbone? created_at_time: -> new Date(@get("created_at")).getTime() - class @Comment extends @Content urlMappers: @@ -185,8 +178,6 @@ if Backbone? 'flagAbuse' : -> DiscussionUtil.urlFor("flagAbuse_#{@get('type')}", @id) 'unFlagAbuse' : -> DiscussionUtil.urlFor("unFlagAbuse_#{@get('type')}", @id) - - getCommentsCount: -> count = 0 @get('comments').each (comment) ->