-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bind null in object construction #83
Comments
Merged
Hey @ransomw, mind if I do this? |
first come first served, no need to ask :) |
Okie dokie 😅 |
acdpnk
added a commit
to acdpnk/hoodie-client-account
that referenced
this issue
Mar 26, 2016
in AdminAccount constructor, `this` is bound but never used, instead the `state` variable is passed around. Therefore binding to `null` is cleaner and safer hoodiehq#83
acdpnk
added a commit
to acdpnk/hoodie-client-account
that referenced
this issue
Mar 26, 2016
In Account constructor, `this` is bound but never used, instead the `state` variable is passed around. Therefore binding to `null` is cleaner and safer hoodiehq#83
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
follow up for #19 / #77
replace
bind(this,
withbind(null,
per comments inadmin/index.js
.also consider updating object construction elsewhere in the repository with the new pattern if discussion deems appropriate.
The text was updated successfully, but these errors were encountered: