       constructorName : data.account.constructorName
       id              : data.account._id
 
-    @avatar    = new AvatarView
+    @avatar = new AvatarView
       size     :
         width  : 37
         height : 37
       cssClass : 'author-avatar'
       origin   : origin
 
-    @author      = new ProfileLinkView { origin }
+    @author = new ProfileLinkView { origin }
 
     {commentViewClass} = options
 


  JView.mixin @prototype

  constructor:(options = {}, data)->

    options.type               = 'activity'
    options.commentViewClass or= CommentView



  whenSubmitted: ->

    new Promise (resolve) =>
      if @isBeingHidden
      then @once 'HideAnimationFinished', -> resolve()
