Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

missing "this" context in server.js #74

Open
huangyg11 opened this issue Mar 29, 2019 · 0 comments
Open

missing "this" context in server.js #74

huangyg11 opened this issue Mar 29, 2019 · 0 comments

Comments

@huangyg11
Copy link

in

EthService.eventWatchers['DepositEvent'].subscribe(this.submitDeposits)

should bind this

  EthService.eventWatchers['DepositEvent'].subscribe(this.submitDeposits.bind(this))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant