 do ($) ->
   class CoverPhoto
-    @cache: []; @cacheCount: 0
     @defaults:
       postUrl:  '/update_cover_photo'
       editable: false

    constructor: ({@el, @options}) ->
      @templates = coverphotoTemplates
      @setup()
      @cache()
      @render()
      @elements()
      @bindEvents()

      @options = $.extend(CoverPhoto.defaults, @options)
      html = @templates["src/templates/container.jst"]()
      @$el =  $(html).appendTo $(@el)

    elements: ->
      @actionsContainer = $(".actions", @$el)
