 defaults =
   items: [{a:2,b:1,c:2},{a:2,b:2,c:1},{a:1,b:1,c:1},{a:3,b:3,c:1}],
   facets: {'a': 'Title A', 'b': 'Title B', 'c': 'Title C'},
-  # resultElement: '#results'
   facetElement: '#facets'
   listItemTemplate: '<div class="facetitem" id="<%= id %>"><%= name %> <span class="facetitemcount">(<%= count %>)</span></div>'
-  orderByTemplate: '<div class=orderby><span class="orderby-title">Sort by: </span><ul><% _.each(options, function(value, key) { %>' + '<li class=orderbyitem id=orderby_<%= key %>>' + '<%= value %> </li> <% }); %></ul></div>'
   countTemplate: '<div class=facettotalcount>Results</div>'
-  deselectTemplate: '<div class=deselectstartover>Deselect all filters</div>'
   resultTemplateBypass: null
   orderByOptions:
     'a': 'by A'


  # Append deselect filters button
  # TODO - abstract into Backbone.View
  deselect = $(settings.deselectTemplate).click((event) ->
    settings.state.filters = {}
    jQuery.facetUpdate()
    return

  # $(settings.resultElement).append itemHtml

  # Append "MoreButton"
  showMoreTemplate = '<a id=showmorebutton>Show more</a>'
  # TODO - we will _probably_ paginate using BB.Mn
  # TODO - pagination
  # if !moreButton
  #   moreButton = $(showMoreTemplate).click(showMoreResults)
  #   $(settings.resultElement).after moreButton
  # # ???/
  # if settings.state.shownResults == 0
