     $$ ->
       @li class: 'two-lines', =>
         @div class: 'primary-line', item.completion
-        @div class: 'secondary-line', item.docSummary        
+        @div class: 'secondary-line', item.docSummary
 
   selectNextItemView: ->
     super


module.exports =
class AutocompleteView extends SelectListView
  initialize: (@editorView, @autocompleter) ->
    super
    @editor = @editorView.editor


    @subscribe @autocompleter, 'autocomplete', (@autocompleteInfo) =>
      results = @autocompleteInfo.results
      sortedResults = _.sortBy results, (res) => @SORT_MAP[res.relevance]
      @setItems(sortedResults)

  # Copied from atom/autocomplete/lib/autocomplete-view.coffee
  attach: ->
