 qs = require 'querystring'
 FilterNav = require '../../../../components/filter/nav/view.coffee'
 deslugify = require '../../../../components/deslugify/index.coffee'
+mediator = require '../../../../lib/mediator.coffee'
+
 navSectionsTemplate = -> require('./nav_sections.jade') arguments...
 
 module.exports = class BoothsView extends Backbone.View

    )

  renderShows: (items) =>
    return @$('#fair-booths-spinner').hide() unless items.models.length > 0
    items.urlRoot = @shows.url
    @feedView?.destroy()
    @feedView = new ShowsFeed

    # Render the navigation dropdown sections
    @fair.fetchSections success: @renderSections

    mediator.on 'infinite:scroll:end', @hideSpinner, @

  renderSections: (sections) =>
    hash = {}
    sections.each (section) -> hash[section.get 'section'] = section.get('section')
