 
 module.exports =
 class ResultView extends View
-  @content: (model, filePath, matches) ->
+  @content: (model, filePath, result) ->
     iconClass = if fs.isReadmePath(filePath) then 'icon-book' else 'icon-file-text'
 
     @li class: 'path list-nested-item', 'data-path': _.escapeAttribute(filePath), =>

    @renderResult(result)

  renderResult: (result) ->
    selectedIndex = @matches.find('.selected').index()

    @matches.empty()

    else
      @description.hide()

    if not matches or matches.length == 0
      @hide()
    else
