       this.genUUID()
       
     showConnectionBoard: (uuid) ->
+      that = this
       code =
         token: uuid 
         url: window.location.href

        r.remove()

      return this.render()
    

    render: ()->
      this.$el

      url = @driver.getCurrentSlideScreenshot()
      console.log url

    previous: (cb) ->
      #@driver.jump(@driver.currentSlide() - 1a
      @driver.previous()
      cb({url: @driver.getCurrentSlideScreenshot()})
      #this.trigger('transitionSLide', {url: this.getCurrentSlide()})
    next: (cb) ->
      #@driver.jump(@driver.currentSlide() + 1)
      @driver.next()
      cb({url: @driver.getCurrentSlideScreenshot()})
    jump: (num) ->
      @driver.jump(num)

