.bindAll
https://clarkfeusier.com/wp-content/themes/crocal/images/empty/thumbnail.jpg
150
150
Clark
https://secure.gravatar.com/avatar/e5333fb3c1def594495ace9f5f83d3ba0d92145d93b4afad5a92e584f633ffad?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.