Viewing a response to: @pilcrow/tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you
Is there an update for https://jsfiddle.net/u9xzzbqd/ ?? Seems to not be working..
author | sn0n |
---|---|
permlink | re-pilcrow-tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you-20180116t104310237z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"links":["https://jsfiddle.net/u9xzzbqd/"],"app":"steemit/0.1"} |
created | 2018-01-16 10:43:18 |
last_update | 2018-01-16 10:43:18 |
depth | 1 |
children | 2 |
last_payout | 2018-01-23 10:43:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 83 |
author_reputation | 25,801,997,535,483 |
root_title | "[Tutorial] Calculating your Steem Power using SteemJS [bonus content: an Angular Pipe that does it for you]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 29,911,721 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
gokulnk | 0 | 0 | 15% |
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/
author | gokulnk |
---|---|
permlink | re-sn0n-re-pilcrow-tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you-20180131t212954835z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"links":["https://jsfiddle.net/u0wwf829/2/"],"app":"steemit/0.1"} |
created | 2018-01-31 21:29:54 |
last_update | 2018-01-31 21:29:54 |
depth | 2 |
children | 1 |
last_payout | 2018-02-07 21:29:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.088 HBD |
curator_payout_value | 0.010 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 306 |
author_reputation | 17,871,219,215,380 |
root_title | "[Tutorial] Calculating your Steem Power using SteemJS [bonus content: an Angular Pipe that does it for you]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 33,954,720 |
net_rshares | 16,232,590,730 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sn0n | 0 | 16,232,590,730 | 100% |
Thanks for the update. Checking it out now.
author | sn0n |
---|---|
permlink | re-gokulnk-re-sn0n-re-pilcrow-tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you-20180131t214500189z |
category | steemdev |
json_metadata | {"tags":["steemdev"],"app":"steemit/0.1"} |
created | 2018-01-31 21:45:00 |
last_update | 2018-01-31 21:45:00 |
depth | 3 |
children | 0 |
last_payout | 2018-02-07 21:45:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 43 |
author_reputation | 25,801,997,535,483 |
root_title | "[Tutorial] Calculating your Steem Power using SteemJS [bonus content: an Angular Pipe that does it for you]" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 33,957,518 |
net_rshares | 0 |