 
   renderNext: () ->
 
-module.exports = TermFacet+module.exports = TermFacet

      for term, selected of _this.selected
        if selected and not _this._termInResults(term, terms)
          _this.selected[term] = 0
          _this.controller.removeFilter _this.name, term 

  _termInResults: (term, terms) ->
    for elem in terms

  constructor: (container, @name, options = {}) ->
    @selected = {}
    if not options.template
      template = '{{#if @index}}' +
            '<hr class="df-separator">' +
            '{{/if}}' +
            '<div class="df-facets">'+
