       @hide() unless @options.hasConfig
       callback no
 
-  embedUrl:(url,options={},callback=noop)=>
+  embedUrl:(url,options={},callback=noop)->
 
     # Checking if we have the URL in cached data before requesting it from embedly
 

      @embedCache.push data
    @embedData = data

  setEmbedURL:(url)=>
    @embedURL = url

  setEmbedHiddenItems:(ehi)=>
    @embedHiddenItems = ehi

  setEmbedImageIndex:(i)=>
    @embedImageIndex = i

  addEmbedHiddenItem:(item)=>
    if not (item in @embedHiddenItems) then @embedHiddenItems.push item

  removeEmbedHiddenItem:(item)=>
    if (item in @getEmbedHiddenItems()) then delete @embedHiddenItems[@embedHiddenItems.indexOf item]

  getRichEmbedWhitelist:=>
    [
      "SoundCloud"
    ]

  fetchEmbed:(url="#",options={},callback=noop)=>

    # if there is no protocol, supply one! embedly doesn't support //
    unless /^(ht|f)tp(s?)\:\/\//.test url then url = "http://"+url

    @embedLinks.clearLinks()
    @setEmbedCache []

    @hasValidContent = no
    @hide()

  resetEmbed:->
    @clearEmbed()

    # these resets only concern the currently displayed embed
