RE: [Tutorial] Calculating your Steem Power using SteemJS [bonus content: an Angular Pipe that does it for you]

You are viewing a single comment's thread from:

[Tutorial] Calculating your Steem Power using SteemJS [bonus content: an Angular Pipe that does it for you]

in steemdev •  7 years ago 

Is there an update for https://jsfiddle.net/u9xzzbqd/ ?? Seems to not be working..

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Looks like the signatures of these functions changed some time. The parameters for Promise.all should promises themselves. So I tweaked the code a little. I am not sure if this is the best way as I had create a new promise for each API call.

You can check it out here https://jsfiddle.net/u0wwf829/2/

Thanks for the update. Checking it out now.