 class PaneView extends HTMLElement
   initialize: (@name, @line, @file, @vote, @line_content, @description, @current_row, @type) ->
     side_pane = this
+
     side_pane.destroy()
     @closeElem = document.createElement('div')
     @closeElem.classList.add('close-container')

  getDescription: ->
    return @description

  voteClick: ->
    atom.notifications.addInfo("Thanks for your feedback!")

  attach: ->


    @upVoteButton = document.createElement('button')
    @upVoteButton.classList.add('up-btn', 'btn', 'icon', 'icon-arrow-up')
    @upVoteButton.addEventListener 'click', @voteUpClick
    @buttonsBox.appendChild(@upVoteButton)

    #@upVoteButton.textContent = "Up"

    @upVoteButton = document.createElement('button')
    @upVoteButton.classList.add('up-btn', 'btn', 'icon', 'icon-arrow-down')
    @upVoteButton.addEventListener 'click', @voteDownClick
    @buttonsBox.appendChild(@upVoteButton)

    #@upVoteButton.textContent = "Down"
