     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

    #     @setEmbedURL url
    #     callback oembed,embedlyOptions

  populateEmbed:(data={},url="#",options={},cache=[])=>
    @setEmbedData data
    @setEmbedURL url
    @setEmbedCache cache unless cache is []

    @embedLinks.clearLinks()
    @setEmbedCache []

    @hasValidContent = no
    @hide()

  resetEmbed:->
    @clearEmbed()

    # these resets only concern the currently displayed embed
