     @keys_enabled = true
     ref = this
     default_options = 
-      debug: false
+      debug: true
       expanded: false
       id: "ample-assets"
       handle_text: 'Assets'

    down = 40
    escape = 27
    $(document).keydown (e) =>
      #console.log('keydown')
      #return unless @keys_enabled or @active_panel
      switch e.keyCode
        when previous
          $(@active_panel).amplePanels('previous')

      li = $('<li class="file"></li>').append(link)
      $("#asset-results ul").amplePanels('append', li)
      @load_img(link, el.sizes.tn)
    @active_panel = $("#asset-results ul")
    

  build: (el) ->
    ref = this
