 class Boomerang
-  
+
   constructor: (@options={}) ->
 
     # Config

      @cssUrl = "http://localhost:8080/lib/boomerang.css"
    else
      @cssUrl = "https://s3.amazonaws.com/assets.heroku.com/boomerang/boomerang.css"
    
    @app = @options.app
    @addon = @options.addon
    
    # DOM Shortcuts
    @head = document.querySelector("head")
    @body = document.querySelector("body")

    @attachStylesheet()
    @attachDiv()
    
    # Event Listeners
    window.addEventListener('click', @hideMenu)
    document.querySelector("#boomerang a.toggler").addEventListener('click', @toggleMenu)
    
    # console.log @

  attachStylesheet: ->
    link = document.createElement("link")

    @div.innerHTML = """
      <a href="#" class="toggler logo">Heroku Add-ons</a>
    """

    if @app? and @addon?
      @div.innerHTML += """
        <ul>
