阅读背景:

。然后在解决承诺之前解雇 - $ .getJSON

来源:互联网 

I'm currently building a web app using the Spotify API and the nodejs wrapper for it... However, when I am using $.getJSON(), the .then is firing before the promise is resolved. For example, I am trying to change the album artwork displayed on my webpage, after I skip to the next song. However, the artwork is changing first, before the song and so the artwork is always of the previous song... My code is below. I'm currently building a web app using the Spot




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: