   attributesForItem: (item)->
     _.extend {}, class: @itemClassName, "data-index": item.index
 
-  # expects an item object, which contains the
   contentForItem: (item={})->
     if @itemTemplate? and templateFn = Luca.template(@itemTemplate)
       content = templateFn.call(@, item)

    make(@itemTagName, @attributesForItem(item), @contentForItem(item))

  getModels: ()->
    @collection.models

  refresh: ()->
    panel = @

    unless @collection?
      throw "Collection Views must specify a collection"

    unless @itemTemplate? || @itemRenderer? || @itemProperty?
      throw "Collection Views must specify an item template or item renderer function"

    Luca.components.Panel::initialize.apply(@, arguments)
