     else
       @embedData
 
-  getEmbedURL:=>
+  getEmbedURL:->
     @embedURL
 
-  getEmbedCache:=>
+  getEmbedCache:->
     @embedCache
 
-  getEmbedImageIndex:=>
+  getEmbedImageIndex:->
     @embedImageIndex
 
-  getEmbedHiddenItems:=>
+  getEmbedHiddenItems:->
     @embedHiddenItems
 
-  setEmbedCache:(cache)=>
+  setEmbedCache:(cache)->
     unless @embedCache? then @embedCache = []
     for item in cache
       unless item in @embedCache

            $(element).removeAttr "data-src"
          element

  refreshEmbed:=>
    @populateEmbed @getEmbedData(), @embedURL, {}, @getEmbedCache()

  resetEmbedAndHide:=>
    @resetEmbed()

    # these resets concern the whole box, not just the embed currently

    @setEmbedHiddenItems []
    @setEmbedImageIndex 0

  clearEmbed:->
    # here them embed can be prepared for population
    # @$("div.embed").html ""

  clearEmbedAndHide:->
    @clearEmbed()
    @hide()

