.bindAll
https://clarkfeusier.com/wp-content/themes/crocal/images/empty/thumbnail.jpg
150
150
Clark
https://secure.gravatar.com/avatar/9e2a3b76bf5d8feb63267ecc12fecc61?s=96&d=mm&r=r
Like most JavaScripters, I often find myself needing to manually control the this
-binding of a function on invocation. Event handlers and callback functions are often re-bound to a different context than the caller — meaning that if those event handlers or callbacks reference this
, they might be referencing the wrong object.