You are viewing a single comment's thread from:

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

in #steemdev8 years ago

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/

Sort:  

Thanks for the update. Checking it out now.

Coin Marketplace

STEEM 0.09
TRX 0.32
JST 0.033
BTC 107719.29
ETH 3807.92
USDT 1.00
SBD 0.60