         @lineMessages
       else
         @messages
-    return @setPanelVisibility(false) unless messages.size
+    return @setPanelVisibility(false) unless messages.length
     @setPanelVisibility(true)
     @panel.innerHTML = ''
     messages.forEach (message) =>


  # This message is called in editor-linter.coffee
  render: ->
    @updateMessages()
    @updateLineMessages()
    @updateBubble()
    @renderPanelMarkers()

  updateBubble: (point) ->
    @removeBubble()
    return unless @showBubble
    return unless @messages.length
    activeEditor = atom.workspace.getActiveTextEditor()
    return unless activeEditor?.getPath()
    point = point || activeEditor.getCursorBufferPosition()
