From 6660efe8a7b6a9f1b0f42f255b07acf400d8edcf Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Sun, 4 Mar 2012 23:09:06 +0100 Subject: [PATCH] collection is not needed in CommentEntry view --- .../backbone/views/comments/comment_entry.js.coffee | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/assets/javascripts/backbone/views/comments/comment_entry.js.coffee b/app/assets/javascripts/backbone/views/comments/comment_entry.js.coffee index f0c3afa..1ffacfa 100644 --- a/app/assets/javascripts/backbone/views/comments/comment_entry.js.coffee +++ b/app/assets/javascripts/backbone/views/comments/comment_entry.js.coffee @@ -7,9 +7,6 @@ class AsciiIo.Views.CommentEntry extends AsciiIo.Views.Base events: 'click .remove': 'removeComment' - initialize:(options) -> - @collection = options.collection - render: -> extra = show_remove_link: @showRemoveLink()