 ## Comment directive
 #############################################################################
 
-CommentDirective = () ->
+CommentDirective = ->
     link = ($scope, $el, $attrs, $model) ->
         $el.on "click", ".activity-title", (event) ->
             event.preventDefault()


    buildChangesText: (comment) ->
        size = @.countChanges(comment)
        #TODO: i18n
        if size == 1
            return "Made #{size} change"

        return "Made #{size} changes"

    block: ->

        @rootscope.$broadcast("unblock", @scope.issue)

    delete: ->
        # TODO: i18n
        title = "Delete Issue"
        subtitle = @scope.issue.subject

