bausmeier/node-bitx

this - addressing the right context

Closed this issue · 2 comments

dutu commented

it looks to me that "this" used in the prototype may have a problem addressing the right context.
Please check and you may consider either including the functions in the main function/constructor (without prototype) or use _.bindAll(this) in the constructor

Please post a minimal code example illustrating the unexpected behaviour so
I can see exactly what you mean.
On 06 Apr 2014 1:32 PM, "dutu" notifications@github.com wrote:

it looks to me that "this" used in the prototype may have a problem
addressing the right context.
Please check and you may consider either including the functions in the
main function/constructor (without prototype) or use _.bindAll(this) in the
constructor

Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.

Closing due to no response.