Jump to content

undefined is not a function (evaluating 'Object.assign(this.additionalHeaders, headers)')


Jake1111

Recommended Posts

I'm using the evernote SDK. I was able to get the access_token and implement the client using 

var client = new Evernote.Client({
                    token: vars["access_token"]
                    , sandbox: true
                    , china: false
                , });

However, when I use

var userStore = client.getUserStore();

I get the error 

undefined is not a function (evaluating 'Object.assign(this.additionalHeaders, headers)')

It works fine on the chrome browser, but I'm using it on a device that uses an older browser. I believe this may have something to do with polyfills. Does anyone have any advice on how to fix this?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...