         # 今度はダイアログが開く
         if (authResult && !authResult.error)
           console.log("immediate true")
-          that.authResult = authResult
-          console.log(callback)
           callback(authResult)
         else
           console.log("immediate false")

            'scope': that.gdrive.SCOPES,
            'immediate': false },
            (authResult)->
              that.authResult = authResult
              console.log(callback)
              callback(authResult)
          )
    )

GDriveModel = Backbone.Model.extend({
  initialize: ()->
    this.gdrive = new GDrive()
    this.file = null

  authorize: (callback)->
