     return false
 
   removeTag: (tagId) ->
-    #log tagId
     tagViewToRemove = @findByTagId(tagId)
     tagViewToRemove.remove()
     @tagViews.remove(tagViewToRemove)

      data:
        entry_id: @entryId()
        what_id: @id
      success: (data, status, xhr) =>
        $.publish 'tags:removed', [@id]
    }



    $.subscribe 'tags:remove', (id) =>
      @findByTagId(id).startRemoveFromView()
    
    # set up array functionality
    Array::remove = (e) -> @[t..t] = [] if (t = @.indexOf(e)) > -1
  
