     return multipartRequestBody
 
   insert: (title, content, callback) ->
-    console.log('insert file')
     multipartRequestBody = this.requestBody(title, content)
     request = gapi.client.request({
       'path': '/upload/drive/v2/files',

        console.log(file)
    request.execute(callback)

  utf8_to_b64: (str) ->
    window.btoa( unescape(encodeURIComponent( str ) ) )


GDriveModel = Backbone.Model.extend({
  initialize: ()->

        # immediate: trueが失敗したときはflaseで再チャレンジ
        # 今度はダイアログが開く
        if (authResult && !authResult.error)
          that.authResult = authResult
        else
          gapi.auth.authorize({
            'client_id': this.gdrive.CLIENT_ID,
            'scope': this.gdrive.SCOPES,
