create account

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

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @pilcrow/tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you

· @sn0n ·
Is there an update for https://jsfiddle.net/u9xzzbqd/ ??  Seems to not be working..
👍  
properties (23)
authorsn0n
permlinkre-pilcrow-tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you-20180116t104310237z
categorysteemdev
json_metadata{"tags":["steemdev"],"links":["https://jsfiddle.net/u9xzzbqd/"],"app":"steemit/0.1"}
created2018-01-16 10:43:18
last_update2018-01-16 10:43:18
depth1
children2
last_payout2018-01-23 10:43:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length83
author_reputation25,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_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,911,721
net_rshares0
author_curate_reward""
vote details (1)
@gokulnk ·
$0.10
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/
👍  
properties (23)
authorgokulnk
permlinkre-sn0n-re-pilcrow-tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you-20180131t212954835z
categorysteemdev
json_metadata{"tags":["steemdev"],"links":["https://jsfiddle.net/u0wwf829/2/"],"app":"steemit/0.1"}
created2018-01-31 21:29:54
last_update2018-01-31 21:29:54
depth2
children1
last_payout2018-02-07 21:29:54
cashout_time1969-12-31 23:59:59
total_payout_value0.088 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length306
author_reputation17,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_payout1,000,000.000 HBD
percent_hbd10,000
post_id33,954,720
net_rshares16,232,590,730
author_curate_reward""
vote details (1)
@sn0n ·
Thanks for the update. Checking it out now.
properties (22)
authorsn0n
permlinkre-gokulnk-re-sn0n-re-pilcrow-tutorial-calculating-your-steem-power-using-steemjs-bonus-content-an-angular-pipe-that-does-it-for-you-20180131t214500189z
categorysteemdev
json_metadata{"tags":["steemdev"],"app":"steemit/0.1"}
created2018-01-31 21:45:00
last_update2018-01-31 21:45:00
depth3
children0
last_payout2018-02-07 21:45:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length43
author_reputation25,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_payout1,000,000.000 HBD
percent_hbd10,000
post_id33,957,518
net_rshares0